Commit Graph

1554 Commits

Author SHA1 Message Date
rgarcia
de84480788 adds admin summary page for spending proposals 2016-04-22 15:03:46 +02:00
rgarcia
521172bc19 adds validation on feasible_explanation 2016-04-21 14:07:41 +02:00
MaiteHdezRivas
3e7db9d1b5 Best practices code changes 2016-04-20 16:40:58 +02:00
palomahnhp
bf5d253e12 Merge branch 'master' into tracking_user_verifications_and_others
Conflicts:
	app/controllers/admin/stats_controller.rb
	db/dev_seeds.rb
2016-04-20 11:44:33 +02:00
palomahnhp
b4ec077f16 Merge remote-tracking branch 'origin/master' into tracking_user_verifications_and_others
Conflicts:
	app/assets/javascripts/application.js
2016-04-20 11:28:06 +02:00
kikito
aa351256d0 spanish typo
spanish typo

style
2016-04-19 15:59:24 +02:00
kikito
e6c42860a7 destroy the identities associated with an user when the user deletes his account 2016-04-19 13:33:52 +02:00
kikito
3504a27ca3 limits username uniqueness when registering with oauth 2016-04-19 13:33:16 +02:00
kikito
3cd12bd6ea Simplifies use of registering_with_oauth in User
Now we just ignore all validations when saving a user for oauth
2016-04-19 13:33:16 +02:00
Juanjo Bazán
11bcdf0211 changes reasons order, :not_voting_allowed first 2016-04-18 12:04:18 +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
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