- 05 10月, 2016 3 次提交
-
-
由 Stan Hu 提交于
Projects that are destroyed are put in the pending_delete state. The ProjectDestroyWorker checks whether the current user has access, but since the ProjectFeature class uses the default scope of the Project, it will not be able to find the right project. This was a regression in 8.12 that caused the following stack trace: ``` NoMethodError: undefined method `team' for nil:NilClass from app/models/project_feature.rb:62:in `get_permission' from app/models/project_feature.rb:34:in `feature_available?' from app/models/project.rb:21:in `feature_available?' from app/policies/project_policy.rb:170:in `disabled_features!' from app/policies/project_policy.rb:29:in `rules' from app/policies/base_policy.rb:82:in `block in abilities' from app/policies/base_policy.rb:113:in `collect_rules' from app/policies/base_policy.rb:82:in `abilities' from app/policies/base_policy.rb:50:in `abilities' from app/models/ability.rb:64:in `uncached_allowed' from app/models/ability.rb:58:in `allowed' from app/models/ability.rb:49:in `allowed?' from app/services/base_service.rb:11:in `can?' from lib/gitlab/metrics/instrumentation.rb:155:in `block in can?' from lib/gitlab/metrics/method_call.rb:23:in `measure' from lib/gitlab/metrics/instrumentation.rb:155:in `can?' from app/services/projects/destroy_service.rb:18:in `execute' ``` Closes #22948
-
由 Ruben Davila 提交于
-
-
- 04 10月, 2016 7 次提交
-
-
由 Sean McGivern 提交于
Copy logic from `Devise::Models::Lockable#valid_for_authentication?`, as our custom login flow with two pages doesn't call this method. This will increment the failed login counter, and lock the user's account once they exceed the number of failed attempts. Also ensure that users who are locked can't continue to submit 2FA codes.
-
由 Phil Hughes 提交于
Closes #22911
-
由 Paco Guzman 提交于
We remove some arguments that are rarely used or used just to simplify setups on specs. Modified Mentionable#create_new_cross_references method we don’t need to calculate previous references to avoid the duplication because we do that at database level when creating references extracted from the current entity state. MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
-
由 James Lopez 提交于
-
由 Z.J. van de Weg 提交于
-
由 Felipe Artur 提交于
-
由 Joseph Frazier 提交于
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/21733 Add two newlines before the template if the existing description isn't empty. This makes it easier to see where the template begins. Don't append the template when "Reset template" is selected, of course. Don't append template if it equals the existing description. This makes it so that selecting a template twice doesn't duplicate it.
-
- 03 10月, 2016 12 次提交
-
-
由 Clement Ho 提交于
-
由 the-undefined 提交于
Display the on/off icon under the "Features" section of the admin area for the Container Registry. Closes !22805
-
由 Fu Xu 提交于
-
由 Fu Xu 提交于
-
由 Fu Xu 提交于
-
由 Fu Xu 提交于
-
由 Fu Xu 提交于
-
由 Phil Hughes 提交于
-
由 James Lopez 提交于
-
由 Fatih Acet 提交于
-
由 Thomas Balthazar 提交于
It toggles the 'WIP' prefix in the MR title.
-
由 secustor 提交于
-
- 02 10月, 2016 3 次提交
-
-
由 secustor 提交于
-
由 Clement Ho 提交于
-
由 Luke Howell 提交于
Added preventDefault for toggling sidebar off as well as for pinning and unpinning the sidebar. Closes #22851
-
- 01 10月, 2016 6 次提交
-
-
由 Annabel Dunstone Gray 提交于
-
由 Joseph Frazier 提交于
Closes #20982 https://gitlab.com/gitlab-org/gitlab-ce/issues/20982
-
由 secustor 提交于
-
由 Luke Bennett 提交于
-
由 Ashley Dumaine 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
由 Annabel Dunstone Gray 提交于
-
- 30 9月, 2016 9 次提交
-
-
由 Z.J. van de Weg 提交于
-
由 Z.J. van de Weg 提交于
-
由 Z.J. van de Weg 提交于
-
由 Kamil Trzcinski 提交于
It allows us to remove redundant steps of installing required dependencies for every build.
-
由 Katarzyna Kobierska 提交于
-
由 Katarzyna Kobierska 提交于
-
由 Katarzyna Kobierska 提交于
-
由 Katarzyna Kobierska 提交于
-
由 Andre Guedes 提交于
-