decabeza
0c704c2f06
Replace i18n destroy to delete
2019-05-17 17:41:38 +02:00
Alberto
d845c6e973
Merge pull request #3476 from consul/delete-poll
...
Allow delete polls with associated questions and answers
2019-05-17 17:38:20 +02:00
Alberto
7c79965547
Merge pull request #3397 from consul/proposals-form
...
Remove question and external_url fields from proposals and legislation proposals
2019-05-17 17:08:56 +02:00
María Checa
0c6e7e7580
Adds Sluggable concern to Poll model
2019-05-17 05:41:09 +02:00
Javier Martín
668b6cfd73
Merge pull request #3499 from consul/backport-admin_stats
...
Add admin budget stats
2019-05-16 20:41:39 +02:00
Juanjo Bazán
f22a97468b
makes code heading_id agnostic
2019-05-16 14:45:46 +02:00
Juanjo Bazán
110ee961e3
adds budget stats for final voting to admin stats
2019-05-16 14:45:46 +02:00
Juanjo Bazán
5be54b57da
reduces current admin budget stats as supporting phase
2019-05-16 14:45:45 +02:00
rgarcia
11437a1d40
add budget investment stats
2019-05-16 13:41:49 +02:00
rgarcia
be757f79d0
cleans up
2019-05-16 13:37:47 +02:00
rgarcia
b628631769
fixes specs
2019-05-16 13:37:47 +02:00
rgarcia
1f8d19c8ba
adds basic graph specs
2019-05-16 13:37:47 +02:00
Javier Martín
c39a3d7525
Merge pull request #3492 from consul/backport-fix_delete_budget_with_polls
...
Don't destroy budgets with an associated poll
2019-05-16 13:07:18 +02:00
decabeza
e026412389
Add button to delete a poll
2019-05-14 16:46:56 +02:00
Javi Martín
1b323383a8
Don't destroy budgets with an associated poll
...
We were getting an exception due to foreign key database violations.
2019-05-13 13:44:58 +02:00
Javi Martín
9c991297c5
Fix typo
2019-05-13 13:44:58 +02:00
Alberto
60c02cc19a
Merge pull request #3466 from consul/admin-documents
...
Add document uploads from admin section
2019-05-10 17:57:22 +02:00
Javi Martín
63fef66f41
Remove obsolete reference to proposal question
2019-05-09 12:58:14 +02:00
decabeza
a57397dd6c
Always use map image from admin site customization images
2019-05-07 14:43:04 +02:00
decabeza
367c2e7b78
Fix hound warnings
2019-04-30 12:06:56 +02:00
decabeza
b023ceabdd
Fixes not_to hound warnings
2019-04-30 12:00:54 +02:00
decabeza
62a29e2cf9
Adds missing i18n
2019-04-30 12:00:46 +02:00
voodoorai2000
19b7526421
Add document upload from admin section
2019-04-30 11:59:08 +02:00
decabeza
0995480b73
Remove question and external_url fields from proposals
2019-04-30 11:35:47 +02:00
decabeza
0a40c747a3
Add default actions list on admin dashboard actions index
2019-04-24 14:05:05 +02:00
decabeza
19c158f4eb
Add pending and done filters to dashboard administrator tasks
2019-04-24 13:58:27 +02:00
decabeza
cb22e6cbfb
Merge branch 'master' into proposal-dashboard
2019-04-23 17:12:47 +02:00
rgarcia
d8fdc10ed6
fixes activity specs
2019-04-16 17:28:07 +02:00
decabeza
94b8caffca
Merge branch 'master' into proposal-dashboard
2019-04-04 14:08:30 +02:00
lalo
237a03552f
Move admin budget investments tabs filters to advanced filters component
2019-04-03 22:27:48 +02:00
lalo
0a5057a0a8
Add max support advanced filter for admin budget investments
2019-04-02 19:46:16 +02:00
decabeza
2af154d539
Merge branch 'master' into proposal-dashboard
2019-03-28 01:26:04 +01:00
decabeza
91be3cf775
Fix more hound warnings
2019-03-27 15:22:14 +01:00
decabeza
f47ec9d7dc
Fix hound warnings
2019-03-26 18:21:19 +01:00
decabeza
eda6ea7f12
Merge branch 'master' into dashboard
2019-03-26 16:45:48 +01:00
Javi Martín
d894d24bff
Use double quotes in config/locales
2019-03-25 14:58:54 +01:00
Senén Rodero Rodríguez
9d9ad5003b
Add given_order to related poll question answers forms
...
Since given order is no longer being generated automatically we need
to add it to related forms and to strong parameters methods
2019-03-21 14:51:17 +01:00
Javier Martín
0fd9570ea8
Merge pull request #3384 from consul/backport-simplify_poll_factories
...
Simplify poll factories
2019-03-20 14:32:47 +01:00
Julian Herrero
89d4ea5aa3
Remove homepage widget settings from configuration tab
...
- Rename homepage widget settings keys
2019-03-19 19:45:34 +01:00
Julian Herrero
c82b2a975a
Add new settings tab for participation processes
...
- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
2019-03-19 19:45:32 +01:00
Julian Herrero
dbac4bc222
Change admin settings tab for maps
...
- Rename map settings keys
- Add fields for latitude, longitude and zoom
- Add a callout message on how to enable map feature
2019-03-19 18:14:57 +01:00
Julian Herrero
8ae80cd1a1
Cleanup (remove unnecessary code)
2019-03-19 15:11:50 +01:00
Javi Martín
d69adbccb7
Avoid creating extra poll records in tests
...
The line:
create(:poll_voter, booth_assignment: booth_assignment_final_recounted)
Creates a new poll for the poll voter. Not only it wastes time by
creating new database records, but it doesn't make sense to have a poll
voter for a poll which isn't the same as its booth assignment's poll.
2019-03-19 13:29:45 +01:00
Javi Martín
8118926ba7
Simplify tests creating poll voters
2019-03-19 13:29:43 +01:00
Julian Herrero
58f22915e9
Use double quotes
2019-03-15 09:57:09 +01:00
Julian Herrero
da04f6caa7
Add test for booth votes case
2019-03-15 09:55:12 +01:00
Julian Herrero
ddca825f9f
Update spec after adding default pages
...
The spec was assuming there was only 1 custom page created in the
DB. With this change the spec will pass no matter how many custom
pages there are in the DB.
2019-03-14 18:35:51 +01:00
Julian Herrero
87be6f302c
Add default site customization pages
...
From now on these static pages:
`/privacy'
`/conditions'
`/accesibility'
`/help/faq'
`/welcome'
have been moved to the DB and can be modified easily by any
administrator in `/admin/site_customization/pages'
2019-03-14 18:35:51 +01:00
Alberto
3c313c9c52
Merge pull request #3334 from consul/admin-polish
...
Improve UX on admin section
2019-03-13 17:15:22 +01:00
decabeza
b31b65f246
Add link to proposal if question was created from a proposal
2019-03-13 15:35:31 +01:00