María Checa
f6739dc7e5
Adds "Admin ballots" button in admin budgets index
2019-04-03 22:20:05 +02:00
rgarcia
7dd314c699
Do not display polls associated to a budget in admin poll questions
...
This section is used to select to which poll a question belongs to.
Budget polls are not meant to include questions that come from Citizen
Proposals or Government Questions, thus we do not display them
2019-04-03 22:20:01 +02:00
Bertocq
dac0264b63
Prevent offline budget vote after voting online
2019-04-03 22:19:56 +02:00
rgarcia
aa7441271d
Prevent balloting online after casting a ballot offline
2019-04-03 22:19:51 +02:00
Bertocq
d3660d1245
Create Budget Poll offline/online vote feature test
2019-04-03 22:18:55 +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
844ab5fb0e
Merge pull request #3405 from consul/remove_obsolete_test
...
Fix investment pagination tests
2019-04-03 21:13:07 +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
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
decabeza
17730a41dd
Hides not to vote at this time button if already voted
2019-03-28 15:50:34 +01:00
decabeza
18e57b9662
Hides sibebar menu if officer has no shifts
2019-03-28 15:50:34 +01:00
Javi Martín
f7f9fc15a5
Move todays_booths_for_officer to the model
...
This way we can easily add a test which will fail if by accident we
change the method to use `Date.today`. Until now using `Date.today`
would only fail if we ran specs in a time zone with a different date.
2019-03-28 15:49:17 +01:00
iagirre
a9d1fd3539
Fix for issues 1202, 1203 and 1204. Stub the Date and Time functions in the booth_spec test so that it won't give errors when running tests at midnight.
2019-03-28 15:49:17 +01:00
Bertocq
71bd6e41c6
Replace time.zone.today for date.current
2019-03-28 15:49:17 +01:00
Bertocq
9c7962c3a6
Check poll recount values for booth votes on admin panel
2019-03-28 15:49:17 +01:00
Bertocq
31428a5847
Add booth and officing assigments presence validation for booth votes, unskip specs
2019-03-28 15:47:52 +01:00
Bertocq
94c37eb588
Fix store officer and booth info spec
2019-03-28 15:47:52 +01:00
Bertocq
4e4057573d
Fix store officer and booth info spec
2019-03-28 15:47:52 +01:00
Bertocq
8e61075659
Make clearer the set officing booth usage for secondary booth
2019-03-28 15:47:52 +01:00
Bertocq
49ffcfac06
Move set officing booth helper method calls to background block
2019-03-28 15:47:52 +01:00
Bertocq
d2e8f84759
Create missing shift and choose booth for the officer
2019-03-28 15:47:52 +01:00
Bertocq
80a9ba8aa7
Enable and fix booth selection back
2019-03-28 15:47:52 +01:00
rgarcia
88c801d6c5
fixes specs
2019-03-28 15:47:52 +01:00
rgarcia
0acec655e2
fixes specs
2019-03-28 15:47:52 +01:00
rgarcia
4761ac91bd
Displays officing booth in layout
2019-03-28 15:47:52 +01:00
rgarcia
9c59c8b68e
displays booth location instead of booth name
2019-03-28 15:47:52 +01:00
rgarcia
0286ca4c59
displays single booth for any number of polls
2019-03-28 15:47:52 +01:00
rgarcia
5dea0e039e
updates notice
2019-03-28 15:47:52 +01:00
rgarcia
74706027cb
fixes specs
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
5835d12694
stores the officer that allowed a voter to vote in a physical booth
2019-03-28 15:47:52 +01:00
rgarcia
cc4eed3500
fixes specs
2019-03-28 15:47:52 +01:00
Javi Martín
f6da20da64
Fix typos in investment order tests
...
There was a typo: `new_order = eq(all(` instead of `new_order = all(`,
which was causing the tests to pass.
However, the final expectation should test that we keep the same order
in the same session, and we were accidentally testing the opposite.
We're also adding an extra check to verify there are investments on the
page, since in some cases we were accessing pages with no investments,
and so these tests were always passing.
2019-03-28 13:51:51 +01:00
Javi Martín
5a529e5eb7
Use investments per page instead of Kaminari's
...
This is the actual number of investments per page in the index action.
Also note one test was generating 100 extra records, which made the test
take more than 40 seconds (on my machine).
2019-03-28 01:34:27 +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
e5bff01027
Replace incoming filter on dashboard polls
...
Add starts_at attribute intead of incoming because this scope doesn't exists anymore.
2019-03-26 18:25:35 +01:00
decabeza
b79061064b
Remove all texts of decide madrid
2019-03-26 18:22:02 +01:00
decabeza
f47ec9d7dc
Fix hound warnings
2019-03-26 18:21:19 +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
voodoorai2000
af79330646
Remove unnecessary spec
...
This spec is giving some problems related to duplicity of records due to the way rake tasks are loaded.
It will soon become part of seeds anyways. Removing for now.
2019-03-26 12:13:56 +01:00
Raimond Garcia
f6526f4a45
Merge pull request #3271 from Platoniq/dashboard-user-communication
...
Dashboard user communication
2019-03-26 12:10:18 +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
Julian Nicolas Herrero
9cfd3c70be
Merge pull request #3385 from consul/welcome_page_not_logged_in_user
...
Require logged in user if navigate to /welcome
2019-03-22 17:35:29 +01:00
decabeza
21c6da3767
Use min age to participate setting on verification residence form
2019-03-22 16:15:48 +01:00
Javi Martín
9d6bd7e788
Remove obsolete rake tasks
...
These tasks dealt with data migrations or stats generations which were
done only once, so we don't need them anymore.
New CONSUL installations don't need these tasks, and existing CONSUL
installations will execute them when upgrading one release at a time.
2019-03-22 13:07:09 +01:00