Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-03-27Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-07-23Remove dead MySQL codeNick Thomas
None of this code can be reached any more, so it can all be removed
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2018-12-16Remove rails4 specific codeJasper Maes
2018-11-07Enable even more frozen string in lib/gitlabgfyoung
Enables frozens string for the following: * lib/gitlab/conflict/**/*.rb * lib/gitlab/cross_project_access/**/*.rb * lib/gitlab/cycle_analytics/**/*.rb * lib/gitlab/data_builder/**/*.rb * lib/gitlab/database/**/*.rb * lib/gitlab/dependency_linker/**/*.rb * lib/gitlab/diff/**/*.rb * lib/gitlab/downtime_check/**/*.rb * lib/gitlab/email/**/*.rb * lib/gitlab/etag_caching/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
2018-06-16[Rails5] Disable inheritance_column for ↵blackst0ne
Gitlab::Database::RenameReservedPathsMigration::V1::MigrationClasses::Namespace
2018-04-29[Rails5] Fix Arel::UpdateManagerblackst0ne
In Arel 7.0.0 (Arel 7.1.4 is used in Rails 5.0) the `engine` parameter of `Arel::UpdateManager#initializer` was removed. This commit makes the gitlab database helpers work both in rails 4 and rails 5. Fixes errors like this one: ``` 1) Gitlab::Database::MigrationHelpers#update_column_in_batches when running outside of a transaction updates all the rows in a table Failure/Error: update_arel = Arel::UpdateManager.new(ActiveRecord::Base) .table(table) .set([[table[column], value]]) .where(table[:id].gteq(start_id)) ArgumentError: wrong number of arguments (given 1, expected 0) # ./lib/gitlab/database/migration_helpers.rb:317:in `new' # ./lib/gitlab/database/migration_helpers.rb:317:in `block in update_column_in_batches' # ./lib/gitlab/database/migration_helpers.rb:307:in `loop' # ./lib/gitlab/database/migration_helpers.rb:307:in `update_column_in_batches' # ./spec/lib/gitlab/database/migration_helpers_spec.rb:367:in `block (4 levels) in <top (required)>' ```
2018-04-25Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg
Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-03-21Route path lookups through legacy_disk_pathJacob Vosmaer
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2017-11-22Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (126 commits) Update VERSION to 10.3.0-pre Update CHANGELOG.md for 10.2.0 default fill color for SVGs ignore hashed repos (for now) when using `rake gitlab:cleanup:repos` Use Redis cache for branch existence checks Update CONTRIBUTING.md: Link definition of done to criteria Use `make install` for Gitaly setups in non-test environments FileUploader should check for hashed_storage?(:attachments) to use disk_path Set the default gitlab-shell timeout to 3 hours Update composite pipelines index to include "id" Use arrays in Pipeline#latest_builds_with_artifacts Fix blank states using old css Skip confirmation user api Custom issue tracker Revert "check for `read_only?` first before seeing if request is disallowed" add `#with_metadata` scope to remove a N+1 from the notes' API Fix promoting milestone updating all issuables without milestone Batchload blobs for diff generation check for `read_only?` first before seeing if request is disallowed use `Gitlab::Routing.url_helpers` instead of `Rails.application.routes.url_helpers` ...
2017-11-22Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
2017-11-20Don't move project repository/attachments when using hashed storageBob Van Landuyt
When a project is using hashed storage, the repositories and attachments wouldn't be saved on disk using the `full_path`. So the migration would not do anything. However: best to just skip moving when hashed storage is enabled.
2017-11-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin
2017-09-18Add cop to make sure we don't use ivar in a moduleLin Jen-Shin
2017-07-11Support multiple Redis instances based on queue typePaul Charlton
2017-06-27Adjust for new static-analysis failuresBob Van Landuyt
2017-06-27Only do one query for updating routesBob Van Landuyt
2017-06-26Update routes directly by ID instead of filtering by pathBob Van Landuyt
2017-06-26Clear the cache for projects one-by-oneBob Van Landuyt
2017-06-26Add punctuation to log messagesBob Van Landuyt
2017-06-26Keep failed renames in redisBob Van Landuyt
2017-06-26Use the migration name as a key in redisBob Van Landuyt
2017-06-26Don't break rolling back when a namespace or project was renamedBob Van Landuyt
2017-06-26More logging so we know we have the rename in redisBob Van Landuyt
2017-06-26Revert namespace renamesBob Van Landuyt
2017-06-26Add methods to revert project renamesBob Van Landuyt
2017-06-26Track all renames in redisBob Van Landuyt
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-05-18Fixes for the rename reserved paths helpersBob Van Landuyt
2017-05-12Update rename_base.rbJames Lopez
2017-05-12Only rename namespaces and projects with an invalid pathBob Van Landuyt
For exact matches, not namespaces that end with an invalid path
2017-05-01Rename child namespaces in migrationhelpersBob Van Landuyt
2017-05-01Clear html cache for a projects milestonesBob Van Landuyt
2017-05-01Remove dependecy on `User`Bob Van Landuyt
2017-05-01Move ReservedPathsMigration into V1 namespaceBob Van Landuyt