- 14 Jun, 2016 4 commits
-
-
Yorick Peterse authored
-
Yorick Peterse authored
MySQL apparently doesn't support executing multiple queries in the same `execute` call so we have to use a separate one for the "LOCK TABLES" statement.
-
Z.J. van de Weg authored
As suggested by @yorrickpeterse in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4581#note_12373882 the locking of the MySQL database wasn't correct.
-
Z.J. van de Weg authored
This commit does two things: 1. It adds logic which prevents timing issues when running the migration. During the migration, notes can be created which _should_ be award emoji and thus migrated. To prevent these timing issues, a lock is obtained on the table (MySQL) or on Transaction level (PG). 2. There was no down migration before as you'd probably lose some data. Data effected is all awards on notes. These could be migrated back, as the noteable type would just be Note, though this would litter the DB with data which should not be there. This down migration does not yet delete the table.
-
- 13 Jun, 2016 1 commit
-
-
Douglas Barbosa Alexandre authored
-
- 10 Jun, 2016 4 commits
-
-
Felipe Artur authored
-
Felipe Artur authored
-
Paco Guzman authored
Using update_column to store the boolean flag to avoid any side effects with the current state of the project instance
-
Rui Anderson authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- 09 Jun, 2016 1 commit
-
-
Sean McGivern authored
Migrations shouldn't fail RuboCop checks - especially lint checks, such as the nested method check. To avoid changing code in existing migrations, add the magic comment to the top of each of them to skip that file.
-
- 08 Jun, 2016 2 commits
-
-
Sean McGivern authored
Add a new application setting, after_sign_up_text. This is text to be rendered as Markdown and shown on the 'almost there' page after a user signs up, but before they've confirmed their account. Tweak the styles for that page so that centered lists look reasonable.
-
Yorick Peterse authored
This improves performance of the duplicate notification settings migration by removing duplicates in batches instead of using one big "DELETE FROM" query. The previous query would locally run over 45 minutes without even finishing. This new setup finished in a matter of seconds. Fixes #18289
-
- 06 Jun, 2016 2 commits
-
-
Thijs Wouters authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Timothy Andrew authored
- To hold registrations from U2F devices, and to authenticate them. - Previously, `User#two_factor_enabled` was aliased to the `otp_required_for_login` column on `users`. - This commit changes things a bit: - `User#two_factor_enabled` is not a method anymore - `User#two_factor_enabled?` checks both the `otp_required_for_login` column, as well as `U2fRegistration`s - Change all instances of `User#two_factor_enabled` to `User#two_factor_enabled?` - Add the `u2f` gem, and implement registration/authentication at the model level.
-
- 03 Jun, 2016 1 commit
-
-
Felipe Artur authored
-
- 01 Jun, 2016 1 commit
-
-
Z.J. van de Weg authored
-
- 31 May, 2016 5 commits
-
-
Kamil Trzcinski authored
This is not needed when we specify a default.
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
- 30 May, 2016 1 commit
-
-
Stan Hu authored
Closes #17920
-
- 27 May, 2016 1 commit
-
-
James Lopez authored
-
- 25 May, 2016 1 commit
-
-
Josh Frye authored
-
- 20 May, 2016 1 commit
-
-
Felipe Artur authored
-
- 19 May, 2016 4 commits
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Rubén Dávila authored
-
- 16 May, 2016 4 commits
-
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
Felipe Artur authored
-
- 14 May, 2016 1 commit
-
-
Douwe Maan authored
-
- 12 May, 2016 1 commit
-
-
Andrei Gliga authored
-
- 11 May, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 10 May, 2016 1 commit
-
-
DJ Mountney authored
Also added a health check page to the admin section for resetting the token.
-
- 09 May, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 08 May, 2016 1 commit
-
-
Robert Speicher authored
-
- 06 May, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-