summaryrefslogtreecommitdiff
path: root/spec/models/group_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into 'rs-carrierwave-db'rs-carrierwave-dbDouwe Maan2017-03-061-0/+1
|\ | | | | | | # Conflicts: # spec/models/group_spec.rb
| * Create MM team for GitLab groupZ.J. van de Weg2017-02-161-0/+1
| |
* | Add `has_many` associations for models that can have Upload recordsRobert Speicher2017-03-061-0/+1
|/
* Refresh authorizations when transferring projectsrefresh-permissions-when-moving-projectsYorick Peterse2017-02-071-0/+13
| | | | | | | | This ensures that project authorizations are refreshed when moving a project from one namespace to another. When doing so the permissions for all users of both the old and new namespaces are refreshed. See #26194 for more information.
* Merge branch 'backport-ee-changes-for-build-minutes' into 'master' Grzegorz Bizon2017-01-251-2/+8
|\ | | | | | | | | Backport changes introduced by https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1078 See merge request !8657
| * Backport changes introduced by ↵Kamil Trzcinski2017-01-201-2/+8
| | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083
* | Fix 500 error for Group#web_url method if nested groupdz-fix-group-canonical-routeDmitriy Zaporozhets2017-01-241-0/+6
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Include group parents into read access for project and groupDmitriy Zaporozhets2016-12-261-0/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'use-build-instead-create' into 'master' Rémy Coutable2016-12-151-1/+1
|\ | | | | | | | | Use build instead create in group spec See merge request !8068
| * Use build instead create in group specSemyon Pupkov2016-12-131-1/+1
| |
* | Merge branch 'master' into 'dz-remove-namespaces-path-uniq'Dmitriy Zaporozhets2016-12-141-0/+7
|\ \ | |/ | | | | | | | | Merge Request - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8013 # Conflicts: # db/schema.rb
| * Create nested group factoryDmitriy Zaporozhets2016-12-111-0/+7
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Modify namespace name and path validationdz-remove-namespaces-path-uniqDmitriy Zaporozhets2016-12-121-2/+1
|/ | | | | | | | | | | Currently namespace name and path have uniq validaiton which does not allow us to use same group name/path inside different groups. This commit changes validation in next way: * Allow same namespace name with different parent_id * Allow same namespace path. Uniq validation should be handled by routes table Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make access request specs explicitly enable or disable access requests as ↵Nick Thomas2016-11-111-1/+1
| | | | required
* Revert "Revert "Change "Group#web_url" to return "/groups/twitter" rather ↵dz-revert-revertDmitriy Zaporozhets2016-10-271-0/+6
| | | | | | than "/twitter"."" This reverts commit 9dbd5b3cfad10b214ae5ef27c39246bbb74a5077.
* Revert "Change "Group#web_url" to return "/groups/twitter" rather than ↵Dmitriy Zaporozhets2016-10-241-6/+0
| | | | | | "/twitter"." This reverts commit c81ff152e08d58c13efbd50c40dd2e083ac65083.
* Change "Group#web_url" to return "/groups/twitter" rather than "/twitter".Adam Niedzielski2016-10-211-0/+6
| | | | | Bring back the old behaviour which was changed by 6b90ccb9. Fixes #23527.
* Add GroupLabel modelDouglas Barbosa Alexandre2016-10-191-0/+1
|
* Syntax fixes and better tests for helper methods. Updated docs.group-specific-lfs-settingsPatricio Cano2016-09-151-0/+46
|
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-3/+3
|
* Avoid `describe`-ing symbols in specsrs-describe-symbolsRobert Speicher2016-07-121-5/+5
|
* Exclude requesters from Project#members, Group#members and User#membersexplicit-requesters-scopeRémy Coutable2016-07-011-0/+29
| | | | | | And create new Project#requesters, Group#requesters scopes. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Turn Group#owners into a has_many associationYorick Peterse2016-06-161-0/+12
| | | | This allows the owners to be eager loaded where needed.
* UI and copywriting improvements13948-access-request-to-projects-and-groupsRémy Coutable2016-06-141-11/+0
| | | | | | | | | + 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 groupsRémy Coutable2016-06-141-1/+58
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-15/+0
| | | | | | | | | In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
* Address feedbackDouwe Maan2016-03-221-2/+2
|
* Fix specsDouwe Maan2016-03-201-2/+2
|
* Fix more specsDouwe Maan2016-03-201-3/+2
|
* Improve group visibility level featureZeger-Jan van de Weg2016-03-181-5/+5
|
* Merge 4009-external-users into issue_12658Felipe Artur2016-03-161-0/+26
|\
| * Use ILIKE/LIKE for searching groupsYorick Peterse2016-03-111-0/+26
| |
* | Add permission level to groupsFelipe Artur2016-03-101-0/+18
|/
* Annotate modelsStan Hu2016-01-061-1/+0
|
* remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-041-27/+0
|
* Tag model specsDouwe Maan2015-12-091-1/+1
|
* Group methods for filtering public/visible groupsYorick Peterse2015-11-181-0/+27
| | | | | These methods will be used to get a list of groups, optionally restricted to only those visible to a given user.
* Annotate modelsDmitriy Zaporozhets2015-11-131-0/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Allow groups to appear in the search results if the group owner allows itValery Sizov2015-11-051-0/+19
|
* Add `to_reference` for models that support referencesRobert Speicher2015-05-261-6/+20
| | | | | Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-15/+15
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Replace old references of users_project & users_groupDmitriy Zaporozhets2014-09-141-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-141-8/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-2/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* added group avatarsSteven Thonus2014-01-281-0/+15
|
* Update user access level when adding to group.Marin Jankovski2013-10-141-0/+12
|
* Annotate!Dmitriy Zaporozhets2013-10-011-1/+1
|
* Ignore owner_id for Group in testsDmitriy Zaporozhets2013-09-261-3/+3
|
* group add_users specDmitriy Zaporozhets2013-06-261-1/+12
|
* reannotatedDmitriy Zaporozhets2013-03-151-7/+8
|