summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Add unique to oid index for lfs object.add_index_uniqMarin Jankovski2015-11-162-3/+9
|
* unique is for indexes.Marin Jankovski2015-11-161-1/+1
|
* Add support for git lfs.lfsMarin Jankovski2015-11-165-1/+54
|
* Implement Build ArtifactsKamil Trzcinski2015-11-103-1/+13
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* Merge remote-tracking branch 'origin/release-notes'Dmitriy Zaporozhets2015-11-102-1/+26
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add release modelDmitriy Zaporozhets2015-11-052-1/+26
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'shared_runners' into 'master' Kamil Trzciński2015-11-092-1/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable shared runners for all new projects This adds Admin Setting option to enable shared runners for all new projects, and by default it is set to true. /cc @dzaporozhets @sytses See merge request !1738
| * | Enable shared runners for all new projectsKamil Trzcinski2015-11-052-1/+7
| | |
* | | make migrations reversibleValery Sizov2015-11-053-3/+13
|/ /
* | Allow groups to appear in the search results if the group owner allows itValery Sizov2015-11-052-4/+10
|/
* Added index on services.templateYorick Peterse2015-10-292-0/+6
| | | | | This column is queried when creating a new project, without an index this query would lead to a sequence scan.
* Add projects path indexadd-project-path-indexKamil Trzcinski2015-10-262-1/+11
| | | | Fixes performance regression introduced by MR1649
* Remove the contents of the satellites dirremove-satellitesJacob Vosmaer2015-10-232-1/+18
|
* Fail builds that also have empty stringKamil Trzcinski2015-10-232-1/+6
|
* Ensure MySQL CI limits DB migrations occur after the fields have been createdStan Hu2015-10-212-4/+9
| | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9753
* Added extra index for faster enumeration of CI buildsadd-missing-migrationsKamil Trzcinski2015-10-202-1/+7
|
* Add missing migrationsKamil Trzcinski2015-10-203-1/+11
|
* Merge branch 'jrochkind/gitlab-ce-fix_2839_send_abuse_report_notify' into ↵Robert Speicher2015-10-192-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | 'master' Send an email to admin email when a user is reported for spam Replaces !1547. Fixes #2839. See merge request !1634
| * Merge branch 'master' into jrochkind/gitlab-ce-fix_2839_send_abuse_report_notifyDouwe Maan2015-10-1816-3/+129
| |\
| * | Send an email (to support) when a user is reported for spamJonathan Rochkind2015-10-082-1/+7
| | |
* | | Fix schemazj/gitlab-ce-index-milestone-title-labelDouwe Maan2015-10-181-2/+0
| | | | | | | | | | | | [ci skip]
* | | Merge branch 'master' into zj/gitlab-ce-index-milestone-title-labelDouwe Maan2015-10-184-1/+27
|\ \ \ | | |/ | |/|
| * | Added indexes for notes.line_code and CI columnsYorick Peterse2015-10-163-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds indexes for the following columns: * notes.line_code * ci_projects.gitlab_id * ci_projects.shared_runners_enabled * ci_builds.type * ci_builds.status
| * | Add index on ci_commits.gl_project_idci-commits-gl-project-id-indexYorick Peterse2015-10-162-1/+7
| | | | | | | | | | | | Fixes #3086
* | | Improve performance of queriesZeger-Jan van de Weg2015-10-161-6/+0
| | | | | | | | | | | | Credits to Douwe Maan
* | | Minor refactoring in seedingZeger-Jan van de Weg2015-10-164-5/+5
| | |
* | | Add an index to milestones title and label titleZeger-Jan van de Weg2015-10-162-0/+8
|/ /
* | Improve performance of User.by_loginuser-by-login-performanceYorick Peterse2015-10-151-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Performance is improved in two steps: 1. On PostgreSQL an expression index is used for checking lower(email) and lower(username). 2. The check to determine if we're searching for a username or Email is moved to Ruby. Thanks to @haynes for suggesting and writing the initial implementation of this. Moving the check to Ruby makes this method an additional 1.5 times faster compared to doing the check in the SQL query. With performance being improved I've now also tweaked the amount of iterations required by the User.by_login benchmark. This method now runs between 900 and 1000 iterations per second.
* | Implement Commit Status APIKamil Trzcinski2015-10-123-1/+20
| |
* | Merge branch 'workaround-seed-fu-issue' into 'master' Douwe Maan2015-10-081-1/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes GDK issue where repos would not be imported properly Seed-Fu runs this entire fixture in a transaction, so the `after_commit` hook won't run until after the fixture is loaded. That is too late since the Sidekiq::Testing block has already exited. Force clearing the `after_commit` queue to ensure the job is run now. See: gitlab-org/gitlab-development-kit#58 See merge request !1513
| * | Verify repository is validStan Hu2015-10-061-1/+1
| | |
| * | Fixes GDK issue where repos would not be imported properlyStan Hu2015-10-051-0/+5
| |/ | | | | | | | | | | | | | | | | Seed-Fu runs this entire fixture in a transaction, so the `after_commit` hook won't run until after the fixture is loaded. That is too late since the Sidekiq::Testing block has already exited. Force clearing the `after_commit` queue to ensure the job is run now. See: gitlab-org/gitlab-development-kit#58
* | Revamp finding projects by namespacesYorick Peterse2015-10-082-1/+18
| | | | | | | | | | | | | | By using a JOIN we can remove the need for using 2 separate queries to find a project by its namespace. Combined with an index (only needed for PostgreSQL) this reduces the query time from ~245 ms (~520 ms for the first call) down to roughly 10 ms (~15 ms for the first call).
* | Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets2015-10-052-2/+6
|\ \ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * \ Merge branch 'rs-remove-ci-disable'Kamil Trzcinski2015-10-052-2/+6
| |\ \ | | | | | | | | | | | | See merge request !1512
| | * | Remove the option to disable CIrs-remove-ci-disableRobert Speicher2015-10-052-2/+6
| | |/ | | | | | | | | | | | | | | | This option only existed to ease the CI-to-CE/EE migration process. This commit partially reverts 8b05abe816b0c681ac218096b294311dd04fde8b
* | | Merge branch 'user-preferences-layout-option' of ↵Dmitriy Zaporozhets2015-10-052-1/+7
|\ \ \ | |/ / |/| | | | | | | | | | | https://github.com/gopeter/gitlabhq into gopeter-user-preferences-layout-option Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | improved code style and layout option namingPeter Göbel2015-10-051-1/+1
| | |
| * | added user preference to change layout widthPeter Göbel2015-10-052-1/+7
| |/
* | Fix db/schema.rbKamil Trzcinski2015-10-051-58/+36
| |
* | Make commit_spec runKamil Trzcinski2015-10-051-37/+64
| |
* | Add user to Ci::Build to have pusher email addressKamil Trzcinski2015-10-054-5/+8
| |
* | Refactor commit and buildKamil Trzcinski2015-10-054-0/+24
|/
* Update db schemaDmitriy Zaporozhets2015-10-011-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve error message when merging failsmr_improve_errors_handlingValery Sizov2015-10-012-1/+7
|
* Fix migrationmerge-ci-dataKamil Trzcinski2015-09-301-1/+1
|
* Delegate ci_project parameters to projectsKamil Trzcinski2015-09-302-2/+11
| | | | | | | - It delegates name, path, gitlab_url, ssh_url_to_repo - Remove ability to set this parameters using CI API This fixes GitLab project rename, namespace change, repository rename, etc.
* Fix migrationsKamil Trzcinski2015-09-292-23/+11
|
* Fix db/schema.rbKamil Trzcinski2015-09-291-26/+29
|
* Fix migrationsKamil Trzcinski2015-09-295-32/+15
|