Commit Graph

1770 Commits

Author SHA1 Message Date
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
kikito
8f8afdfd62 Proposals hot_score 2015-09-14 20:37:32 +02:00
kikito
47c95078f2 Extract score calculation to a module 2015-09-14 20:36:04 +02:00
kikito
9acb07c323 implements a new hot scoring system 2015-09-14 20:36:04 +02:00
rgarcia
6b15ccafe2 adds summary to proposals 2015-09-14 20:07:27 +02:00
rgarcia
c9e46e3d8f fixes conflicts 2015-09-14 16:46:00 +02:00
rgarcia
e9e339fa50 adds responsible name to proposals 2015-09-14 16:43:32 +02:00
Juanjo Bazán
1e96bba262 refactors account's email config 2015-09-14 14:09:24 +02:00
Juanjo Bazán
f39d91597c reorders settings in admin 2015-09-14 13:37:50 +02:00
Juanjo Bazán
074ae995f4 moves magic number to Settings 2015-09-14 13:37:16 +02:00
rgarcia
6f7a6dcf3b removes possibility of taking away support for proposals 2015-09-14 13:11:47 +02:00
kikito
822b2c728e Adds a new sort scope for proposals 2015-09-13 22:07:45 +02:00