Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-04-26Ensure member notifications are sent after the member actual creation/update ↵Rémy Coutable
in the DB Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-03-08Don't delete todos or unassign issues and MRs when a user leaves a projectDouwe Maan
2017-08-12a membership with no user is always notifiablehttp://jneen.net/
since this is for user invites and the like.
2017-08-12add Member#notifiable?(type, opts)http://jneen.net/
2017-06-05Allow group reporters to manage group labelsSean McGivern
Previously, only group masters could do this. However, project reporters can manage project labels, so there doesn't seem to be any need to restrict group labels further. Also, save a query or two by getting a single GroupMember object to find out if the user is a master or not.
2017-04-21Refactor add_users method for project and groupDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-04-06Support 2FA requirement per-groupMarkus Koller
2017-02-23Enable Rails/ValidationDouwe Maan
2017-02-23Enable Style/MutableConstantDouwe Maan
2016-10-24Remove redundant class_name and foreign_key overridesDavid Wagner
They were Rails' default and are unnecessarily overridden. Signed-off-by: David Wagner <david@marvid.fr>
2016-10-20Differentiate the expire from leave eventCallum Dryden
At the moment we cannot see weather a user left a project due to their membership expiring of if they themselves opted to leave the project. This adds a new event type that allows us to make this differentiation. Note that is not really feasable to go back and reliably fix up the previous events. As a result the events for previous expire removals will remain the same however events of this nature going forward will be correctly represented.
2016-09-28Allow Member.add_user to handle access requestersRémy Coutable
Changes include: - Ensure Member.add_user is not called directly when not necessary - New GroupMember.add_users_to_group to have the same abstraction level as for Project - Refactor Member.add_user to take a source instead of an array of members - Fix Rubocop offenses - Always use Project#add_user instead of project.team.add_user - Factorize users addition as members in Member.add_users_to_source - Make access_level a keyword argument in GroupMember.add_users_to_group and ProjectMember.add_users_to_projects - Destroy any requester before adding them as a member - Improve the way we handle access requesters in Member.add_user Instead of removing the requester and creating a new member, we now simply accepts their access request. This way, they will receive a "access request granted" email. - Fix error that was previously silently ignored - Stop raising when access level is invalid in Member, let Rails validation do their work Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-18Merge branch 'master' into expiration-date-on-membershipsSean McGivern
2016-08-10New AccessRequests API endpoints for Group & ProjectRémy Coutable
Also, mutualize AccessRequests and Members endpoints for Group & Project. New API documentation for the AccessRequests endpoints. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-04Fix Rename `add_users_into_project` and `projects_ids`Herminio Torres
We never add things `into` projects, we just add them `to` projects. So how about we rename this to `add_users_to_project`. Rename `projects_ids` to `project_ids` by following the convention of rails.
2016-08-02Replace optional parameters with keyword arguments.Adam Niedzielski
2016-08-01WIPAdam Niedzielski
2016-07-01Enable Style/EmptyLines cop, remove redundant onesGrzegorz Bizon
2016-06-18New Members::DestroyServiceRémy Coutable
This is to ensure we don't send unwanted notifications when deleting a project. In other words, stop abusing AR callbacks and use services. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-14UI and copywriting improvementsRémy Coutable
+ 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>
2016-06-14Add request access for groupsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-14Initial implementation of user access request to projectsDavid Alexander
2016-05-30Add changelog and code refactorLong Nguyen
2016-05-22Fix Member specLong Nguyen
2016-05-21Fix broken specsLong Nguyen
2016-05-20Remove todos when destroy project member and specsLong Nguyen
2016-05-09Remove the annotate gem and delete old annotationsJeroen van Baarsen
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
2016-05-06Annotate the modelsZeger-Jan van de Weg
2016-03-30Small refactoring and cleanup of notification logicDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-21Use consistent markup and styling for highlighting across blobs, diffs, ↵Douwe Maan
blame and snippets
2015-05-03Re-annotate modelsStan Hu
2015-04-14Follow newline guidelines.Douwe Maan
2015-04-14Remove duplication between Group and ProjectMember.Douwe Maan
2015-04-14Let invites be declined.Douwe Maan
2015-04-14Let members be invited from Add members pane.Douwe Maan
2015-04-14Add emails around invitation.Douwe Maan
2015-04-14Add invite logic to Member.Douwe Maan
2015-04-14Track who created a group or project member.Douwe Maan
2015-03-15Use `project_member` instead of `team_member`.Douwe Maan
2015-02-13Add "User created project Namespace / Project" eventDouwe Maan
2015-02-13Move all event creation to EventCreateService.Douwe Maan
2015-01-27Added support for firing system hooks on group create/destroy and ↵Boyan Tabakov
adding/removing users to group. Added tests and updated docs. Also adding 'user_id' field in the hooks for adding/removing user from team.
2014-10-09annotateValery Sizov
2014-10-03Add parenthesis to function def with arguments.Ciro Santilli
2014-09-14Fix STI+polymorphic for Group <-> GroupMemberDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14Fix migration and association for new members tableDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14Huge replace of old users_project and users_group referencesDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>