GitLab Bot
e5a0db2327
Add latest changes from gitlab-org/gitlab@master
2025-03-04 09:11:37 +00:00
GitLab Bot
fbddb50f0f
Add latest changes from gitlab-org/gitlab@master
2025-01-29 23:38:45 +00:00
GitLab Bot
efa1bb6a1f
Add latest changes from gitlab-org/gitlab@master
2024-12-03 11:07:25 +00:00
GitLab Bot
d6a7d36ff2
Add latest changes from gitlab-org/gitlab@master
2024-11-22 12:33:18 +00:00
GitLab Bot
d4a47f4e96
Add latest changes from gitlab-org/gitlab@master
2024-11-13 15:29:32 +00:00
GitLab Bot
28cff3de2b
Add latest changes from gitlab-org/gitlab@master
2024-11-05 12:24:33 +00:00
GitLab Bot
47bc32fc87
Add latest changes from gitlab-org/gitlab@master
2024-11-01 21:13:09 +00:00
GitLab Bot
30699be04e
Add latest changes from gitlab-org/gitlab@master
2024-07-30 21:07:18 +00:00
GitLab Bot
1f8cc3d97b
Add latest changes from gitlab-org/gitlab@master
2024-05-07 15:12:23 +00:00
GitLab Bot
1f5a6f7200
Add latest changes from gitlab-org/gitlab@master
2024-04-22 18:11:44 +00:00
GitLab Bot
7b7daa5813
Add latest changes from gitlab-org/gitlab@master
2024-02-07 12:08:55 +00:00
GitLab Bot
d94409aaaf
Add latest changes from gitlab-org/gitlab@master
2023-05-26 12:08:30 +00:00
GitLab Bot
4e65fc3589
Add latest changes from gitlab-org/gitlab@master
2023-05-12 00:12:55 +00:00
GitLab Bot
c48bbe6650
Add latest changes from gitlab-org/gitlab@master
2022-08-18 15:12:17 +00:00
GitLab Bot
78cfc7cf4a
Add latest changes from gitlab-org/gitlab@master
2022-02-15 15:15:04 +00:00
GitLab Bot
e7e44c0e4c
Add latest changes from gitlab-org/gitlab@master
2022-02-15 09:17:01 +00:00
GitLab Bot
ea7202cfe3
Add latest changes from gitlab-org/gitlab@master
2021-10-29 21:13:01 +00:00
GitLab Bot
2b2f7ac9bc
Add latest changes from gitlab-org/gitlab@master
2021-09-22 03:09:11 +00:00
GitLab Bot
0ae8428c8e
Add latest changes from gitlab-org/gitlab@master
2021-05-11 21:10:21 +00:00
GitLab Bot
c596046be9
Add latest changes from gitlab-org/gitlab@master
2020-09-10 18:08:54 +00:00
GitLab Bot
8f9beefac3
Add latest changes from gitlab-org/gitlab@master
2020-03-23 12:09:47 +00:00
GitLab Bot
31040b5bfe
Add latest changes from gitlab-org/gitlab@master
2019-10-07 15:05:59 +00:00
GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
Fabio Papa
9dc5c2ef73
Add "allowed to create subgroups" dropdown to group settings form
2019-07-19 11:55:46 -07:00
Fabio Papa
99e6c08436
Add constants representing Owner and Maintainer group access levels
2019-07-19 11:55:46 -07:00
Gosia Ksionek
64858317ad
Add part of needed code
...
Add columns to store project creation settings
Add project creation level column in groups
and default project creation column in application settings
Remove obsolete line from schema
Update migration with project_creation_level column existence check
Rename migrations to avoid conflicts
Update migration methods
Update migration method
2019-04-05 18:49:46 +00:00
Thiago Presa
538741f230
Add highest_role method to User
2019-03-22 09:54:03 +00:00
gfyoung
c858f70d07
Enable frozen string for lib/gitlab/*.rb
2018-10-22 07:00:50 +00:00
Mark Chao
a63bce1a4b
Resolve "Rename the `Master` role to `Maintainer`" Backend
2018-07-11 14:36:08 +00:00
Mark Chao
a8b570d8bc
Rename master to maintainer
2018-06-06 20:57:14 +09:00
Sean McGivern
c82ae26565
Clarify wording of protected branch settings for the default branch
...
No-one is allowed to force push to a protected branch, or delete it. That's
correct in the documentation, but was wrong in the drop-down.
2017-11-20 16:09:56 +00:00
micael.bergeron
966b1128d8
WIP: refactor the first-contributor to Issuable
...
this will remove the need make N queries (per-note) at the
cost of having to mark notes with an attribute
this opens up the possibility for other special roles for notes
2017-09-06 09:00:57 -04:00
Rémy Coutable
d40e1f547e
Enable the Style/TrailingCommaInLiteral cop
...
Use the EnforcedStyleForMultiline: no_comma option.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Sean McGivern
811e598f60
Enable and autocorrect the CustomErrorClass cop
2017-03-01 15:28:10 +00:00
Douwe Maan
75f5fa997d
Enable Rails/Delegate
2017-02-23 09:32:42 -06:00
Rémy Coutable
ec0061a95c
Allow Member.add_user to handle access requesters
...
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-09-28 09:43:00 +02:00
Stan Hu
d1ea2bca61
Optimize maximum user access level lookup in loading of notes
...
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.
2016-07-26 15:33:05 -07:00
Rémy Coutable
2cf7f09b1e
Revert "Revert "Merge branch '18193-developers-can-merge' into 'master'
""
...
This reverts commit 530f5158e2
.
See !4892 .
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-18 10:16:56 +02:00
Robert Speicher
530f5158e2
Revert "Merge branch '18193-developers-can-merge' into 'master'
"
...
This reverts commit 9ca633eb4c
, reversing
changes made to fb229bbf79
.
2016-07-13 13:57:30 -05:00
Mathias Vestergaard
f0577d8385
Added "developers can merge" setting to protected branches
...
- Cherry-picked from `mvestergaard:branch-protection-dev-merge`
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4220
2016-07-13 13:24:26 +05:30
Rémy Coutable
654565c9dc
Raise a new Gitlab::Access::AccessDeniedError when permission is not enough to destroy a member
...
This is a try for a new approach to put the access checks at the service level.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-18 06:06:34 +02:00
Douwe Maan
9eb45ccd55
Improve description of branch protection levels.
2015-05-13 09:41:55 +02:00
Dmitriy Zaporozhets
490cf7bfce
Improve protected branches selectbox options
2015-02-03 18:12:20 -08:00
Marco Wessel
aad6ceaef9
Allow configuring protection of the default branch upon first push
2015-01-25 17:09:10 +01:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-14 19:32:51 +03:00
Dmitriy Zaporozhets
643a6e5824
Improve admin user show page
...
Show permissions for all project.
Add ability to remove user from group if not an owner
Remove unnecessary admin controller
2013-08-27 21:39:34 +03:00
Dmitriy Zaporozhets
a442ad2b14
Added Gitlab::Access module
2013-08-20 15:59:26 +03:00