Commit Graph

1580 Commits

Author SHA1 Message Date
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
Enrique García
78f35673b3 Merge pull request #457 from AyuntamientoMadrid/letter_verification_tries-332
Letter verification tries
2015-09-10 13:21:31 +02:00
Enrique García
cc7db09aff Merge pull request #456 from AyuntamientoMadrid/tracking_verified_users-399
Tracking verified users
2015-09-10 13:20:00 +02:00
Alberto Garcia Cabeza
98937e4467 Improves styles and texts for footer 2015-09-10 13:13:28 +02:00
kikito
2d3015703d replaces constants by class methods + private functions. Fixes broken tests 2015-09-10 13:02:21 +02:00
rgarcia
a5fdd64ca1 updates schema [#332] 2015-09-10 11:46:12 +02:00
rgarcia
b779e7903c refactors letter and sms generation codes [#332] 2015-09-10 11:45:19 +02:00
rgarcia
745dbc3f51 makes the letter code 6 digits [#332] 2015-09-10 11:44:09 +02:00
rgarcia
44a408980b adds spec for letter verification tries [#332] 2015-09-10 11:43:48 +02:00
rgarcia
16dd609ad0 adds verification tries to letter code [#332] 2015-09-10 11:43:25 +02:00
rgarcia
289389d09e removes spec focus [#399] 2015-09-10 11:13:54 +02:00
rgarcia
e1d708dc1f adds specs for tracking level 2 users 2015-09-10 11:03:59 +02:00
rgarcia
a8edad2ab6 refactors stats page 2015-09-10 11:03:48 +02:00
rgarcia
9360c0090e tracks level 2 verified users 2015-09-10 11:03:31 +02:00
Raimond Garcia
02c101cd97 Merge pull request #453 from AyuntamientoMadrid/ie8
Ie8
2015-09-09 23:51:31 +02:00
rgarcia
88579de5dd fixes specs 2015-09-09 22:55:39 +02:00
Alberto Garcia Cabeza
4f16955452 Improves styles for IE8 2015-09-09 20:34:08 +02:00
Alberto Garcia Cabeza
a61c006f7f Replaces bullet for bull 2015-09-09 20:33:21 +02:00
Alberto Garcia Cabeza
dba3385a6c Adds rem and respond js 2015-09-09 20:32:38 +02:00
Raimond Garcia
9e4fdec28e Merge pull request #444 from AyuntamientoMadrid/deploy-custom-branch-357
Deploy custom branch 357
2015-09-09 19:57:40 +02:00
kikito
f8d6dd4ca7 strings to symbols 2015-09-09 19:49:09 +02:00
kikito
e7e1663b26 makes staging the only variable server. uses ENV and defaults to master 2015-09-09 19:46:26 +02:00
kikito
f93173ef4a fixes typo 2015-09-09 19:37:52 +02:00
kikito
8c9f189d75 merges master and fixes conflicts 2015-09-09 19:36:23 +02:00
rgarcia
6a09e6548d reverts - stats with delayed jobs 2015-09-09 19:17:13 +02:00
kikito
86e1974a58 monkeypatches foundation_rails_helper so it shows an error div after ckeditor 2015-09-09 18:36:03 +02:00
kikito
ada03c8474 Adds max lengths in views 2015-09-09 18:34:26 +02:00
kikito
5e7a5b57de Adds max lengths and validations in models 2015-09-09 18:32:36 +02:00
kikito
c750765bca Modifies the tag sanitizer to truncate tags longer than 40
I could not make a nice ActAsTaggable error message, this is way faster
2015-09-09 18:30:27 +02:00
kikito
0e96c82faa Sets the max length of tags to 40 chars in the db 2015-09-09 17:36:21 +02:00
Raimond Garcia
bab31b0559 Merge pull request #448 from AyuntamientoMadrid/caches
Cache for comments
2015-09-09 17:01:11 +02:00
Juanjo Bazán
cda54b0050 adds time tag to comment 2015-09-09 16:53:17 +02:00
kikito
7157d056af lowers organization.name limit to 60 in order to be coherent with username 2015-09-09 16:33:15 +02:00
kikito
4be475990c limits username length to 60 2015-09-09 16:14:19 +02:00
kikito
a1ede8f9b6 Migrates adding limit to username and removing Comment.title 2015-09-09 15:52:43 +02:00
Juanjo Bazán
30bf5023b3 adds cache to debates/_comments partial
cache does not invalidate on updates of debate other than comments_count
2015-09-09 15:00:18 +02:00
Juanjo Bazán
811c329199 changes how comment.created_at is shown
time_ago_in_words is not cache friendly
2015-09-09 14:57:27 +02:00
Juanjo Bazán
e24e9e7be8 cache for _comment partial
not need to invalidates on commentable updates of comment_count because now ancestry touches parent comments so if there is children comment invalidation is automatic
2015-09-09 14:56:15 +02:00
Juanjo Bazán
e4e1c9039f cache for comment/_form
uses info for commentable but without need for invalidation after commentable updates
2015-09-09 14:54:01 +02:00