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
2015-07-21Revert "Revert "Merge branch 'cache-improvement' into '7-13-stable'Valery Sizov
This reverts commit ebb6393d0eda26db10da85f0a57c3d707b4de558.
2015-07-19Revert "Merge branch 'cache-improvement' into '7-13-stable' "update_for_stableValery Sizov
This reverts commit 94c2516afc7ad8854844c05001f4a390d0bd8724, reversing changes made to ae44e5ec064aaa9f5063732dc7bb6ee751a80ce2.
2015-07-17Merge branch 'advanced-cache' into 'master' Dmitriy Zaporozhets
Advanced cache Fixes #1993 * Build missing cache values in background job after each push * Store commit_count in project table. Refresh in background job * moved repository size calculation in background job ## Advantages Every time push is triggered - we build cache for project even without user visiting project page. That means first visit is as fast as others now. This is especially good for active projects where people have some requests fast because of cache and some slow - because cache was build in their request. Between cache expired and cache built we we had gap when Linux repo can give 502 error because calculation commits count takes 30 seconds or even more. Using value from database fix this problem. Before cache is updated you see old value from database. After - you see new one. Basically this merge request is super win to GitLab. We don't do some heavy operations in user request but instead in background job. ## Temporary problem After this migration all projects will have `0` commits in database. It fill be replaced with real value on next push. I did not add recalculation to migration because it will last forever on big instances. Can be fixed by adding rake task which will go in background on live instance without downtime See merge request !986
2015-07-15Revert "Change default admin password from "5iveL!fe" to "password""Sytse Sijbrandij
This reverts commit 8a01a1222875b190d32769f7a6e7a74720079d2a.
2015-07-13Allow user to specify content he wants to see on project pageDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-08Fix db schemaDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-07Move project activity to separate tab. Add more features to project home pageDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-06Audit log for user authenticationValery Sizov
2015-06-25Change default admin password from "5iveL!fe" to "password"Robert Speicher
2015-06-22Correct AddDefaultOtpRequiredForLoginValue migrationRobert Speicher
Also MySQL complains when you change a field to be not null if any existing records already have a null value, so this updates those rows.
2015-06-21Make default value for otp_required_for_login false instead of nullRobert Speicher
2015-06-14Add `dashboard` attribute to User modelRobert Speicher
2015-06-14Fix a few remaining references to the old Theme names/IDsRobert Speicher
2015-06-13Ensure `session_expire_delay` field exists before accessing itRobert Speicher
Closes #1798
2015-06-11session_expire_seconds => session_expire_delaythemaze75
delay is in seconds more legible code in session_store Added `GitLab restart required` help block to session_expire_delay
2015-06-05Add session expiration delay configuration through UI applicationEric Maziade
settings
2015-05-29Allow to configure a URL to show after sign outAlex Lossent
2015-05-29Add option to disallow users from registering any application to use GitLab ↵Douwe Maan
as an OAuth provider
2015-05-26Merge branch 'rs-gems' into 'master'Dmitriy Zaporozhets
Update ffaker gem Adds a version requirement which it didn't have before, at 2.0.0. This version has breaking API changes in that the namespace is now `FFaker` instead of `Faker`. Prior, if a new developer checked out the repo, ran `bundle install` and then tried `rake dev:setup`, seeding would fail due to having the latest version of ffaker without the API changes in this MR. Also updates `spring` version and the binstubs, just for kicks. See merge request !686
2015-05-22Add support for Webhook note eventsStan Hu
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-21Update ffaker gemRobert Speicher
Adds a version requirement which it didn't have before, at 2.0.0. This version has breaking API changes in that the namespace is now `FFaker` instead of `Faker`.
2015-05-13Make more migrations reversibleRobert Speicher
[ci skip]
2015-05-13Merge branch 'version-check' into 'master'Dmitriy Zaporozhets
Version check See merge request !1509
2015-05-12Fix Gemfile.lockDmitriy Zaporozhets
2015-05-12Merge branch 'rs-system-note' into 'master'Dmitriy Zaporozhets
Add SystemNoteService class The Note model was basically two models crammed together - one handling user-created notes (i.e., comments on things) and one handling system-created notes (i.e., references). This splits out the system-specific stuff to a new SystemNoteService class. See merge request !595
2015-05-12Merge branch 'fix_migration' into 'master'Valery Sizov
Make migrations reversible /cc @jacobvosmaer @marin See merge request !622
2015-05-11Add migration to convert legacy system notesRobert Speicher
2015-05-10Make otp_backup_codes a text fieldRobert Speicher
2015-05-10Add support for backup codesDmitriy Zaporozhets
2015-05-10Init 2 factor authentication for user modelDmitriy Zaporozhets
2015-05-08Adding quote_string to migrationValery Sizov
2015-05-08Merge branch 'version-check' into gl-version-checkDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: app/controllers/admin/application_settings_controller.rb app/views/admin/application_settings/_form.html.haml db/schema.rb
2015-05-08Merge branch 'tag_dup' into 'master'Valery Sizov
Remove tag duplicates Prevention of getting this error: ``` ActiveRecord::RecordNotUnique: PG::Error: ERROR: could not create unique index "index_tags_on_name" DETAIL: Key (name)=(XSS') is duplicated. : CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name") ``` This migration fails if there are duplicates: https://github.com/mbleigh/acts-as-taggable-on/blob/v3.5.0/db/migrate/2_add_missing_unique_indices.rb#L3 See merge request !623
2015-05-08Merge branch 'fix-mysql-migration-with-tags' into 'master'Valery Sizov
Change the MySQL collation type to utf8_bin to ensure case-sensitive tags are supported MySQL tables had a collation type of utf8_ci, which makes the name case-insensitive. Previously this migration was run only after indices were built, but it needs to happen before if there is existing data that is case-sensitive. This is an idempotent change, so applying it again in the existing migration (20150425164651) should not change anything. This is related to !623, but this migration should run before that one. * Closes #1589 * Closes https://github.com/gitlabhq/gitlabhq/issues/9255 See merge request !625
2015-05-08Conditionally remove indices that may not exist in pre-GitLab v6.7 installationsStan Hu
Closes #1593
2015-05-08Change the MySQL collation type to utf8_bin to ensure case-sensitive tags ↵Stan Hu
are supported
2015-05-07remove tag duplicatesValery Sizov
2015-05-07Make migrations reversibleValery Sizov
2015-05-05Remove project dropdown and fix db sche,aDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-02Add application setting to restrict user signups to e-mail domainsStan Hu
This feature was requested long ago: http://feedback.gitlab.com/forums/176466-general/suggestions/4118466-ability-to-register-only-from-ceratain-domains This MR is based off !253 but changed to use application settings and use wildcard strings to give more flexibility in pattern matching. Regexps seemed overkill and easy to get wrong. Only restrict e-mail addresses upon creation
2015-04-30Merge branch 'fix-project-tags' into 'master'Douwe Maan
Fix DB error when trying to tag a repository Steps to reproduce: Go to a project settings, add tags, click on save changes Observed behavior: Error 500 ``` PG::Error: ERROR: column "taggings_count" does not exist LINE 1: UPDATE "tags" SET "taggings_count" = COALESCE("taggings_coun... ``` Ran `rake acts_as_taggable_on_engine:install:migrations`, removed the first migration that created the `tags` and `taggings` table, and added the rest. * Closes #1512 * Closes #1550 * Closes https://github.com/gitlabhq/gitlabhq/issues/6867 * Closes https://github.com/gitlabhq/gitlabhq/issues/9194 See merge request !577
2015-04-29Merge branch 'search-layout' into 'master'Dmitriy Zaporozhets
Improvements to search layout Improve search layout to match new UI style and make it more mobile-firendly See merge request !585
2015-04-29Remove abandoned GroupMembersValery Sizov
2015-04-28Continue refactoring and restyle of search layoutDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-27Fix DB error when trying to tag a repositoryStan Hu
Upon tagging a repository, an error due to a missing migration occurred: ``` PG::Error: ERROR: column "taggings_count" does not exist LINE 1: UPDATE "tags" SET "taggings_count" = COALESCE("taggings_coun... ``` Ran `rake acts_as_taggable_on_engine:install:migrations`, removed the first migration that created the `tags` and `taggings` table, and added the rest. Closes #1512 Closes https://github.com/gitlabhq/gitlabhq/issues/6867 Closes https://github.com/gitlabhq/gitlabhq/issues/9194
2015-04-26Add new admin settingsVinnie Okada
Add new global application settings for default project and snippet visibility levels.
2015-04-24Explain namespace clearn regex.Douwe Maan
2015-04-24Update schema.Douwe Maan
2015-04-24Don't attempt to move if original path only contains periods.Douwe Maan
2015-04-24Change migration timestamp.Douwe Maan