lalo
be8a0dbe8a
Add Milestone tag select filter on executions public page
2019-06-07 14:17:32 +02:00
lalo
63e0cd02d0
Display milestone_tags input for investments, display milestone_tags on admin and tests
2019-06-07 14:07:43 +02:00
lalo
3282606be2
Add act_as_taggable_on milestoneable concern
2019-06-07 14:07:43 +02:00
lalo
46e5d6a9fa
Create Legislation::PeopleProposal model
2019-06-06 17:22:49 +02:00
Javi Martín
0cca8c2cc1
Check the comment is present after commenting
...
We've got a bug which causes the admin description not to appear
immediately after commenting, due to the `admin_layout` variable being
false when we add a comment using an AJAX request.
So the test reloaded the page to check the admin description was there.
However, sometimes reloading the page is faster than the AJAX request,
and so the comment is not there yet.
By checking the results of the AJAX request before reloading the page,
the test passes.
A proper solution would be to display the admin description or name
right after the comment is added.
2019-06-06 14:18:32 +02:00
Javier Martín
b14661e378
Merge pull request #3581 from consul/duplicate_translations
...
Avoid duplicate records using translations
2019-06-06 13:08:05 +02:00
Javi Martín
da59315530
Don't show links to budget results if disabled
2019-06-06 12:18:05 +02:00
Raimond Garcia
a874d25bfa
Merge pull request #3413 from LextrendIT/feature/notify_evaluation_comments
...
notify by email new evaluation comments
2019-06-06 11:29:38 +02:00
Javier Martín
72c6b05c64
Merge pull request #3376 from LextrendIT/3350_rename_debates_comments_admin
...
Refactor admin/debates and admin/comments to hidden
2019-06-05 19:15:21 +02:00
Julian Nicolas Herrero
7802305b18
Merge pull request #3585 from consul/images_and_documents_settings
...
Images and documents settings
2019-06-05 19:11:22 +02:00
Javier Martín
81b67349f2
Merge pull request #3580 from consul/use_find_instead_of_find_by_id
...
Use find instead of find by
2019-06-05 19:04:47 +02:00
Javier Martín
cbad8ad416
Merge pull request #3389 from LextrendIT/feature/add_description_field_to_administrator_users_like_evaluators
...
Add description field to administrator users like evaluators description
2019-06-05 18:36:16 +02:00
lalo
28815cb290
Create new email template for new evaluation comment created and add it to system_emails view
2019-06-05 16:22:12 +02:00
lalo
d721920b97
Display commenter as admin description or name
2019-06-05 16:19:31 +02:00
lalo
d0e1eff532
Add description field to administrator users like evaluators description
2019-06-05 16:18:12 +02:00
Julian Herrero
1f76b25e2a
Show name and email for deleted poll officer's user account
...
Avoid to raise an exception `Module::DelegationError' when trying to
show the name and/or email of a poll officer whose user account has
been deleted.
We'll show a message "User deleted" and "Email deleted" instead.
2019-06-04 18:55:51 +02:00
Julian Herrero
8e0bbf54f6
Replace harcoded images and documents settings
2019-06-04 11:50:09 +02:00
Julian Herrero
220bfb065a
Add images and documents settings to admin panel
2019-06-04 11:47:22 +02:00
Julian Herrero
e32faf3a3c
Extract setting prefix to a method
...
We may need to access the setting key prefix in the future, so it's
better to have it in a method to avoid duplication
2019-06-04 11:39:53 +02:00
Javi Martín
481184e7f3
Fix accidental translations join
...
We added the code thinking we were ordering by the name of the poll, but
here we're actually ordering by the name of the booth.
2019-06-03 18:36:03 +02:00
Javi Martín
dadbf873ba
Order translations using ruby
...
Joining the translations table caused duplicate records to appear.
Ordering with SQL is simply too hard because we need to consider
fallback locales.
Thanks Senén for providing most of the tests in the poll spec.
2019-06-03 18:35:59 +02:00
Julian Herrero
b122302c58
Use find instead of find_by_id
...
Better raise a 404 HTML NotFound exception than any other unexpected error.
2019-06-03 17:54:19 +02:00
rgarcia
998b4d9e39
Load budgets using slugs
2019-06-03 16:54:39 +02:00
Javier Martín
90c1d681d0
Merge pull request #3576 from consul/new_settings
...
Add new settings automatically on every deployment
2019-06-03 11:54:44 +02:00
German Galia
85722eb7c4
Rename admin/debates and admin/comments to hidden
2019-06-02 19:12:26 +02:00
Alberto
2f8505332e
Merge pull request #3574 from consul/remove-dashboard-polls
...
Allow users to delete dashboard polls
2019-06-01 11:06:34 +02:00
Alberto
8ee396f311
Merge pull request #3573 from consul/improve-ux
...
Add help texs, links and new message section to improve UX
2019-06-01 10:38:52 +02:00
Alberto
51e27fb6ed
Merge pull request #3572 from consul/user-polls
...
Hide polls created by users from proposals dashboard on admin poll index
2019-06-01 10:38:07 +02:00
Javi Martín
bb504d90fb
Add method to add new settings
2019-05-31 19:33:31 +02:00
voodoorai2000
cb9c3696f4
Use budget investments in useful specs
2019-05-31 18:23:03 +02:00
voodoorai2000
2f5d153581
Delete migration to budget investments
2019-05-31 18:23:03 +02:00
voodoorai2000
d0b8fef6b3
Delete spending proposals
2019-05-31 18:22:59 +02:00
voodoorai2000
24dde9c35e
Delete valuation
2019-05-31 15:43:06 +02:00
voodoorai2000
a932737881
Delete ballots
2019-05-31 15:43:06 +02:00
Julian Nicolas Herrero
3ba7bd1cab
Merge pull request #3567 from consul/select_proposals_by_admins
...
Make proposals to be selected by administrators
2019-05-31 15:30:39 +02:00
Javier Martín
888c161944
Merge pull request #2616 from consul/show_votes_associated_to_signatures
...
Show count of votes associated to verified signatures
2019-05-31 15:30:04 +02:00
decabeza
a3799aa87c
Update link to selected proposals on proposals spec
2019-05-31 12:25:01 +02:00
decabeza
7ed80d7883
Move link to selected proposals on proposals index
2019-05-31 12:24:10 +02:00
decabeza
3855bf26ad
Allow users to delete dashboard polls
2019-05-31 11:55:23 +02:00
decabeza
bc1fc5d929
Add button to delete a poll
2019-05-31 11:55:05 +02:00
decabeza
4c5b2723f4
Create new messages section for proposal's dashboard
2019-05-31 11:42:15 +02:00
decabeza
6b85ed8747
Add show and collapse text on comments tree
2019-05-31 11:40:57 +02:00
decabeza
0154bc556d
Add link to comment path on comment date
2019-05-31 11:40:53 +02:00
decabeza
5fd493cd2c
Add link to process on legislation processes proposals
2019-05-31 11:40:48 +02:00
decabeza
cec1d5e5f0
Hide polls created by users from proposals dashboard on admin poll index
2019-05-31 11:34:55 +02:00
Bertocq
d9fdc2e0f2
Show votes associated to verified signatures
2019-05-30 18:38:46 +02:00
Javier Martín
087a21b4ca
Merge pull request #3565 from consul/fix_annotation_comments_order
...
Fix order in annotation comments with same score
2019-05-30 18:25:04 +02:00
Javi Martín
31515ddd45
Include blank and null ballots in booth totals
...
Just the same way it's done for all polls.
2019-05-30 17:22:41 +02:00
Javi Martín
123196e4ed
Display the same results for stats and recounts
...
In the recounts we were incorrectly assuming the total amount included
the blank and invalid ballots.
2019-05-30 17:22:39 +02:00
Julian Herrero
d4ec750428
Show archived proposals in selected proposals list
2019-05-30 11:19:38 +02:00