Commit Graph

18 Commits

Author SHA1 Message Date
GitLab Bot c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot 1b9a2ce278 Add latest changes from gitlab-org/gitlab@master 2020-05-18 09:08:12 +00:00
GitLab Bot 51c20446a0 Add latest changes from gitlab-org/gitlab@master 2020-05-06 09:10:02 +00:00
GitLab Bot 3f9e1b2611 Add latest changes from gitlab-org/gitlab@master 2020-01-23 15:08:46 +00:00
Thong Kuah a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Brett Walker 34254e1d58 remove extra whitespace 2017-10-27 17:35:40 +02:00
Brett Walker a2894b7ad2 use a delegate for `username` to be more future friendly 2017-10-27 16:32:48 +02:00
Alexandra ed3c25e429 spacing and small optimisations 2017-10-01 17:07:26 +02:00
Brett Walker d97b577a1b must now set the devise default scope (since we now have an :email scope)
and rubocop fixes
2017-09-24 19:52:49 +02:00
Brett Walker d7d335c05b add primary email as a secondary email whenever the primary is changed 2017-09-23 15:26:04 +02:00
Brett Walker 665c7876fa added email.confirmed scope and fix email comparison 2017-09-23 15:26:04 +02:00
Brett Walker ed99c899a2 allow a verified secondary email to be use as the primary without
a reconfirmation
2017-09-23 15:26:04 +02:00
Brett Walker 442dbf6d4b when user verifies a secondary email, revalidate GPG signatures 2017-09-23 15:26:04 +02:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Semyon Pupkov b1ce2eb1e5 refactor(email): use setter method instead AR callbacks 2016-10-23 17:30:07 +05:00
Grzegorz Bizon 9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
Jeroen van Baarsen f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Rémy Coutable b34963bc12 Validate email addresses using Devise.email_regexp
Also:
- Get rid of legacy :strict_mode
- Get rid of custom :email validator
- Add some shared examples to spec emails validation
2016-02-09 18:15:35 +01:00