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