summaryrefslogtreecommitdiff
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* Remove InfluxDB username/passwordremove-influxdb-credentialsYorick Peterse2016-01-062-11/+15
| | | | | InfluxDB over UDP doesn't use authentication, thus there's no need for these settings.
* markdown fixesAndriy Dyadyura2016-01-051-260/+260
|
* remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-042-5/+9
|
* Write to InfluxDB directly via UDPYorick Peterse2015-12-293-41/+51
| | | | | | | | | | | | | This removes the need for Sidekiq and any overhead/problems introduced by TCP. There are a few things to take into account: 1. When writing data to InfluxDB you may still get an error if the server becomes unavailable during the write. Because of this we're catching all exceptions and just ignore them (for now). 2. Writing via UDP apparently requires the timestamp to be in nanoseconds. Without this data either isn't written properly. 3. Due to the restrictions on UDP buffer sizes we're writing metrics one by one, instead of writing all of them at once.
* reCAPTCHA is configurable through Admin Settings, no reload needed.Gabriel Mazetto2015-12-282-1/+13
|
* Move InfluxDB settings to ApplicationSettingrelocate-influxdb-settingsYorick Peterse2015-12-282-1/+27
|
* Grace period support for TFAGabriel Mazetto2015-12-242-0/+8
|
* WIP require two factor authenticationGabriel Mazetto2015-12-242-0/+10
|
* Merge branch 'emoji-picker-fix' into 'master' Valery Sizov2015-12-242-1/+16
|\ | | | | | | | | | | | | Emoji picker: better alias handling related to https://gitlab.com/gitlab-org/gitlab-ce/issues/3576 See merge request !2198
| * Emoji picker: better alias handlingValery Sizov2015-12-242-1/+16
| |
* | Make migrations reversibleKamil Trzcinski2015-12-237-5/+12
|/
* Merge branch 'add_email_unlock' into 'master' Robert Speicher2015-12-212-0/+6
|\ | | | | | | | | | | | | | | | | | | | | Allow account unlock via email We see a lot of users get confused about what it means when your account gets locked. Many try to reset their password and are still faced with a lockout. With this change, users receive an email that allows them to unlock their account immediately. The previous behavior where the account is auto-unlocked after a time also still works. See merge request !2049
| * Allow account unlock via emailDrew Blessing2015-12-142-0/+6
| |
* | Backport JIRA serviceDrew Blessing2015-12-181-0/+50
| |
* | Fix ci_projects migration by using the value only from latest row [ci skip]Kamil Trzcinski2015-12-171-1/+2
|/ | | | | This is needed, because for some projects we have duplicate ci_projects. This was introduced by lack of DB uniqueness on ci_projects.gitlab_id.
* Merge branch 'master' into ci/persist-registration-tokenGrzegorz Bizon2015-12-142-4/+8
|\ | | | | | | | | | | | | | | | | * master: Move CI admin builds and runners specs to correct directory Fix 500 when viewing specific runners on runners page Fix Ci::Project migration not migrating columns that cannot be NULL Fix MySQL migration of CI emails Minor fix in flow 'Merge when build succeeds'
| * Fix Ci::Project migration not migrating columns that cannot be NULL [ci skip]Kamil Trzcinski2015-12-141-3/+3
| |
| * Fix MySQL migration of CI emails [ci skip]Kamil Trzcinski2015-12-141-1/+5
| |
* | Merge branch 'master' into ci/persist-registration-tokenGrzegorz Bizon2015-12-1411-9/+232
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (66 commits) Fix runners admin view Fix migrations Rename mention of gitlab-git-http-server to gitlab-workhorse Bump Redis requirement to 2.8 for Sidekiq 4 requirements Fix wording on runner setup page add details on how to change saml button label Fix tests Move awards back to gray panel and few improvements to sidebar Few UI improvements to new sidebar implementation Fix tests for new issuable sidebar Update changelog Implement new sidebar for merge request page Make edit link on issuable sidebar works Redesign issue page for new sidebar Move awards css to separate file Implement issuable sidebar partial Update CHANGELOG Clarify cache behavior Run builds from projects with enabled CI Use Gitlab::Git instead of Ci::Git ... Conflicts: db/schema.rb
| * Merge branch 'ci-project-migrate' into 'master' Kamil TrzciƄski2015-12-146-9/+103
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci Project migrate - This doesn't migrate: allow_git_fetch, coverage_regex, timeout. Since this are project configuration settings I would propose to migrate them to `.gitlab-ci.yml`. - This requires offline migrations. - It simplifies database models making all CI objects to be attached to: Project. - It removes Ci::Project, but makes /ci/projects working by adding method: Project.find_by_ci_id for backward compatibility (badges, triggers). - We should add default `timeout` to Application Settings. - It misses specs. - It is based on ci-services-migrate for now. - It removes CI events. - It removes administrator CI projects overview. - It removes CI application settings. In 8.4 or 8.5 we can remove redundant tables and columns. See merge request !1987
| | * Rename columns and rename migrationsKamil Trzcinski2015-12-116-3/+5
| | |
| | * Add runners tokenKamil Trzcinski2015-12-113-5/+8
| | |
| | * Migrate CI::Project to ProjectKamil Trzcinski2015-12-116-7/+96
| | |
| * | Fix migrations [ci skip]Kamil Trzcinski2015-12-144-10/+19
| |/
| * Enhance migrate CI emailsKamil Trzcinski2015-12-111-4/+23
| |
| * Migrate SlackService and HipChat serviceKamil Trzcinski2015-12-104-1/+66
| |
| * Migrate CI WebHooks and Emails to new tablesKamil Trzcinski2015-12-103-1/+29
| |
| * Migrate CI::Services and CI::WebHooks to Services and WebHooksKamil Trzcinski2015-12-102-1/+9
| |
* | Add `runners_registration_token` to ApplicationSettingsGrzegorz Bizon2015-12-112-1/+7
|/
* Merge branch 'fix-migrations' into 'master' Dmitriy Zaporozhets2015-12-093-40/+51
|\ | | | | | | | | | | | | | | | | | | Fix migrations for postgres on test environment Make `be rake db:migrate:reset RAILS_ENV=test` work Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !2002
| * Use up and downDouwe Maan2015-12-091-1/+5
| |
| * Fix migrations for postgres on test environmentDmitriy Zaporozhets2015-12-073-39/+46
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix schemaZeger-Jan van de Weg2015-12-071-5/+8
| |
* | Merge branch 'master' into merge-if-greenZeger-Jan van de Weg2015-12-077-62/+97
|\ \ | |/
| * Notify user if they cannot create projectsAndrew Tomaka2015-12-052-1/+7
| |
| * Rails update to 4.2.4Valery Sizov2015-11-251-53/+53
| |
| * Merge branch 'emoji_votes' into 'master' Dmitriy Zaporozhets2015-11-192-0/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Award Emoji This it first iteration of award emoji feature. We have plan to extend emoji picker by the next release. For now, you can add award by clicking to the emoji picker or posting a regular comment with emoji like ":+1:" and any other. You can post not only emoji that listed in the emoji picker. See merge request !1825
| | * satisfy rubocopValery Sizov2015-11-191-3/+1
| | |
| | * fix schemaValery Sizov2015-11-191-1/+1
| | |
| | * addressing commentsValery Sizov2015-11-192-2/+4
| | |
| | * award emojiValery Sizov2015-11-192-1/+7
| | |
| * | Updated DB schema with new issues/projects indexesYorick Peterse2015-11-191-3/+3
| | |
| * | Added index on projects.visibility_levelYorick Peterse2015-11-191-0/+5
| | |
| * | Added index on issues.stateYorick Peterse2015-11-191-0/+5
| | | | | | | | | | | | | | | This field is queried when filtering issues and due to the lack of an index would end up triggering a sequence scan.
| * | Merge branch 'atom-feed-latest-update' into 'master' Yorick Peterse2015-11-192-1/+7
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve performance of user profiles, finding groups, and finding projects This MR improves the following: * Rendering of profile pages and Atom feeds * Finding groups (using GroupsFinder & friends) * Finding projects (using ProjectsFinder & friends) Initially this MR was intended to only improve rendering of Atom feeds, but over time other fixes were introduced as well as the same code was the cause of all these problems. See merge request !1790
| | * Added an index on namespaces.publicYorick Peterse2015-11-182-1/+7
| | |
| * | Add import_error to project.Douwe Maan2015-11-182-1/+9
| |/
* | Refactor MergeWhenBuildSucceedsService and incorporate feedbackZeger-Jan van de Weg2015-11-231-2/+0
| |
* | Merge branch 'master' into merge-if-greenZeger-Jan van de Weg2015-11-1815-7/+131
|\ \ | |/
| * Add unique to oid index for lfs object.add_index_uniqMarin Jankovski2015-11-162-3/+9
| |