summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch ↵Nick Thomas2018-08-282-1/+28
|\ | | | | | | | | | | | | | | | | '50441-high-number-of-statement-timeouts-in-groupdestroyworker-due-to-sitestatistics' into 'master' Resolve "High number of statement timeouts in GroupDestroyWorker due to SiteStatistics" Closes #50441 See merge request gitlab-org/gitlab-ce!21366
| * recalculate SiteStatisticsGabriel Mazetto2018-08-262-1/+28
| |
* | API: Protected tagsRobert Schilling2018-08-253-0/+64
|/
* Added count for label, assignee, and milestone listsccr/48800/ping_for_boardsChantal Rollison2018-08-212-0/+17
|
* Backport of gitlab-org/gitlab-ee!6876ce-6752-jira-branchesMario de la Ossa2018-08-202-1/+17
|
* Merge branch 'blacklist-destroy-all' into 'master'Robert Speicher2018-08-171-1/+1
|\ | | | | | | | | Blacklist the use of destroy_all See merge request gitlab-org/gitlab-ce!21250
| * Whitelist existing destroy_all offensesblacklist-destroy-allYorick Peterse2018-08-161-1/+1
| | | | | | | | This whitelists all existing places where we use "destroy_all".
* | Merge branch 'ab-49754-gh-importer-internal-ids' into 'master'Yorick Peterse2018-08-171-0/+47
|\ \ | | | | | | | | | | | | | | | | | | GitHub importer: Keep track of internal_ids Closes #49754 See merge request gitlab-org/gitlab-ce!20926
| * | Add migration to cleanup internal_ids.ab-49754-gh-importer-internal-idsAndreas Brandl2018-08-171-0/+47
| |/ | | | | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/49446.
* | Add site statistics recount to the post migirationrepopulate_site_statisticsGabriel Mazetto2018-08-161-0/+9
| |
* | Add WikiAccessLevel migration from `NULL` to `20`Gabriel Mazetto2018-08-162-1/+24
|/
* Merge branch 'add-user_show_add_ssh_key_message-application-setting' into ↵Nick Thomas2018-08-152-1/+21
|\ | | | | | | | | | | | | | | | | 'master' Add a "user_show_add_ssh_key_message" application setting for use with SSH certificates Closes #49953 See merge request gitlab-org/gitlab-ce!21027
| * Add ability suppress the global "You won't be able [use] SSH" messageÆvar Arnfjörð Bjarmason2018-08-082-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes gitlab-org/gitlab-ce#49953, as noted in the documentation this feature is intended to be used when SSH certificates are enabled. Then this warning becomes not only pointless, but also misleading. This builds on top of gitlab-org/gitlab-ce!21009 since both need to modify the same documentation, which avoids a merge conflict. See also the gitlab-org/gitlab-ce#49218 issue and associated merge request.
* | Merge branch '48967-disable-statement-timeout' into 'master'Douwe Maan2018-08-1423-237/+244
|\ \ | | | | | | | | | | | | | | | | | | `disable_statement_timeout` will no longer leak to other migrations Closes #48967 See merge request gitlab-org/gitlab-ce!20503
| * | disable_statement_timeout doesn't require any argument anymoreGabriel Mazetto2018-08-1123-44/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | it will decide the method for disable statement_timeout upon per transaction or per session, based on how it's called. When calling with a block, block will be executed and it will use session based statement_timeout, otherwise will default to existing behavior.
| * | Fix specs to use `disable_statement_timeout` correctlyGabriel Mazetto2018-08-1022-226/+234
| | |
* | | Merge branch 'fix-pipeline-fixture-seeder' into 'master'Kamil Trzciński2018-08-131-22/+41
|\ \ \ | |/ / |/| | | | | | | | Fix pipeline fixture seeder See merge request gitlab-org/gitlab-ce!21088
| * | Squashed commit of the following:Shinya Maeda2018-08-081-22/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b4e71d4f5a1334a27c179d086bfea57c707de4ef Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 20:07:09 2018 +0900 Add changelog commit 50bc02ca6cfcf9c8d18d5c832a00c0f9f778d475 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 20:05:17 2018 +0900 Fix fixture path commit 15779300f98e00277db0e66fcfd865f603b45234 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 19:59:14 2018 +0900 Revert leftovers commit e26c0ce6b1fc490c1ad8c53fd8da5b95f8ef27ed Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 19:57:30 2018 +0900 Revert quick actions commit 9e257650ad8683c5628fd717fb21a8767bfca0fc Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 19:28:40 2018 +0900 Add changelog commit 473edcf4e60200c5ec9f6b92907d4badcf9c6a94 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 19:27:25 2018 +0900 Fix specs commit fa2d4f76235c8aa19de9712288f5c225c47ea5f0 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 19:20:21 2018 +0900 Fix fixture commit ee3df6595e4693c4ff11b8799aa15fc2078b7843 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 19:14:12 2018 +0900 Clean up quick action scripts commit 2398de2711f196c2a3fdedbd52b878489e7aa01e Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 18:15:21 2018 +0900 Add quick action tasks commit b0dbc47e2c29419133c1a24ed6922a68584a3e28 Author: Shinya Maeda <shinya@gitlab.com> Date: Wed Aug 8 15:33:24 2018 +0900 Simplify fixtures commit 693a95f2edb400a3db0e6e6f3021777f849f9400 Author: Shinya Maeda <shinya@gitlab.com> Date: Tue Aug 7 13:11:07 2018 +0900 Support corrupted fixtures commit d4e44eb329193cd68c964424f5343d3863802751 Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 19:07:46 2018 +0900 bring back debaggable fixtures commit 466d3ffefac20d0f3eec350ea7231e0e403da90d Author: Shinya Maeda <shinya@gitlab.com> Date: Thu Aug 2 15:25:30 2018 +0900 Revert "Decouple fixture seeds change" This reverts commit 30626cf8f559bee49bac0ea934f766bb5ad68b2d.
* | | Merge branch 'sh-add-seed-fixtures-for-spam-logs' into 'master'Robert Speicher2018-08-091-0/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add mock data for spam logs Closes gitlab-development-kit#387 See merge request gitlab-org/gitlab-ce!21117
| * | | Add mock data for spam logsStan Hu2018-08-091-0/+32
| | |/ | |/| | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-development-kit/issues/387
* | | Add rubocop check for add_reference to require index.Andreas Brandl2018-08-081-1/+1
|/ /
* | Merge branch 'ci-builds-status-index' into 'master'Yorick Peterse2018-08-082-2/+18
|\ \ | |/ |/| | | | | Remove redundant ci_builds (status) index See merge request gitlab-org/gitlab-ce!21070
| * Remove redundant ci_builds (status) indexKamil Trzciński2018-08-072-2/+18
| |
* | Remove todos of users without access to targets migrationJarka Kadlecová2018-08-071-0/+31
| |
* | Web IDE & CodeSandboxPhil Hughes2018-08-072-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables JavaScripts projects to have live previews straight in the browser without requiring any local configuration. This uses the CodeSandbox package `sandpack` to compile it all inside of an iframe. This feature is off by default and can be toggled on in the admin settings. Only projects with a `package.json` and a `main` key are supported. Updates happen in real-time with hot-reloading. We just watch for changes to files and then send them to `sandpack` to allow it to reload the iframe. The iframe includes a very simple navigation bar, the text bar is `readonly` to stop users navigating away from the preview and the back and forward buttons just pop/splice the navigation stack which is tracked by a listener on `sandpack` There is a button inside the iframe which allows the user to open the projects inside of CodeSandbox. This button is only visible on **public** projects. On private or internal projects this button get hidden to protect private code being leaked into an external public URL. Closes #47268
* | Resolve "Mutual SSL Auth For Helm TIller"Mayra Cabrera2018-08-072-0/+15
| |
* | Merge branch 'group-todos' into 'master'Sean McGivern2018-08-072-1/+40
|\ \ | | | | | | | | | | | | Group todos See merge request gitlab-org/gitlab-ce!20675
| * | Add changes from the EEJarka Kadlecová2018-08-061-7/+11
| | |
| * | Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""Jarka Kadlecová2018-08-022-1/+36
| | | | | | | | | | | | This reverts commit 8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.
* | | Revert "Merge branch 'bvl-instance-stats-default' into 'master'"revert-77c75d2bBob Van Landuyt2018-08-063-26/+3
| | | | | | | | | This reverts merge request !21044
* | | Hide instance statistics on new installationsBob Van Landuyt2018-08-061-1/+1
| | | | | | | | | | | | | | | Making the migrations and the default do the right thing in the first place. This makes 20180806094307 a no-op.
* | | Hide for instance statistics by defaultBob Van Landuyt2018-08-062-2/+25
| |/ |/| | | | | | | Changing the default in a new migration and updating the existing values to change the defaults for instances already exposing the statistics.
* | Resolve "Remove ghost notification settings for groups and projects"🙈 jacopo beschi 🙉2018-08-022-0/+31
|/
* Add repository languages for projectsZeger-Jan van de Weg2018-08-012-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Our friends at GitHub show the programming languages for a long time, and inspired by that this commit means to create about the same functionality. Language detection is done through Linguist, as before, where the difference is that we cache the result in the database. Also, Gitaly can incrementaly scan a repository. This is done through a shell out, which creates overhead of about 3s each run. For now this won't be improved. Scans are triggered by pushed to the default branch, usually `master`. However, one exception to this rule the charts page. If we're requesting this expensive data anyway, we just cache it in the database. Edge cases where there is no repository, or its empty are caught in the Repository model. This makes use of Redis caching, which is probably already loaded. The added model is called RepositoryLanguage, which will make it harder if/when GitLab supports multiple repositories per project. However, for now I think this shouldn't be a concern. Also, Language could be confused with the i18n languages and felt like the current name was suiteable too. Design of the Project#Show page is done with help from @dimitrieh. This change is not visible to the end user unless detections are done.
* Merge branch 'bvl-user-status-message-35463' into 'master'Rémy Coutable2018-08-012-0/+28
|\ | | | | | | | | | | | | Allow users to set a status Closes #35463 See merge request gitlab-org/gitlab-ce!20614
| * Add the `UserStatus` modelBob Van Landuyt2018-07-252-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This model will hold the status of a user, including these fields: - emoji: always present, with a default value - user: always present, foreign key to user - message: optional, maximum length of 100 The table also stores - cached_markdown_version - message_html For rendering markdown in the `message` field.
* | Merge branch '41416-making-instance-wide-data-tools-more-accessible' into ↵Filipa Lacerda2018-08-012-0/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'master' Resolve "Making instance-wide data tools more accessible" Closes #41416 and #48507 See merge request gitlab-org/gitlab-ce!20874
| * \ Merge branch 'master' into ↵Luke Bennett2018-07-312-0/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | '41416-making-instance-wide-data-tools-more-accessible' # Conflicts: # app/models/application_setting.rb # lib/api/settings.rb
| * \ \ Merge remote-tracking branch 'origin/master' into ↵Luke Bennett2018-07-302-0/+192
| |\ \ \ | | | | | | | | | | | | | | | 41416-making-instance-wide-data-tools-more-accessible
| * | | | schema.db updateLuke Bennett2018-07-271-0/+1
| | | | |
| * | | | Add instance_statistics_visibility_private application setting and top nav iconLuke Bennett2018-07-271-0/+20
| | | | |
* | | | | Resource event modelJan Provaznik2018-08-012-1/+37
| |_|/ / |/| | |
* | | | Revert "Merge branch '48098-mutual-auth-cluster-applications' into 'master'"Mayra Cabrera2018-07-312-14/+0
| | | | | | | | | | | | This reverts merge request !20801
* | | | Merge branch '48098-mutual-auth-cluster-applications' into 'master'Dmitriy Zaporozhets2018-07-302-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Mutual SSL Auth For Helm TIller" Closes #48098 See merge request gitlab-org/gitlab-ce!20801
| * | | | Get mutual SSL working with helm tillerDylan Griffith2018-07-302-0/+14
| | |/ / | |/| |
* | | | Merge branch 'master-ce' into artifact-format-v2Shinya Maeda2018-07-302-0/+192
|\ \ \ \ | |/ / /
| * | | Merge branch 'stop-dynamic-routable-creation' into 'master'Douwe Maan2018-07-272-0/+192
| |\ \ \ | | |/ / | |/| | | | | | | | | | Stop building Route rows on the fly See merge request gitlab-org/gitlab-ce!20313
| | * | Remove code for dynamically generating routesstop-dynamic-routable-creationYorick Peterse2018-07-251-0/+143
| | | | | | | | | | | | | | | | | | | | | | | | This adds a database migration that creates routes for any projects and namespaces that don't already have one. We also remove the runtime code for dynamically creating routes, as this is no longer necessary.
| | * | Remove orphaned routesYorick Peterse2018-07-251-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes all orphaned project and namespace routes from the "routes" table. This is in as a preparation step for removing dynamic route generation, as discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/44390.
| * | | Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' ↵Sean McGivern2018-07-272-19/+0
| | | | | | | | | | | | | | | | | | | | into 'master'" This reverts merge request !20679