Commit Graph

23 Commits

Author SHA1 Message Date
gfyoung 12ee2753c1 Enable even more frozen string in app/controllers
Enables frozen string for some vestigial files as
well as the following:

* app/controllers/projects/**/*.rb
* app/controllers/sherlock/**/*.rb
* app/controllers/snippets/**/*.rb
* app/controllers/users/**/*.rb

Partially addresses #47424.
2018-09-25 22:43:49 -07:00
Lin Jen-Shin 4ee08b77bc Updates from `rubocop -a` 2018-07-09 21:13:08 +08:00
Jacopo 181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Francisco Javier López af1fb49323 Refactor/group links controller 2017-11-01 14:08:18 +00:00
Tim Zallmann 64e589c581 Resolve "Inconsistent location of members page between groups and projects" 2017-07-07 14:40:41 +00:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
blackst0ne a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Jose Ivan Vargas 075aae2503 Updated the "users" to "members" matches in the view
Reverted the change from the "expires_at" to "expires_at_groups" in the groups controller
2017-01-03 10:52:14 -06:00
Jose Ivan Vargas ad58dec2e1 Added groups to members section, added a members finder 2017-01-03 10:52:14 -06:00
Rémy Coutable 5f1d3ec59a Only skip group when it's actually a group in the "Share with group" select
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-04 12:42:19 +01:00
Phil Hughes 996e802415 Merge branch 'master' into members-ui 2016-10-06 15:30:34 +01:00
barthc 35ced4dae4 fix group links 404 2016-10-05 09:57:54 +01:00
Phil Hughes c2602aaff3 Updated Ruby 2016-10-04 14:40:03 +01:00
Phil Hughes 73c4da1780 Fixed removing groups 2016-09-13 08:44:59 +01:00
Phil Hughes e747626fad Added test for updating groups permissions 2016-09-13 08:44:59 +01:00
Phil Hughes 97a51817bf Fixed error when updating groups 2016-09-13 08:44:59 +01:00
Phil Hughes b3d75ac513 Return 403 if user can't update group 2016-09-13 08:44:59 +01:00
Phil Hughes 4afd17b278 Included groups on project_members page 2016-09-13 08:44:59 +01:00
Sean McGivern 883b96ab6a Allow project group links to be expired 2016-08-18 22:45:41 +01:00
Grzegorz Bizon 66b6d82a3e Use guard clause to check ability to share project 2016-04-19 12:15:56 +02:00
Grzegorz Bizon d177abb32b Refactor method that shares project with a group 2016-04-19 12:15:56 +02:00
Grzegorz Bizon f2e3868124 Check permissions when sharing project with group
Closes #15330
2016-04-19 12:15:56 +02:00
Dmitriy Zaporozhets 746ac56b6f
Add functionality to setup share of project with group via project settings
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-11 18:37:46 +01:00