María Checa
2dd5fe22a8
Removes permissions for admins to access unfinished budget results
2018-07-26 11:07:19 +02:00
Alberto
7053711269
Merge pull request #2792 from consul/system_emails
...
System emails
2018-07-26 00:01:07 +02:00
Bertocq
ac9f85e208
Change Proposal Notification Digest link to anchor
...
On the proposal notification digest messages there was a link to each
notification. Instead we need that link to point towards the notifications
tab of the proposal.
2018-07-25 20:20:33 +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
3fd97b0a9b
Rename Newsletter & Notification to User Messages
...
We're increasing the features around messaging users, menu name has to
be generic enough.
2018-07-25 20:18:58 +02:00
Alberto
177eedf8e4
Merge pull request #2580 from consul/admin_notifications
...
Admin notifications
2018-07-25 20:05:19 +02:00
decabeza
8b6a8703e0
Adds missing fill_in_admin_notification_form in common actions
2018-07-25 19:13:31 +02:00
decabeza
bbf3faa783
Fixes admin notifications specs
2018-07-25 19:12:48 +02:00
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
a883e842ba
Make admin notifications seed data translatable
2018-07-25 18:35:34 +02:00
Bertocq
812002dd7b
Add admin notification related translations
2018-07-25 18:34:33 +02:00
Bertocq
2aa4b5cad6
Add AdminNotification seed data
2018-07-25 18:34:33 +02:00
Bertocq
e010f95485
Increase notifications spec with AdminNotification scenarios
2018-07-25 18:33:45 +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
Bertocq
a683fcff98
Refactor notification partials and index view
...
The notification body has been extracted to a new partial to allow
notifications without link to be rendered without needing an if-else
duplicating view code.
Note the `link_to_if` at _notification partial, as well as the optional
body attribute.
2018-07-25 18:31:41 +02:00
Bertocq
a10169bac0
Add specs for Admin AdminNotification management
2018-07-25 18:31:41 +02:00
Bertocq
45488d117a
Create AdminNotification model, spec and factory
2018-07-25 18:30:29 +02:00
Bertocq
b556fe9000
Create AdminNotification database table
2018-07-25 18:29:10 +02:00
Marko Lovic
c991d9e7c7
Fix typo in i18n key
2018-07-25 17:28:14 +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
6669442b79
Merge pull request #2789 from consul/investment_images
...
Adds images to budget::investments
2018-07-25 14:44:48 +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
Marko Lovic
53a1ea8847
Fix spec
2018-07-25 14:15:37 +02:00
Alberto
3528f09202
Merge pull request #2787 from consul/budgets-specs
...
Fixes tags budget investments specs
2018-07-24 20:25:34 +02:00
Alberto
ce5317138e
Merge pull request #2786 from consul/ui-long-links
...
Fixes word wrap on document links
2018-07-24 19:30:39 +02:00
Alberto
5e2f616800
Merge pull request #2782 from wairbut-m2c/backport-show-only-winner-investments-for-finished-budget
...
Backport #1571 : Add logic to show only winner investments if budget is finished
2018-07-24 18:50:04 +02:00
decabeza
717b0c183b
Fixes tags budget investments specs
2018-07-24 18:49:56 +02:00
decabeza
fa4c3de83c
Fixes word wrap on document links
2018-07-24 18:32:34 +02:00
decabeza
b4f7f8e0f3
Fixes show investment's price & cost explanation spec
...
Backport from AyuntamientoMadrid/consul
2018-07-24 12:25:48 +02:00
decabeza
69ca2be994
Fixes budget investments filter by tag spec
...
Backport from AyuntamientoMadrid/consul
2018-07-24 12:25:19 +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
Juanjo Bazán
ffd4fb32f4
adds images to budget::investments
2018-07-24 11:22:15 +02:00
Alberto
ff9888d6fe
Merge pull request #2780 from wairbut-m2c/fix/db_seed
...
Remove deprecated `image` and `style` attributes when seeding the DB
2018-07-23 18:26:41 +02:00
Angel Perez
10e755bffd
Remove deprecated image and style attributes when seeding the DB
2018-07-23 11:56:08 -04:00
Raimond Garcia
ae0f0f4f5f
Merge pull request #2382 from wairbut-m2c/iagirre-admin-banner-migration
...
Migration to remove images and styles from banners
2018-07-23 14:45:37 +02:00
Alberto
c63fd5ada1
Merge pull request #2776 from consul/ui-custom
...
UI custom
2018-07-23 11:39:19 +02:00
decabeza
b5caefc0d4
Makes footer sticky to bottom and changes footer styles
2018-07-20 18:51:13 +02:00
decabeza
dcec003d0e
Updates header markup and includes new logo
2018-07-20 18:50:49 +02:00
decabeza
7533ce21ab
Unifies spanish investment projects i18n
2018-07-20 18:50:19 +02:00
decabeza
e101458891
Removes custom content on seeds
2018-07-20 18:49:54 +02: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
3cc0d1b065
Merge pull request #2770 from consul/release-0.16
...
Release v0.16
2018-07-20 14:06:39 +02:00
Alberto
bc5d263a53
Merge pull request #2761 from wairbut-m2c/backport_1384-add-max-heading-number-budget-group-list
...
Backport 1384 add max heading number budget group list
2018-07-20 13:17:38 +02:00
Alberto
bed97347a9
Merge pull request #2762 from wairbut-m2c/backport_1208-flaky-already-voted-on-booth-cannot-vote-on-website
...
Backport Flaky spec: Polls Booth & Website Already voted on booth cannot vote on website
2018-07-20 13:17:24 +02:00
María Checa
eccf7de54c
Update version number for consul.json
2018-07-20 12:54:51 +02:00
María Checa
e34f001fad
Update changelog for release v0.16
2018-07-20 12:54:49 +02:00