Commit Graph

1443 Commits

Author SHA1 Message Date
kikito
d9ec2e2cf3 Calculates SP.total_votes using physical_votes 2016-04-15 17:16:35 +02:00
kikito
92ecd7c983 replaces length 9 validation by format validation: only numbers, spaces and plus sign allowed 2016-04-13 19:27:04 +02:00
kikito
005bd26965 does not require phones to be Spanish any more 2016-04-13 18:52:53 +02:00
kikito
1b1f2bc2c9 renames genre to gender in code 2016-04-13 14:27:27 +02:00
kikito
3a5928e83f aligns document verification with Madrid 2016-04-13 12:06:43 +02:00
kikito
3880ef9e24 aligns document verification with census API 2016-04-12 18:35:23 +02:00
kikito
7987a3410b Updates residence to handle CensusAPI's new response 2016-04-12 18:19:05 +02:00
kikito
2c51115d6d Residence Verification now fills up the date of birth and genre 2016-04-12 13:38:39 +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
95b0e75427 Rename method 2016-04-06 19:27:18 +02:00
kikito
32a60515c6 updates the sp responsible_name when creating/editing a sp 2016-04-06 19:23:05 +02:00
Alberto Garcia Cabeza
3fd8e76a79 Merge branch 'select_debates_which_display_as_featured' of https://github.com/MaiteHdezRivas/consul into MaiteHdezRivas-select_debates_which_display_as_featured
Conflicts:
	db/schema.rb
2016-04-05 14:05:27 +02:00
kikito
e53de93bee removes the prefix from spending_proposal_code 2016-04-04 18:16:27 +02:00
kikito
3eca6b31bd changes the format of the Spending proposal code 2016-04-04 14:14:10 +02:00
Juanjo Bazán
cb681883f8 adds pg_search to spending proposals 2016-03-30 10:59:27 +02:00
Raimond Garcia
c581aad9bf Merge pull request #1018 from consul/investment-project-vote
Investment project vote
2016-03-29 18:57:05 +02:00
Juanjo Bazán
5166d0ce06 Merge pull request #1020 from consul/cannot-delete-proposals
allows only admins to delete spending proposals
2016-03-29 18:23:34 +02:00
kikito
ee4c6dd267 merges with master 2016-03-29 17:44:16 +02:00
rgarcia
6f723a871f allows only admins to delete spending proposals 2016-03-29 17:08:31 +02:00
rgarcia
ed1ec1c553 adds votes to spending proposals 2016-03-29 14:53:46 +02:00
Juanjo Bazán
4ddb778bed refactors scopes and methods used only in admin 2016-03-29 14:12:19 +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
57299ec968 adds rake task to send current unfeasible spending proposals 2016-03-28 18:26:09 +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
9aaeb23e7f sends an email for unfeasible spending proposals 2016-03-28 12:16:07 +02:00
MaiteHdezRivas
69bd24d2c8 merge with consul 2016-03-21 18:28:20 +01:00
MaiteHdezRivas
68f9a76cea Mark debates as featured 2016-03-20 13:56:05 +01:00
Juanjo Bazán
f4010bc77d shows valuator description in admin edit form 2016-03-18 19:44:18 +01:00
kikito
769780e2cd Implements SpendingProposal.filter_params(params) 2016-03-14 18:23:10 +01:00
Juanjo Bazán
decf0f2683 changes admin/valuator permissions
not allowed to create/destroy spending proposals anymore
2016-03-14 14:35:57 +01:00
Juanjo Bazán
c09e6f95d7 users can now delete their own spending proposals
via the 'my activity' page
2016-03-14 12:53:00 +01:00
Juanjo Bazán
142c981cdf adds ability to level 2 users to delete owned sps 2016-03-14 12:51:58 +01:00
palomahnhp
7d4936b577 track user verification and add statistics of verified users who did not vote proposals 2016-03-13 21:38:05 +01:00
rgarcia
37c1c31bfe refactors Admin#name_and_email 2016-03-08 15:45:58 +01:00
kikito
35b296cf0e Refactor Valuator#name_and_email 2016-03-08 15:26:13 +01:00
rgarcia
4e4f3ea922 refactors scopes for spending proposals 2016-03-08 14:40:25 +01:00
rgarcia
e586a1df58 fixes conflicts with master 2016-03-08 14:31:18 +01:00
rgarcia
fb2505d1b0 adds name and email for valuators 2016-03-08 14:08:41 +01:00
rgarcia
cd8cbef389 adds filtering of tags for spending proposals 2016-03-08 13:57:58 +01:00
kikito
837ad5fb1b Improves the visual aspect of app/views/spending_proposals/show 2016-03-08 13:55:28 +01:00
rgarcia
df454f1211 fixes specs displaying admin name and email 2016-03-08 12:58:48 +01:00
rgarcia
951505ce7d admins can tag spending proposals 2016-03-08 12:40:35 +01:00
Juanjo Bazán
cd58ae85f8 adds by_valuator search method to SpendingProposal 2016-03-04 20:19:42 +01:00
Juanjo Bazán
8fc302cb46 valuators can manage spending proposals 2016-03-04 20:19:42 +01:00
Enrique García
0019f5496c Merge pull request #964 from consul/admin-valuators-filters
adds new filters to admin valuations
2016-03-04 10:24:14 +01:00
Juanjo Bazán
fb5e2beb54 adds new filters to admin valuations 2016-03-03 19:02:13 +01:00