- Sep 13, 2019
-
-
GitLab Bot authored
-
- Sep 03, 2019
-
-
Andreas Brandl authored
This fixes a high frequency N+1 issue: `RoutableActions#find_routable!` is used across many controllers to retrieve e.g. the Project or Namespace by path. The `#find_routable!` method calls `#ensure_canonical_path` which in turn retrieves `#full_path` from the given Routable. This in turn triggers a lookup on `routes`, leading to a high frequency of these queries: ```sql SELECT "routes".* FROM "routes" WHERE "routes"."source_id" = $1 AND "routes"."source_type" = $2 LIMIT $3 ``` This is unnecessary as we already join `routes` in `Routable#find_by_full_path` anyways.
-
- Jul 19, 2019
-
-
Fabio Papa authored
For both groups_controller and admin/groups_controller
-
- Jul 05, 2019
-
-
Fabio Papa authored
For both groups_controller and admin/groups_controller
-
- Jul 02, 2019
-
-
Fabio Papa authored
For both groups_controller and admin/groups_controller
-
- Jul 01, 2019
-
-
Fabio Papa authored
For both groups_controller and admin/groups_controller
-
- Jun 27, 2019
-
-
Fabio Papa authored
For both groups_controller and admin/groups_controller
-
- 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
-
- Mar 21, 2019
-
-
Martin Wortschack authored
- Update PO file
-
- Sep 19, 2018
-
-
gfyoung authored
Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
-
- 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.
-
- Jul 09, 2018
-
-
Lin Jen-Shin authored
-
- Jun 25, 2018
-
-
Lin Jen-Shin authored
-
- Apr 04, 2018
-
-
blackst0ne authored
-
- Feb 27, 2018
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Dec 12, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jun 06, 2017
-
-
blackst0ne authored
Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers
-
Nick Thomas authored
-
- Apr 25, 2017
-
-
Kushal Pandya authored
-
- Apr 20, 2017
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Apr 06, 2017
-
-
Markus Koller authored
-
- Feb 08, 2017
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
dixpac authored
* Changed name of delete_user_service and worker to destroy * Move and change delete_group_service to Groups::DestroyService * Rename Notes::DeleteService to Notes::DestroyService
-
- Jan 11, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Dec 28, 2016
-
-
Valery Sizov authored
-
- Dec 21, 2016
-
-
Markus Koller authored
This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.
-
- Dec 08, 2016
-
-
Dmitriy Zaporozhets authored
* add parent_id field to namespaces table to store relation with nested groups * create routes table to keep information about full path of every group and project * project/group lookup by full path from routes table Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Sep 28, 2016
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Sep 15, 2016
-
-
Patricio Cano authored
-
Patricio Cano authored
Groups can enable/disable LFS, but this setting can be overridden at the project level. Admin only
-
- Aug 18, 2016
-
-
Sean McGivern authored
-
- Aug 11, 2016
-
-
Stan Hu authored
There is a race condition in DestroyGroupService now that projects are deleted asynchronously: 1. User attempts to delete group 2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project 3. DestroyGroupService destroys the Group, leaving all its projects without a namespace 4. Projects::DestroyService runs later but the can?(current_user, :remove_project) is `false` because the user no longer has permission to destroy projects with no namespace. 5. This leaves the project in pending_delete state with no namespace/group. Projects without a namespace or group also adds another problem: it's not possible to destroy the container registry tags, since container_registry_path_with_namespace is the wrong value. The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService. Closes #17893
-
- Jul 20, 2016
-
-
Felipe Artur authored
-
- Jul 01, 2016
-
-
Rémy Coutable authored
And create new Project#requesters, Group#requesters scopes. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Mar 21, 2016
-
-
Felipe Artur authored
-
- Mar 19, 2016
-
-
Robert Speicher authored
-
- Mar 08, 2016
-
-
Yatish Mehta authored
-
- Jun 03, 2015
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Apr 20, 2015
-
-
Jeroen van Baarsen authored
Signed-off-by:
Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- Apr 14, 2015
-
-
Douwe Maan authored
-