Commit Graph

66 Commits

Author SHA1 Message Date
kikito
92ecd7c983 replaces length 9 validation by format validation: only numbers, spaces and plus sign allowed 2016-04-13 19:27:04 +02:00
kikito
005bd26965 does not require phones to be Spanish any more 2016-04-13 18:52:53 +02:00
kikito
1b1f2bc2c9 renames genre to gender in code 2016-04-13 14:27:27 +02:00
kikito
3a5928e83f aligns document verification with Madrid 2016-04-13 12:06:43 +02:00
kikito
3880ef9e24 aligns document verification with census API 2016-04-12 18:35:23 +02:00
kikito
7987a3410b Updates residence to handle CensusAPI's new response 2016-04-12 18:19:05 +02:00
kikito
2c51115d6d Residence Verification now fills up the date of birth and genre 2016-04-12 13:38:39 +02:00
rgarcia
ad3bf7f573 removes unused code 2016-02-22 21:33:08 +01:00
rgarcia
0e33382912 adds hot fix for census api failed attempt storage 2016-02-22 11:36:48 +01:00
kikito
20041a9893 removes bang method 2016-02-19 18:37:36 +01:00
kikito
06bd44c225 Fixes errors on verification/residence specs 2016-02-19 18:29:14 +01:00
kikito
f471503f35 Adds geozone to verification::residence 2016-02-19 18:29:14 +01:00
Juanjo Bazán
cf4f9945e8 checks letter verification code as integers 2015-10-27 19:15:01 +01:00
Juanjo Bazán
bd4168ef75 changes generation of letter verification code
to keep generating six digit numbers but avoid starting with zero because can led to errors when sent to users.
2015-10-27 13:32:38 +01:00
kikito
f08cf591b6 fixes an issue where users which requested a letter did not get the verification code set up 2015-10-21 12:08:56 +02:00
kikito
0d0806c9ae improvements in the letter verification error messages 2015-10-20 16:19:17 +02:00
kikito
20aee99bbf remove letter_sent verification 2015-10-20 13:16:40 +02:00
rgarcia
8904748ae2 fixes specs 2015-10-19 23:23:09 +02:00
rgarcia
5fe1bb3eee verifies the letter's code 2015-10-19 22:58:44 +02:00
rgarcia
0d01f431fb simplifies verification form 2015-10-19 20:33:10 +02:00
Juanjo Bazán
07117f4a49 includes all date in document age verification 2015-10-19 12:18:42 +02:00
rgarcia
0a668ae39a checks valid age 2015-10-19 11:20:32 +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
c07bf7e212 removes unnecessary attr_accessor 2015-10-12 14:12:03 +02:00
rgarcia
f55c3974aa refactors managed user info into management layout 2015-10-12 14:05:06 +02:00
rgarcia
5feef066dc adds managed user to session 2015-10-11 16:56:16 +02:00
kikito
99bb082555 refactors management/validations/email validations 2015-10-09 13:47:25 +02:00
kikito
131982c8e9 Moves translations from one namespace to another 2015-10-07 19:43:34 +02:00
kikito
d5d5e683d1 Refactors account_info partial 2015-10-07 19:39:59 +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
kikito
9e05a3283c Includes the document number and type in the verification email 2015-10-02 18:40:24 +02:00
kikito
75721ab186 Implements Verification::Management::Email#save + refactors 2015-10-02 13:20:44 +02:00
kikito
1fe850b6dc Renaming of management validations 2015-10-01 19:27:04 +02:00
kikito
4bb02ff564 Separate into two concerns: onsite verification + onsite verification emails 2015-10-01 14:18:11 +02:00
kikito
78d6f5e53a Adds a half-done implementation of on_site_verifications
Things missing:
* Implement models/verification/on_site#send_verification_email
* Implement the “create new user” path
* Tests
2015-09-30 21:00:42 +02:00
kikito
cc1a69c7a5 fixes error in census_api and refactors constructor 2015-09-30 10:56:57 +02:00
kikito
1c372328d9 Refactor in residence verification + census api
Needed for a new census api verification using only the document type
(no date of birth and no postal code)
2015-09-29 20:18:52 +02:00
rgarcia
fbb5db8062 removes unnecessary address from users 2015-09-26 13:45:37 +02:00
rgarcia
1dee45337b fixes specs 2015-09-23 21:08:21 +02:00
rgarcia
1d1b7b86d2 adds validation for postal codes in Madrid 2015-09-23 20:54:56 +02:00
rgarcia
1a6ee424d0 refactors postal code validation 2015-09-23 20:09:39 +02:00
rgarcia
6ccef97d4e adds valid postal codes 2015-09-23 12:34:19 +02:00
Juanjo Bazán
1f42fba8ec adds validation for allowed age 2015-09-16 18:00:49 +02:00
Juanjo Bazán
46612bd01e cleans document number before residence check 2015-09-16 17:24:29 +02:00
Juanjo Bazán
fe9241c81b adds i18n to residence document error 2015-09-16 17:24:06 +02:00
rgarcia
abc68dc868 refactors lock tries [#279] 2015-09-10 20:26:49 +02:00
Enrique García
c1c213f773 Merge pull request #461 from AyuntamientoMadrid/final_verification-395
Final letter verification
2015-09-10 20:22:42 +02:00
rgarcia
664852ce4e refactors storing of failed attempt [#277] 2015-09-10 20:16:49 +02:00
rgarcia
b7c1b4acee renames verify? methods [#395] 2015-09-10 20:08:11 +02:00
rgarcia
8186f5a240 refactors method names for validations [#395] 2015-09-10 20:06:45 +02:00