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
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-31Limit access request email to 10 most recently active owners/maintainersManoj MJ
This change limits the number of emails for new access requests notifications to 10 most recently active owners/maintainers
2019-08-28Return NO_ACCESS if user is nilPatrick Derichs
2019-08-05Add group level container repository endpointsSteve Abrams
API endpoints for requesting container repositories and container repositories with their tag information are enabled for users that want to specify the group containing the repository rather than the specific project.
2019-07-26Merge branch 'remove-nested-groups-checks' into 'master'Lin Jen-Shin
Remove code related to object hierarchy and MySQL Closes #65056 and #65055 See merge request gitlab-org/gitlab-ce!31095
2019-07-26Prefer `flat_map` over `map` + `flatten`Peter Leitzen
Convert several occurrences of `map` + `flatten` to `flat_map` where applicable.
2019-07-25Remove code related to object hierarchy in MySQLHeinrich Lee Yu
These are not required because MySQL is not supported anymore
2019-07-23Make pipeline emails respect group email settingHeinrich Lee Yu
When a user's notification email is set for a group, we should use that for pipeline emails
2019-07-20Make Group#subgroup_creation_level return Owner if it is nil in DBFabio Papa
2019-07-19Apply changes recomended by merge request coachFabio Papa
2019-07-19Remove AR hook to set the default subgroup_creation_levelFabio Papa
2019-07-19Make maintainers the default setting for creating subgroupsFabio Papa
2019-07-19Make the group model return maintainer level when it is not setFabio Papa
2019-07-19Remove AR hook to set the default subgroup_creation_levelFabio Papa
2019-07-19Make maintainers the default setting for creating subgroupsFabio Papa
2019-07-19Apply changes recomended by merge request coachFabio Papa
2019-07-19Remove AR hook to set the default subgroup_creation_levelFabio Papa
2019-07-19Make maintainers the default setting for creating subgroupsFabio Papa
2019-07-19Apply changes recomended by merge request coachFabio Papa
2019-07-19Remove AR hook to set the default subgroup_creation_levelFabio Papa
2019-07-19Make maintainers the default setting for creating subgroupsFabio Papa
2019-07-19Make the group model return maintainer level when it is not setFabio Papa
2019-07-04Backports for EE's "Allow adding groups to CODEOWNERS file"Igor
Some general code has been added/removed in EE version which needs to be backported in CE
2019-06-27Remove group_clusters feature flagThong Kuah
Now we have terminals for instance and group clusters we can remove the FF now. Deploying to group clusters has been working without complaints too.
2019-06-13refactor: do not apply setting "require 2FA" for ancestor group membersRoger Meier
2019-06-13refactor: apply "require 2FA" to all subgroup and ancestor group members, ↵Roger Meier
when changing
2019-06-13remove experiments for 2fa requirements and fix testsRoger Rüttimann
2019-06-13first try: fix mysql problem (not all users found)Roger Rüttimann
2019-06-13require update_two_factor_requirement on all sub-entities usersRoger Rüttimann
2019-05-31Move method into groupWei-Meng Lee
2019-05-31Guarantee order of notification settingsWei-Meng Lee
2019-04-23Upgrade Rails to 5.1.6.1Jasper Maes
Model.new.attributes now also returns encrypted attributes.
2019-04-05Add part of needed codeGosia Ksionek
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-04Add cr remarksGosia Ksionek
Chnage method used in model to make it more efficient database-wise Add additional spec
2019-03-18Make runners token encryption to be optionalKamil Trzciński
2019-03-06Use encrypted runner tokensKamil Trzciński
This makes code to support encrypted runner tokens. This code also finished previously started encryption process.
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-16Return max group access level in the projects APIAlejandro Rodríguez
Currently if a project is inside a nested group and a user doesn't have specific permissions for that group but does have permissions on a parent group the `GET /projects/:id` API call will return the following permissions: ```json permissions: { project_access: null, group_access: null } ``` It could also happen that the group specific permissions are of lower level than the ones the user has in parent groups. This patch makes it so that the permission returned for `group_access` is the highest from amongst the hierarchy, which is (ostensibly) the information that the API user is interested in for that field.
2018-12-19Rename GroupHierarchy into ObjectHierarchyJarka Košanová
- we now use the hierarchy class also for epics - also rename supports_nested_groups? into supports_nested_objects? - move it to a concern
2018-12-05Unify into :group_clusters feature flagThong Kuah
With this MR, group clusters is now functional, so default to enabled. Have a single setting on the root ancestor group to enabled or disable group clusters feature as a whole
2018-12-03Migrate runners token first before fully switchingGrzegorz Bizon
2018-11-16Encrypt group / project runners registration tokensGrzegorz Bizon
2018-10-30Renaming Secret Variables in the codebaseMarcel Amirault
2018-10-29Associate clusters model to groupsThong Kuah
Even though we currently only should have one group for a cluster, we allow the flexibility to associate to other groups in the future. This also matches the runner <=> groups association. - Adds Cluster#first_group, aliased to Cluster#group. For the conceivable future, a cluster will have at most one group. - Prevent mixing of group and project clusters. If project type clusters, it should only have projects assigned. Similarly with groups. - Default cluster_type to :project_type. As it's very small table we can set default and null: false in one release.
2018-09-24Applies the CE backport of EE#657Tiago Botelho
2018-09-17Added FromUnion to easily select from a UNIONYorick Peterse
This commit adds the module `FromUnion`, which provides the class method `from_union`. This simplifies the process of selecting data from the result of a UNION, and reduces the likelihood of making mistakes. As a result, instead of this: union = Gitlab::SQL::Union.new([foo, bar]) Foo.from("(#{union.to_sql}) #{Foo.table_name}") We can now write this instead: Foo.from_union([foo, bar]) This commit also includes some changes to make this new setup work properly. For example, a bug in Rails 4 (https://github.com/rails/rails/issues/24193) would break the use of `from("sub-query-here").includes(:relation)` in certain cases. There was also a CI query which appeared to repeat a lot of conditions from an outer query on an inner query, which isn't necessary. Finally, we include a RuboCop cop to ensure developers use this new module, instead of using Gitlab::SQL::Union directly. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/51307
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-08-07Merge branch 'group-todos' into 'master'Sean McGivern
Group todos See merge request gitlab-org/gitlab-ce!20675
2018-08-06Add changes from the EEJarka Kadlecová
2018-08-02Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""Jarka Kadlecová
This reverts commit 8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.