Commit Graph

515 Commits

Author SHA1 Message Date
czaks
f16c14640e hide-threads.js: hide youtube videos and other iframe embeds as well; fixes ctrlcctrlv#193 2014-10-20 14:28:22 +02:00
czaks
4220b259e6 show-own-posts.js: remove a debugging expression 2014-10-18 22:44:38 +02:00
czaks
638931b02d show-own-posts.js: fix a bug 2014-10-18 19:35:41 +02:00
czaks
e3652ef980 shown-own-posts.js: documentation fix 2014-10-18 16:50:21 +02:00
czaks
67988221b4 show-own-posts.js initial commit 2014-10-18 16:36:04 +02:00
czaks
6fc4c02c4e ajax.js: add ajax_after_post event 2014-10-18 15:31:48 +02:00
czaks
31097b89d1 overcome a transifex bug with translation of one string 2014-10-18 13:59:17 +02:00
8chan
b2cbb70da3 Khorne in #8chan on irc.rizon.net contributed this thread watcher.
Can't properly attribute the code to him because he doesn't want it
connected to his Github account for some reason.

Conflicts:
	inc/instance-config.php
2014-10-11 20:41:40 +02:00
8chan
f3e2131f06 Actually fix new_post event inline.js 2014-10-11 20:39:25 +02:00
8chan
1506bcc834 Make inline work on new_post event 2014-10-11 20:38:02 +02:00
czaks
74a40b72ed ban-list.js: vstaff 2014-10-09 02:03:35 +02:00
czaks
ab96e30d89 infinite scroll implementation 2014-10-09 00:58:30 +02:00
czaks
9b3fa77719 new banlist implementation; also includes a public banlist 2014-10-08 23:23:59 +02:00
czaks
906764a62f bundle longtable library @ https://github.com/czaks/longtable 2014-10-08 23:19:03 +02:00
czaks
ca42984ddc i18n auto-reload.js 2014-10-07 05:40:37 +02:00
8chan
9768bb6726 fuck 2014-10-07 04:41:41 +02:00
8chan
582c77a935 Fix name and order 2014-10-07 04:41:41 +02:00
8chan
b7e9007ad4 This makes the options appear at the bottom for some reason 2014-10-07 04:41:41 +02:00
8chan
894faf989c User can disable backlinks if they want to, off by default 2014-10-07 04:41:41 +02:00
8chan
1f28316fca Make inline.js work in mod panel
Conflicts:
	inc/instance-config.php
2014-10-07 04:41:05 +02:00
James Campos
fee03312d7 optional backlink hiding 2014-10-07 03:27:36 +02:00
James Campos
0b8728d7ce add loading stub 2014-10-07 03:27:36 +02:00
James Campos
f1b89a5302 optional 2014-10-07 03:27:36 +02:00
James Campos
1e04f29485 extract caching 2014-10-07 03:27:36 +02:00
James Campos
daa30a12de better op selector, don't attach to links 2014-10-07 03:27:36 +02:00
James Campos
262f525e75 fix 2014-10-07 03:27:36 +02:00
James Campos
702e20753a clearfix 2014-10-07 03:27:36 +02:00
James Campos
9dce04ebc8 remove inlined posts for new inlined posts 2014-10-07 03:27:35 +02:00
James Campos
2f85073d28 fix front page backlink 2014-10-07 03:27:35 +02:00
James Campos
3ce156a0d0 rename 2014-10-07 03:27:35 +02:00
James Campos
3c98319e52 front page fixes 2014-10-07 03:27:35 +02:00
James Campos
9ea5ff610e bypass (OP) text 2014-10-07 03:27:35 +02:00
James Campos
b1a5911673 fix when quote is last element 2014-10-07 03:27:35 +02:00
James Campos
aea23e99b6 less invasive css fix 2014-10-07 03:27:35 +02:00
James Campos
bb193e93e2 fix for image posts 2014-10-07 03:27:34 +02:00
James Campos
8d91efc560 grab the whole post 2014-10-07 03:27:34 +02:00
James Campos
26e343d02a fix 2014-10-07 03:27:34 +02:00
James Campos
ee4716b048 work for backlinks 2014-10-07 03:27:34 +02:00
James Campos
91ab8eeae6 disable highlightReply 2014-10-07 03:27:34 +02:00
James Campos
970ff0d619 this is how you cache 2014-10-07 03:27:34 +02:00
James Campos
51a74bbd73 fix selector 2014-10-07 03:27:34 +02:00
James Campos
67d3449998 fix cross-thread inlining 2014-10-07 03:27:33 +02:00
James Campos
274ac0965a get op from input value 2014-10-07 03:27:33 +02:00
James Campos
3de119e417 maybe support cross thread inlining 2014-10-07 03:27:33 +02:00
James Campos
cb92ee0483 inline 2014-10-07 03:27:33 +02:00
czaks
606b39450d better synchronize the javascripts with 8chan 2014-10-05 18:30:47 +02:00
Bui
5f521adfd5 fix hide link on images fetched with ajax 2014-10-05 17:49:31 +02:00
ScriptKi77y
7d5899d3a7 Quick fix to remove lag..
Executing a function to make a get request while simultaneously triggering a scroll event within the executed scroll event is probably not the best idea.

This still needs work, there should probably be something else used to check for updates, such as an event where page has focus or something else that doesn't get called so many times, preferably something that reduces the timer instead.

This is just a quick fix to stop all the lag on threads when scrolling near the bottom.
2014-10-05 17:49:31 +02:00
ScriptKi77y
2ece97d685 Scroll hook thread polling adjusttment.
Fixed an issue with the scroll hook thread polling.
Users scrolling near the bottom of the page are making upwards of 7-10 requests a second to the site.

Added a small timer using the "poll_interval_mindelay" value to prevent unnecessary polling, one is enough during this minimum time delay.
2014-10-05 17:49:30 +02:00
Bui
7aa2976524 wrap updater in ID span 2014-10-05 17:48:51 +02:00