Commit Graph

7804 Commits

Author SHA1 Message Date
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
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
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
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
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
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
16dd609ad0 adds verification tries to letter code [#332] 2015-09-10 11:43:25 +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
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
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
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
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
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
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
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
Juanjo Bazán
a51198dab6 Merge pull request #430 from AyuntamientoMadrid/desing_improves
Desing improves
2015-09-09 11:04:35 +02:00
Alberto Garcia Cabeza
ff4d73025d Improves styles for header mobile version 2015-09-09 10:44:58 +02:00
Alberto Garcia Cabeza
ed0bd904c4 Adds apple touch icon 2015-09-09 10:44:31 +02:00
Raimond Garcia
b54e4e8649 Merge pull request #437 from AyuntamientoMadrid/debate-moderation-2
Bulk moderation
2015-09-08 20:55:51 +02:00
kikito
48ba9a436d adds select all/none to bulk moderation 2015-09-08 20:46:18 +02:00
kikito
b9ebe8c2c4 Implements basic bulk debates functionality 2015-09-08 19:44:50 +02:00