Commit Graph

1932 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Juanjo Bazán
39119b9d6b adds base controller for management 2015-09-29 17:34:17 +02:00
Juanjo Bazán
1a28328c20 adds :management namespace 2015-09-29 16:59:15 +02:00
rgarcia
01fe3bfc83 touch application.scss 2015-09-29 16:26:52 +02:00
Juanjo Bazán
bbc317c95b Merge pull request #570 from AyuntamientoMadrid/refactoring_controllers
Refactoring controllers
2015-09-29 16:02:32 +02:00
rgarcia
e1a2c0f523 changes commentable concern for commentable_actions concern 2015-09-29 15:56:55 +02:00
rgarcia
1360d07df1 removes unnecessary singularize call 2015-09-29 12:03:37 +02:00
rgarcia
b7f115b710 users resource_model instead of controller_name 2015-09-29 12:03:19 +02:00
rgarcia
25c38f942e refactors resource_class into resource_model 2015-09-29 12:01:46 +02:00
rgarcia
ac88ea98e9 fixes typo 2015-09-29 11:58:29 +02:00
Enrique García
d4a1ddecec Merge pull request #572 from AyuntamientoMadrid/dependencies
upgrade newrelic gem version
2015-09-29 10:27:04 +02:00
rgarcia
22222bcf4c uses resource instead of commentable 2015-09-28 21:16:47 +02:00