María Checa
5dfefbbe2f
Change admin budget investments list order by supports from less to more
...
Sorting by id is in descending order and by title ascending
Backported from AyuntamientoMadrid/consul
2018-07-26 12:24:53 +02:00
María Checa
4d355f3531
Added year to showed creation date and ordered by date DESC
...
Backported from AyuntamientoMadrid/consul fork
2018-07-26 10:22:42 +02:00
Bertocq
eb0919d978
Add Preview Pending action to Admin System Emails
...
Some system emails need to be manually reviewed before being sent. This
new action allows admins to see a preview of all Pending to be sent
Proposal Notification Digest messages.
2018-07-25 20:20:33 +02:00
Bertocq
5c726e0949
Add Admin System Emails view & first system email
...
Admins need to be able to see what a particular System Email looks like
with dummy data.
Also adding the first system email to be managed: the proposal
notification digest.
In case the current admin doesn't have any Notifications from
ProposalNotifications there will be a crash. We'll solve this in later
PR's with a system to "inject" sample text in email templates without
having to generate records in the database.
2018-07-25 20:20:33 +02:00
Bertocq
b9c6da245a
Add System emails menu & list to admin panel
...
We need a section to list all System Emails to view the templates and
preview an example of what would be sent.
2018-07-25 20:19:58 +02:00
Bertocq
f695a7faf3
Add AdminNotification management at admin panel
...
In the same fashion Newsletters is managed, with the only difference that
the preview is using the notification partial in the same way the index
of notifications.
2018-07-25 18:33:45 +02:00
Bertocq
4a5235f96f
Allow notifications with explicit/unexistent links
...
Notifications usually link to the associated notifiable, but the new
AdminNotifications have a link attribute that may be empty or contain an
external or internal url.
2018-07-25 18:31:41 +02:00
Alberto
61589122ef
Merge pull request #2723 from wairbut-m2c/backport_2400_combine_free_text_search_and_filters
...
Combine text search and filters for Investments on Admin panel
2018-07-25 14:42:19 +02:00
Juan Salvador Pérez García
8876b285ce
Fixes #229
...
Adds email feature for proposals dashboard
2018-07-25 13:28:44 +02:00
Juan Salvador Pérez García
e5f9cf6710
Fixed #239
...
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00
María Checa
8c69871cfa
Add logic to show only winner investments if budget is finished
...
Backported from AyuntamientoMadrid/consul
2018-07-24 11:33:38 +02:00
Angel Perez
4da23716bb
Allow admins to moderate investments
2018-07-20 18:42:34 -04:00
Angel Perez
1990092fdf
Allow moderators to hide inappropriate investments
2018-07-20 18:42:33 -04:00
Angel Perez
7bb1da1804
Adapt backend to enable flagging/unflagging investments
2018-07-20 18:42:33 -04:00
Angel Perez
8ef3e81e03
Adapt public views for flagging/unflagging investments
2018-07-20 18:42:33 -04:00
Alberto
81b102f002
Merge pull request #2577 from consul/random-order
...
Fix random order for budget investments
2018-07-20 18:31:37 +02:00
María Checa
eccf7de54c
Update version number for consul.json
2018-07-20 12:54:51 +02:00
Juan Salvador Pérez García
4b8cc85c49
Fixes #234
...
View questions now is View results and redirects to results
in public view.
Fixed flaky spec that was making the tests fail.
Added missing specs for polls feature as well as poll model.
2018-07-19 17:15:05 +02:00
Juan Salvador Pérez García
7a9faef775
Fixes #224
...
Resource cards show the request status:
* Green solved by administrator.
* Blue + button: Available
* Blue + help text: Requested
* Red: Locked
A tooltip has been added to the card to improve its readability.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
f439fc7371
Fixes #218
...
Added check in poll card that allows setting the value of
results_enabled flag.
Access to stats/results now is controlled with abilities.
Polls related to proposals will be accessible to the proposal author
like they were administrators.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
e8cd54d621
Adds community to proposals dashboard
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
a606324ee7
Implements #202
...
The link 'Checkout the complete course' in progress view shows not only
the next goal but all the upcoming goals.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
a872c5b5df
Fixes #200
...
Adds settings to complete the polls card and feature view.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
762c4faef6
Fixes #141
...
Adds ideal progress to progress graph
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
6e75f5b494
Fixes #140
...
Adds a new setting that allows defining what is considered a successful
proposal.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
39599e39ec
Fixes #190
...
Shows next goal information in progress page.
Fixed missing poll feature in features section.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
0a790b4479
Fixes #191
...
Shows goals in progress graphic
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
caffd97cc8
Implements #182
...
Implements 182. resources are shown as cards in dashboard progress view.
Implements #182
Implements 182. resources are shown as cards in dashboard progress view.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
9f0ca0cec7
Fixes #180
...
Help text added for actions form.
Fixed invialid redirection in dashboard
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
f5e5c62242
Changes in public view for porposal polls
...
Back to polls has dissapeared. A link 'Back to proposal' will be shown
instead.
The button that invites the user to take part in other polls has been
removed.
Stats will flagged as disabled when a poll for a proposal is created.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
5e71a21975
Removed fields from poll create form.
...
Poll form won't include geozones related attributes, resume nor image.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
7cdb0c8ebf
Proposal related polls won't appear in votes section
...
Proposal related polls won't be shown in the public votes section.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
3c3f60dfcc
Implements #173
...
Public view for suggested actions as well as resources has been
completelly redesigned.
Private side for this feature has been adapted as well in order to meet
the requirements.
2018-07-17 17:58:22 +02:00
Juan Salvador Pérez García
53baf983b5
Implements #169
...
Community counter now shows the community members. For performance
reasons this information is refresed once per hour.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
921d567110
Implements #175
...
General menu has been refactored to look like the mockups.
The progress menu has been refactored as well.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
59eb1a4f47
Adds progress indicator
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
50d4523ded
Current goal indicator
...
Indicator with current goal and the supports required to achieve it has
been added
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
2be107f4da
Specs
...
Added specs and fixed some issues found after executing them
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
2ce9f95283
Polls in the dashboard
...
A reduced version of polls has been added to the dashboard
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
bafdd697b8
Dashboard controllers have been refactored
...
Proposal dashboard related controllers have been refactored inside its
own namespace.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
3ee9f9b059
Removed redundant partial
...
proposal dashboard actions views use shared/errors partial instead of
its current errors partial
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
8bb3d5b3ab
frozen_string_literal removed
...
frozen_string_literal magic comment has been removed until a decission
is taken regarding to its convenience.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
690cdd9b48
Removed blank line
...
Blank line has been removed
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
f9a085a400
Implements graph for dashboard
...
Implements graph secion for dashboard.
Dashboard related actions have been agrupated inside a menu in the admin
section.
Minor bugfixes.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
c1a9f1d138
Addressed comments from sprint meeting 22/06/2018
...
New group created in administration menu including dashboard resources/
proposed tasks and pending tasks for the administrator.
Some unused files have been removed.
2018-07-17 17:52:48 +02:00
Juan Salvador Pérez García
e1ac6bfa01
Fixed issue shown resources in the dashboard
2018-07-17 17:52:48 +02:00
Juan Salvador Pérez García
89f3da25b9
Implements #138 and #139
...
Implements graph with supports for the given period.
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
33b3431c70
Implements #150
...
Adds an entry inside moderation section that allows moderators to check
pending tasks and mark them as solved.
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
83f78b1940
Fixes #135
...
Adds a table with proposed actions in the dashboard. The user can mark
an action as executed.
2018-07-17 17:51:13 +02:00
Juan Salvador Pérez García
e4e0cb65de
Implements #142
...
Dashboard actions can be proposed actions or resources
2018-07-17 17:50:05 +02:00