Bertocq
9e74249b02
Always use Time.current (aliases internally to Time.zone.now)
...
Some specs where breaking close to midnight because 30.years.ago uses zone.now and Time.now.utc.to_date doesn't.
Also this will make all codebase consistent in the way time is deal with
2017-05-24 07:54:57 +02:00
Juanjo Bazán
bf8651febc
Merge pull request #1555 from consul/budgets-results
...
Budget Results
2017-05-22 17:11:22 +02:00
decabeza
5e276175f1
updates texts on specs
2017-05-19 18:49:00 +02:00
rgarcia
0b68f3c619
cleans up
2017-05-19 14:07:30 +02:00
rgarcia
65eb2bb160
adds budget result specs
2017-05-19 14:04:46 +02:00
Juanjo Bazán
6de0a45aa2
adds expectations for tag_list and organization_name fields
2017-05-19 12:38:28 +02:00
Juanjo Bazán
e922a11aa3
permits fields in management investment creation
2017-05-19 11:32:14 +02:00
Juanjo Bazán
f0d7acd087
Merge pull request #1550 from consul/budgets-unfeasible
...
Investments reclassified as unfeasible
2017-05-18 14:37:32 +02:00
rgarcia
a63ca9649e
cleans up
2017-05-17 20:32:05 +02:00
Alberto
8167203e6e
Merge pull request #1546 from consul/no-money-error
...
Fix no money error
2017-05-17 17:36:20 +02:00
rgarcia
47f97e342d
extracts reclassification to a module
2017-05-17 15:18:39 +02:00
Juanjo Bazán
d08af6193e
changes unselected scope to include undecided feasibility
2017-05-17 15:13:29 +02:00
rgarcia
42f62e5c36
stores reclassified votes
2017-05-17 15:13:28 +02:00
Juanjo Bazán
da43e9e2e4
adds spec for edge case
2017-05-17 13:03:46 +02:00
rgarcia
84f63c7a6f
fixes specs
2017-05-14 19:19:05 +02:00
rgarcia
9a75067d73
Do not display voting button for unselected investments
2017-05-14 18:15:04 +02:00
rgarcia
62b2f4812b
fixes false positive when storing previous heading id
2017-05-14 11:38:05 +02:00
Raimond Garcia
94361eb663
Merge pull request #1537 from consul/budgets-reclassification
...
Removes votes from reclassified investments
2017-05-14 10:15:19 +02:00
rgarcia
1ca16d9d40
removes votes from reclassified investments
2017-05-13 13:10:04 +02:00
rgarcia
712e576e75
adds email delivery of selected and unselected investments
2017-05-12 13:57:31 +02:00
Juanjo Bazán
04b95df696
Merge pull request #1514 from consul/budgets-ballot-db-constraint
...
Adds DB constraint to avoid duplicate balloted investments
2017-05-10 12:29:46 +02:00
Juanjo Bazán
3b90a40476
changes copy
...
proposal -> investment
2017-05-10 12:20:38 +02:00
Alberto
16cb6bf365
Merge pull request #1532 from consul/selected-unfeasible-links
...
Selected and unfeasible links only visible if budget is balloting (or later)
2017-05-09 18:27:18 +02:00
Juanjo Bazán
1d35bdeb85
fixes specs
2017-05-09 17:52:52 +02:00
Juanjo Bazán
81c4a13305
shows links to unfeasible/selected only after budget is balloting
2017-05-09 17:36:42 +02:00
Juanjo Bazán
33e8ebf043
adds balloting_or_later? method to Budget
2017-05-09 17:27:58 +02:00
Juanjo Bazán
fce60b9d9a
changes heading amount info into a link in ballot view
2017-05-09 13:14:03 +02:00
Juanjo Bazán
4ae6ec75e7
adds links in ballot view to no voted groups
2017-05-09 11:27:07 +02:00
Juanjo Bazán
c14a604618
adds explicit id
2017-05-08 20:03:22 +02:00
Juanjo Bazán
39ed526b89
displays correct heading name when reviewing ballot
2017-05-08 13:22:53 +02:00
Raimond Garcia
aad725faf6
Merge pull request #1523 from consul/budgets-polish
...
Budgets polish
2017-05-06 05:08:27 +02:00
rgarcia
c0488c3b3c
refactors investment filters
2017-05-06 04:57:06 +02:00
rgarcia
fa825185f5
adds model specs for investment filters
2017-05-06 03:37:11 +02:00
rgarcia
8e7ca16c47
makes ballot's back link point to referer
2017-05-05 20:07:24 +02:00
Alberto Garcia Cabeza
5727969eac
adds specs for unselected budget investments
2017-05-05 20:01:32 +02:00
Juanjo Bazán
fce4b75a9f
Merge pull request #1520 from consul/cleanup
...
Cleanup
2017-05-05 10:39:18 +02:00
Juanjo Bazán
4fc187dec6
Merge pull request #1518 from consul/capybara-configuration
...
removes poltergeist no js_errors driver
2017-05-05 10:38:57 +02:00
rgarcia
229f9cfefc
renames class to migrate spending proposals to investments
2017-05-04 20:37:28 +02:00
Juanjo Bazán
5817aa8d13
fixes link in investments index header
2017-05-04 13:17:09 +02:00
rgarcia
551421a621
removes poltergeist no js_errors driver
2017-05-04 01:48:17 +02:00
rgarcia
767a43bb0f
Adds DB constraint to avoid duplicate balloted investments
2017-05-03 18:43:22 +02:00
rgarcia
8083f259c2
takes into account headings without balloted investments
2017-05-03 17:49:29 +02:00
rgarcia
2f6c1bc7bc
displays the correct amount spent in review my ballot
...
returns the first heading with investments for a group
2017-05-03 17:06:27 +02:00
Juanjo Bazán
23c05dcac5
adds supports column to admin's budget investments list
2017-04-28 13:45:24 +02:00
Alberto Garcia Cabeza
45af9ce5aa
adds budget investments numbers and chart on admin stats
2017-04-25 16:46:20 +02:00
Juanjo Bazán
2877a7c572
Merge pull request #1494 from consul/site-customization
...
Polish site customization
2017-04-18 11:24:41 +02:00
Alberto Garcia Cabeza
54a90bbdc9
updates texts on specs
2017-04-17 19:21:04 +02:00
Juanjo Bazán
0bc260a105
adds feature spec for price explanation visibility
2017-04-17 13:31:31 +02:00
Juanjo Bazán
3f04854626
adds missing method specs
2017-04-17 13:17:01 +02:00
Juanjo Bazán
61e5c187da
shows investment price info only if phase is balloting or later
2017-04-17 13:15:17 +02:00