Commit Graph

113 Commits

Author SHA1 Message Date
Senén Rodero Rodríguez
6b61cbe35c Set maximum number of documents on proposal and budget investments. Show alert on documents tab when maximum reached. Hide upload button when maximum reached. 2017-08-25 17:27:37 +02:00
Senén Rodero Rodríguez
a2130689ed Create documentable concern and add it to budget investment model. Create documents controller, documents helper, routes, translations and specs 2017-08-25 17:27:37 +02:00
Bertocq
705ef19f6d Improvements on budget results view & table 2017-07-17 20:19:54 +02:00
rgarcia
c0d3ccaf46 Adds specs for loading first heading 2017-07-13 12:37:14 +02:00
BertoCQ
204ea13c85 Merge branch 'master' into followable 2017-07-11 11:30:49 +02:00
Bertocq
11a793d63f Hide incompatible and non-winner investments by default 2017-07-10 19:43:55 +02:00
Bertocq
2fba9de33b Don't display incompatible investment's table if empty 2017-07-10 17:12:28 +02:00
Bertocq
69f4e1c683 Fix all rubocop Metrics/LineLength issues (140+) 2017-07-10 13:22:49 +02:00
Bertocq
824a672292 Fix spectations for localized milestone date 2017-07-09 16:44:34 +02:00
taitus
e54e33f296 Use display in followable shared specs names when referring to DOM elements renderization. Add whitespace to proposal page. 2017-07-07 13:38:53 +02:00
taitus
97ee107157 Do not show flaggable and followable buttons on budgets_investment and proposals pages when user is not logged. 2017-07-07 13:38:52 +02:00
Senén Rodero Rodríguez
1f22286e29 Create rspec shared examples to test followable features on any followable entity. 2017-07-07 13:34:54 +02:00
taitus
bce28afe36 Add followable to budget investment model. 2017-07-07 12:07:25 +02:00
Bertocq
10b17eae8f Update user budget's result feature spec to include incompatible ones 2017-07-04 02:14:54 +02:00
Bertocq
c9bc028524 Remove all unnecesary extra spacing and Layout/ExtraSpacing list from rubocop file 2017-06-28 14:12:51 +02:00
taitus
fee9e99d37 Add translation to published milestone. Fix test 2017-06-26 13:52:25 +02:00
taitus
2fe663ef8f Fix syntax and indentation errors. 2017-06-24 22:38:48 +02:00
taitus
c58371a5fe Add milestones to investments show. 2017-06-24 22:38:48 +02:00
Bertocq
15c92b27c8 Fix Style/BlockDelimiters rubocop issues and remove it from rubocop_todo list 2017-06-19 10:45:18 +02:00
Raimond Garcia
58da3b43e6 Merge pull request #1638 from entantoencuanto/issue#1595-results_url_permissions
Issue#1595 results url permissions
2017-06-12 13:09:27 +02:00
Eduardo Martinez Echevarria
1802202033 Add test to check that results of unfinished budgets are inaccessible 2017-06-11 23:29:56 +02:00
Eduardo Martinez Echevarria
74754ef34d Add some test to investments feature for suggestions on creation 2017-06-11 13:04:58 +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
decabeza
75841a71be updates texts on specs 2017-05-26 17:28:04 +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
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
rgarcia
47f97e342d extracts reclassification to a module 2017-05-17 15:18:39 +02:00
Juanjo Bazán
da43e9e2e4 adds spec for edge case 2017-05-17 13:03:46 +02:00
rgarcia
9a75067d73 Do not display voting button for unselected investments 2017-05-14 18:15:04 +02:00
rgarcia
1ca16d9d40 removes votes from reclassified investments 2017-05-13 13:10:04 +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
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
8e7ca16c47 makes ballot's back link point to referer 2017-05-05 20:07:24 +02:00