taitus
d26607183e
Add sdg help page
...
In this page we will render a list of clickable Goals icons that will show their
targets and related local targets
Co-authored-by: Senen <senenrodero@gmail.com >
2021-03-02 14:45:18 +01:00
Javi Martín
13f95e9419
Add SDG phase model
...
The purpose of this model will be to have different sections in the SDG
index.
2021-01-14 17:38:01 +01:00
Javi Martín
de4be15a8d
Add empty SDG index
2020-12-23 13:18:10 +01:00
Javi Martín
14df74fed7
Add collaborative legislation summary again
...
It was removed in commit 128a8164 because we hadn't reviewed it nor
tested it properly. We're now adding it again, fixing the issues we've
found while reviewing.
2020-09-08 13:32:08 +02:00
Javi Martín
ed6a4a1b95
Don't generate stats for budget polls
...
The link to show stats for these polls is nowhere to be seen in the
application, and these stats are included in the budget stats, so it
makes sense to restrict access to them.
2019-11-09 19:34:24 +01:00
Javi Martín
f8e6e98d3a
Define stats and result permissions with scopes
...
When defining abilities, scopes cover more cases because they can be
used to check permissions for a record and to filter a collection. Ruby
blocks can only be used to check permissions for a record.
Note the `Budget::Phase.kind_or_later` name sounds funny, probably
because we use the word "phase" for both an an attribute in the budgets
table and an object associated with the budget, and so naming methods
for a budget phase is a bit tricky.
2019-11-09 19:34:21 +01:00
Javi Martín
128a816464
Remove collaborative legislation summary
...
This feature wasn't properly tested nor reviewed, and after reviewing
several pull requests with a similar status and considering this pull
request is related to the public area of the web, we've decided to
remove it before releasing version 1.1.
This commit reverts commit 4f50e67a .
2019-11-06 17:21:03 +01:00
Javi Martín
a727dcc031
Apply Style/SymbolProc rubocop rule
...
This style is much more concise.
2019-10-26 20:10:32 +02:00
German Galia
4f50e67ac3
Collaborative legislation summary
2019-06-03 12:34:25 +02:00
voodoorai2000
d0b8fef6b3
Delete spending proposals
2019-05-31 18:22:59 +02:00
Javi Martín
4f4dc2c2af
Add show results and stats form to budgets
2019-05-22 11:50:03 +02:00
Javi Martín
66ecb2835b
Show only available budget stats phases
...
This way we can show statistics for the supports phase before the vote
phase is over.
2019-05-21 13:50:18 +02:00
María Checa
c2457e36a5
Add budget stats permissions for normal users and admins
2019-05-16 22:01:42 +02:00
Bertocq
e0e02b47c0
Add Budgets Stats Controller, route and ability on reviewing ballots and finished budget
2019-05-16 22:01:42 +02:00
Julian Herrero
54e59a8a58
LegacyLegislation migration cleanup
...
These legacy models are not used anymore.
2019-02-06 17:07:38 +01:00
Javi Martín
b95ca9df8a
Add milestones to legislation process view
2018-12-11 20:18:53 +01:00
Angel Perez
3e6cbc9505
Add basic frontend for budget executions list
2018-11-05 18:04:38 +01:00
María Checa
4713d37346
Add budget/investments#json_data method permissions
2018-03-27 15:26:48 +02:00
María Checa
b556617a80
Changed permissions to vote Legislation Proposals and Answers
2017-10-25 16:43:25 +02:00
decabeza
f0cfe50de4
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-25 11:52:31 +02:00
rgarcia
ca63e4998f
adds permissions for poll's results and stats
2017-10-23 21:34:13 +02:00
María Checa
84f67db26d
Added restrictions to access Poll results and stats
2017-10-23 14:17:25 +02:00
María Checa
70a35fbe58
Poll views improvements
...
Reorganized poll `#show`, `#stats` and `#results` views. Gave stats section its own route.
2017-10-18 18:35:53 +02:00
María Checa
35f24b519d
Merge branch 'master' into 1786-poll_results
2017-10-18 17:33:16 +02:00
María Checa
49118ea312
Gave permission to everyone to access poll results
2017-10-17 18:29:32 +02:00
iagirre
78cc09cc5a
Controllers and models to see the polls stats. Routes related also added.
2017-10-16 17:25:04 +02:00
María Checa
ebfa3fb011
Disallow users to edit their legislation proposals
2017-09-22 11:39:17 +02:00
María Checa
ba041f90c8
Removed unnecessary parts in Legislation Proposals
2017-09-21 16:17:11 +02:00
María Checa
393e9f2b6a
Added permissions for Legislation:Proposal
2017-09-14 17:38:42 +02:00
Bertocq
fafec293e8
Remove duplicated ability for everyone
2017-07-11 12:51:39 +02:00
Eduardo Martinez Echevarria
a599a0b91e
Set legislation processes visibility depending on publication
2017-06-30 15:08:23 +02:00
Bertocq
e55328caf4
Rename legislation process final_version_publication phase name to more descriptive result_publication
2017-06-13 22:04:36 +02:00
Eduardo Martinez Echevarria
2380b97bd0
Make budgets result show action available only when budget is finished
2017-06-11 23:33:05 +02:00
Juanjo Bazán
16edbf15a2
Merge pull request #1620 from consul/medialab-legislation
...
Adds Collaborative Legislation
2017-06-07 18:06:15 +02:00
Bertocq
b2c79174aa
Add new Proposal share endpoint, plus ability for ereryone to use it
2017-05-31 10:59:30 +02:00
decabeza
5e0d5fc8c3
Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation
2017-05-22 18:43:49 +02:00
Amaia Castro
5d37997a69
Redirect to allegations phase if open
2017-02-09 16:59:02 +01:00
Juanjo Bazán
113f9b32d7
Merge branch 'master' into polls
2017-01-19 16:51:19 +01:00
Amaia Castro
1af047089f
Add form to publish a new first level comment from the comments box
2017-01-19 15:42:50 +01:00
Amaia Castro
a2a61341fe
Merge branch 'master' into legislation-module-stable
2017-01-11 22:54:41 +01:00
Amaia Castro
4f539b374f
View comments for draft text
2017-01-10 17:25:02 +01:00
Amaia Castro
ee9fa3db15
Base Legislation Annotations
2017-01-04 12:56:58 +01:00
Amaia Castro
d2b3a21182
Fix abilities and add specs
2017-01-03 17:48:21 +01:00
Amaia Castro
a6ceab6d73
Answer legislation questions
2016-12-27 19:49:03 +01:00
Amaia Castro
368430d914
Legislation Question page
2016-12-22 16:00:28 +01:00
Amaia Castro
898a10b0a5
Fix abilities to see the draft publication section
2016-12-22 13:09:17 +01:00
Amaia Castro
36399277ec
Legislation Process page
2016-12-22 11:23:49 +01:00
Amaia Castro
766f509f8e
Base legislation processes and draft versions page structure for public site
2016-12-15 11:32:20 +01:00
kikito
1e3a44b380
everyone can print budget investments
2016-12-07 17:46:46 +01:00
Amaia Castro
9a9f1da5a0
Renames Legislation model to LegacyLegislation
...
Renames the model and related stuff from Legislation
to LegacyLegislation to avoid name clashes with
the future Legislation module.
2016-11-30 12:00:05 +01:00