Commit Graph

2781 Commits

Author SHA1 Message Date
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
kikito
50148f0aaf Adds new abilities for proposals 2015-09-13 22:07:44 +02:00
kikito
77fbd2318e Makes blocking an author also block his proposals 2015-09-13 22:07:44 +02:00
rgarcia
6641c380bc fixing conflicts 2015-09-13 22:00:59 +02:00
rgarcia
ad8880d02c adds proposal votes 2015-09-13 21:56:52 +02:00
Juanjo Bazán
2eefdb2499 adds magic number 2015-09-13 18:59:46 +02:00
juandefelix
e2fc128c16 passing validations by adding terms_of_service to attributes hash 2015-09-13 11:11:11 -05:00
kikito
2466b2b830 adds the same routes as debates have to proposals 2015-09-13 12:26:23 +02:00
rgarcia
f1dd550cd9 fixes js injection for proposal description 2015-09-13 12:11:39 +02:00
kikito
5903ebe857 merges master and fix conflicts 2015-09-12 19:54:15 +02:00
kikito
08cf75fb95 Fixes bug: users were creating new organisations instead of updating existing ones 2015-09-12 19:30:26 +02:00
kikito
849a2c83a8 Implements searching in proposals 2015-09-12 18:35:45 +02:00
Juanjo Bazán
6b0edac6fc adds responsible_name to organizations 2015-09-12 18:16:14 +02:00
kikito
3bcea097c6 Moves model concerns from lib to app/models/concerns 2015-09-12 16:53:35 +02:00
Juanjo Bazán
815ee0ad62 saves a query 2015-09-12 16:19:17 +02:00
kikito
22e8d615aa fixes abilities: level 3 users can vote proposals, not just level 2 2015-09-12 14:13:40 +02:00
kikito
231665020e Allows commenting Proposals in Comment validation 2015-09-12 14:05:24 +02:00
kikito
f80d7771a1 Adds paranoia & Flammable to proposal 2015-09-12 14:05:24 +02:00
kikito
d57d538f3b Extracts Flammable module from comment & debate 2015-09-12 14:05:24 +02:00
Juanjo Bazán
e407173e4b adds code to proposals 2015-09-12 13:14:59 +02:00
Juanjo Bazán
26113cac96 adds setting value check in Proposal#editable? 2015-09-12 12:53:22 +02:00
kikito
68790ac8e5 adds abilities for proposals 2015-09-12 12:48:47 +02:00
rgarcia
3fc4cf0c1b adds proposal's index 2015-09-12 12:47:28 +02:00
rgarcia
f2b917d486 adds proposal show 2015-09-12 12:30:20 +02:00
rgarcia
3f7338a6ae adds proposal new and create 2015-09-12 11:38:22 +02:00
Juanjo Bazán
104900d343 adds proposal model 2015-09-11 19:25:26 +02:00
rgarcia
58a780bac5 reverts postgres extension until permissions enabled at server level 2015-09-11 16:31:24 +02:00
kikito
c399ddf18d Adds default values to limits when the db does not have them
This prevents errors when doing rake db:setup (the db has still not
been created but the rails models are loaded)
2015-09-11 11:32:29 +02:00
David Gil
1833c83351 unaccents Debate.search terms and tests that 2015-09-10 21:03:55 +02:00
Juanjo Bazán
728dd28acf Merge pull request #460 from dgilperez/improve_comment_email_delivery_logic
Prevents users to receive email notifications about own comments and replies
2015-09-10 20:45:17 +02:00
rgarcia
abc68dc868 refactors lock tries [#279] 2015-09-10 20:26:49 +02:00
Enrique García
c1c213f773 Merge pull request #461 from AyuntamientoMadrid/final_verification-395
Final letter verification
2015-09-10 20:22:42 +02:00
Enrique García
1a804fc73d Merge pull request #454 from AyuntamientoMadrid/failed_census_call-277
Stores failed Census API calls
2015-09-10 20:21:15 +02:00
rgarcia
664852ce4e refactors storing of failed attempt [#277] 2015-09-10 20:16:49 +02:00
rgarcia
b7c1b4acee renames verify? methods [#395] 2015-09-10 20:08:11 +02:00
rgarcia
8186f5a240 refactors method names for validations [#395] 2015-09-10 20:06:45 +02:00
David Gil
d9300f1c10 prevents users to receive email notifications about own comments and replies 2015-09-10 18:46:00 +02:00
David Gil
8ed434cc8b uses more rails-like syntax in scopes 2015-09-10 18:44:33 +02:00
kikito
8596df1ea8 merges master and fix conflicts 2015-09-10 18:09:19 +02:00
kikito
95fc7ea949 remove constants / replace by class methods 2015-09-10 18:07:30 +02:00