Commit Graph

34 Commits

Author SHA1 Message Date
rgarcia
d7e73b8abb fixes specs 2016-12-12 19:11:00 +01:00
rgarcia
bb3c4c6399 adds consistency to ruby code style
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
rgarcia
d51fe779e2 displays summary info for supported spending proposals 2016-04-26 15:13:53 +02:00
kikito
c1f5db1f1e Fixes issue when evaluating feasible sps - the explanation should be required only for unfeasible ones 2016-04-25 14:55:59 +02:00
Juanjo Bazán
32f971f0ad Merge pull request #1084 from consul/spending-proposals-summary
Spending proposals admin summary
2016-04-25 11:29:07 +02:00
rgarcia
bdc815e05c adds specs 2016-04-22 15:03:50 +02:00
rgarcia
8a1d1986f2 fixes specs 2016-04-21 15:50:47 +02:00
rgarcia
521172bc19 adds validation on feasible_explanation 2016-04-21 14:07:41 +02:00
Juanjo Bazán
e6a9cb4fcc disable voting on sps if setting disabled
refactors hover messages on sps votes
2016-04-15 23:01:00 +02:00
kikito
d9ec2e2cf3 Calculates SP.total_votes using physical_votes 2016-04-15 17:16:35 +02:00
kikito
5fec3b9858 persists responsible name, even if the user is erased 2016-04-11 12:21:11 +02:00
kikito
61b2c087b6 changes the responsible_name from username to document_number 2016-04-08 17:45:20 +02:00
kikito
32a60515c6 updates the sp responsible_name when creating/editing a sp 2016-04-06 19:23:05 +02:00
kikito
3eca6b31bd changes the format of the Spending proposal code 2016-04-04 14:14:10 +02:00
Juanjo Bazán
63e8950d6c adds scopes for feasible values to spending props 2016-03-29 13:36:40 +02:00
rgarcia
cfe7593288 updates method name to be more accurate 2016-03-28 18:43:56 +02:00
rgarcia
467c06c3ca allows unfeasible emails only to be send out once 2016-03-28 18:06:43 +02:00
rgarcia
8a8f062398 updates investment project code 2016-03-28 16:37:16 +02:00
rgarcia
50b1571126 adds code to spending proposals 2016-03-28 12:16:08 +02:00
rgarcia
2fe1e0d624 adds pending spec for edge case 2016-03-28 12:16:07 +02:00
rgarcia
9aaeb23e7f sends an email for unfeasible spending proposals 2016-03-28 12:16:07 +02:00
rgarcia
ffd09bc490 fixes specs 2016-03-08 15:23:01 +01:00
Juanjo Bazán
cd58ae85f8 adds by_valuator search method to SpendingProposal 2016-03-04 20:19:42 +01:00
Juanjo Bazán
fb5e2beb54 adds new filters to admin valuations 2016-03-03 19:02:13 +01:00
Juanjo Bazán
9eea8fd4a9 adds valuation status filtering to admin 2016-02-26 11:45:29 +01:00
Juanjo Bazán
43635f41b0 adds without_validators filter 2016-02-25 18:43:35 +01:00
Juanjo Bazán
0e1e0ce371 adds filters: by geozone and without_admin 2016-02-25 18:18:40 +01:00
Juanjo Bazán
00eec532a6 removes resolution status from spending proposals 2016-02-24 18:50:39 +01:00
Juanjo Bazán
d48f9168c7 notting hill 2016-02-16 17:01:34 +01:00
Juanjo Bazán
7408b7d5af adds dossier info humanize methods 2016-02-16 14:25:20 +01:00
Juanjo Bazán
7c92a92537 adds resolution query methods 2016-01-11 12:53:05 +01:00
Juanjo Bazán
9a8dcd660f adds resolution scopes 2016-01-11 12:18:46 +01:00
Juanjo Bazán
facf6183d7 adds resolution to spending proposals 2016-01-11 12:18:45 +01:00
Juanjo Bazán
a6f8c79268 adds SpendingProposal model 2016-01-11 12:15:42 +01:00