summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Notify user if they cannot create projectsAndrew Tomaka2015-12-052-1/+7
|
* Rails update to 4.2.4Valery Sizov2015-11-251-53/+53
|
* Merge branch 'emoji_votes' into 'master' Dmitriy Zaporozhets2015-11-192-0/+8
|\ | | | | | | | | | | | | | | | | | | Award Emoji This it first iteration of award emoji feature. We have plan to extend emoji picker by the next release. For now, you can add award by clicking to the emoji picker or posting a regular comment with emoji like ":+1:" and any other. You can post not only emoji that listed in the emoji picker. See merge request !1825
| * satisfy rubocopValery Sizov2015-11-191-3/+1
| |
| * fix schemaValery Sizov2015-11-191-1/+1
| |
| * addressing commentsValery Sizov2015-11-192-2/+4
| |
| * award emojiValery Sizov2015-11-192-1/+7
| |
* | Updated DB schema with new issues/projects indexesYorick Peterse2015-11-191-3/+3
| |
* | Added index on projects.visibility_levelYorick Peterse2015-11-191-0/+5
| |
* | Added index on issues.stateYorick Peterse2015-11-191-0/+5
| | | | | | | | | | This field is queried when filtering issues and due to the lack of an index would end up triggering a sequence scan.
* | Merge branch 'atom-feed-latest-update' into 'master' Yorick Peterse2015-11-192-1/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Improve performance of user profiles, finding groups, and finding projects This MR improves the following: * Rendering of profile pages and Atom feeds * Finding groups (using GroupsFinder & friends) * Finding projects (using ProjectsFinder & friends) Initially this MR was intended to only improve rendering of Atom feeds, but over time other fixes were introduced as well as the same code was the cause of all these problems. See merge request !1790
| * Added an index on namespaces.publicYorick Peterse2015-11-182-1/+7
| |
* | Add import_error to project.Douwe Maan2015-11-182-1/+9
|/
* 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>