- 24 Feb, 2017 13 commits
-
-
Timothy Andrew authored
1. Refactoring and specs in the `Uniquify` class. 2. Don't use the `AdvisoryLocking` class. Similar functionality is provided (backed by Redis) in the `ExclusiveLease` class.
-
Timothy Andrew authored
Rather than using a separate `ghost` state. This lets us have the benefits of both ghost and blocked users (ghost: true, state: blocked) without having to rewrite a number of queries to include cases for `state: ghost`.
-
Timothy Andrew authored
1. Use an advisory lock to guarantee the absence of concurrency in `User.ghost`, to prevent data races from creating more than one ghost, or preventing the creation of ghost users by causing validation errors. 2. Use `update_all` instead of updating issues one-by-one.
-
Timothy Andrew authored
1. Create a `Uniquify` class, which generalizes the process of generating unique strings, by accepting a function that defines what "uniqueness" means in a given context. 2. WIP: Make sure tests for `Namespace` pass, add more if necessary. 3. WIP: Add tests for `Uniquify`
-
Timothy Andrew authored
- "Associated" issues are issues the user has created + issues that the user is assigned to. - Issues that a user owns are transferred to a "Ghost User" (just a regular user with `state = 'ghost'` that is created when `User.ghost` is called). - Issues that a user is assigned to are moved to the "Unassigned" state. - Fix a spec failure in `profile_spec` — a spec was asserting that when a user is deleted, `User.count` decreases by 1. After this change, deleting a user creates (potentially) a ghost user, causing `User.count` not to change. The spec has been updated to look for the relevant user in the assertion.
-
Timothy Andrew authored
We already skip sending notifications to blocked users. Simply add ghost users to this list.
-
Timothy Andrew authored
-
Kamil Trzciński authored
Artifact Expiration Defaults Closes #27762 See merge request !9219
-
Grzegorz Bizon authored
Fixed instructions for adding Secret Variables to a CI/CD pipeline. See merge request !9480
-
Fatih Acet authored
fixes job dropdown action button error Closes #27530 See merge request !9182
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
* upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
-
- 23 Feb, 2017 27 commits
-
-
Robert Speicher authored
Create master branch first if project is repository-less Closes #26687 See merge request !9009
-
Rémy Coutable authored
Disable unused tags count cache for Projects, Builds and Runners Closes #27989 See merge request !9467
-
Robert Speicher authored
Enable the RSpec/BeEql cop See merge request !9476
-
Filipa Lacerda authored
Fix white square and sidebar animation Closes #28610 See merge request !9472
-
Robert Speicher authored
Switched CONTRIBUTING.md style guide recommendation for method chaining [ci skip] See merge request !9483
-
Rémy Coutable authored
Fix GitAccess specs Closes #28620 See merge request !9479
-
Jacob Schatz authored
Resolve "Test compiling frontend assets for production in CI" Closes #28450 See merge request !9396
-
James Edwards-Jones authored
-
Clement Ho authored
on branch deletion show loading icon and disabled the button See merge request !6761
-
J. B. Rainsberger authored
-
Robert Speicher authored
Enable (and disable) more RuboCops See merge request !9432
-
Kamil Trzciński authored
Fix reprocessing skipped jobs when retrying pipeline See merge request !9436
-
Rémy Coutable authored
Use grape validation in the members API. See merge request !9471
-
Rémy Coutable authored
Use POST in the endpoint description for :resource/unsubscribe See merge request !9469
-
Robert Speicher authored
Pages 0.3.2 See merge request !9474
-
Sean McGivern authored
Fix MR changes tab size count Closes #27563 See merge request !9091
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-