Angel Perez
a889f62f68
Remove unused budget I18n keys
2019-05-16 22:01:42 +02:00
María Checa
fac99cfb10
Add web and booth participants in budget stats
2019-05-16 22:01:42 +02:00
Bertocq
4691b486b0
Improve budget stats investments sent text to have a breakline on spanish
2019-05-16 22:01:42 +02:00
Bertocq
1f3bc2c8d9
Switch from feasible to selected investments on budget stats
2019-05-16 22:01:42 +02:00
decabeza
75dfa4c663
fixes typo
2019-05-16 22:01:42 +02:00
decabeza
895c8292ab
updates page title
2019-05-16 22:01:42 +02:00
decabeza
1c0c55c0fb
improves texts and styles for budgets stats
2019-05-16 22:01:42 +02:00
Bertocq
fd4ea312c3
Fix budget stats translations with line breaks
2019-05-16 22:01:42 +02:00
Bertocq
6899ba9a9f
Complete Budget Stats view with translations
2019-05-16 22:01:42 +02:00
Bertocq
e0e02b47c0
Add Budgets Stats Controller, route and ability on reviewing ballots and finished budget
2019-05-16 22:01:42 +02:00
Javier Martín
668b6cfd73
Merge pull request #3499 from consul/backport-admin_stats
...
Add admin budget stats
2019-05-16 20:41:39 +02:00
Juanjo Bazán
110ee961e3
adds budget stats for final voting to admin stats
2019-05-16 14:45:46 +02:00
Juanjo Bazán
5be54b57da
reduces current admin budget stats as supporting phase
2019-05-16 14:45:45 +02:00
rgarcia
11437a1d40
add budget investment stats
2019-05-16 13:41:49 +02:00
rgarcia
b628631769
fixes specs
2019-05-16 13:37:47 +02:00
rgarcia
94a3e7e61a
does not exclude ahoy events
2019-05-16 13:37:47 +02:00
rgarcia
cfe3f95f5c
moves graphs to individual views
2019-05-16 13:37:47 +02:00
Javier Martín
c39a3d7525
Merge pull request #3492 from consul/backport-fix_delete_budget_with_polls
...
Don't destroy budgets with an associated poll
2019-05-16 13:07:18 +02:00
Javi Martín
1b323383a8
Don't destroy budgets with an associated poll
...
We were getting an exception due to foreign key database violations.
2019-05-13 13:44:58 +02:00
Javi Martín
9c991297c5
Fix typo
2019-05-13 13:44:58 +02:00
decabeza
62a29e2cf9
Adds missing i18n
2019-04-30 12:00:46 +02:00
voodoorai2000
19b7526421
Add document upload from admin section
2019-04-30 11:59:08 +02:00
Julian Herrero
2ba7355b00
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-29 17:45:58 -05:00
Javi Martín
825367145c
Remove redundant test order option
...
The test order is now random by default.
2019-04-29 13:08:43 -05:00
decabeza
9f973bf789
Add message on dashboard request to archived proposals
2019-04-29 15:46:44 +02:00
decabeza
3add160b4b
Change i18n to resources on next goal
...
This resources always are locked when are shown on next goal section.
2019-04-29 15:45:04 +02:00
voodoorai2000
dfbdc0568c
Allow actions to be unexecuted
...
Before actions could be marked as executed. With this commit we are also allowing actions to be marked as unexecuted.
2019-04-29 15:43:53 +02:00
voodoorai2000
6f3b213612
Refactor proposal poll routes
...
Moving routes from custom file to the proposal's routes file.
2019-04-29 15:43:25 +02:00
decabeza
51ced318e0
Merge branch 'master' into proposal-dashboard
2019-04-29 13:48:23 +02:00
decabeza
0a40c747a3
Add default actions list on admin dashboard actions index
2019-04-24 14:05:05 +02:00
decabeza
7b6619528c
Temporally not send dashboard's notifications
2019-04-24 14:04:45 +02:00
decabeza
b53a2f8012
Fix button text on dashboard polls form
2019-04-24 14:02:07 +02:00
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
Javi Martín
a71928ae31
Update share message interpolation variables
...
Having translations with the old interpolation variables was causing the
application to crash.
2019-04-23 20:06:24 +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