Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `:empty_project` where possible in model specsrs-empty_project-models | Robert Speicher | 2017-01-26 | 1 | -5/+5 |
| | |||||
* | Update ProjectTeam#fetch_members to use project authorizationsfix/drop-project-authorized-for-user | Ahmad Sherif | 2016-11-23 | 1 | -1/+1 |
| | |||||
* | Update ProjectTeam#max_member_access_for_user_ids to use project authorizations | Ahmad Sherif | 2016-11-23 | 1 | -6/+6 |
| | |||||
* | Drop Project#authorized_for_user? in favor of ProjectTeam#member? | Ahmad Sherif | 2016-11-23 | 1 | -0/+51 |
| | | | | Closes #23938 | ||||
* | Add shortcuts for adding users to a project team with a specific rolers-project-team-helpers | Robert Speicher | 2016-11-18 | 1 | -17/+17 |
| | | | | | | | | | | This also updates _some_ specs to use these new methods, just to serve as an example for others going forward, but by no means is this exhaustive. Original implementations at !5992 and !6012. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20944 | ||||
* | Make access request specs explicitly enable or disable access requests as ↵ | Nick Thomas | 2016-11-11 | 1 | -4/+4 |
| | | | | required | ||||
* | Fix specs that requires an access request | Rémy Coutable | 2016-09-22 | 1 | -2/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Fix a logic error in ProjectTeam#fetch_invited_members | Robert Speicher | 2016-09-20 | 1 | -0/+1 |
| | | | | | | We were calling `.where` and `.send` on the relation, but never doing anything with the return value, resulting in proper access-level filtering never being of any consequence. | ||||
* | Add specs for ProjectTeam#fetch_members | Robert Speicher | 2016-09-20 | 1 | -0/+61 |
| | |||||
* | Only use RequestStore in ProjectTeam#max_member_access_for_user if it is active | Stan Hu | 2016-08-01 | 1 | -40/+61 |
| | |||||
* | Rubocop offenses | Stan Hu | 2016-07-26 | 1 | -8/+8 |
| | |||||
* | Optimize the invited group link access level check | Stan Hu | 2016-07-26 | 1 | -2/+12 |
| | |||||
* | Optimize maximum user access level lookup in loading of notes | Stan Hu | 2016-07-26 | 1 | -8/+43 |
| | | | | | | | | NotesHelper#note_editable? and ProjectTeam#human_max_access currently take about 16% of the load time of an issue page. This MR preloads the maximum access level of users for all notes in issues and merge requests with several queries instead of one per user and caches the result in RequestStore. | ||||
* | UI and copywriting improvements13948-access-request-to-projects-and-groups | Rémy Coutable | 2016-06-14 | 1 | -0/+22 |
| | | | | | | | | | + Move 'Edit Project/Group' out of membership-related partial + Show the access request buttons only to logged-in users + Put the request access buttons out of in a more visible button + Improve the copy in the #remove_member_message helper Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Add request access for groups | Rémy Coutable | 2016-06-14 | 1 | -56/+94 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Project members with guest role can't access confidential issues | Douglas Barbosa Alexandre | 2016-06-13 | 1 | -0/+6 |
| | |||||
* | Bring shared project feature tests from EE | Dmitriy Zaporozhets | 2016-03-12 | 1 | -0/+44 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Allow `ProjectTeam#human_max_access` to return "Owner"rs-show-owner-label | Robert Speicher | 2016-02-18 | 1 | -8/+18 |
| | |||||
* | Tag model specs | Douwe Maan | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Wrong access level badge on MR commentsaccess_level_badge_bug | Valery Sizov | 2015-10-02 | 1 | -0/+12 |
| | |||||
* | Add `Group#add_*` convenience methodsrs-group-convenience-methods | Robert Speicher | 2015-08-07 | 1 | -3/+3 |
| | | | | Encapsulates the logic for `Gitlab::Access::WHATEVER` levels. | ||||
* | Fix Style/TrailingBlankLines cop violations | Robert Speicher | 2015-06-22 | 1 | -1/+0 |
| | |||||
* | Updated rspec to rspec 3.x syntax | Jeroen van Baarsen | 2015-02-12 | 1 | -22/+22 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Snippets: public/internal/private | Valery Sizov | 2014-10-09 | 1 | -0/+4 |
| | |||||
* | Fix permission issue with highest access level for group | Dmitriy Zaporozhets | 2014-06-20 | 1 | -21/+51 |
| | | | | | | | | If user was a member of both group and project and group access level was higher it was not respected and user got lowest project access level. Now it is fixed and user get highest access level Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fixed the project team specs | Jeroen van Baarsen | 2014-06-08 | 1 | -8/+8 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Improve performance of application for large teams | Dmitriy Zaporozhets | 2014-06-04 | 1 | -7/+28 |
| | | | | | | | This commit fixes a lot of sql queries to db for for groups and projects with big amount of members. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | remove tests for unexisting methods | Dmitriy Zaporozhets | 2013-02-26 | 1 | -3/+0 |
| | |||||
* | repair rspec (remove and rename files) | Andrey Kumanyaev | 2013-01-24 | 1 | -0/+18 |