summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* apply codestyle and implementation changes to the respective feature codepersonal_access_token_api_and_impersonation_tokenTiago Botelho2017-03-061-1/+1
|
* applies relevant changes to the code and code structureTiago Botelho2017-02-281-1/+1
|
* add impersonation tokenSimon Vocella2017-02-282-0/+19
|
* manage personal_access_tokens through apiSimon Vocella2017-02-282-1/+19
|
* Fix migration without DOWNTIME clause specifiedRuben Davila2017-02-281-0/+2
|
* Add development fixtures for nested groupsdz-nested-groups-fixturesDmitriy Zaporozhets2017-02-271-0/+69
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'dm-fix-web-edit-new-lines' into 'master' Robert Speicher2017-02-241-9/+1
|\ | | | | | | | | Consistently create, update, and delete files, taking CRLF settings into account See merge request !9207
| * Rename commit_file, commit_dir and remove_file and update specsDouwe Maan2017-02-241-1/+1
| |
| * Consistently create, update, and delete files, taking CRLF settings into accountDouwe Maan2017-02-241-9/+1
| |
* | Remove the default value for the `users.ghost` database column.Timothy Andrew2017-02-242-7/+3
| | | | | | | | | | The default (false) is not strictly required, and this lets us avoid a potentially expensive migration
* | Use a `ghost` boolean to track ghost users.Timothy Andrew2017-02-242-0/+16
|/ | | | | | Rather than using a separate `ghost` state. This lets us have the benefits of both ghost and blocked users (ghost: true, state: blocked) without having to rewrite a number of queries to include cases for `state: ghost`.
* Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-2413-24/+44
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
| * Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-237-48/+48
| | | | | | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
| * Revert "Enable Style/BarePercentLiterals"Douwe Maan2017-02-232-4/+4
| | | | | | | | This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
| * Exclude migrations from Style/MutableConstantDouwe Maan2017-02-2334-44/+44
| |
| * Enable Style/WordArrayDouwe Maan2017-02-231-2/+2
| |
| * Prefer leading style for Style/DotPositionDouwe Maan2017-02-237-48/+48
| |
| * Old migration doesn’t require downtimeDouwe Maan2017-02-231-0/+2
| |
| * Enable Style/BarePercentLiteralsDouwe Maan2017-02-232-4/+4
| |
| * Enable Security/JSONLoadDouwe Maan2017-02-233-4/+4
| |
| * Enable Style/MutableConstantDouwe Maan2017-02-2336-38/+38
| |
| * Merge branch '26570-optimize-latest-pipeline-query' into 'master' Kamil Trzciński2017-02-233-2/+20
| |\ | | | | | | | | | | | | | | | | | | Optimize Ci::Pipeline.latest query Closes #26570 See merge request !9306
| | * Add index for ci_commits for gl_project_id, ref, status26570-optimize-latest-pipeline-queryLin Jen-Shin2017-02-203-2/+20
| | | | | | | | | | | | and remove the old one which we don't really need.
* | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-214-2/+31
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (234 commits) Improve performance of User Agent Detail Fix some grammar in the API docs Remove shared example for pagination API: Use POST to (un)block a user API: Moved `DELETE /projects/:id/star` to `POST /projects/:id/unstar` Use grape validation for dates Change wording for LDAP doc that was moved to a new location API: Remove `DELETE projects/:id/deploy_keys/:key_id/disable` Download snippets with LF line-endings by default utilize pre-minified Vue in production since no CJS distribution is available Prevent project team from being truncated too early during project destruction loading icon sometimes toggled alongside MR pipeline contents fix failed spec because haml_lint fix incorrect sidekiq concurrency count in admin background page exclude rpc_pipefs from system disc info Fix wrong line ending [ci-skip] fix overlooked window binding in spec files remove imports loader replace implicit this == window with explicit binding Todo done clicking is kind of unusable. ...
| * | Improve performance of User Agent DetailZ.J. van de Weg2017-02-202-0/+16
| |/
| * Merge branch '26200-convert-sidebar-to-dropdown' into 'master'Sean McGivern2017-02-172-3/+11
| |\ | | | | | | | | | | | | | | | | | | Resolve "Update global sidebar to dropdown" Closes #26200 See merge request !9199
| | * Remove comments in migrationAnnabel Dunstone Gray2017-02-162-21/+1
| | |
| | * Fix borked db stuffAnnabel Dunstone Gray2017-02-152-2/+2
| | |
| | * Move migration to post_migrate; fix shortcuts_specAnnabel Dunstone Gray2017-02-151-1/+1
| | |
| | * Remove all instances of theme_id; require downtimeAnnabel Dunstone Gray2017-02-152-2/+2
| | |
| | * Drop theme ID from users tableAnnabel Dunstone Gray2017-02-152-4/+32
| | |
| * | Merge branch 'seed-abuse-reports' into 'master' Stan Hu2017-02-161-0/+5
| |\ \ | | |/ | |/| | | | | | | Seed abuse reports See merge request !9234
| | * Seed abuse reportsseed-abuse-reportsEric Eastwood2017-02-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | ``` rake db:seed_fu FILTER=abuse_reports ``` Thanks to @stanhu, https://gitlab.com/gitlab-org/gitlab-ce/issues/28059#note_23325328
* | | 0 for unlimited, disallow blank, feedback:Lin Jen-Shin2017-02-162-4/+4
| | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23520780
* | | Update schemaLin Jen-Shin2017-02-161-0/+1
| | |
* | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2017-02-163-2/+32
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27762-add-default-artifacts-expiration * upstream/master: (37 commits) Show merge errors in merge request widget Clarify that stage is needed to stop environments Fix broken link in university docs allow clicking on text or icon to trigger expand style links on system notes to look clickable Clean up terms used for issues. Use New instead of Add. Fix most of broken docs links Set `Auto-Submitted: auto-generated` header to emails Fix Rubocop offense Fix regression where cmd-click stopped working for todos and merge request tabs Remove changelog entries for 8.16.5 release Merge branch 'fix-github-import-MR-wrong-project' into 'security' Merge branch 'svg-xss-fix' into 'security' Merge branch 'fix-rdoc-xss' into 'security' Merge branch 'asciidoctor-xss-patch' into 'security' Specify that only project owners can transfer a project only load istanbul plugin in development mode Make Karma output look nicer for CI (!9165) Centers loading icon vertically and horizontally in pipelines table in commit view Rename builds to jobs in docs ...
| * | Merge branch 'master' into 'zj-remove-deprecated-ci-service'zj-remove-deprecated-ci-serviceDouwe Maan2017-02-153-1/+57
| |\ \ | | | | | | | | | | | | # Conflicts: # db/schema.rb
| | * \ Merge branch 'issue_25112' into 'master' Sean McGivern2017-02-152-1/+16
| | |\ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | Disable invalid service templates Closes #25112 See merge request !8850
| | | * Disable invalid service templatesissue_25112Felipe Artur2017-02-142-1/+16
| | | |
| * | | Remove deprecated CI serviceZ.J. van de Weg2017-02-142-1/+16
| | |/ | |/|
* | | Use the same syntax for default expirationLin Jen-Shin2017-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036 * https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797
* | | Initial implementation for default artifacts expirationLin Jen-Shin2017-02-151-0/+11
| |/ |/| | | | | TODO: Add tests and screenshots
* | Use Gitlab::Database.with_connection_pool from !9192remove-inactive-default-email-servicesLin Jen-Shin2017-02-142-41/+24
| |
* | Disconnect the pool after doneLin Jen-Shin2017-02-141-0/+1
| |
* | Use threads directly, introduce pool later:Lin Jen-Shin2017-02-141-5/+33
| | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8987#note_22938402
* | Revert "Bump schema to pass `rake db:setup`"Lin Jen-Shin2017-02-141-1/+1
| | | | | | | | This reverts commit f2ed7cbc9b36b6ad9bcc714b271e98ead756b816.
* | Introduce ThreadedConnectionPool for customized poolLin Jen-Shin2017-02-141-28/+17
| | | | | | | | | | | | | | | | | | This way we could reuse this pool for other migrations Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8987#note_22923350 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8987#note_22923365
* | Bump schema to pass `rake db:setup`Lin Jen-Shin2017-02-141-1/+1
| |
* | Try this way to provide database connectionLin Jen-Shin2017-02-141-6/+3
| |
* | Use IS FALSE for both pg and mysql; Handle connectionsLin Jen-Shin2017-02-141-9/+11
| | | | | | | | | | by ourselves so that even if the setting has 1 connection we could still use more connections.