kikito
a606c7aa8d
Renames confirmed_oauth_email to oauth_email
...
Refactors the way oauth_email is used to cover more cases (fixes pending specs)
2016-01-26 18:15:40 +01:00
kikito
55216ba431
allows creating email duplicates while registering with omniauth
2016-01-26 18:15:39 +01:00
kikito
98f99954e7
Corrects the logic dealing with confirmations of users via oauth
2016-01-26 18:15:39 +01:00
kikito
248bff712c
fixes failing i18n specs
...
Eliminates registering_with_oauth attr_accessor
ELIMINATE
Conflicts:
app/views/users/registrations/finish_signup.html.erb
improves devise confirmation message
improves devise omniauth confirmation message
improves devise omniauth confirmation message
do not use nils on finish_signup fields
Fixes auth specs after changing the i18n
2016-01-26 18:15:36 +01:00
kikito
1a7ca43569
Simplifies username assignation when creating a new oauth user
2016-01-26 18:11:46 +01:00
kikito
8dcb5d2cac
Refactors self.first_or_initialize_for_oauth
2016-01-26 18:11:11 +01:00
kikito
f74028e3b5
Replaces the OMNIAUTH_REGEX logic with a boolean
2016-01-26 18:11:04 +01:00
kikito
d1741a2b28
Refactor first_or_create_for_auth & its usage
...
Conflicts:
app/controllers/users/omniauth_callbacks_controller.rb
Refactors first_or_initialize_for_oauth
2016-01-26 18:10:57 +01:00
kikito
5ea8d76903
Rename find_for_oauth param and refactor user expression
2016-01-26 18:10:50 +01:00
kikito
271146f688
Rename Identity method
...
Remove Identity method
2016-01-26 18:10:47 +01:00
Josep Jaume Rey Peroy
cf00f12ec7
Store locale in a user's field and switch locale on mailers
2016-01-22 18:10:28 +01:00
Josep Jaume Rey Peroy
5de3d700e4
Simplify Settings API
2016-01-18 12:43:34 +01:00
Julian Herrero
d9ba3edc2a
mostrar notificaciones a los usuarios cuando alguien comenta en su
...
debate o responde a su comentario
2016-01-05 17:43:44 +01:00
Julian Herrero
ba0ce4e14b
añadir track_activity para mostrar futuras notificaciones a los usuarios
2016-01-05 17:42:10 +01:00
Jakub
e4b31cfe29
Move automatic official_level assignment to the controller.
2015-12-01 23:18:23 +01:00
Jakub
ea9a2b3be6
Better names for the official email methods
2015-11-30 21:52:48 +01:00
Jakub
da490a4661
Officials level 1 is auto-assigned on email confirmation. Settings option is now optional. Also working on subdomains
2015-11-30 20:48:12 +01:00
Jakub
b4be4259b7
Level 1 officials are now auto-assigned. Rake user:check_email_domains created.
2015-11-29 00:55:15 +01:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
kikito
9267948a99
Nullifies instead of emptying user
2015-10-19 20:13:42 +02:00
kikito
34753296fb
changes user verifications for hidden users
2015-10-19 20:12:45 +02:00
kikito
1511f811fd
implements first version of user.erase
2015-10-16 14:25:05 +02:00
kikito
d351daedd4
Adds document_number-related constraints to User
2015-10-08 15:19:11 +02:00
kikito
b6aaad87af
Adds a user controller for management
2015-10-07 20:18:17 +02:00
kikito
9ddc9c57b7
Do not show the welcome screen to administrators
2015-10-02 18:44:28 +02:00
kikito
b5a4830871
Adds User.by_document scope
2015-09-30 20:53:57 +02:00
Juanjo Bazán
4a5dafd6e2
Merge pull request #551 from AyuntamientoMadrid/verification_tracking-500
...
Verification tracking
2015-09-28 20:04:15 +02:00
rgarcia
fbb5db8062
removes unnecessary address from users
2015-09-26 13:45:37 +02:00
rgarcia
e9e97daf46
displays failed census calls [ #500 ]
2015-09-24 17:21:08 +02:00
Juanjo Bazán
7b9c050df2
adds has_many proposals to user
2015-09-23 17:09:41 +02:00
Enrique García
3e7a8e572e
Merge pull request #483 from juandefelix/user-from-omniauth
...
Añadido :terms_of_service a User::first_or_create_for_oauth
2015-09-22 16:42:14 +02:00
kikito
77fbd2318e
Makes blocking an author also block his proposals
2015-09-13 22:07:44 +02:00
juandefelix
e2fc128c16
passing validations by adding terms_of_service to attributes hash
2015-09-13 11:11:11 -05:00
kikito
5903ebe857
merges master and fix conflicts
2015-09-12 19:54:15 +02:00
kikito
08cf75fb95
Fixes bug: users were creating new organisations instead of updating existing ones
2015-09-12 19:30:26 +02:00
rgarcia
f2b917d486
adds proposal show
2015-09-12 12:30:20 +02:00
kikito
c399ddf18d
Adds default values to limits when the db does not have them
...
This prevents errors when doing rake db:setup (the db has still not
been created but the rails models are loaded)
2015-09-11 11:32:29 +02:00
rgarcia
abc68dc868
refactors lock tries [ #279 ]
2015-09-10 20:26:49 +02:00
kikito
8596df1ea8
merges master and fix conflicts
2015-09-10 18:09:19 +02:00
kikito
249aed42c4
Makes welcome screen work using a sessions controller
2015-09-10 17:41:37 +02:00
kikito
2d3015703d
replaces constants by class methods + private functions. Fixes broken tests
2015-09-10 13:02:21 +02:00
kikito
5e7a5b57de
Adds max lengths and validations in models
2015-09-09 18:32:36 +02:00
kikito
f46b17e19b
Introduces User#block method
2015-09-08 19:08:47 +02:00
rgarcia
17ce1f9d07
adds terms of service to users
2015-09-07 01:00:43 +02:00
Juanjo Bazán
60089b8986
uses author info in comment/debate cache
...
author is already preloaded and we avoid expensive touching methods
2015-09-06 12:13:39 +02:00
rgarcia
cba83e6dd2
touches comments and debates after changes
2015-09-05 22:02:51 +02:00
Juanjo Bazán
3a7a8f13f5
validates uniqueness of username 😭
2015-09-04 23:15:41 +02:00
rgarcia
71aaef3805
sends devise emails with delayed_jobs
2015-09-03 22:59:25 +02:00
kikito
d0c7c7fe79
Adds User.comment_flags
2015-09-01 13:09:35 +02:00
kikito
c2faf0ef92
Merge Vote.in with Vote.for_debates
2015-09-01 13:08:32 +02:00