Commit Graph

846 Commits

Author SHA1 Message Date
juandefelix
30f54e4c2d adding session order and page to back link 2015-09-14 00:08:54 -05:00
juandefelix
9cc36949f2 added order and page to session 2015-09-14 00:06:40 -05:00
Alberto Garcia Cabeza
417757c4b0 Fixes add flags on mobile devices 2015-09-12 18:05:33 +02:00
Alberto Garcia Cabeza
747c604127 Fixes styles for mobile version 2015-09-12 18:05:15 +02:00
kikito
e454e5300e makes the comment in application.scss longer 2015-09-11 18:49:08 +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
Juanjo Bazán
1296668606 changes links to verification process 2015-09-11 16:44:00 +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
Raimond Garcia
3901b25df7 Merge pull request #471 from AyuntamientoMadrid/improve_design
Fixes styles for search results and filters
2015-09-11 16:41:38 +02:00
rgarcia
58a780bac5 reverts postgres extension until permissions enabled at server level 2015-09-11 16:31:24 +02:00
Juanjo Bazán
eb276b917a changes link in account page to verification path 2015-09-11 14:41:51 +02:00
Juanjo Bazán
bc86d81302 adds verification controller 2015-09-11 14:40:51 +02:00
Alberto Garcia Cabeza
d364d1bf7e Fixes styles for search results and filters 2015-09-11 13:58:33 +02:00
kikito
1f28e97c2e filters reset to page 1. Fixes #445 2015-09-11 13:04:43 +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
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
725b9f2fe2 Merge pull request #465 from dgilperez/prevent_double_comments
Prevents double submit for form buttons
2015-09-10 20:55:05 +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
David Gil
ec4119582c accepts no html tags in text_with_links sanitize 2015-09-10 20:42:57 +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
Alberto Garcia Cabeza
a62cbf4f39 Adds submit button for header's search form 2015-09-10 19:47:31 +02:00
Alberto Garcia Cabeza
5dbea69586 Improves pages, debates list, mobile version 2015-09-10 19:28:46 +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
3f652262e7 makes the controller send the emails instead of Comment model 2015-09-10 18:47: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
David Gil
a5f05455c4 prefers :button and :submit selector to css class in selector 2015-09-10 18:42:53 +02:00
David Gil
2f5168a2bf changes default loading text to "..." 2015-09-10 18:35:48 +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
be2a098706 removes missing constant in views, replacing by class method 2015-09-10 18:14:59 +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
David Gil
a742afff9b clean code 2015-09-10 18:00:48 +02:00
rgarcia
547b7afc6b stores failed Census API calls [#277] 2015-09-10 18:00:23 +02:00
David Gil
81b1549d11 prevents double submit for form buttons 2015-09-10 17:58:02 +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
249aed42c4 Makes welcome screen work using a sessions controller 2015-09-10 17:41:37 +02:00
kikito
2c04cd07d9 Adds independent welcome screen 2015-09-10 17:40:54 +02:00
Alberto Garcia Cabeza
3878132e74 Improves styles on pages and debates list 2015-09-10 17:23:12 +02:00
Alberto Garcia Cabeza
57682e8111 Updates header styles, moves search form to header 2015-09-10 17:22:11 +02:00
Alberto Garcia Cabeza
c55f365f2e Updates custom icons font 2015-09-10 17:20:42 +02:00