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
2016-01-20Merge branch 'master' into issue_3945Rubén Dávila
2016-01-20Merge branch 'feature/check-against-rbl-only' into 'master'Robert Speicher
Split from !2455 References #9092 See merge request !2515
2016-01-20Merge branch 'master' into issue_3945Douwe Maan
2016-01-20Save and use actual diff base commit for MR diff highlightingDouwe Maan
2016-01-20Add IP blocking against DNSBL at sign-upTomasz Maczukin
2016-01-20Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jeroen Nijhof
sentry-integration Conflicts: db/schema.rb
2016-01-19Merge branch 'master' into user-ldap-emailDouwe Maan
# Conflicts: # db/schema.rb
2016-01-19Allow LDAP users to change their email if it was not set by the LDAP serverDouwe Maan
2016-01-19Greatly improve external_issue_tracker performanceYorick Peterse
This greatly improves the performance of Project#external_issue_tracker by moving most of the fields queried in Ruby to the database and letting the database handle all logic. Prior to this change the process of finding an external issue tracker was along the lines of the following: 1. Load all project services into memory. 2. Reduce the list to only services where "issue_tracker?" returns true 3. Reduce the list from step 2 to service where "default?" returns false 4. Find the first service where "activated?" returns true This has to two big problems: 1. Loading all services into memory only to reduce the list down to a single item later on is a waste of memory (and slow timing wise). 2. Calling Array#select followed by Array#reject followed by Array#find allocates extra objects when this really isn't needed. To work around this the following service fields have been moved to the database (instead of being hardcoded): * category * default This in turn means we can get the external issue tracker using the following query: SELECT * FROM services WHERE active IS TRUE AND default IS FALSE AND category = 'issue_tracker' AND project_id = XXX LIMIT 1 This coupled with memoizing the result (just as before this commit) greatly reduces the time it takes for Project#external_issue_tracker to complete. The exact reduction depends on one's environment, but locally the execution time is reduced from roughly 230 ms to only 2 ms (= a reduction of almost 180x). Fixes gitlab-org/gitlab-ce#10771
2016-01-18Add limit change for 'data' column in 'events' when using MySQLTomasz Maczukin
2016-01-18Add sentry integrationJeroen Nijhof
2016-01-15Raise hook url limitKirilll Zaycev
2016-01-14Seed db on development with artifacts metadata fixtureGrzegorz Bizon
2016-01-14Add artifacts metadata uploader filedGrzegorz Bizon
Artifacts metadata field will be used to store a filename of gzipped file containing metadata definition for given artifacts archive.
2016-01-14Seed db with CI build artifacts using a zip archiveGrzegorz Bizon
2016-01-14Remove artifacts metadata column from databaseGrzegorz Bizon
2016-01-14Improve CI builds seederGrzegorz Bizon
2016-01-14Add database seed for build artifactsGrzegorz Bizon
2016-01-14Improve CI builds fixturesGrzegorz Bizon
2016-01-14Add initial fixtures for CI buildsGrzegorz Bizon
2016-01-14Add artifacts metadata field to `ci_builds`Grzegorz Bizon
2016-01-13Remove alert_type attribute from BroadcastMessageRobert Speicher
2016-01-13Make the metrics sampler interval configurableYorick Peterse
2016-01-07Added an index on milestones.titleYorick Peterse
Certain pages (e.g. the group wide issues page) filter miletones by their title. Without an index this will result in a sequence scan on a large dataset increasing the total loading time of a page.
2016-01-06Remove InfluxDB username/passwordYorick Peterse
InfluxDB over UDP doesn't use authentication, thus there's no need for these settings.
2016-01-05markdown fixesAndriy Dyadyura
2016-01-04remove public field from namespace and refactoringValery Sizov
2015-12-29Write to InfluxDB directly via UDPYorick Peterse
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.
2015-12-28reCAPTCHA is configurable through Admin Settings, no reload needed.Gabriel Mazetto
2015-12-28Move InfluxDB settings to ApplicationSettingYorick Peterse
2015-12-25Grace period support for TFAGabriel Mazetto
2015-12-25WIP require two factor authenticationGabriel Mazetto
2015-12-24Merge branch 'emoji-picker-fix' into 'master' Valery Sizov
Emoji picker: better alias handling related to https://gitlab.com/gitlab-org/gitlab-ce/issues/3576 See merge request !2198
2015-12-24Emoji picker: better alias handlingValery Sizov
2015-12-23Make migrations reversibleKamil Trzcinski
2015-12-21Merge branch 'add_email_unlock' into 'master' Robert Speicher
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
2015-12-18Backport JIRA serviceDrew Blessing
2015-12-17Fix ci_projects migration by using the value only from latest row [ci skip]Kamil Trzcinski
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.
2015-12-15Allow account unlock via emailDrew Blessing
2015-12-14Merge branch 'master' into ci/persist-registration-tokenGrzegorz Bizon
* 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'
2015-12-14Fix Ci::Project migration not migrating columns that cannot be NULL [ci skip]Kamil Trzcinski
2015-12-14Merge branch 'master' into ci/persist-registration-tokenGrzegorz Bizon
* 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
2015-12-14Fix MySQL migration of CI emails [ci skip]Kamil Trzcinski
2015-12-14Merge branch 'ci-project-migrate' into 'master' Kamil Trzciński
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
2015-12-14Fix migrations [ci skip]Kamil Trzcinski
2015-12-11Rename columns and rename migrationsKamil Trzcinski
2015-12-11Add runners tokenKamil Trzcinski
2015-12-11Migrate CI::Project to ProjectKamil Trzcinski
2015-12-11Enhance migrate CI emailsKamil Trzcinski
2015-12-11Add `runners_registration_token` to ApplicationSettingsGrzegorz Bizon