summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'zj-storage-path-deprecation' into 'master'Douwe Maan2018-04-252-17/+17
|\ | | | | | | | | | | | | Legacy disk path refactor Closes gitaly#1111 See merge request gitlab-org/gitlab-ce!18364
| * Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg2018-04-252-17/+17
| | | | | | | | | | | | | | | | | | | | | | Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
* | Cleanup after adding MR diff's commit_count (try 2)Jan Provaznik2018-04-252-1/+28
| | | | | | | | | | | | * processes any pending records which are not migrated yet * bumps import_export version because of new commits_count attribute * removes commits_count fallback method
* | Merge branch 'master' into 10244-add-project-ci-cd-settingsDylan Griffith2018-04-247-4/+154
|\ \ | |/
| * Move spec helpers/matchers/shared examples/contexts to their relevant folderRémy Coutable2018-04-231-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Fix missing namespace for some internal usersRubén Dávila2018-04-201-0/+66
| |
| * Atomic internal ids for all modelsAndreas Brandl2018-04-203-2/+60
| |
| * Merge branch '45476-geo-statement-timeout-counting-local-job-artifacts' into ↵Yorick Peterse2018-04-192-1/+17
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 'master' Resolve "Geo: Statement timeout counting local job artifacts" Closes #45476 See merge request gitlab-org/gitlab-ce!18444
| | * Add index to file_store on ci_job_artifactsAsh McKenzie2018-04-192-1/+17
| | |
| * | Merge branch 'stuartnelson3/gitlab-ce-stn/issue-due-email' into 'master'Douwe Maan2018-04-182-0/+10
| |\ \ | | |/ | |/| | | | | | | | | | | | | Email notification on issue due date Closes #27500 See merge request gitlab-org/gitlab-ce!17985
| | * Merge branch 'master' into 'stuartnelson3/gitlab-ce-stn/issue-due-email'Sean McGivern2018-04-1010-21/+198
| | |\ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| | * | Only send issue due emails to participants and custom subscribersSean McGivern2018-03-302-1/+11
| | | |
* | | | Introduce new ProjectCiCdSetting10244-add-project-ci-cd-settingsYorick Peterse2018-04-163-1/+111
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This model and the corresponding table will be used for storing settings specific to CI/CD, starting with the "group_runners_enabled" boolean. The model is called ProjectCiCdSetting and not ProjectCiCdSettings. The project exporter doesn't like plural model names as it uses "classify" which turns those into singular (so "ProjectCiCdSettings" becomes "ProjectCiCdSetting", producing an error if said class is undefined). The initial work in this commit was done by Dylan Griffith, with most of the migration work being done by Yorick Peterse.
* | | Merge branch 'dm-archived-read-only' into 'master'Robert Speicher2018-04-121-2/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make archived projects completely read-only Closes #44788 See merge request gitlab-org/gitlab-ce!18136
| * | | Rename `create_merge_request` permissionsBob Van Landuyt2018-04-111-2/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | So we can distinguish between the permissions on the source and the target project. - `create_merge_request_from` indicates a user can create a merge request with the project as a source_project - `create_merge_request_in` indicates a user can create a merge request with the project as a target_project
* | | Merge branch 'zj-fix-environments-fixtures' into 'master'Robert Speicher2018-04-111-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix enviroments seeding on certain branch names Closes #45051 See merge request gitlab-org/gitlab-ce!18263
| * | | Fix enviroments seeding on certain branch namesZeger-Jan van de Weg2018-04-101-1/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Bit of a cryptic commit title, but our seeding will try to guard against branchnames being anything but alphanumerical. These charachters we gsub away but can't have an empty string as replacement. This change is less efficient, but given that the number of seeded MRs per project is very limited, this should be ok.
* | | Make sure hooks run when seeding admin userDouwe Maan2018-04-101-10/+10
|/ /
* | Modifies index on DeployTokens to use idMayra Cabrera2018-04-062-2/+2
| |
* | Handles default expires_at date directly into DeployToken modelMayra Cabrera2018-04-062-2/+2
| |
* | Addresses database commentsMayra Cabrera2018-04-063-10/+9
| | | | | | | | | | | | | | - Adds a default on expires_at datetime - Modifies deploy tokens views to handle default expires at value - Use datetime_with_timezone where possible - Remove unused scopes
* | Fixes broken schema and minor changesMayra Cabrera2018-04-061-1/+0
| |
* | Get rid of Redis when dealing with deploy tokensKamil Trzciński2018-04-061-3/+2
| | | | | | | | We use controller actions to pass a newly created token and errors
* | Fix and optimise DB schemaKamil Trzciński2018-04-063-21/+19
| |
* | Include ProjectDeployTokensMayra Cabrera2018-04-063-6/+38
| | | | | | | | | | | | Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
* | Create barebones for DeploytokenMayra Cabrera2018-04-062-0/+31
| | | | | | | | | | | | | | | | | | | | Includes: - Model, factories, create service and controller actions - As usual, includes specs for everything - Builds UI (copy from PAT) - Add revoke action Closes #31591
* | Merge branch 'fix/gb/reschedule-pipeline-stages-migration' into 'master'Kamil Trzciński2018-04-053-21/+39
|\ \ | | | | | | | | | | | | Reschedule pipeline stages migration to run it again See merge request gitlab-org/gitlab-ce!18191
| * | Reschedule pipeline stages migration to run it againfix/gb/reschedule-pipeline-stages-migrationGrzegorz Bizon2018-04-053-21/+39
| | |
* | | Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan2018-04-055-0/+79
|/ / | | | | | | | | | | | | | | | | | | 'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
* | Merge branch '41967_issue_api_closed_by_info' into 'master'Sean McGivern2018-03-302-0/+22
|\ \ | |/ |/| | | | | Add closed by information to issue API See merge request gitlab-org/gitlab-ce!17042
| * schema version changehaseeb2018-02-281-1/+1
| |
| * schema version changehaseeb2018-02-281-1/+1
| |
| * added forign key and specshaseeb2018-02-282-1/+10
| |
| * closed by field addedhaseeb2018-02-281-0/+13
| |
* | Merge branch 'add-per-runner-job-timeout' into 'master'Kamil Trzciński2018-03-293-0/+42
|\ \ | | | | | | | | | | | | | | | | | | Add per runner job timeout Closes #43426 See merge request gitlab-org/gitlab-ce!17221
| * | Add explicit primary key for ci_builds_metadata tableTomasz Maczukin2018-03-282-3/+5
| | |
| * | Add project_id column to Ci::BuildMetadataTomasz Maczukin2018-03-282-0/+8
| | |
| * | Rename used_timeout to timeoutTomasz Maczukin2018-03-282-3/+3
| | |
| * | Rename maximum_job_timeout to maximum_timeoutTomasz Maczukin2018-03-283-10/+10
| | |
| * | Refactorize Ci::Build and Ci::BuildMetadata modelsTomasz Maczukin2018-03-283-21/+8
| | |
| * | Move job timeout information to new ci_builds_metadata tableTomasz Maczukin2018-03-284-13/+36
| | |
| * | Change timeout_source to enumTomasz Maczukin2018-03-282-2/+2
| | |
| * | Use change instead of up/down in simple migrationsTomasz Maczukin2018-03-282-11/+2
| | |
| * | Show timeout information on job's pageTomasz Maczukin2018-03-282-0/+17
| | |
| * | Rename job_upper_timeout to maximum_job_timeoutTomasz Maczukin2018-03-283-14/+14
| | |
| * | Add new column to ci_runners tableTomasz Maczukin2018-03-282-0/+14
| | |
* | | Add the RedirectRoute#path index setup_postgresqlBob Van Landuyt2018-03-281-9/+9
| | |
* | | Add index on lower path to redirect routesBob Van Landuyt2018-03-281-0/+38
| | | | | | | | | | | | | | | This will speed up the LIKE query in RedirectRoute.matching_path_and_descendants
* | | Remove `permanent` from `redirect_routes`Bob Van Landuyt2018-03-282-1/+37
|/ / | | | | | | | | | | This removes the column that was added in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15670 since we will no longer be allowing _permanent_ redirects
* | Remove unused index from events table.Andreas Brandl2018-03-272-2/+19
| | | | | | | | Closes #44467.