Commit Graph

2118 Commits

Author SHA1 Message Date
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
Juanjo Bazán
a8decd2c05 Merge pull request #447 from AyuntamientoMadrid/ahoy_queue
Ahoy queue
2015-09-09 14:50:26 +02:00
Juanjo Bazán
92bff4b4c3 adds :touch to ancestry
now nested comments caches invalidates automagically
2015-09-09 14:46:09 +02:00
Juanjo Bazán
9166307120 adds cache key for commendable without updated_at 2015-09-09 14:45:19 +02:00
rgarcia
b2690348db adds specs for stats in queue 2015-09-09 14:43:17 +02:00
rgarcia
dca7e1e38f moves stats storing to queue 2015-09-09 14:41:19 +02:00
rgarcia
d7f046bd3b displays total stat count 2015-09-09 14:41:19 +02:00
rgarcia
e555126331 tracks debate visits from the controller 2015-09-09 14:41:19 +02:00
rgarcia
cdc914de0d moves storing of visits to queue 2015-09-09 14:41:19 +02:00
kikito
2f983198d7 default to custom branch in staging and pre 2015-09-09 12:45:09 +02:00
kikito
8fb62a3b35 asks for the branch to deploy instead of immediately deploying master in staging & pre 2015-09-09 12:37:33 +02:00
Juanjo Bazán
55b2f96062 changes sentence 2015-09-09 11:05:48 +02:00
Juanjo Bazán
a51198dab6 Merge pull request #430 from AyuntamientoMadrid/desing_improves
Desing improves
2015-09-09 11:04:35 +02:00