summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Use raw SQL instead of Rails models in migrations where appropriaters-fix-migrationsRobert Speicher2016-03-285-34/+54
| | | | Closes #14694.
* Check if index exists before adding it. [ci skip]Rubén Dávila2016-03-211-1/+3
| | | | * I got an error when updating GDK because it already exists.
* Fix specsissue_12658Douwe Maan2016-03-222-1/+2
|
* Address feedbackDouwe Maan2016-03-223-5/+51
|
* Merge branch 'master' into issue_12658Douwe Maan2016-03-214-1/+23
|\ | | | | | | | | | | | | | | | | # Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
| * Merge branch 'master' into 2489-soft-delete-issuesZeger-Jan van de Weg2016-03-212-1/+7
| |\
| | * Merge branch 'master' into feature/issue-moveGrzegorz Bizon2016-03-195-1/+28
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (121 commits) Dedupe labels in labels selector in Dashboard pages Refactor colors and lists Add a safeguard in MergeRequest#compute_diverged_commits_count Fix an issue when the target branch of a MR had been deleted Add avatar to issue and MR pages header Cleanup somce css colors Re-group scss variables Refactor `Todo#target` Fixes issue with filter label missing on labels & milestones Rename `Todo#to_reference` to `Todo#target_reference` Fixed failing tests Updated controller with before_action Fixed other issues based on feedback Fixes issue on dashboard issues Full labels data in JSON Fixed issue with labels dropdown getting wrong labels Update CHANGELOG Use `Note#for_project_snippet?` to skip notes on project snippet Use `Commit#short_id` instead of `Commit.truncate_sha` Reuse `for_commit?` on conditional validations Update schema info comment on todo related files ... Conflicts: app/models/issue.rb db/schema.rb spec/models/issue_spec.rb
| | * | Improvements in issue move feaure (refactoring)Grzegorz Bizon2016-03-192-2/+1
| | | | | | | | | | | | | | | | According to endbosses' suggestions.
| | * | Add field that references issue this issue has been moved toGrzegorz Bizon2016-03-172-1/+8
| | | |
| * | | Minor improvements on IssuableActionsZeger-Jan van de Weg2016-03-211-0/+1
| | | |
| * | | Hide delete botton on edit pageZeger-Jan van de Weg2016-03-191-1/+0
| | | |
| * | | Soft delete issuablesZeger-Jan van de Weg2016-03-193-0/+16
| | |/ | |/|
* | | Add specs and add visibility level to admin groupsFelipe Artur2016-03-213-25/+8
| | |
* | | Fix more specsDouwe Maan2016-03-201-1/+1
| | |
* | | Fix some specsDouwe Maan2016-03-202-0/+6
| | |
* | | Tweaks, refactoring, and specsDouwe Maan2016-03-202-2/+3
| | |
* | | Merge branch 'master' into issue_12658Douwe Maan2016-03-205-2/+37
|\ \ \ | |/ /
| * | Add commit_id to todosDouglas Barbosa Alexandre2016-03-182-0/+8
| | |
| * | Change target_id to null on todosDouglas Barbosa Alexandre2016-03-182-1/+6
| | |
| * | Add a confidential flag to issuesDouglas Barbosa Alexandre2016-03-172-1/+9
| | |
| * | Merge branch '4009-external-users' into 'master' Douwe Maan2016-03-172-0/+6
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | External Users The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects. Partially fix for both #4009 and #13938 (except the LDAP sync or a pattern to detect external users) ![Screen_Shot_2016-03-14_at_22.02.52](/uploads/486a84ab3acb98c6cfb71a4ec7d268e2/Screen_Shot_2016-03-14_at_22.02.52.png) See merge request !3171
| * | Added an index on ci_runners.tokenYorick Peterse2016-03-162-4/+18
| | | | | | | | | | | | | | | | | | On PostgreSQL the index is created concurrently. Fixes gitlab-org/gitlab-ce#14325
* | | Code fixesFelipe Artur2016-03-171-9/+3
| | |
* | | Block internal groups/projects visibility to external usersFelipe Artur2016-03-161-3/+3
| | |
* | | Merge 4009-external-users into issue_12658Felipe Artur2016-03-168-8/+132
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' into 4009-external-users4009-external-usersZeger-Jan van de Weg2016-03-152-1/+7
| |\ \ | | |/
| | * Merge branch 'auto-gc' into 'master' revert-01160fc0Douwe Maan2016-03-152-1/+7
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run 'git gc' every 10 pushes Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14250 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12620 Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/254 Associated gitlab-shell MR: https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/44 See merge request !3206
| | | * Run 'git gc' every 10 pushesJacob Vosmaer2016-03-142-1/+7
| | | |
| * | | Merge branch 'master' into 4009-external-usersZeger-Jan van de Weg2016-03-144-6/+35
| |\ \ \ | | |/ /
| | * | Merge branch 'share-project-ce' into 'master' Dmitriy Zaporozhets2016-03-144-6/+35
| | |\ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring from EE: Share Project with Group - [x] Models and migrations - [x] Logic, UI - [x] Tests - [x] Documentation - [x] Share with group lock - [x] Api feature - [x] Api docs - [x] Api tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> For #12831 cc @DouweM @rspeicher @vsizov See merge request !3186
| | | * Add share project from group lockDmitriy Zaporozhets2016-03-112-3/+9
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | | * Bring ProjectGroupLink model and migrations from EEDmitriy Zaporozhets2016-03-113-3/+26
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | External UsersZeger-Jan van de Weg2016-03-132-1/+7
| |/ / | | | | | | | | | | | | The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects.
| * | 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.
* | Code improvements and add Create group serviceFelipe Artur2016-03-162-3/+19
| |
* | Fix conflictsFelipe Artur2016-03-101-0/+1
| |
* | Prevent projects to have higher visibility than groupsFelipe Artur2016-03-102-1/+13
| | | | | | | | | | | | Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements
* | Add visibility level icon and a couple of specsFelipe Artur2016-03-101-1/+1
| |
* | Code improvementsFelipe Artur2016-03-102-5/+2
| |
* | Add permission level to groupsFelipe Artur2016-03-102-5/+14
|/
* 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