Commit Graph

1173 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
984ecd80f4 Fixes issue when a user does login without stored path 2015-10-06 18:48:57 +02:00
kikito
5e327f0ae0 Applies the same renaming done in management.yml to the views 2015-10-05 19:40:10 +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
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
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
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
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
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
rgarcia
22222bcf4c uses resource instead of commentable 2015-09-28 21:16:47 +02:00
rgarcia
0074422977 uses resource_class instead of controller_name 2015-09-28 20:46:18 +02:00
rgarcia
75181e9cf4 adds consistency and speed to auxiliary methods 2015-09-28 20:19:24 +02:00
rgarcia
066606f901 refactoring commentable concern 2015-09-28 20:14:38 +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
708a41ee1c refactors debate and proposal controllers 2015-09-28 19:23:32 +02:00
Raimond Garcia
d541db8acf Merge pull request #564 from AyuntamientoMadrid/ability-split
Splits ability.rb and specs into several smaller files
2015-09-28 17:36:10 +02:00
Enrique García
a050dfd1c1 Merge pull request #559 from AyuntamientoMadrid/address
removes unnecessary address from users
2015-09-28 17:35:48 +02:00
kikito
e76d2b9ad6 fixes travis 2015-09-28 17:19:53 +02:00
Raimond Garcia
adbb272bfe Merge pull request #568 from AyuntamientoMadrid/design_stats
Design stats
2015-09-28 16:41:56 +02:00
rgarcia
6426bd3a29 refactors debate and proposal flag actions 2015-09-28 16:34:43 +02:00
Juanjo Bazán
e7c6c88c17 Merge pull request #567 from AyuntamientoMadrid/refactoring
Refactoring models
2015-09-28 16:04:42 +02:00
kikito
636e6bd479 second attempt at fixing travis 2015-09-28 15:49:28 +02:00