summaryrefslogtreecommitdiff
path: root/app/models/project.rb
Commit message (Collapse)AuthorAgeFilesLines
* Backport of LFS File Locking APIrd-35856-backport-lfs-file-locking-apiRubén Dávila2018-02-071-0/+1
|
* Merge branch '38175-add-domain-field-to-auto-devops-application-setting' ↵Kamil Trzciński2018-02-071-1/+1
|\ | | | | | | | | | | | | | | | | into 'master' Resolve "Add domain field to Auto DevOps application setting" Closes #38175 See merge request gitlab-org/gitlab-ce!16604
| * Merge branch 'master' into ↵Matija Čupić2018-02-021-10/+8
| |\ | | | | | | | | | 38175-add-domain-field-to-auto-devops-application-setting
| * \ Merge branch 'master' into ↵Matija Čupić2018-02-021-16/+3
| |\ \ | | | | | | | | | | | | 38175-add-domain-field-to-auto-devops-application-setting
| * | | Build AutoDevops instead of using ProjectAutoDevops#newMatija Čupić2018-02-021-1/+1
| | | |
| * | | Read the AutoDevOps instance domain in ProjectAutoDevOpsMatija Čupić2018-02-011-7/+1
| | | |
| * | | Merge branch 'master' into ↵Matija Čupić2018-01-281-2/+7
| |\ \ \ | | | | | | | | | | | | | | | 38175-add-domain-field-to-auto-devops-application-setting
| * | | | Short-circuit Project#auto_devops_variablesMatija Čupić2018-01-221-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | This makes Project#auto_devops_variables more performant by evaluating the application settings only if necessary.
| * | | | Expose instance AutoDevOps domain in ProjectMatija Čupić2018-01-221-1/+9
| | | | |
* | | | | Merge branch 'ce-39118-dynamic-pipeline-variables-fe' into 'master'Kamil Trzciński2018-02-071-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Dynamic CI secret variables -- CE backport See merge request gitlab-org/gitlab-ce!16842
| * | | | | Fix validation of duplicate new variablesdynamic-pipeline-variablesMatija Čupić2018-02-051-0/+1
| | | | | |
* | | | | | Merge branch 'dm-route-path-validation' into 'master'Sean McGivern2018-02-061-2/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate user, group and project paths consistently, and only once See merge request gitlab-org/gitlab-ce!16903
| * | | | | | Validate path uniqueness only on Route, and bubble up appropriatelyDouwe Maan2018-02-061-2/+1
| |/ / / / /
* | | | | | Close low level rugged repository in project cache workerBastian Blank2018-02-061-1/+4
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* | | | | Fix export removal for hashed-storage projects within a renamed or deleted ↵Nick Thomas2018-02-051-2/+6
| |_|_|/ |/| | | | | | | | | | | namespace
* | | | use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-10/+8
| |_|/ |/| | | | | | | | including/extending it
* | | port of 594e6a0a625^..f74c90f68c6Micaël Bergeron2018-02-011-14/+1
| | |
* | | Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-2/+2
| |/ |/|
* | add specJames Lopez2018-01-261-0/+1
| |
* | disable retry attempts for Import/Export until that is fixedJames Lopez2018-01-261-0/+2
| |
* | Execute system hooks after-commit when executing project hooksdm-project-system-hooks-in-transactionDouwe Maan2018-01-241-2/+2
| |
* | Merge branch ↵Robert Speicher2018-01-221-0/+2
|\ \ | |/ |/| | | | | | | | | | | | | '40612-cannot-change-project-visibility-from-private-even-when-owner' into 'master' Resolve "Cannot change project visibility from Private (even when owner)" Closes #40612 See merge request gitlab-org/gitlab-ce!16595
| * ensure fork_source returns nil when project is the root fork, add testsMike Greiling2018-01-221-0/+2
| |
* | Merge branch 'gitaly-write-repo-config-prep' into 'master'Douwe Maan2018-01-221-1/+1
|\ \ | |/ |/| | | | | Move rugged-call from Project#write_repository_config to Git::Repository#write_config See merge request gitlab-org/gitlab-ce!16572
| * Move rugged-call from Project#write_repository_config to ↵Kim "BKC" Carlbäcker2018-01-191-1/+1
| | | | | | | | Git::Repository#write_config
* | Resolve "Projects API: filter 'with_issues_enabled=true' returns projects ↵Jan Christophersen2018-01-191-0/+1
|/ | | | with 'issues_enabled=false'"
* Merge branch 'feature/merge-request-system-hook' into 'master'Douwe Maan2018-01-181-1/+3
|\ | | | | | | | | System hooks for Merge Requests See merge request gitlab-org/gitlab-ce!14387
| * use safer .hooks_for instead of .public_sendAlexis Reigel2018-01-171-1/+1
| | | | | | | | | | with .public_send we can't make sure that the scope on the model actually exists.
| * invoke SystemHooksService instead of direct modelAlexis Reigel2018-01-041-3/+1
| |
| * execute system hooks from projectAlexis Reigel2018-01-041-0/+4
| |
* | Ensure CI pipelines and builds have the correction project associationsStan Hu2018-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should reduce the number of SQL queries and lookups needed to look up a project of a build and pipeline and vice versa. Before: ``` [1] pry(main)> Ci::Build.reflect_on_association(:project).has_inverse? => false [2] pry(main)> Project.reflect_on_association(:builds).has_inverse? => false [3] pry(main)> Ci::Pipeline.reflect_on_association(:project).has_inverse? => false [4] pry(main)> Project.reflect_on_association(:pipelines).has_inverse? => :project ``` After: ``` [1] pry(main)> Ci::Build.reflect_on_association(:project).has_inverse? => :builds [2] pry(main)> Project.reflect_on_association(:builds).has_inverse? => :project [3] pry(main)> Ci::Pipeline.reflect_on_association(:project).has_inverse? => :pipelines [4] pry(main)> Project.reflect_on_association(:pipelines).has_inverse? => :project ```
* | Introduce PredicateMemoization cop and fix offensesLin Jen-Shin2018-01-121-3/+8
| | | | | | | | with StrongMemoize
* | Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
| |
* | Client-prep Gitlab::Git::Repository#write_refgit-write-ref-prepKim "BKC" Carlbäcker2018-01-091-1/+1
| |
* | Merge branch '3968-protected-branch-is-not-set-for-default-branch-on-import' ↵Douwe Maan2018-01-081-0/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Protected branch is now created for default branch on import Closes #3968 See merge request gitlab-org/gitlab-ce!16198
| * | Protected branch is now created for default branch on import3968-protected-branch-is-not-set-for-default-branch-on-importTiago Botelho2018-01-061-0/+22
| |/
* | Merge branch 'remove-project-repo' into 'master'Sean McGivern2018-01-051-5/+1
|\ \ | | | | | | | | | | | | Remove the Project#repo method See merge request gitlab-org/gitlab-ce!16238
| * | Remove the Project#repo methodJacob Vosmaer2018-01-041-5/+1
| |/
* | Create Kubernetes based on Application TemplatesMayra Cabrera2018-01-041-6/+1
|/
* Refactoring Project#write_repository_configDouglas Barbosa Alexandre2018-01-031-8/+7
|
* Handle exceptions when writing to .git/configDouglas Barbosa Alexandre2018-01-031-0/+3
|
* Update project full path in .git/config when renaming a repositoryDouglas Barbosa Alexandre2018-01-031-0/+5
|
* Write project full path to .git/config when creating projectsDouglas Barbosa Alexandre2018-01-031-0/+5
| | | | We'd need to keep track of project full path otherwise directory tree created with hashed storage enabled cannot be usefully imported using the import rake task.
* refactor project create service41424-gitlab-rake-gitlab-import-repos-schedules-an-importJames Lopez2018-01-031-1/+1
|
* refactor code to use new import typeJames Lopez2018-01-031-0/+4
|
* Merge branch '36782-replace-team-user-role-with-add_role-user-in-specs' into ↵Rémy Coutable2017-12-231-1/+1
|\ | | | | | | | | | | | | | | | | 'master' Resolve "Replace '.team << [user, role]' with 'add_role(user)' in specs" Closes #36782 See merge request gitlab-org/gitlab-ce!16069
| * Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-1/+1
| |
* | Execute project hooks and services after commit when moving an issuedm-issue-move-transaction-errorDouwe Maan2017-12-221-5/+11
|/
* Revert "Merge branch 'repo-write-ref-client-prep' into 'master'"revert-b655a4a7Kim Carlbäcker2017-12-201-1/+1
| | | This reverts merge request !15712
* check the import_status field before doing SQL operations to check the ↵Greg Stark2017-12-121-1/+2
| | | | import url