Commit Graph

1554 Commits

Author SHA1 Message Date
rgarcia
25729ac259 cleans up 2016-12-21 18:55:28 +01:00
rgarcia
675081141c refactors signatures 2016-12-21 18:46:31 +01:00
Juanjo Bazán
78db093e49 moves validation error message 2016-12-21 14:21:02 +01:00
Juanjo Bazán
bc690748fd adds dates validation to polls 2016-12-21 13:50:15 +01:00
Amaia Castro
d25d6c178c Legislation Questions model and basic admin 2016-12-20 18:52:43 +01:00
rgarcia
b10dbd7cb5 adds specs 2016-12-20 18:00:36 +01:00
rgarcia
4eb700e3d4 refactors signature sheets 2016-12-20 16:46:08 +01:00
rgarcia
3c682b8a9b adds signature sheets 2016-12-20 12:21:05 +01:00
kikito
be2543cf61 Uncomments ability section 2016-12-19 19:03:46 +01:00
kikito
19e19e5c43 Fixes error when trying to denormalize a model whose dependent field is nil 2016-12-16 18:00:18 +01:00
kikito
316c0cff62 Adds missing method to budget 2016-12-16 17:59:03 +01:00
kikito
355e286608 De-normalizes references in budgetballotline automatically 2016-12-15 18:17:52 +01:00
Amaia Castro
86009bfcac Render TOC for legislation draft versions 2016-12-15 11:32:20 +01:00
Amaia Castro
766f509f8e Base legislation processes and draft versions page structure for public site 2016-12-15 11:32:20 +01:00
Amaia Castro
e4315f94c8 Merge branch 'master' into legislation-module-stable 2016-12-15 11:26:22 +01:00
Raimond Garcia
392f00cdbd Merge pull request #1282 from amiedes/crud-geozones-PRs
[Finished] Allow admins to manage geozones
2016-12-14 19:25:17 +01:00
kikito
8d60ea1d3c Refactors apply_filters_and_search to inside investment model 2016-12-14 13:39:54 +01:00
kikito
4434a601d3 Implements several helper methods for formatting amounts 2016-12-14 11:49:16 +01:00
Amaia Castro
8c9cfa8b3f Merge branch 'master' into legislation-module-stable 2016-12-14 11:48:28 +01:00
kikito
d5065fe021 fixes typo: ammount -> amount 2016-12-14 11:11:06 +01:00
Alberto Miedes Garcés
402b07d959 Expose Proposal public_author using scopes instead of modules 2016-12-13 14:04:53 +01:00
Alberto Miedes Garcés
c22a80b48f Move geozone 'safe to destroy' check from controller to model 2016-12-13 12:30:47 +01:00
rgarcia
6b0f8eb62b do not allow verification of deregistered accounts 2016-12-12 19:11:00 +01:00
rgarcia
b12c8d3a5d validates document uniqueness only for active accounts 2016-12-12 19:11:00 +01:00
rgarcia
93841b87ad maintains associated document number when erasing account 2016-12-12 19:11:00 +01:00
Alberto Miedes Garcés
82954c922a Expose public_author for proposals 2016-12-11 15:42:17 +01:00
Alberto Miedes Garcés
fea2009396 Ability to edit geozones from admin dashboard 2016-12-07 22:08:22 +01:00
Alberto Miedes Garcés
4b31360d2e Updated geozone model associations 2016-12-07 22:04:39 +01:00
kikito
748fd8becf Makes all tests pass in bi management 2016-12-07 19:16:37 +01:00
Juanjo Bazán
bdf16395d3 removes poll_id from voter
YAGNI
2016-12-07 19:11:43 +01:00
kikito
1e3a44b380 everyone can print budget investments 2016-12-07 17:46:46 +01:00
kikito
b3be1633af Fixes all management bi issues except filtering by geozone 2016-12-07 16:35:27 +01:00
Juanjo Bazán
45d26f6dee refactors poll::voter
now belongs_to booth_assignment instead of to booth
2016-12-06 20:20:18 +01:00
kikito
5538c70931 Introduces budget.translated_phase 2016-12-06 17:52:14 +01:00
Juanjo Bazán
ad2dd7d267 adds officer-polls relation and spec 2016-12-06 14:51:53 +01:00
Juanjo Bazán
891516a0b9 changes officer assignments to polls via new model/relation 2016-12-06 14:33:06 +01:00
Amaia Castro
e4fe499e66 DraftVersion base model and very basic admin pages 2016-12-06 12:10:20 +01:00
kikito
2ced3e91d6 Fixes typo 2016-12-05 17:32:46 +01:00
kikito
703cc72953 Replace helper function by decorator methods 2016-12-05 17:28:30 +01:00
Amaia Castro
369804a2ba Base Legislation::Process model and admin page 2016-12-05 13:24:23 +01:00
Alberto Miedes Garcés
6175990533 Admin geozones: index, create
Modified Geozone factory and seeds to be more complete
2016-12-04 21:19:36 +01:00
Alberto Miedes Garcés
fdea4ad6ac Merge branch 'master' into api-dev 2016-12-03 13:53:13 +01:00
kikito
f677d90f73 Implements bi.should_show_ballots? 2016-12-02 20:10:07 +01:00
kikito
3508c6d59c Implements decorator methods in investment 2016-12-02 19:24:01 +01:00
Juanjo Bazán
6419878741 fixes booth-poll relation 2016-12-02 14:24:31 +01:00
kikito
00cfb95913 Starts fixing management budget investments 2016-12-01 16:31:05 +01:00
kikito
424d0201c4 Adds denormalized ids to budget investment 2016-12-01 14:14:05 +01:00
Juanjo Bazán
bd59ba3b82 adds poll/booth_assigments 2016-12-01 13:02:03 +01:00
Juanjo Bazán
9583c052f0 removes poll-booth direct association 2016-12-01 13:02:03 +01:00
Alberto Miedes Garcés
76dd11631a Fixes error initializing database 2016-11-30 13:38:13 +01:00