- Jul 19, 2019
-
-
Fabio Papa authored
-
Fabio Papa authored
-
Fabio Papa authored
-
Fabio Papa authored
-
- Jul 04, 2019
-
-
Some general code has been added/removed in EE version which needs to be backported in CE
-
- Jun 27, 2019
-
-
Thong Kuah authored
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.
-
- Jun 13, 2019
-
-
Roger Meier authored
-
Roger Meier authored
-
Roger Rüttimann authored
-
Roger Rüttimann authored
-
Roger Rüttimann authored
-
- May 31, 2019
-
-
Wei-Meng Lee authored
-
Wei-Meng Lee authored
-
- Apr 23, 2019
-
-
Model.new.attributes now also returns encrypted attributes.
-
- Apr 05, 2019
-
-
mksionek authored
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
-
- Apr 04, 2019
-
-
Chnage method used in model to make it more efficient database-wise Add additional spec
-
- Mar 18, 2019
-
-
Kamil Trzcińśki authored
-
- Mar 06, 2019
-
-
This makes code to support encrypted runner tokens. This code also finished previously started encryption process.
-
- Jan 24, 2019
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jan 16, 2019
-
-
Alejandro Rodríguez authored
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.
-
- Dec 19, 2018
-
-
Jarka Kadlecova authored
- we now use the hierarchy class also for epics - also rename supports_nested_groups? into supports_nested_objects? - move it to a concern
-
- Dec 04, 2018
-
-
Thong Kuah authored
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
-
- Dec 03, 2018
-
-
Grzegorz Bizon authored
-
- Nov 16, 2018
-
-
Grzegorz Bizon authored
-
- Oct 30, 2018
-
-
- Oct 29, 2018
-
-
Thong Kuah authored
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.
-
- Sep 24, 2018
-
-
Tiago Botelho authored
-
- Sep 17, 2018
-
-
Yorick Peterse authored
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
-
- Sep 11, 2018
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Aug 06, 2018
-
-
Jarka Kadlecova authored
-
- Aug 02, 2018
-
-
Jarka Kadlecova authored
This reverts commit 8717c7da.
-
- Jul 26, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Jul 11, 2018
-
-
Jarka Kadlecova authored
This reverts commit 4d9a3f42, reversing changes made to ecf9c145.
-
Mark Chao authored
-
- Jul 03, 2018
-
-
-
Jarka Kadlecova authored
-
- Jun 07, 2018
-
-
Felipe Artur authored
-
- Jun 06, 2018
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- May 16, 2018
-
-
Jan Provaznik authored
-
Jan Provaznik authored
ObjectStore uploader requires presence of associated `uploads` record when deleting the upload file (through the carrierwave's after_commit hook) because we keep info whether file is LOCAL or REMOTE in `upload` object. For this reason we can not destroy uploads as "dependent: :destroy" hook because these would be deleted too soon. Instead we rely on carrierwave's hook to destroy `uploads` in after_commit hook. But in before_destroy hook we still have to delete not-mounted uploads (which don't use carrierwave's destroy hook). This has to be done in before_Destroy instead of after_commit because `FileUpload` requires existence of model's object on destroy action. This is not ideal state of things, in a next step we should investigate how to unify model dependencies so we can use same workflow for all uploads. Related to #45425
-