summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Disallow blank (non-null) values for a Note's `line_code` attributers-disallow-blank-line-codeRobert Speicher2016-03-111-0/+9
| | | | | | | | | | | | | It's unclear how these blank values got added, but GitLab.com had a few: ``` irb(main):002:0> Note.where("line_code IS NOT NULL AND line_code = ''").count => 439 ``` We've added a migration to convert any existing records to use a NULL value when blank, and updated Note to set blank values to nil before validation.
* More detailed trigram migration error messagetrigram-index-searchingYorick Peterse2016-03-111-1/+4
| | | | | This explains the user what they need to run and where to go in case they want to learn more about "CREATE EXTENSION".
* Updated schema to include Pg operator classesYorick Peterse2016-03-111-19/+19
| | | | | This also includes e.g. the appearances table which apparently wasn't already included in the schema.
* Added trigram indexes for various searched columnsYorick Peterse2016-03-112-0/+71
| | | | | | This allows the LIKE condition to use an index. Without a GIN + trigram index LIKE queries using a wildcard at the start _won't_ use an index and instead perform a sequence scan.
* Remove invalid todos from databaseDouglas Barbosa Alexandre2016-03-092-1/+17
|
* Added main_language to the schemaYorick Peterse2016-03-091-0/+1
| | | | This wasn't included in gitlab-org/gitlab-ce!3000.
* Merge branch 'rs-snippets-dont-expire' into 'master' Dmitriy Zaporozhets2016-03-092-3/+6
|\ | | | | | | | | | | | | | | | | Remove `Snippet#expires_at` This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years. See merge request !3103
| * Remove `Snippet#expires_at`rs-snippets-dont-expireRobert Speicher2016-03-052-3/+6
| | | | | | | | | | | | This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years.
* | adds swp and swo to gitignore and improves migration for project main_languagetiagonbotelho2016-03-071-18/+2
| |
* | implements project languages saving them onto the databasetiagonbotelho2016-03-071-0/+21
|/
* Allow the initial admin to set a passwordrs-no-default-credentialsRobert Speicher2016-03-041-25/+30
| | | | Closes #1980
* Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-032-0/+6
|
* Fix broken migrationDmitriy Zaporozhets2016-02-291-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Branded login page also in CE11489-branded-appearance-to-ceZeger-Jan van de Weg2016-02-262-1/+24
| | | | | The only major difference with the EE version is the change from a light and dark logo to only a header logo The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
* Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-202-8/+13
|
* Create a pending task when a user is mentioned on a noteDouglas Barbosa Alexandre2016-02-202-1/+8
|
* Add task modelDouglas Barbosa Alexandre2016-02-202-0/+32
|
* Merge branch 'visibletrap/gitlab-ce-label'Douwe Maan2016-02-192-2/+8
|\
| * Label description and Label rowTap2016-02-172-2/+8
| | | | | | | | | | - Add label description - Show label row when filtering issues or merge requests by label
* | Save merge commit id when MR is mergedRubén Dávila2016-02-191-0/+5
| |
* | Add merge_commit_sha column to merge_requests.Rubén Dávila2016-02-191-0/+1
| |
* | Fix name of build erasable, remove superfluous method from itGrzegorz Bizon2016-02-191-1/+1
| |
* | Remove boolean erase column from ci build and foreign keyGrzegorz Bizon2016-02-192-4/+0
| |
* | Add build eraseable columns to ci builds tableGrzegorz Bizon2016-02-192-0/+13
|/
* Add second build for each commit in build seedsGrzegorz Bizon2016-02-111-14/+25
|
* Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher2016-02-092-0/+6
|\
| * Merge branch 'master' into ci-permissionsKamil Trzcinski2016-02-051-0/+80
| |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ Merge remote-tracking branch 'origin/master' into ci-permissionsKamil Trzcinski2016-02-043-0/+39
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # app/views/projects/builds/index.html.haml
| * | | Rename allow_guest_to_access_builds to public_buildsKamil Trzcinski2016-02-042-18/+18
| | | |
| * | | Add CI setting: allow_guest_to_access_buildsKamil Trzcinski2016-02-022-17/+23
| | | | | | | | | | | | | | | | Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
* | | | Merge branch 'index_snippet' into 'master' Douwe Maan2016-02-092-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add index for snippet's updated_at @DouweM We are ordering by `updated_at` but there is no index. cc @yorickpeterse See merge request !2768
| * | | | Add index for snippet's updated_atindex_snippetValery Sizov2016-02-092-1/+7
| | | | |
* | | | | Merge branch ↵Douwe Maan2016-02-092-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'huacnlee/gitlab-ce-feature/option-to-include-author-info-in-mail' into 'master' Add option to include the sender name in body of Notify email _Originally opened at !2495 by @huacnlee._ - - - Fixes #7824. See merge request !2767
| * | | | | Add option to include the sender name in body of Notify email. fix #7824huacnlee/gitlab-ce-feature/option-to-include-author-info-in-mailJason Lee2016-02-092-0/+6
| |/ / / /
* | | | | Merge branch '3kami3/gitlab-ce-root_email' into 'master' Douwe Maan2016-02-091-1/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to supply root email through an environmental variable. _Originally opened at !2499 by @3kami3._ --- Add an option to supply root email through an environmental variable. See merge request !2751
| * | | | Add an option to supply root email through an environmental variable.3kami3/gitlab-ce-root_email3kami32016-02-081-1/+3
| | |_|/ | |/| |
* | | | Merge branch 'fix/atom-url-issue' into 'master' Douwe Maan2016-02-091-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not rename .aToM but only .atom projects in migration Sorry @DouweM forgot to add this. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2651/diffs#bc35672f73f4ee025132aee428f383acdf0f755e_0_51 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699 See merge request !2712
| * | | remove unnecessary lower function on SQLJames Lopez2016-02-041-1/+1
| | | |
* | | | Merge branch 'fix/atom-url-issue' into 'master' Douwe Maan2016-02-042-1/+81
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Fix atom url issue on projects This MR adds prevents a project to have a path ending in .atom that conflicts with the feed and Adds a migration to migrate old .atom projects to a different path Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699 See merge request !2651
| * | refactored migration based on feedbackJames Lopez2016-02-041-1/+5
| | |
| * | refactored migration and spec based on feedbackJames Lopez2016-02-041-6/+12
| | |
| * | fixed move project method in migrationJames Lopez2016-02-022-34/+14
| | |
| * | added TODO to not working methodJames Lopez2016-02-011-0/+1
| | |
| * | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issueJames Lopez2016-02-014-5/+20
| |\ \ | | |/
| * | WIP - refactored migrationJames Lopez2016-02-011-7/+42
| | |
| * | WIP - add migrationJames Lopez2016-01-291-0/+54
| | |
* | | Support Akismet spam checking for creation of issues via APIStan Hu2016-02-023-0/+39
| |/ |/| | | | | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612
* | Merge remote-tracking branch 'origin/background-delete-process'Dmitriy Zaporozhets2016-01-302-0/+6
|\ \
| * | Update CHANGELOGbackground-delete-processJosh Frye2016-01-292-5/+5
| | |
| * | First pass at deleting projects in the background.Josh Frye2016-01-292-3/+9
| | |