Commit Graph

1945 Commits

Author SHA1 Message Date
kikito
37592d8fa5 Fixes i18n failures 2015-10-08 17:19:29 +02:00
kikito
4c7dcbed39 Fixes welcome specs and adds a couple more tests 2015-10-08 16:26:41 +02:00
kikito
f7ac7a526d merge with master 2015-10-08 15:26:33 +02:00
kikito
26072eebeb adds management styles 2015-10-08 15:24:21 +02:00
kikito
ffe06729c1 Changes message when the user is created by managers 2015-10-08 15:20:06 +02:00
kikito
10de596a94 Adds missing parameter for confirmations 2015-10-08 15:19:28 +02:00
kikito
d351daedd4 Adds document_number-related constraints to User 2015-10-08 15:19:11 +02:00
kikito
5f74528f12 Modifies devise so that unconfirmed users w/o password can set it when confirming their account 2015-10-07 20:18:54 +02:00
kikito
b6aaad87af Adds a user controller for management 2015-10-07 20:18:17 +02:00
kikito
6cfb23bc40 Fixes typo 2015-10-07 19:45:09 +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
Alberto García Cabeza
27f59f4aff Merge pull request #586 from AyuntamientoMadrid/layout-change
adds management layout
2015-10-07 10:34:16 +02:00
kikito
bc841a4799 Adds test for Management::EmailVerifications 2015-10-06 18:50:54 +02:00
kikito
984ecd80f4 Fixes issue when a user does login without stored path 2015-10-06 18:48:57 +02:00
kikito
615527b532 adds specs for verification/management/email.rb 2015-10-06 18:02:25 +02:00
Juanjo Bazán
7b3d3243b8 adds management layout 2015-10-06 14:32:01 +02:00
kikito
8423da58a1 Feature specs for management/document_verifications 2015-10-05 19:40:27 +02:00
kikito
5e327f0ae0 Applies the same renaming done in management.yml to the views 2015-10-05 19:40:10 +02:00
kikito
8d950a5862 includes the document type when creating a level 2 and level 3 user via a factory 2015-10-05 19:39:20 +02:00
kikito
93f4bfcc4b Lots of renaming in management.en & es.yml 2015-10-05 19:38:58 +02:00
kikito
6f799ae32e Extracts common elements out of management views 2015-10-05 11:49:15 +02:00
Raimond Garcia
4cfea12894 Merge pull request #579 from AyuntamientoMadrid/login-management
Login management
2015-10-05 10:15:27 +02:00
kikito
9ddc9c57b7 Do not show the welcome screen to administrators 2015-10-02 18:44:28 +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
967bfc5b31 Moves the humanize_document_type helper to a new helper file called user 2015-10-02 18:40:56 +02:00
kikito
9e05a3283c Includes the document number and type in the verification email 2015-10-02 18:40:24 +02:00
kikito
8a1b01e985 Adds unconfirmed_document_number to user via migration 2015-10-02 18:37:53 +02:00
kikito
fc11a3b41b Restores the usage of the stored path instead of forcing root path after every login 2015-10-02 18:37:15 +02:00
kikito
5069f86eb9 Skips the welcome screen when the user is verifying via email 2015-10-02 18:36:40 +02:00
kikito
fa19490991 Adds extra error message to mL 2015-10-02 13:21:01 +02:00
kikito
75721ab186 Implements Verification::Management::Email#save + refactors 2015-10-02 13:20:44 +02:00
kikito
3786d9d67f Fixes typo 2015-10-02 13:19:57 +02:00
kikito
1fe850b6dc Renaming of management validations 2015-10-01 19:27:04 +02:00
Juanjo Bazán
20bf9d7186 adds auth before filter to verify manager 2015-10-01 17:59:36 +02:00
Juanjo Bazán
fe9cd8dc44 adds i18n file for management 2015-10-01 17:59:01 +02:00
Juanjo Bazán
f77ea6722c fixes missing templates 2015-10-01 17:53:37 +02:00
Juanjo Bazán
742ea1bd2e adds management/sessions controller 2015-10-01 17:53:15 +02:00
Juanjo Bazán
442e706ecd Merge pull request #578 from AyuntamientoMadrid/management-dashboard
Dashboard for management
2015-10-01 16:42:47 +02:00
kikito
0be4a96648 adds management dashboard index view 2015-10-01 16:42:16 +02:00
kikito
259ee49466 Dashboard for management 2015-10-01 14:23:27 +02:00
kikito
4bb02ff564 Separate into two concerns: onsite verification + onsite verification emails 2015-10-01 14:18:11 +02:00
kikito
988304e3df Dashboard for management 2015-10-01 14:17: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
b5a4830871 Adds User.by_document scope 2015-09-30 20:53:57 +02:00
kikito
c24eebed3c Modifies the way dev_seeds verifies users
Previously level 3 users did not have level 2 info
2015-09-30 20:53:36 +02:00
kikito
bbce73f12a Adds i18n entry: error.messages.user_not_found 2015-09-30 20:53:02 +02:00
Enrique García
94e747d4e1 Merge pull request #576 from AyuntamientoMadrid/manager-model
creates Manager
2015-09-30 12:13:03 +02:00
Juanjo Bazán
9f48b1d94d Merge pull request #574 from AyuntamientoMadrid/management-census-api-mod
Refactor in residence verification + census api
2015-09-30 12:06:51 +02:00
Juanjo Bazán
b921c67676 creates Manager 2015-09-30 11:49:28 +02:00