From 282584e035af7888685a5df44b813e759dc49cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 26 Mar 2015 21:39:01 +0100 Subject: [PATCH 1/6] A bit more consistent formatting in catalog template --- stylesheets/fonts/OpenSans-Light-webfont.eot? | Bin 19084 -> 0 bytes templates/themes/catalog/catalog.html | 117 +++++++++++++------------- 2 files changed, 59 insertions(+), 58 deletions(-) delete mode 100644 stylesheets/fonts/OpenSans-Light-webfont.eot? diff --git a/stylesheets/fonts/OpenSans-Light-webfont.eot? b/stylesheets/fonts/OpenSans-Light-webfont.eot? deleted file mode 100644 index 12430030d3ed751d4db02e61950ce6049fa9981f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19084 zcmZs?RZtvEv@JX{xVzin?rvdl26uM}?k*v?LvRT0?(XjHL4y-4I0Q(5`20T=*b z_@DH@$Oi(z|AWTa&E@}t|Np=Rr~q65Rsg5}NE!gM|Iqz^38(-?fGxlpU<2^@-<%Mj z{U6KizfoI&^Z&9r0c-$H0LOo${-n0Y7}0RzQjT5`zD{@{>pEiO{;+4G9g^z#4`Pj}Xq z^thsoQr7#jO}llO9+FOl^@_5FEMF!JU-PadE!8khANj84l9$LYU&V!^K_yau3<(7` zb(EKJzj5++4pq?=B%4v*`}n(<2f4)}4=1;GU>AAPbQs5JjcBUeU6dl9L)pJp(i)Zm zpY6(N%%xQtWJ|}yN;p;qSNXT!Sez!RG;G^X+0Vd%hV4wLy_Mb{y z49rpfl@bDSFtLp<0DeXY7NF=78T`!pGioq+FR`q-Iu)4=Y=g6kj)D#&yYxIU1B4j` zB2J*F!5)JRYk3acD|AtD3vIk4zZG<>bl?)qg%3*Tph`9viZD>1ge`JRoD-!)0{+%W zbYQ-E2|($*zd1zaA&R$X&L_~AXqt{NyptNomlUcAK(Uk}mLSUH+4%IeX6r|CpDDOV zV%0Yk`?!*cmk1JyC#WV5;8Kveo(H&zpk=7=SRHpl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?BSjLQv#%6hcp=4Furoz0LOt-qR_-B118+itD4qHVO2_fU z(mRd<`@(7=wouV+CS3ANiZnzN6TF@ZC3zDO+y+9@>*5K!7hw{Muki$dJxeiPA>%aG zEXgZY#&Z)Ro*uvrWZhqn&-SH8lsw8)6){MlYZb;Hh%_MY}%O67<=c(wOuom&4P%DJWO`Dd@jPLE;#uq;R(U= zZJC?qRdR0FAoE#w4eDR3FpQ{=d<~zLfk!PIc#0LZr6@_@idgM*7+&T98L~LqT?un2 zG)*pz#G28K?uT9+T*_NdP1mDPD=D`~@lDwix;|nHOjty|p7@b6A#v$mscQ{6sui#s zCgB|tT)YH8Fcd1J9(siOS|y|^fdjHdaXyshL1iSgFs+dA#;w==N+4k;l{`l6_(k@~ z1V27u1W=t$!rsUN$x2eO^X-^R2_Z-z&e(UI7~h0b+pDA*op>}(^?f$xSe-P&!Gm5h zrwNL6S6n7g{k$Q@A=tz6Ts!P3jpj~~elh)+m1Wh2J94sX?!+qAW zCwXNyT=6HW%e3%eF%=k32fD#+tpJ0h;pDyN1=^&MHVK}aji8^4zTCQo$|sXRecTT& zb!*^e?;>W|NI4re%%ulF^Q6V1C9WNVNq5F6XM&w$iG*+3l z0p8apj`_77h!@d~O_JG{uvo+qv}9e2oV5u`+?xc>1ngi^4rC4423`EkL#yS{IC@w{ zoSn+>Ahjz1{nf4V_Wqwl;sy$2l4`keaY)v%)48_`HWeu-7)&N8Yi~}=9vUO!qNJk5 z#4NV(Ek_fa6{;02rz*xpRd^`zmHm4#7N@CHk?mAl;96pc+bg3vN~_KOVNdk6d;v+( t!}+ojmm4(|*pNwOkRFP0hY=MCBOAL}B!b5-W+DJRVz4_g5U$gDfP|T!#KQmp diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 45239c5b..6cc75a7d 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -18,74 +18,75 @@
{{ settings.subtitle }}
-
    -
  • {% trans 'Bump order' %}
  • -
  • {% trans 'Creation date' %}
  • -
  • {% trans 'Reply count' %}
  • -
  • {% trans 'Random' %}
  • -
- - {% trans 'Sort by' %}: - - - {% trans 'Image size' %}: - -
-
    - {% for post in recent_posts %} -
  • {% trans 'Bump order' %}
  • +
  • {% trans 'Creation date' %}
  • +
  • {% trans 'Reply count' %}
  • +
  • {% trans 'Random' %}
  • +
+ + {% trans 'Sort by' %}: + + + {% trans 'Image size' %}: + + +
+
    + {% for post in recent_posts %} +
  • -
    - - {% if post.youtube %} - - -
    - R: {{ post.reply_count }} / I: {{ post.image_count }} - {% if post.subject %} -

    - - {{ post.subject|e }} - -

    - {% else %} -
    - {% endif %} +
    + + {% if post.youtube %} + + +
    + R: {{ post.reply_count }} / I: {{ post.image_count }} + {% if post.subject %} +

    + + {{ post.subject|e }} + +

    + {% else %} +
    + {% endif %} + + {{ post.body }} +
    +
    +
  • + {% endfor %} +
+
- {{ post.body }} -
- - - {% endfor %} - - -
- + {% endfilter %} From 20ce6999d2a069919754978a4a6aa32e939b523d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 26 Mar 2015 21:43:26 +0100 Subject: [PATCH 2/6] Wrap controls on the catalog page in a div --- templates/themes/catalog/catalog.html | 40 ++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 6cc75a7d..12b3cd98 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -18,27 +18,29 @@
{{ settings.subtitle }}
-
    -
  • {% trans 'Bump order' %}
  • -
  • {% trans 'Creation date' %}
  • -
  • {% trans 'Reply count' %}
  • -
  • {% trans 'Random' %}
  • -
+
+
    +
  • {% trans 'Bump order' %}
  • +
  • {% trans 'Creation date' %}
  • +
  • {% trans 'Reply count' %}
  • +
  • {% trans 'Random' %}
  • +
- {% trans 'Sort by' %}: - + {% trans 'Sort by' %}: + - {% trans 'Image size' %}: - + {% trans 'Image size' %}: + +
    From 32821745c632bff01feb58cd234295dceaeea2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Thu, 26 Mar 2015 22:32:00 +0100 Subject: [PATCH 3/6] Add a simple search functionality to the catalog Requires commit 20ce699 which adds a wrapper for the controls on the catalog page. --- js/catalog-search.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 js/catalog-search.js diff --git a/js/catalog-search.js b/js/catalog-search.js new file mode 100644 index 00000000..07e21f87 --- /dev/null +++ b/js/catalog-search.js @@ -0,0 +1,45 @@ +/* + * catalog-search.js + * https://github.com/mgrabovsky/lainchan/lainchan/blob/catalog-search/js/catalog-search.js + * + * Released under the MIT license + * Copyright (c) 2015 Matěj Grabovský + * + * Usage: + * $config['additional_javascript'][] = 'js/jquery.min.js'; + * $config['additional_javascript'][] = 'js/catalog-search.js'; + */ + +(function() { + +var catalogSearch = function() { + var $controls = $('.controls'), + $threads = $('.threads .thread'), + $searchLabel = $(''), + $searchBox = $(''); + + $controls.append($searchLabel) + .append($searchBox); + + $searchBox.change(function() { + var query = new RegExp(this.value, 'm'), + $found = searchThreads($threads, query); + $threads.hide(); + $found.show(); + }); +}; + +// Filter threads by their content, given a regex. Can be extended later to load data +// remotely and filter by multiple fields +var searchThreads = function($threads, re) { + return $threads.filter(function() { + return re.test($('.replies', this).text()); + }); +}; + +// Only load in the catalog +if (active_page == 'catalog') { + onready(catalogSearch); +} + +}()); From 3d2ddb8c3b3eb0f1d5c697bc9dcf7faf371f6708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Fri, 27 Mar 2015 13:38:45 +0100 Subject: [PATCH 4/6] Make catalog search case-insensitive & instantaneous --- js/catalog-search.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/catalog-search.js b/js/catalog-search.js index 07e21f87..b91fc1ea 100644 --- a/js/catalog-search.js +++ b/js/catalog-search.js @@ -21,9 +21,8 @@ var catalogSearch = function() { $controls.append($searchLabel) .append($searchBox); - $searchBox.change(function() { - var query = new RegExp(this.value, 'm'), - $found = searchThreads($threads, query); + $searchBox.keyup(function() { + var $found = searchThreads($threads, this.value); $threads.hide(); $found.show(); }); @@ -31,7 +30,8 @@ var catalogSearch = function() { // Filter threads by their content, given a regex. Can be extended later to load data // remotely and filter by multiple fields -var searchThreads = function($threads, re) { +var searchThreads = function($threads, query) { + var re = new RegExp(query, 'mi'); return $threads.filter(function() { return re.test($('.replies', this).text()); }); From 6b37abab85ad342fd18e5c09c65248634e7dd194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Fri, 27 Mar 2015 13:55:01 +0100 Subject: [PATCH 5/6] Allow catalog search by a URL fragment (#s=...) --- js/catalog-search.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/catalog-search.js b/js/catalog-search.js index b91fc1ea..3235d1dc 100644 --- a/js/catalog-search.js +++ b/js/catalog-search.js @@ -26,9 +26,14 @@ var catalogSearch = function() { $threads.hide(); $found.show(); }); + + var m = location.hash.match(/[#&]s=([^&]+)/); + if(m) { + $searchBox.val(decodeURIComponent(m[1])).keyup(); + } }; -// Filter threads by their content, given a regex. Can be extended later to load data +// Filter threads by their content, given a regex. Can be extended to load data // remotely and filter by multiple fields var searchThreads = function($threads, query) { var re = new RegExp(query, 'mi'); From 7b33348a16e04f68458d1d2f876fbea27e9cb14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= Date: Fri, 27 Mar 2015 13:59:41 +0100 Subject: [PATCH 6/6] Fix source URL in comment --- js/catalog-search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/catalog-search.js b/js/catalog-search.js index 3235d1dc..ac7ef57a 100644 --- a/js/catalog-search.js +++ b/js/catalog-search.js @@ -1,6 +1,6 @@ /* * catalog-search.js - * https://github.com/mgrabovsky/lainchan/lainchan/blob/catalog-search/js/catalog-search.js + * https://github.com/mgrabovsky/lainchan/blob/catalog-search/js/catalog-search.js * * Released under the MIT license * Copyright (c) 2015 Matěj Grabovský