Commit Graph

2118 Commits

Author SHA1 Message Date
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
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
Raimond Garcia
59a99ed874 Merge pull request #450 from AyuntamientoMadrid/field-limits-446
Poner tamaño máximo a varios campos
2015-09-10 18:21:23 +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
f6246bf290 tests autolinking in a comment body 2015-09-10 17:58:44 +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
Enrique García
cb072848f3 Merge pull request #459 from AyuntamientoMadrid/admin-tags
Admin tags
2015-09-10 17:46:27 +02:00
kikito
249aed42c4 Makes welcome screen work using a sessions controller 2015-09-10 17:41:37 +02:00
kikito
01acc84679 Adds failing tests for welcome spec 2015-09-10 17:41:15 +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
Juanjo Bazán
87a4b13240 Merge pull request #458 from dgilperez/turbolinks-bar
adds Turbolinks progress bar
2015-09-10 15:31:57 +02:00
David Gil
0888cb0bfa adds target _blank and rel nofollow to Comment#body with rinku 2015-09-10 15:06:51 +02:00
David Gil
d6562832e7 adds rinku gem and auto_link for Comment.body - WIP 2015-09-10 14:56:59 +02:00
rgarcia
cdda0ec34a removes unused i18n key [#395] 2015-09-10 14:31:33 +02:00
rgarcia
fa2b6e78ef refactors address validation [#395] 2015-09-10 14:28:16 +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
rgarcia
1fb2211776 removes unused validation errors [#395] 2015-09-10 14:27:37 +02:00
rgarcia
cd74744e06 adds validation error for letter verification code [#395] 2015-09-10 14:27:02 +02:00
Juanjo Bazán
8e1dcdc16a fix bug on tag deletion when no taggable 2015-09-10 13:52:39 +02:00
Juanjo Bazán
39505a6818 adds specs for admin/tags 2015-09-10 13:50:11 +02:00
David Gil
30ee3b9aef adds Turbolinks progress bar 2015-09-10 13:35:01 +02:00