Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)Author
2017-03-05Update db/schemaKamil Trzcinski
2017-03-05Make triggers to be user awareKamil Trzcinski
2017-03-05Make Pipeline Triggers to be user awareKamil Trzcinski
- they can have owner, - they can be edited, - they have description, - you can take ownership of them
2017-03-03Fix the `Gitlab::Seeder` monkey patch to disable mail deliveryRobert Speicher
2017-03-01Merge branch 'fix/mwbs-to-mwps' into 'master' Douwe Maan
Rename MWBS to MWPS Closes #24707 See merge request !9335
2017-03-01Disable the inheritance column of services in DisableInvalidServiceTemplates ↵Rémy Coutable
migration The `unless defined?(Service)` was useless since in production env, models are eager loaded, thus we wouldn't disable the STI, resulting in the following error: The single-table inheritance mechanism failed to locate the subclass: 'GitlabCiService'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Service.inheritance_column to use another column for that information./opt/gitlab/embedded/service/gitlab-rails/db/post_migrate/20170211073944_disable_invalid_service_templates.rb:11:in `up' Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-01Update occurrences of MWBS to MWPSJames Lopez
Rename column in the database Rename fields related to import/export feature Rename API endpoints Rename documentation links Rename the rest of occurrences in the code Replace the images that contain the words "build succeeds" and docs referencing to them Make sure pipeline is green and nothing is missing. updated doc images renamed only_allow_merge_if_build_succeeds in projects and fixed references more updates fix some spec failures fix rubocop offences fix v3 api spec fix MR specs fixed issues with partials fix MR spec fix alignment add missing v3 to v4 doc wip - refactor v3 endpoints fix specs fix a few typos fix project specs copy entities fully to V3 fix entity error more fixes fix failing specs fixed missing entities in V3 API remove comment updated code based on feedback typo fix spec
2017-02-28Fix migration without DOWNTIME clause specifiedRuben Davila
2017-02-27Add development fixtures for nested groupsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-25Merge branch 'dm-fix-web-edit-new-lines' into 'master' Robert Speicher
Consistently create, update, and delete files, taking CRLF settings into account See merge request !9207
2017-02-24Rename commit_file, commit_dir and remove_file and update specsDouwe Maan
2017-02-24Consistently create, update, and delete files, taking CRLF settings into accountDouwe Maan
2017-02-24Remove the default value for the `users.ghost` database column.Timothy Andrew
The default (false) is not strictly required, and this lets us avoid a potentially expensive migration
2017-02-24Use a `ghost` boolean to track ghost users.Timothy Andrew
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`.
2017-02-24Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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 ...
2017-02-23Revert "Prefer leading style for Style/DotPosition"Douwe Maan
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23Revert "Enable Style/BarePercentLiterals"Douwe Maan
This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
2017-02-23Exclude migrations from Style/MutableConstantDouwe Maan
2017-02-23Enable Style/WordArrayDouwe Maan
2017-02-23Prefer leading style for Style/DotPositionDouwe Maan
2017-02-23Old migration doesn’t require downtimeDouwe Maan
2017-02-23Enable Style/BarePercentLiteralsDouwe Maan
2017-02-23Enable Security/JSONLoadDouwe Maan
2017-02-23Enable Style/MutableConstantDouwe Maan
2017-02-23Merge branch '26570-optimize-latest-pipeline-query' into 'master' Kamil Trzciński
Optimize Ci::Pipeline.latest query Closes #26570 See merge request !9306
2017-02-20Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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. ...
2017-02-20Improve performance of User Agent DetailZ.J. van de Weg
2017-02-20Add index for ci_commits for gl_project_id, ref, statusLin Jen-Shin
and remove the old one which we don't really need.
2017-02-17Merge branch '26200-convert-sidebar-to-dropdown' into 'master'Sean McGivern
Resolve "Update global sidebar to dropdown" Closes #26200 See merge request !9199
2017-02-16Merge branch 'seed-abuse-reports' into 'master' Stan Hu
Seed abuse reports See merge request !9234
2017-02-160 for unlimited, disallow blank, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23520780
2017-02-16Remove comments in migrationAnnabel Dunstone Gray
2017-02-16Update schemaLin Jen-Shin
2017-02-16Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
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 ...
2017-02-16Seed abuse reportsEric Eastwood
``` rake db:seed_fu FILTER=abuse_reports ``` Thanks to @stanhu, https://gitlab.com/gitlab-org/gitlab-ce/issues/28059#note_23325328
2017-02-16Fix borked db stuffAnnabel Dunstone Gray
2017-02-15Move migration to post_migrate; fix shortcuts_specAnnabel Dunstone Gray
2017-02-15Remove all instances of theme_id; require downtimeAnnabel Dunstone Gray
2017-02-15Drop theme ID from users tableAnnabel Dunstone Gray
2017-02-15Merge branch 'master' into 'zj-remove-deprecated-ci-service'Douwe Maan
# Conflicts: # db/schema.rb
2017-02-15Merge branch 'issue_25112' into 'master' Sean McGivern
Disable invalid service templates Closes #25112 See merge request !8850
2017-02-15Use the same syntax for default expirationLin Jen-Shin
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
2017-02-15Initial implementation for default artifacts expirationLin Jen-Shin
TODO: Add tests and screenshots
2017-02-14Disable invalid service templatesFelipe Artur
2017-02-14Remove deprecated CI serviceZ.J. van de Weg
2017-02-14Use Gitlab::Database.with_connection_pool from !9192Lin Jen-Shin
2017-02-14Disconnect the pool after doneLin Jen-Shin
2017-02-14Use threads directly, introduce pool later:Lin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8987#note_22938402
2017-02-14Revert "Bump schema to pass `rake db:setup`"Lin Jen-Shin
This reverts commit f2ed7cbc9b36b6ad9bcc714b271e98ead756b816.
2017-02-14Introduce ThreadedConnectionPool for customized poolLin Jen-Shin
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