Commit Graph

1696 Commits

Author SHA1 Message Date
Juanjo Bazán
1ae55a59f6 Merge pull request #1560 from bertocq/feature/admin_administrators_management
Administrators management in admin area
2017-05-30 10:44:50 +02:00
Juanjo Bazán
6fd50d96c0 Merge pull request #1566 from bertocq/fix/recount_spec_flaky_test
Avoid creating objects, on poll recount spec, with fixed id numbers
2017-05-30 10:42:52 +02:00
Juanjo Bazán
c4ca66fafc Merge pull request #1571 from bertocq/fix/poll_factory_name_generation
Fix Poll factory name generation to guarantee uniqueness
2017-05-30 10:39:43 +02:00
decabeza
0622ad1f24 polish budgets investment show back link 2017-05-29 18:01:22 +02:00
decabeza
599ef6e9da removes redundant spec 2017-05-29 14:35:57 +02:00
decabeza
7e0be26ad6 adds specs 2017-05-29 12:56:34 +02:00
Bertocq
1254f684fd Fix Poll factory name generation to guarantee uniqueness with SecureRandom.hex 2017-05-29 11:23:02 +02:00
Juanjo Bazán
8196d07cd6 Merge pull request #1567 from bertocq/fix/officing_recount_spec_flaky_test
Use a random word on the Poll factory name attribute
2017-05-26 17:46:19 +02:00
decabeza
75841a71be updates texts on specs 2017-05-26 17:28:04 +02:00
decabeza
0e581896c0 improves message when not enough money 2017-05-26 17:12:21 +02:00
Bertocq
6cda0d52d5 Use a random word on the Poll factory name attribute to avoid flaky tests 2017-05-25 12:28:53 +02:00
Bertocq
3dde935051 Avoid creating objects, on poll recount spec, with fixed id numbers
This was generating a flaky test that sometimes generated a unique key value constraint violation
2017-05-25 11:58:18 +02:00
Bertocq
e9ea72113b Add spec scenario for current user trying to remove himself from administrators list 2017-05-25 11:28:36 +02:00
Juanjo Bazán
26b186a740 Merge pull request #1557 from bertocq/feature/newsletter_users_emails_zip
Allow admins to download Newsletter's users emails list in zip
2017-05-24 13:13:34 +02:00
Bertocq
4ab92731b6 Add expectations for newsletter users and non-newsletter users on email zip download scenario 2017-05-24 12:56:03 +02:00
Bertocq
9ba29fef8c Add feature scenario for Newsletter admin section, including email zip download 2017-05-24 12:23:05 +02:00
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
Bertocq
0df7235cc8 Add feature spec for new Administrators management in Admin area 2017-05-23 22:47:37 +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