Commit Graph

45 Commits

Author SHA1 Message Date
GitLab Bot 2f08c2b7d2 Add latest changes from gitlab-org/gitlab@master 2023-10-03 15:10:59 +00:00
GitLab Bot 75776b02d4 Add latest changes from gitlab-org/gitlab@master 2023-09-15 00:09:14 +00:00
GitLab Bot 9ee2305f46 Add latest changes from gitlab-org/gitlab@master 2023-06-07 18:09:51 +00:00
GitLab Bot eb6b175049 Add latest changes from gitlab-org/gitlab@master 2022-05-31 15:09:02 +00:00
GitLab Bot be4b3134a2 Add latest changes from gitlab-org/gitlab@master 2021-05-04 15:10:36 +00:00
GitLab Bot e5e0589e09 Add latest changes from gitlab-org/gitlab@master 2021-04-26 12:09:44 +00:00
GitLab Bot a662b146ac Add latest changes from gitlab-org/gitlab@master 2020-11-05 12:09:05 +00:00
GitLab Bot 6724a6ee6b Add latest changes from gitlab-org/gitlab@master 2020-09-04 12:08:27 +00:00
GitLab Bot eef9c80f1c Add latest changes from gitlab-org/gitlab@master 2020-08-27 15:10:21 +00:00
GitLab Bot bc75527dca Add latest changes from gitlab-org/gitlab@master 2020-08-26 18:11:43 +00:00
GitLab Bot e7bc93852d Add latest changes from gitlab-org/gitlab@master 2020-05-21 21:08:31 +00:00
GitLab Bot ae96e65ee2 Add latest changes from gitlab-org/gitlab@master 2020-04-22 12:09:29 +00:00
GitLab Bot d10a462fed Add latest changes from gitlab-org/gitlab@master 2019-12-16 12:07:43 +00:00
GitLab Bot 8cc5f27909 Add latest changes from gitlab-org/gitlab@master 2019-12-13 12:07:41 +00:00
GitLab Bot 143f196f8b Add latest changes from gitlab-org/gitlab@master 2019-11-18 18:06:53 +00:00
GitLab Bot d15180e00b Add latest changes from gitlab-org/gitlab@master 2019-11-06 09:06:23 +00:00
Mayra Cabrera 0ab89d8e36 Add a rubocop for Rails.logger
Suggests to use a JSON structured log instead

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-10 19:26:47 +00:00
Heinrich Lee Yu fc22626f45 Remove deprecated uses of attribute_changed?
Prepares us for upgrade to Rails 5.2
2019-04-30 15:24:25 +08:00
Jasper Maes 624a1cdab4 Upgrade Rails to 5.1.6.1
Model.new.attributes now also returns encrypted attributes.
2019-04-23 08:31:23 +08:00
Michael Kozono e6327316b6 Remove unused code 2019-04-22 23:13:54 +00:00
Stan Hu e96fd232a6 Remove unnecessary includes of ShellAdapter
Determined by running the script:

```
included = `git grep --name-only ShellAdapter`.chomp.split("\n")
used = `git grep --name-only gitlab_shell`.chomp.split("\n")
included - used
```
2018-12-05 23:19:27 -08:00
George Tsiolis 733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
Stan Hu bba99da98c Improve logging when username update fails due to registry tags
When a user cannot be renamed due to existing container registry tags, log the
namespace and an example project that has tags.
2018-10-02 06:36:58 -04:00
James Lopez a2aa505805
Refactor code to remove object storage flag from Import/Export
Updated docs, refactor import/export code
Fix AvatarUploader path issue
Fix project export upload webhook error
2018-09-06 16:52:42 +02:00
gfyoung 15b878e27e Enable more frozen string in app/models/**/*.rb
Partially addresses #47424.
2018-08-07 00:37:36 -07:00
Douwe Maan 5f84509c05 Merge branch 'stop-dynamic-routable-creation' into 'master'
Stop building Route rows on the fly

See merge request gitlab-org/gitlab-ce!20313
2018-07-27 13:51:04 +00:00
Michael Kozono 9e396d6e1c Fix namespace move callback behavior, especially to fix Geo replication of namespace moves during certain exceptions 2018-07-26 18:44:21 +00:00
Yorick Peterse 7a233b37cd
Remove code for dynamically generating routes
This adds a database migration that creates routes for any projects and
namespaces that don't already have one. We also remove the runtime code
for dynamically creating routes, as this is no longer necessary.
2018-07-25 16:41:29 +02:00
Zeger-Jan van de Weg ec4423665c
Gitlab::Shell works on shard name, not path
Direct disk access is done through Gitaly now, so the legacy path was
deprecated. This path was used in Gitlab::Shell however. This required
the refactoring in this commit.

Added is the removal of direct path access on the project model, as that
lookup wasn't needed anymore is most cases.

Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-25 13:36:22 +02:00
Michael Kozono 3b91e56331 Appease Metrics/AbcSize cop 2018-03-13 16:13:37 -07:00
Michael Kozono ef62a7c2d1 Ensure data integrity 2018-03-13 15:05:28 -07:00
Michael Kozono 1f311a9caa Fix moving local files during namespace transfer 2018-03-13 14:45:17 -07:00
Mayra Cabrera 68a419c879 31885 - Ability to transfer a single group to another group 2018-02-06 00:10:58 +00:00
Nick Thomas 30a43b7e04
Fix export removal for hashed-storage projects within a renamed or deleted namespace 2018-02-05 10:38:57 +00:00
Douglas Barbosa Alexandre fcb967ac67 Write projects config to all projects inside namespace in batches 2018-01-03 16:13:32 -02:00
Douglas Barbosa Alexandre ca089f5968 Update project full path in .git/config when renaming namespace 2018-01-03 16:13:31 -02:00
Jen-Shin Lin bd46c8abfd Merge branch 'security-10-1' into '10-1-stable'
Security fixes for 10.1 RC

See merge request gitlab/gitlabhq!2209
2017-10-17 15:58:58 -07:00
Gabriel Mazetto e7a060321f Moving away from the "extend" based factory to a more traditional one.
Using `extend` dynamically can lead to bad performance as it
invalidates the method's cache.
2017-08-22 06:33:20 +02:00
Gabriel Mazetto 9e6fa996ea New storage is now "Hashed" instead of "UUID" 2017-08-22 06:33:20 +02:00
Gabriel Mazetto 5340339957 Add UUID Storage to Project 2017-08-22 06:33:20 +02:00
Gabriel Mazetto 950c87308a Move create_repository back to project model as we can use disk_path and share it 2017-08-22 06:33:20 +02:00
Gabriel Mazetto 2c26096203 Small refactor in LegacyNamespace and moved back send_update_instructions 2017-08-01 07:45:04 +02:00
Gabriel Mazetto 597e619080 Rename ensure_dir_exist -> ensure_storage_path_exist 2017-08-01 07:44:25 +02:00
Gabriel Mazetto fb06a4d8fe Rename more path_with_namespace -> full_path or disk_path 2017-08-01 07:28:13 +02:00
Gabriel Mazetto 9861531888 Move storage specific code from Namespace and Project to concerns 2017-08-01 07:26:58 +02:00