rgarcia
618c6f8f36
uses method instead of db attribute to check for sms verification
2017-09-06 12:25:55 +02:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01:00
rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
Juanjo Bazán
73aea8f127
rescues ahoy error stoping user verifications
2016-01-29 11:41:16 +01:00
Juanjo Bazán
3802bc78b5
removes comments
...
This controller is no longer used in /management
2015-10-23 11:22:23 +02:00
kikito
f596beaaf5
removes unnecessary conditions from before_actions in verification/letter_controller
2015-10-20 17:33:16 +02:00
kikito
18db6482f9
makes sure verifications only happen for signed in users when doing a letter verification
2015-10-20 17:18:28 +02:00
kikito
0d0806c9ae
improvements in the letter verification error messages
2015-10-20 16:19:17 +02:00
rgarcia
5fe1bb3eee
verifies the letter's code
2015-10-19 22:58:44 +02:00
rgarcia
5ac2784294
removes unnecessary layout
2015-10-19 20:32:55 +02:00
rgarcia
a6fd1fb489
moves letter verification to letter controller
2015-10-19 19:38:22 +02:00
rgarcia
fd8684e713
redirects to show after asking for letter
2015-10-19 19:32:53 +02:00
kikito
050971c459
modifies email controllers: management email makes users level two verified, and sets their document number permanently. Fixes failing test
2015-10-13 17:20:39 +02:00
rgarcia
f5d0b8083f
adds change me note
2015-10-12 14:06:02 +02:00
kikito
5b21fc464f
Fixes failing tests
2015-10-08 19:59:33 +02:00
kikito
3ed5c269e4
Adds unconfirmed_document_number into email verifications
...
It also makes sure that when a user is considered level 3 is also
considered residence-verified.
2015-10-02 18:44:15 +02:00
rgarcia
f0b1f1901e
fixes typo
2015-09-28 12:05:06 +02:00
rgarcia
24a60bdbf2
removes unnecessary condition and flash
2015-09-28 11:59:03 +02:00
Alberto Garcia Cabeza
0b2cf1e2bb
Changes final verification step page
2015-09-14 19:18:50 +02:00
Juanjo Bazán
dbdd149c06
redirects user to sms if no verified data
...
Fixes #433
2015-09-12 21:42:17 +02:00
Juanjo Bazán
f517d7f410
adds before action for verified users
2015-09-11 16:44:52 +02:00
rgarcia
abc68dc868
refactors lock tries [ #279 ]
2015-09-10 20:26:49 +02:00
rgarcia
b7c1b4acee
renames verify? methods [ #395 ]
2015-09-10 20:08:11 +02:00
rgarcia
cdda0ec34a
removes unused i18n key [ #395 ]
2015-09-10 14:31:33 +02:00
Enrique García
78f35673b3
Merge pull request #457 from AyuntamientoMadrid/letter_verification_tries-332
...
Letter verification tries
2015-09-10 13:21:31 +02:00
rgarcia
16dd609ad0
adds verification tries to letter code [ #332 ]
2015-09-10 11:43:25 +02:00
rgarcia
9360c0090e
tracks level 2 verified users
2015-09-10 11:03:31 +02:00
rgarcia
34218d112b
increases residence verification tries after a Census call
2015-09-05 23:57:47 +02:00
rgarcia
d0d33cc517
sends custom emails with delayed jobs
2015-09-03 22:48:29 +02:00
rgarcia
4d97063887
removes unused spec
2015-09-02 21:59:51 +02:00
rgarcia
99d779bcec
adds letter code verification
2015-09-02 21:57:03 +02:00
Alberto Garcia Cabeza
da86c5d6e0
Adds styles for verification account process
2015-09-02 12:34:08 +02:00
Juanjo Bazán
3217d262b4
Merge pull request #292 from AyuntamientoMadrid/mask_user_data
...
Mask user data
2015-08-30 15:22:25 +02:00
rgarcia
76daee1fb0
removes unmasked emails and phones in forms
2015-08-30 15:16:33 +02:00
rgarcia
9abd794133
validates acceptance of census terms of service
2015-08-30 12:50:17 +02:00
Juanjo Bazán
e8463d1372
moves Residence model to Verification namespace
2015-08-29 12:38:07 +02:00
Juanjo Bazán
e33723635b
moves Email model to Verification namespace
2015-08-29 12:26:20 +02:00
Juanjo Bazán
e6fd62189b
moves Sms model to Verification namespace
2015-08-29 12:17:27 +02:00
Juanjo Bazán
50dcbcdf9b
moves Letter to Verification namespace
2015-08-29 12:07:43 +02:00
rgarcia
f7d22f64b6
adds letter verification
2015-08-27 23:58:31 +02:00
rgarcia
570f67195c
adds email verification
2015-08-27 23:57:04 +02:00
rgarcia
3fc8d830f1
adds verified users concept
2015-08-27 23:56:10 +02:00
rgarcia
671399bb89
adds sms verification
2015-08-27 23:54:57 +02:00
rgarcia
07180bcd04
adds residence verification
2015-08-27 23:53:49 +02:00