decabeza
5bbf325c1f
Remove copy link on dashboard polls
2019-04-24 14:01:08 +02:00
decabeza
4100bf2ddf
Update dashboard specs
2019-04-24 14:00:38 +02:00
decabeza
c76b465ce8
Show message when request a resource to admins
2019-04-24 13:58:42 +02:00
decabeza
19c158f4eb
Add pending and done filters to dashboard administrator tasks
2019-04-24 13:58:27 +02:00
decabeza
2cff3767c1
Remove open in new tab option for links
2019-04-24 13:58:13 +02:00
decabeza
21e6e8097f
Update i18n texts
2019-04-24 13:56:49 +02:00
decabeza
cb22e6cbfb
Merge branch 'master' into proposal-dashboard
2019-04-23 17:12:47 +02:00
Javi Martín
4adf712c26
Prepend custom assets to CONSUL assets
...
Rails 5 changed the initialization order, and now our initializers were
running before the `append_assets_path` initializer for each engine,
which prepended application assets to the custom assets we prepended in
the initializer.
Moving the code to the `config.after_initialize` code didn't work
either, since the paths added there were ignored by the application.
Adding another initializer to the Rails Engine is a hack, but solves the
problem.
2019-04-17 17:40:57 +02:00
Julian Herrero
b36fdb5604
Add lib folder path to eager_load_paths
...
Because autoloading is disabled in production with Rails 5,
using autoload_paths will not load needed classes from
specified paths. The solution to this, is to ask Rails
to eager load classes.
https://sipsandbits.com/2017/02/14/upgrading-a-ruby-on-rails-application/
2019-04-17 17:40:56 +02:00
Julian Herrero
6e88031537
Fix several rubocop warnings
...
Metrics/LineLength: Line is too long.
RSpec/InstanceVariable: Use let instead of an instance variable.
Layout/TrailingBlankLines: Final newline missing.
Style/StringLiterals: Prefer double-quoted strings.
2019-04-17 17:40:56 +02:00
Julian Herrero
f668317cc1
Use #data_source_exists? instead of #table_exists?
...
DEPRECATION WARNING: #table_exists? currently checks both tables and
views. This behavior is deprecated and will be changed with Rails 5.1
to only check tables. Use #data_source_exists? instead.
2019-04-17 17:40:55 +02:00
alejandro
b7a9995b38
fixes deprecation warning relate to raise_in_transactional_callbacks
...
As described in
http://edgeguides.rubyonrails.org/5_0_release_notes.html#active-record-notable-changes
2019-04-17 17:40:55 +02:00
alejandro
935b41154f
removes configurations and settings for devise-async
2019-04-16 17:28:07 +02:00
alejandro
84338592da
removes devise-async for delayed devise emails
...
Custom overwrite of the devise implementation following
https://github.com/plataformatec/devise#activejob-integration
2019-04-16 17:28:07 +02:00
rgarcia
23fcd78e6c
removes uniq deprecation warning
2019-04-16 17:28:07 +02:00
Juanjo Bazán
eb36b7e2e5
updates config files
2019-04-16 17:28:06 +02:00
María Checa
394177213c
Adds Ballot Sheet model and business logic
2019-04-10 16:04:39 +02:00
María Checa
ccf8d3a8e2
Adds ballot sheets controller and main views
2019-04-10 16:03:47 +02:00
decabeza
94b8caffca
Merge branch 'master' into proposal-dashboard
2019-04-04 14:08:30 +02:00
María Checa
f6739dc7e5
Adds "Admin ballots" button in admin budgets index
2019-04-03 22:20:05 +02:00
rgarcia
aa7441271d
Prevent balloting online after casting a ballot offline
2019-04-03 22:19:51 +02:00
Javier Martín
12bccf3fd0
Merge pull request #3364 from LextrendIT/3357_add_admin_investments_advanced_filter_for_max_supports
...
Add on admin budget investments an advanced filter for max supports
2019-04-03 21:39:15 +02:00
Javier Martín
d85743bf68
Merge pull request #3356 from LextrendIT/feature/module_15_extract_costs_from_admin_investments_feasability_column
...
Add price column in the admin budget investments table
2019-04-03 21:29:31 +02:00
Javier Martín
62233191cf
Merge pull request #3345 from consul/backport-polls-officer-for-voter
...
Add officing booths
2019-04-03 18:26:05 +02:00
lalo
9edaf44b9c
Add new admin budget investments advanced filter for max supports
2019-04-03 13:39:59 +02:00
lalo
0a5057a0a8
Add max support advanced filter for admin budget investments
2019-04-02 19:46:16 +02:00
decabeza
d7bde5818e
Update texts on check my ballot links
2019-03-28 17:16:15 +01:00
rgarcia
4761ac91bd
Displays officing booth in layout
2019-03-28 15:47:52 +01:00
rgarcia
5dea0e039e
updates notice
2019-03-28 15:47:52 +01:00
rgarcia
b4499321d3
stores officer booth on sign in
2019-03-28 15:47:52 +01:00
rgarcia
cc4eed3500
fixes specs
2019-03-28 15:47:52 +01:00
decabeza
2af154d539
Merge branch 'master' into proposal-dashboard
2019-03-28 01:26:04 +01:00
decabeza
91be3cf775
Fix more hound warnings
2019-03-27 15:22:14 +01:00
decabeza
b79061064b
Remove all texts of decide madrid
2019-03-26 18:22:02 +01:00
decabeza
eda6ea7f12
Merge branch 'master' into dashboard
2019-03-26 16:45:48 +01:00
Alberto
29a87e2746
Merge branch 'dashboard' into dashboard-polish
2019-03-26 12:19:20 +01:00
Javi Martín
4c35df4812
Use double quotes inside string interpolation
2019-03-25 14:58:54 +01:00
Javi Martín
d894d24bff
Use double quotes in config/locales
2019-03-25 14:58:54 +01:00
Javi Martín
2b4e1cf358
Add missing double quotes
...
We overlooked a few single quotes while we changed thousands of them.
2019-03-25 13:22:35 +01:00
taitus
a1de5b2334
Display tag "new" on actions
...
An author will see a "new" tag on each action or resource that has appeared on his dashboard since his last login.
Too add "new" tag on dashbord menu when there are new resources.
2019-03-21 12:29:31 +01:00
taitus
08383b9cac
Send new notification email after publish Proposal
...
After publish a proposal send email to proposal's author with information text and new actions available.
2019-03-21 12:29:30 +01:00
taitus
5177adb32a
New rake task for proposals to send new action email
...
Execute rake task every day to detect new actions available for not archived proposals. If there are new actions available for today, send email to proposal's author with information text, new actions available and link to proposal dashboard url.
2019-03-21 12:29:28 +01:00
taitus
c959e078b8
Send new action notification email after create Proposal
...
After create a proposal send email to proposal's author with information text and new actions available.
2019-03-20 11:50:47 +01:00
Julian Herrero
4df9a1a1b4
Move HTML settings to content blocks settings page
...
- Rename html settings keys
- Show html settings next to content blocks page
- Hide html settings from configuration tab
2019-03-19 19:45:34 +01:00
Julian Herrero
c82b2a975a
Add new settings tab for participation processes
...
- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
2019-03-19 19:45:32 +01:00
Julian Herrero
dbac4bc222
Change admin settings tab for maps
...
- Rename map settings keys
- Add fields for latitude, longitude and zoom
- Add a callout message on how to enable map feature
2019-03-19 18:14:57 +01:00
decabeza
cbc89dae8c
Replace html_safe to i18n _html
2019-03-19 17:35:39 +01:00
decabeza
e949d4d163
Refactor proposal total counter value
2019-03-19 16:59:57 +01:00
Alberto
7b2258aeb0
Merge pull request #3263 from Platoniq/dashboard-recommended-actions-page
...
Dashboard recommended actions page
2019-03-19 16:21:28 +01:00
Alberto
093a8cdb10
Merge pull request #3261 from Platoniq/dashboard-poster-email-styles
...
Dashboard poster email styles
2019-03-19 16:21:20 +01:00