summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-232-4/+8
| | | | | | | | | | | | | | | | | | | | | | | and request them each session. Pass these tokens to the project import data. This prevents the need to encrypt these tokens and clear them in case they expire or get revoked. For example, if you deleted and re-created OAuth2 keys for Bitbucket, you would get an Error 500 with no way to recover: ``` Started GET "/import/bitbucket/status" for x.x.x.x at 2015-08-07 05:24:10 +0000 Processing by Import::BitbucketController#status as HTML Completed 500 Internal Server Error in 607ms (ActiveRecord: 2.3ms) NameError (uninitialized constant Import::BitbucketController::Unauthorized): app/controllers/import/bitbucket_controller.rb:77:in `rescue in go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:74:in `go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:86:in `bitbucket_unauthorized' ``` Closes #1871
* Merge branch 'master' into reply-by-emailDouwe Maan2015-08-202-0/+12
|\
| * Import sources: settings in the admin interfaceArtem Sidorenko2015-08-202-1/+13
| |
* | Reply by email POCDouwe Maan2015-08-182-1/+25
|/
* Merge branch 'master' into comment-updated-bycomment-updated-byDouwe Maan2015-08-072-1/+20
|\
| * Allow users to send abuse reportsDmitriy Zaporozhets2015-08-062-1/+20
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Show who last edited a comment if it wasn't the original authorDouwe Maan2015-07-302-2/+12
|/
* Check if session_expire_delay column exists before adding the column.migrate_session_expire_delay_unless_it_existsMarin Jankovski2015-07-221-2/+4
|
* Store commit count in project tableadvanced-cacheDmitriy Zaporozhets2015-07-172-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add more seed projects. Control amount with SIZE env variableDmitriy Zaporozhets2015-07-171-1/+34
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Revert "Change default admin password from "5iveL!fe" to "password""Sytse Sijbrandij2015-07-142-2/+2
| | | | This reverts commit 8a01a1222875b190d32769f7a6e7a74720079d2a.
* Allow user to specify content he wants to see on project pageproject-default-viewDmitriy Zaporozhets2015-07-132-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix db schemaDmitriy Zaporozhets2015-07-081-9/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move project activity to separate tab. Add more features to project home pageDmitriy Zaporozhets2015-07-071-3/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Audit log for user authenticationValery Sizov2015-07-062-2/+38
|
* Change default admin password from "5iveL!fe" to "password"Robert Speicher2015-06-242-2/+2
|
* Correct AddDefaultOtpRequiredForLoginValue migrationRobert Speicher2015-06-221-1/+3
| | | | | 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.
* Make default value for otp_required_for_login false instead of nullRobert Speicher2015-06-202-2/+11
|
* Add `dashboard` attribute to User modelRobert Speicher2015-06-132-1/+11
|
* Fix a few remaining references to the old Theme names/IDsRobert Speicher2015-06-131-1/+1
|
* Ensure `session_expire_delay` field exists before accessing itrs-issue-1798Robert Speicher2015-06-131-4/+4
| | | | Closes #1798
* session_expire_seconds => session_expire_delaythemaze752015-06-103-6/+6
| | | | | delay is in seconds more legible code in session_store Added `GitLab restart required` help block to session_expire_delay
* Add session expiration delay configuration through UI applicationEric Maziade2015-06-052-1/+7
| | | settings
* Allow to configure a URL to show after sign outAlex Lossent2015-05-292-1/+7
|
* Add option to disallow users from registering any application to use GitLab ↵user-oauth-applicationsDouwe Maan2015-05-292-1/+7
| | | | as an OAuth provider
* Merge branch 'rs-gems' into 'master'Dmitriy Zaporozhets2015-05-267-14/+14
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * Update ffaker gemRobert Speicher2015-05-207-14/+14
| | | | | | | | | | | | 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`.
* | Add support for Webhook note eventsStan Hu2015-05-212-1/+11
|/ | | | Closes https://github.com/gitlabhq/gitlabhq/issues/6745
* Make more migrations reversiblers-reversable-migrationsRobert Speicher2015-05-133-3/+22
| | | | [ci skip]
* Merge branch 'version-check' into 'master'Dmitriy Zaporozhets2015-05-132-0/+6
|\ | | | | | | | | | | Version check See merge request !1509
| * Merge branch 'version-check' into gl-version-checkDmitriy Zaporozhets2015-05-082-0/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Add feature to disable version checkDmitriy Zaporozhets2015-03-102-1/+7
| | |
* | | Fix Gemfile.lockDmitriy Zaporozhets2015-05-121-1/+1
| | |
* | | Merge branch 'rs-system-note' into 'master'Dmitriy Zaporozhets2015-05-122-1/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Add migration to convert legacy system notesRobert Speicher2015-05-112-1/+17
| | | |
* | | | Merge branch 'fix_migration' into 'master'Valery Sizov2015-05-122-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make migrations reversible /cc @jacobvosmaer @marin See merge request !622
| * | | | Make migrations reversiblefix_migrationValery Sizov2015-05-072-2/+9
| | | | |
* | | | | Make otp_backup_codes a text fieldRobert Speicher2015-05-092-1/+6
| | | | |
* | | | | Add support for backup codesDmitriy Zaporozhets2015-05-091-0/+5
| | | | |
* | | | | Init 2 factor authentication for user modelDmitriy Zaporozhets2015-05-091-0/+8
| |/ / / |/| | |
* | | | Adding quote_string to migrationquote_stringValery Sizov2015-05-081-1/+2
| |/ / |/| |
* | | Merge branch 'tag_dup' into 'master'Valery Sizov2015-05-081-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | remove tag duplicatestag_dupValery Sizov2015-05-071-0/+16
| |/ /
* | | Merge branch 'fix-mysql-migration-with-tags' into 'master'Valery Sizov2015-05-081-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Change the MySQL collation type to utf8_bin to ensure case-sensitive tags ↵Stan Hu2015-05-071-0/+10
| |/ / | | | | | | | | | are supported
* | | Conditionally remove indices that may not exist in pre-GitLab v6.7 installationsStan Hu2015-05-081-2/+9
|/ / | | | | | | Closes #1593
* | Remove project dropdown and fix db sche,aDmitriy Zaporozhets2015-05-051-26/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add application setting to restrict user signups to e-mail domainsStan Hu2015-05-022-1/+7
| | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'fix-project-tags' into 'master'Douwe Maan2015-04-305-2/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix DB error when trying to tag a repositoryStan Hu2015-04-275-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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