Commit Graph

2781 Commits

Author SHA1 Message Date
kikito
cc1a69c7a5 fixes error in census_api and refactors constructor 2015-09-30 10:56:57 +02:00
kikito
1c372328d9 Refactor in residence verification + census api
Needed for a new census api verification using only the document type
(no date of birth and no postal code)
2015-09-29 20:18:52 +02:00
Juanjo Bazán
4a5dafd6e2 Merge pull request #551 from AyuntamientoMadrid/verification_tracking-500
Verification tracking
2015-09-28 20:04:15 +02:00
Raimond Garcia
d541db8acf Merge pull request #564 from AyuntamientoMadrid/ability-split
Splits ability.rb and specs into several smaller files
2015-09-28 17:36:10 +02:00
Enrique García
a050dfd1c1 Merge pull request #559 from AyuntamientoMadrid/address
removes unnecessary address from users
2015-09-28 17:35:48 +02:00
kikito
e76d2b9ad6 fixes travis 2015-09-28 17:19:53 +02:00
kikito
636e6bd479 second attempt at fixing travis 2015-09-28 15:49:28 +02:00
kikito
65ec39ebb3 attempts to fix failing travis 2015-09-28 15:22:15 +02:00
rgarcia
6832b0e404 makes spaces consistent 2015-09-28 15:08:08 +02:00
rgarcia
7b9f2c9695 refactors sanitizable behaviour 2015-09-28 15:06:22 +02:00
rgarcia
590c0b9242 refactors length validations 2015-09-28 14:48:53 +02:00
kikito
82af488ce3 Splits ability.rb and specs into several smaller files
I'm doing this in preparation for the "Manager" ability, which will
require even more refactors of the abilities (for example,
manager can not modify their own account)
2015-09-28 13:51:42 +02:00
rgarcia
6d5d60c0df refactors conflictable behaviour 2015-09-28 13:38:48 +02:00
rgarcia
8e42055ece refactors taggable behaviour 2015-09-28 13:33:57 +02:00
rgarcia
fbb5db8062 removes unnecessary address from users 2015-09-26 13:45:37 +02:00
rgarcia
d39fc60f92 fixes unverified user's scope 2015-09-26 13:08:09 +02:00
rgarcia
c367bc264c refactors pending verification step view [#500] 2015-09-24 17:21:10 +02:00
rgarcia
8c56e28cce improves incomplete verification scope [#500] 2015-09-24 17:21:09 +02:00
rgarcia
1a80752c04 adds incomplete verification scope [#500] 2015-09-24 17:21:09 +02:00
rgarcia
e9e97daf46 displays failed census calls [#500] 2015-09-24 17:21:08 +02:00
Juanjo Bazán
5617f9869e Merge pull request #545 from AyuntamientoMadrid/verification_postal_codes
Verification postal codes
2015-09-24 13:09:14 +02:00
Juanjo Bazán
b979f871dd removes unused method 2015-09-24 12:42:21 +02:00
rgarcia
1dee45337b fixes specs 2015-09-23 21:08:21 +02:00
rgarcia
1d1b7b86d2 adds validation for postal codes in Madrid 2015-09-23 20:54:56 +02:00
rgarcia
1a6ee424d0 refactors postal code validation 2015-09-23 20:09:39 +02:00
Juanjo Bazán
7b9c050df2 adds has_many proposals to user 2015-09-23 17:09:41 +02:00
Enrique García
44f19085a9 Merge pull request #539 from AyuntamientoMadrid/activities
Activities
2015-09-23 12:40:02 +02:00
rgarcia
6ccef97d4e adds valid postal codes 2015-09-23 12:34:19 +02:00
Juanjo Bazán
9969884a50 minirefactors 2015-09-23 12:32:36 +02:00
Enrique García
ae166a6836 Merge pull request #505 from dgilperez/debates_max_votes_editable
Adds setting to control max number of votes for a Debate to be editable
2015-09-22 16:52:52 +02:00
Enrique García
3e7a8e572e Merge pull request #483 from juandefelix/user-from-omniauth
Añadido :terms_of_service a User::first_or_create_for_oauth
2015-09-22 16:42:14 +02:00
Juanjo Bazán
23eba622a2 fix bug when blocking users 2015-09-22 16:30:43 +02:00
Juanjo Bazán
1047df11a1 includes hidden relations by default 2015-09-22 16:30:43 +02:00
Juanjo Bazán
05237ca1e2 adds scopes for every actionable class to activity 2015-09-22 16:30:43 +02:00
Juanjo Bazán
9e922ad080 adds activity model 2015-09-22 16:30:43 +02:00
kikito
343025872b changes comment moderation to be similar to proposals moderation 2015-09-22 14:20:37 +02:00
kikito
757205a93e Unifies bulk & debates moderation forms in a single one 2015-09-21 15:41:01 +02:00
Enrique García
8fc2058bd9 Merge pull request #529 from AyuntamientoMadrid/moderation-changes
changes moderation/proposals: only show flagged except in 'All' filter
2015-09-21 11:57:01 +02:00
Juanjo Bazán
37c696bde8 changes moderation/proposals: only show flagged
To view all use the filter "All".
2015-09-18 14:00:29 +02:00
kikito
793bc52d00 recalculates comments_count when restoring in addition to when hiding a comment 2015-09-18 11:00:18 +02:00
Juanjo Bazán
2ffb22a249 Merge pull request #519 from AyuntamientoMadrid/fix-tagcloud-488
Fix tagcloud
2015-09-17 17:24:39 +02:00
Enrique García
40b539bdda Merge pull request #504 from dgilperez/tags_in_search
Incluyendo etiquetas en el buscador de debates
2015-09-17 17:17:14 +02:00
kikito
8ff8a1df7f Makes tags count only visible debates and proposals 2015-09-17 16:54:10 +02:00
David Gil
0418872fff tidies up a bit and adds wild: true for tag-based debate searching 2015-09-17 14:48:43 +02:00
Juanjo Bazán
df72ece3c4 [admin/comments] remove comments of blocked users 2015-09-17 13:54:15 +02:00
Juanjo Bazán
1f42fba8ec adds validation for allowed age 2015-09-16 18:00:49 +02:00
Juanjo Bazán
46612bd01e cleans document number before residence check 2015-09-16 17:24:29 +02:00
Juanjo Bazán
fe9241c81b adds i18n to residence document error 2015-09-16 17:24:06 +02:00
David Gil
f231104edc adds setting to control max number of votes for a Debate to be editable 2015-09-15 21:08:01 +02:00
David Gil
497c595704 considers tags within a debate search 2015-09-15 15:06:34 +02:00