kikito
71fd3657d3
makes all users old enough to vote by default when created for the specs
2019-05-16 22:00:51 +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
María Checa
d5c7858f6c
Removed officer alert in admin section
2019-05-16 14:45:46 +02:00
Juanjo Bazán
f22a97468b
makes code heading_id agnostic
2019-05-16 14:45:46 +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
Alberto Garcia Cabeza
135984d535
removes budget countdown
2019-05-16 13:37:47 +02:00
Juanjo Bazán
5121c9b6d8
removes booth message from admin interface
2019-05-16 13:37:47 +02:00
rgarcia
be757f79d0
cleans up
2019-05-16 13:37:47 +02:00
rgarcia
b628631769
fixes specs
2019-05-16 13:37:47 +02:00
rgarcia
0d9ff07ff5
adds back button from graph
2019-05-16 13:37:47 +02:00
rgarcia
73d35e2c19
removes chart js from stats summary
2019-05-16 13:37:47 +02:00
rgarcia
1f8d19c8ba
adds basic graph 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
a31b62526b
removes unused multiple lines per graph
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
decabeza
e026412389
Add button to delete a poll
2019-05-14 16:46:56 +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
Alberto
60c02cc19a
Merge pull request #3466 from consul/admin-documents
...
Add document uploads from admin section
2019-05-10 17:57:22 +02:00
decabeza
88852544fd
Fix indentation on schema
2019-05-10 17:17:39 +02:00
Javier Martín
9c02f5d0c2
Merge pull request #3486 from consul/backport-fix_typo_in_executions_spec
...
Fix typo in budget executions spec
2019-05-10 17:09:46 +02:00
Javier Martín
48b8e0f9da
Merge pull request #3487 from consul/backport-fix_widget_card_order
...
Remove unused (and flaky) card code and its spec
2019-05-10 17:09:23 +02:00
Javi Martín
574bd87b08
Remove unused (and flaky) card code and its spec
...
This code was introduced in commit 722a431b , but it stopped being used
in commit 7657a0e0 .
The spec was failing sometimes because the method didn't order the
records, but the spec checked the records returned in a certain order.
Furthermore, the method `page` generated a potential conflict with
kaminari's `page method.
2019-05-10 15:21:58 +02:00
Javi Martín
5812779974
Fix typo in budget executions spec
...
We were expecting the page not to have content which is actually there.
The test passed (most of the time) because before clicking the
"Milestones" link the content was not present, and we checked the page
content before the AJAX request generated by clicking the link had
finished.
2019-05-10 15:17:34 +02:00
Javier Martín
21ec1af094
Merge pull request #3483 from consul/backport-fix_respond_with_bip
...
Fix obsolete `respond_with_bip` usage
2019-05-10 15:08:41 +02:00
Javi Martín
55c8fa3297
Fix obsolete respond_with_bip usage
...
Since we removed the `best_in_place` gem, this method doesn't exist
anymore. We're replacing it with what the method actually does.
Note the test doesn't check the poll is correctly updated. We could add
a `visit proposal_dashboard_polls_path(proposal)` before checking the
"Show results" field, but then we would enter a race condition between
this request and the AJAX request. A proper solution would be to provide
actual feedback to the user so they know the poll has been updated, and
then checking that feedback is present in the tests.
2019-05-09 19:41:04 +02:00
Javi Martín
63fef66f41
Remove obsolete reference to proposal question
2019-05-09 12:58:14 +02:00
Alberto
a1d6885132
Merge pull request #3472 from consul/map-image
...
Always use map image from admin site customization images
2019-05-07 16:24:28 +02:00
decabeza
a57397dd6c
Always use map image from admin site customization images
2019-05-07 14:43:04 +02:00
decabeza
f40787561d
Remove all references to question and external_url fields
2019-04-30 16:42:07 +02:00
decabeza
367c2e7b78
Fix hound warnings
2019-04-30 12:06:56 +02:00
decabeza
1719a8ed28
Adds styles to admin site customization documents
2019-04-30 12:00:59 +02:00
decabeza
b023ceabdd
Fixes not_to hound warnings
2019-04-30 12:00:54 +02:00
decabeza
62a29e2cf9
Adds missing i18n
2019-04-30 12:00:46 +02:00
decabeza
4193bb193c
Adds documents to menu customization admin helper
2019-04-30 11:59:57 +02:00
voodoorai2000
19b7526421
Add document upload from admin section
2019-04-30 11:59:08 +02:00
decabeza
4648906591
Remove deprecated task proposals spec
...
After run the rake to move external_url to description for Proposals and Legislation proposals this spec is failing because external_url field doesn't exists anymore.
2019-04-30 11:39:04 +02:00
decabeza
5bdac5c4f5
Remove question and external_url fields from legislation proposals
2019-04-30 11:35:47 +02:00
decabeza
0995480b73
Remove question and external_url fields from proposals
2019-04-30 11:35:47 +02:00
Raimond Garcia
9df433eeda
Merge pull request #3462 from consul/1.0.0-beta
...
Release version 1.0.0-beta
2019-04-30 01:56:12 +02:00
voodoorai2000
d1ac727a6b
Update release version number to 1.0.0-beta
2019-04-29 18:52:03 -05:00
voodoorai2000
20d20fb98e
Update CHANGELOG for release 1.0.0-beta
2019-04-29 18:52:00 -05:00
Raimond Garcia
f5794a9f5d
Merge pull request #3465 from consul/rails5_paths
...
Add lib folder path to eager_load_paths
2019-04-30 01:41:37 +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
Raimond Garcia
08d7863bb5
Merge pull request #3464 from consul/cleanup_rails5_dashboard
...
Cleanup Rails5 dashboard
2019-04-29 21:30:03 +02:00
Javi Martín
44d9ba66b7
Use puma as development web server
...
It seems to be the default in Rails 5 (we even have a configuration file
for it under `config/puma.rb`) and Capybara seems to need it to run
system specs in Rails 5.1:
https://github.com/teamcapybara/capybara/#setup
2019-04-29 13:08:43 -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