Commit Graph

1448 Commits

Author SHA1 Message Date
kikito
05bfaa5c30 move whenever require to Capfile 2015-09-12 08:56:47 +02:00
kikito
74d07d337d adds a dummy task to schedule.rb 2015-09-12 08:45:00 +02:00
kikito
054f3b94e5 uses -> instead of refer 2015-09-11 17:32:10 +02:00
kikito
06821b9dfc Merge branch 'master' into whenever-355 2015-09-11 17:28:41 +02:00
rgarcia
ea8c7e25cd updates sms text 2015-09-11 17:05:38 +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
eabcbb3ef7 fixes I18n string 2015-09-11 14:41:27 +02:00
Juanjo Bazán
66c2813664 adds specs 2015-09-11 14:41:12 +02:00
Juanjo Bazán
bc86d81302 adds verification controller 2015-09-11 14:40:51 +02:00
Juanjo Bazán
8bf71e818b adds verification status methods to user 2015-09-11 14:39:43 +02:00
kikito
44b5ea6018 first try at integrating whenever and capistrano 2015-09-11 14:23:41 +02:00
Alberto Garcia Cabeza
d364d1bf7e Fixes styles for search results and filters 2015-09-11 13:58:33 +02:00
kikito
71832b5ff1 adds whenever 2015-09-11 13:26:31 +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
Raimond Garcia
2eed0d9e48 Merge pull request #468 from dgilperez/unaccent_psql
Adds support for accented searches
2015-09-10 21:07:37 +02:00
David Gil
1833c83351 unaccents Debate.search terms and tests that 2015-09-10 21:03:55 +02:00
David Gil
49ca331fa3 adds migration to create unaccent extension 2015-09-10 21:02:53 +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
Juanjo Bazán
d13a69334a Merge pull request #464 from AyuntamientoMadrid/lock_verification-279
refactors lock tries
2015-09-10 20:41:14 +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
3958d2f4c2 fixes spec [#395] 2015-09-10 20:13:30 +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
f1e95addaa Changes tests and comments unused keys 2015-09-10 19:29:05 +02:00
Alberto Garcia Cabeza
5dbea69586 Improves pages, debates list, mobile version 2015-09-10 19:28:46 +02:00
Raimond Garcia
c075d6f5c9 Merge pull request #466 from AyuntamientoMadrid/hotfix-field-length
Truncates values from the db before shortening them
2015-09-10 19:21:27 +02:00
kikito
52a773224d Made migrations rollbackeable 2015-09-10 19:14: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
kikito
480a9d6f4e Truncates values from the db before shortening them 2015-09-10 19:04:57 +02:00
David Gil
3386a29eb4 reverts options hash for optional attributes in spec helpers 2015-09-10 18:55:03 +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