Commit Graph

676 Commits

Author SHA1 Message Date
Juanjo Bazán
c8d4a0088a removes url parsing in favor of current_path 2015-09-12 21:46:38 +02:00
Juanjo Bazán
dbdd149c06 redirects user to sms if no verified data
Fixes #433
2015-09-12 21:42:17 +02:00
kikito
5903ebe857 merges master and fix conflicts 2015-09-12 19:54:15 +02:00
Enrique García
f97fc56bb7 Merge pull request #479 from AyuntamientoMadrid/orgs-responsible
Orgs responsible
2015-09-12 19:36:11 +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
Alberto Garcia Cabeza
120b1a65c2 Changes tests for new texts 2015-09-12 18:13:52 +02:00
Juanjo Bazán
d6c52ec866 puts organizations out of verification process 2015-09-12 18:05:51 +02:00
kikito
d300bb6bcb Refactors order_selector
Moves the information about the current order to the selector, not to
the container
2015-09-12 16:48:41 +02:00
kikito
390b5bb5f1 Adds order specs to proposals feature 2015-09-12 16:48:41 +02:00
kikito
1caf6348a9 Extract HasOrders + partial from DebatesController 2015-09-12 16:48:41 +02:00
kikito
22e8d615aa fixes abilities: level 3 users can vote proposals, not just level 2 2015-09-12 14:13:40 +02:00
Juanjo Bazán
ea52402691 adds initial proposal's feature spec 2015-09-12 13:42:23 +02:00
Juanjo Bazán
e407173e4b adds code to proposals 2015-09-12 13:14:59 +02:00
Juanjo Bazán
8df5ed0e02 adds test for question presence 2015-09-12 12:55:08 +02:00
Juanjo Bazán
26113cac96 adds setting value check in Proposal#editable? 2015-09-12 12:53:22 +02:00
Juanjo Bazán
f22f0afe3c Merge branch 'proposals' of github.com:AyuntamientoMadrid/participacion into proposals 2015-09-12 12:52:22 +02:00
Juanjo Bazán
8111d523ce adds Proposal's model spec 2015-09-12 12:51:31 +02:00
kikito
68790ac8e5 adds abilities for proposals 2015-09-12 12:48:47 +02:00
kikito
6188e60b5e adds proposal factory 2015-09-12 12:18:23 +02:00
Raimond Garcia
942b27100b Merge pull request #472 from AyuntamientoMadrid/verification-path
Verification path
2015-09-11 16:52:02 +02:00
Juanjo Bazán
f517d7f410 adds before action for verified users 2015-09-11 16:44:52 +02:00
Raimond Garcia
050ae1265c Merge pull request #470 from AyuntamientoMadrid/filter-to-first-page-445
filters reset to page 1. Fixes #445
2015-09-11 16:41:58 +02:00
rgarcia
58a780bac5 reverts postgres extension until permissions enabled at server level 2015-09-11 16:31:24 +02:00
Juanjo Bazán
66c2813664 adds specs 2015-09-11 14:41:12 +02:00
Juanjo Bazán
8bf71e818b adds verification status methods to user 2015-09-11 14:39:43 +02:00
kikito
1f28e97c2e filters reset to page 1. Fixes #445 2015-09-11 13:04:43 +02:00
Juanjo Bazán
7b672d3ecb Merge pull request #462 from dgilperez/auto_linking
Adds autolinking for comments
2015-09-10 21:27:49 +02:00
David Gil
1833c83351 unaccents Debate.search terms and tests that 2015-09-10 21:03:55 +02:00
Raimond Garcia
67d5b6fcc8 Merge pull request #467 from AyuntamientoMadrid/improve_design
Improve design
2015-09-10 20:49:00 +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
3958d2f4c2 fixes spec [#395] 2015-09-10 20:13:30 +02:00
Alberto Garcia Cabeza
f1e95addaa Changes tests and comments unused keys 2015-09-10 19:29:05 +02:00
David Gil
5ecbe01d47 prevents body comments to accept html a tags, sanitize them out instead as well 2015-09-10 19:05:34 +02:00
David Gil
3386a29eb4 reverts options hash for optional attributes in spec helpers 2015-09-10 18:55:03 +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
31cf51f07a adds text_with_links helper and use that in any comment.body in views, adds test to check for malicious injections in comment body 2015-09-10 18:28:10 +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
rgarcia
547b7afc6b stores failed Census API calls [#277] 2015-09-10 18:00:23 +02:00
David Gil
f6246bf290 tests autolinking in a comment body 2015-09-10 17:58:44 +02:00
Raimond Garcia
b6f9de7e5c Merge pull request #463 from AyuntamientoMadrid/welcome-screen-308
Welcome screen
2015-09-10 17:57:42 +02:00
kikito
43bdfb940e merges master and fixes conflicts 2015-09-10 17:47:40 +02:00
kikito
01acc84679 Adds failing tests for welcome spec 2015-09-10 17:41:15 +02:00
rgarcia
076f9251f5 fixes specs [#395] 2015-09-10 14:27:37 +02:00
rgarcia
06a23eaccb adds specs for letter code verification [#395] 2015-09-10 14:27:37 +02:00
Juanjo Bazán
8e1dcdc16a fix bug on tag deletion when no taggable 2015-09-10 13:52:39 +02:00