Alberto
7b8003dcb9
Merge pull request #2790 from wairbut-m2c/backport-1421-investments_csv_fixes
...
Add visible_to_valuators and author_username to admin investments CSV
2018-07-25 18:41:29 +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
Bertocq
45488d117a
Create AdminNotification model, spec and factory
2018-07-25 18:30:29 +02:00
María Checa
e9d73eb687
Fix max_per_heading filter in Admin budget investments list
...
Also changed the name of the param to `min_total_supports`, which is more descriptive on what it actually does.
Backport of 75f20d5 and 07f0806 from AyuntamientoMadrid/consul fork
2018-07-25 15:44:51 +02:00
Marko Lovic
601e3058d8
Add visible_to_valuators and author username to admin investments CSV
...
Backport based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
2018-07-25 15:10:56 +02:00
Marko Lovic
5413c34458
Restructure and rename translations
...
Based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
2018-07-25 15:10:09 +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
c64e93867a
Allow moderators to moderate investments
2018-07-20 18:42:34 -04:00
Angel Perez
7bb1da1804
Adapt backend to enable flagging/unflagging investments
2018-07-20 18:42:33 -04:00
Angel Perez
bcb0b9fbfa
Enable moderation abilities for Budget::Investment model
2018-07-20 18:03:11 -04:00
rgarcia
4cd5bb90d4
Fix validation error when creating proposals without user verification
...
We were getting a validation error when skipping user verification and
creating proposals
This was due to the responsible_name being empty for unverified users
As skipping user verification is a temporary setting used until Census
integration is configured, we can safely skip this validation when this
setting is active
2018-07-20 11:53:01 +02:00
Juan Salvador Pérez García
4ee0a94241
Fixed last minute bugs
...
Fixed last minute bugs with polls
2018-07-19 10:00:37 +02:00
Juan Salvador Pérez García
0e8746299d
Fixes #232
...
In proposal's dashboard, inside community section, the latests topics
has been replaced by latest messages.
2018-07-18 16:50:51 +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
ba753f3649
Fixes #222
...
Community view shows the polls for the given proposal.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
7e43206ac0
Fixes #220
...
Description as well as short description will be optional for proposal
dashboard actions.
Additionally some minor bugfixes have been fixed.
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
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
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
33d227d5dd
Proposal community
...
Poll participants become automatically members of the proposal community
2018-07-17 17:59:11 +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
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
3eaf8dbe9f
Fixed redundant scope condition
...
Redundant scope condition found in Proposal.created_by scope. It has
been removed.
2018-07-17 17:53:18 +02:00
Juan Salvador Pérez García
706fdae6d5
%i arrays of symbols
...
%i arrays of symbols have been replaced by standard arrays of symbols in
order to keep the consistency.
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
e1ac6bfa01
Fixed issue shown resources in the dashboard
2018-07-17 17:52:48 +02:00
Juan Salvador Pérez García
a00f1f7eaf
Fixed issue in concern that was causing some tests to fail
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
Juan Salvador Pérez García
1464bddfa8
Fixes #134
...
Adds an administration interface for the proposal dashboard actions.
2018-07-17 17:48:46 +02:00
Juan Salvador Pérez García
212c088d35
Implements #144
...
Creates the basic layout for the dashboard
2018-07-17 17:47:40 +02:00
Juan Salvador Pérez García
77dd60427d
Implements story #136
...
Adds draft state for proposals
2018-07-17 17:46:54 +02:00
Angel Perez
31c16406c0
Move disable recommendations permissions to Abilities::Common model
2018-07-15 21:28:58 -04:00
Angel Perez
a143fa447b
Ensure recommendations are only shown when enabled
2018-07-15 21:28:58 -04:00
Angel Perez
463c753880
Recommendations are automatically disabled if dismissed by user
2018-07-15 21:28:58 -04:00
Angel Perez
a58f6a2662
Enable 'Recommended proposals' setting for users
2018-07-15 21:28:57 -04:00
Angel Perez
522c206f6d
Enable 'Recommended debates' setting for users
2018-07-15 21:28:57 -04:00
iagirre
0d9da5398b
Fix banners in user pages
...
Banners were not been shown in certain pages; now
they are.
Spec to check if the banner is been shown correctly
added. Before it was in admins specs, now it has it's
own spec out of admins folder.
2018-07-12 10:17:25 -04:00
iagirre
3690cae458
Apply banner style to the new banners
...
Banner sections can be saved (one banner can appear in several sections)
If the hex color is changed in the textfield, the color of the color picker changes.
2018-07-12 10:16:47 -04:00
iagirre
6d6da8affc
Add form fields to set the colours and the sections for the banner
...
Add migrations to store the information in the database
2018-07-12 10:16:47 -04:00
Raimond Garcia
eb13c83a95
Merge pull request #2695 from javierv/2446_and_2519-fix_flaky_emails_spec
...
Fix flaky specs: Emails Budgets Selected/Unselected investment
2018-07-12 16:02:28 +02:00