summaryrefslogtreecommitdiff
path: root/app/services/projects
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'rails5-flatten' into 'master'Grzegorz Bizon2018-06-011-3/+5
|\ | | | | | | | | | | | | Fix project team members count Closes #46283 See merge request gitlab-org/gitlab-ce!19195
| * Fix project team members countJan Provaznik2018-05-291-3/+5
| | | | | | | | | | | | | | In Rails 5 `project.team.members` returns a CollectionProxy instead of array, which causes that `.flatten` fails. Although we could update the call to get distinct count directly with sql query, in this case it's better to re-use the list of members which is being loaded anyway.
* | Merge branch 'sh-batch-dependent-destroys' into 'master'Robert Speicher2018-05-291-1/+7
|\ \ | |/ |/| | | | | | | | | Fix project destruction failing due to idle in transaction timeouts Closes #44610 See merge request gitlab-org/gitlab-ce!18609
| * Fix project destruction failing due to idle in transaction timeoutssh-batch-dependent-destroysStan Hu2018-05-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | When deleting associated records, Rails loads all associations into memory (https://github.com/rails/rails/issues/22510) before destroying them. This can cause a surge in memory and cause destruction of objects to fail due to idle in transaction database timeouts. This fix is inspired from https://github.com/thisismydesign to destroy `has_many` relationships in batches. Closes #44610
* | Merge branch 'rs-projects-destroy-service-parity' into 'master'Rémy Coutable2018-05-251-3/+16
|\ \ | |/ |/| | | | | Bring CE-EE parity to app/services/projects/destroy_service.rb See merge request gitlab-org/gitlab-ce!19111
| * Bring CE-EE parity to app/services/projects/destroy_service.rbrs-projects-destroy-service-parityRobert Speicher2018-05-231-3/+16
| |
* | Fix sidebar issue countissue_38418Felipe Artur2018-05-241-5/+33
|/
* Include project.full_path when moving repoAsh McKenzie2018-05-101-1/+1
| | | | This is especially helpful when hashed storage is enabled
* Backports every CE related change from ee-5484 to CETiago Botelho2018-05-071-0/+30
|
* Merge branch '4084-epics-username-autocomplete-ce' into 'master'Douwe Maan2018-05-071-31/+1
|\ | | | | | | | | Backport CE changes from "autocomplete usernames in Epic comments/description" See merge request gitlab-org/gitlab-ce!18605
| * Backport of 4084-epics-username-autocompleteMario de la Ossa2018-05-041-31/+1
| |
* | Backports every CE related change from ee-44542 to CETiago Botelho2018-05-041-1/+1
|/
* InvaildStateError -> InvalidStateErrorNick Thomas2018-04-271-9/+9
|
* Don't automatically remove artifacts for pages jobs after pages:deploy has runNick Thomas2018-04-271-9/+2
|
* Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg2018-04-253-7/+7
| | | | | | | | | | | 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
* Respect visibility options and description when importing project from templateFrancisco Javier López2018-04-191-1/+2
|
* Resolve "Make a Rubocop that forbids returning from a block"🙈 jacopo beschi 🙉2018-04-181-1/+1
|
* Extend API for importing a project export with overwrite supportFrancisco Javier López2018-04-0613-5/+440
|
* Merge branch 'remove-pages-tar-support' into 'master'Kamil Trzciński2018-04-061-13/+1
|\ | | | | | | | | Remove support for legacy tar.gz pages artifacts See merge request gitlab-org/gitlab-ce!18090
| * Remove support for legacy tar.gz pages artifactsJacob Vosmaer2018-04-031-13/+1
| |
* | Cache personal projects count.Andreas Brandl2018-04-063-0/+6
| | | | | | | | Closes #37462.
* | Merge branch 'bvl-override-import-params' into 'master'Douwe Maan2018-04-051-2/+3
|\ \ | | | | | | | | | | | | | | | | | | Allow passing params to import API to override project attributes Closes gitlab-ee#4788 See merge request gitlab-org/gitlab-ce!18086
| * | Store override params as import data on projectsBob Van Landuyt2018-04-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means import data doesn't necessarily have to have an import_url anymore. The `ProjectImportData` could just contain the override data in it's serialized data attribute. The import data is automatically cleaned up after it is finished by the state machine.
* | | Export LFS Objects when exporting a projectBob Van Landuyt2018-04-051-1/+5
|/ / | | | | | | The LFS files will be included in the `lfs-objects` directory in the archive.
* | Allow assigning and filtering issuables by ancestor group labelsFelipe Artur2018-04-041-1/+2
| |
* | Merge branch 'fix/use-shard-name-in-gitlab-projects-instead-of-shard-path' ↵Sean McGivern2018-04-041-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | into 'master' Use shard name in Git::GitlabProjects instead of shard path Closes gitaly#1110 See merge request gitlab-org/gitlab-ce!18015
| * Use shard name in Git::GitlabProjects instead of shard pathAhmad Sherif2018-04-031-1/+1
| | | | | | | | Closes gitaly#1110
* | Merge branch 'fix/sm/fix-wrong-error-handling-in-update-page-service' into ↵Kamil Trzciński2018-04-031-8/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'master' Fix wrong error handling in update page service Closes #44817 See merge request gitlab-org/gitlab-ce!18098
| * | missing the public folder is InvaildStateErrorfix/sm/fix-wrong-error-handling-in-update-page-serviceShinya Maeda2018-03-301-1/+2
| | |
| * | Fix bad namingShinya Maeda2018-03-301-2/+2
| | |
| * | Fix wrong error handling in update page serviceShinya Maeda2018-03-301-7/+9
| |/
* | Raise more descriptive errors when URLs are blockedDouwe Maan2018-04-021-1/+5
| |
* | Extend API for exporting a project with direct upload URLFrancisco Javier López2018-03-301-8/+25
| |
* | Free open file descriptors and libgit2 buffers in UpdatePagesServicesh-cleanup-pages-workerStan Hu2018-03-301-0/+3
|/ | | | | | | | | In UpdatePagesService, we were seeing a large number of open pack files in production. Calling Project#cleanup removes a reference to Rugged::Repository and forces libgit2 to close file descriptors and free its internal memory cache. Relates to https://gitlab.com/gitlab-com/infrastructure/issues/3965#note_65837525
* Merge branch ↵Douwe Maan2018-03-281-9/+14
|\ | | | | | | | | | | | | | | | | '44392-resolve-projects-creation-silently-failing-on-after-create-error' into 'master' Resolve "For new created projects permissions are not inherited from group level" Closes #44692 See merge request gitlab-org/gitlab-ce!18013
| * When a Service templates are invalid newly created projects will have them ↵Tiago Botelho2018-03-281-1/+3
| | | | | | | | inactive
| * Project creation does not fail silently on DB related changesTiago Botelho2018-03-271-8/+11
| |
* | Merge branch '40781-os-to-ce' into 'master'Sean McGivern2018-03-271-7/+11
|\ \ | | | | | | | | | | | | | | | | | | Bring Object Storage to CE Closes #4171, #4163, #3370, #2841, and #29203 See merge request gitlab-org/gitlab-ce!17358
| * \ Merge remote-tracking branch 'origin/master' into 40781-os-to-ceMicaël Bergeron2018-03-223-3/+7
| |\ \
| * | | apply feedbackMicaël Bergeron2018-03-091-8/+13
| | | |
| * | | Merge remote-tracking branch 'origin/master' into 40781-os-to-ceMicaël Bergeron2018-03-084-13/+32
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'origin/master' into ↵object-storage-ee-to-ce-backportKamil Trzciński2018-02-284-22/+23
| |\ \ \ \ | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ Merge commit '7e424eb852716495073881710e8a8851b4a4cd5a' into ↵Kamil Trzciński2018-02-283-10/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ \ Merge commit '8af23def1d6' into object-storage-ee-to-ce-backportKamil Trzciński2018-02-281-1/+1
| |\ \ \ \ \ \
| | * | | | | | Revert "Merge branch '3867-port-to-ce' into 'master'"Kamil Trzciński2018-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 54a575f1bbba44573ab92dc58a4242f1ee734c5d, reversing changes made to c63af942e5baf7849a94fa99da8494bcba28e3f8.
| * | | | | | | Merge branch '4163-move-uploads-to-object-storage' into 'master'Sean McGivern2018-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move uploads to object storage Closes #4163 See merge request gitlab-org/gitlab-ee!3867
| * | | | | | | Merge commit '4b92efd90cedaa0aff218d11fdce279701128bea' into ↵Kamil Trzciński2018-02-285-14/+30
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ \ \ \ Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into ↵Kamil Trzciński2018-02-2817-131/+335
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ \ \ \ \ Merge commit 'f2f58a60b76acd479e37bdbc9246ec9f9b2bea82' into ↵Kamil Trzciński2018-02-286-9/+40
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ \ \ \ \ \ Merge commit '11c67e7c2f992299ff5918ce67995b73d1e0be6d' into ↵Kamil Trzciński2018-02-286-2/+106
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport