1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00
Commit Graph

558 Commits

Author SHA1 Message Date
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
topkek
c4fd370d3f Update settings.js 2014-10-05 17:48:51 +02:00
7185
b34f9c31f9 Poster ID readability
Conflicts:
	js/id_colors.js
2014-10-05 17:48:43 +02:00
Bui
6133386b82 change ID text colour on hover 2014-10-05 17:48:07 +02:00
Bui
22f4543e6f remove vertical padding on coloured IDs 2014-10-05 17:48:07 +02:00
topkek
71491bc9e9 Update auto-reload.js 2014-10-05 17:48:07 +02:00
topkek
dd99b22f06 Update settings.js 2014-10-05 17:48:07 +02:00
topkek
3918386aab Update settings.js 2014-10-05 17:48:07 +02:00
topkek
9a096f5888 Update auto-reload.js 2014-10-05 17:48:07 +02:00
8chan
8bfd5e1bcd this>el 2014-10-05 17:48:07 +02:00
8chan
f8178dcbe4 Color IDs on new posts received via AJAX 2014-10-05 17:48:07 +02:00
8chan
035f8437ab Call on ready, dont pollute window namespace with vars 2014-10-05 17:48:07 +02:00
8chan
c3ba4cc7ef Remove prototype pollution, call on ready 2014-10-05 17:48:07 +02:00
anonfagola
01ce31a516 Added id_colors.js 2014-10-05 17:46:58 +02:00
anonfagola
b419c85f8c Forgot .js extension 2014-10-05 17:46:57 +02:00
anonfagola
fda530953b Create id_highlighter 2014-10-05 17:46:10 +02:00
czaks
f2e101f30d fix multi-image.js when quick-reply isn`t loaded 2014-09-27 11:22:28 +02:00
czaks
dda7462013 catalog link not always working; fix ctrlcctrlv#88 2014-09-27 11:13:04 +02:00
8chan
6fd3b64c67 Disallow multiple Shrink all images appearing
fixes vichan-devel#91
2014-09-27 10:55:14 +02:00
8chan
56f3d89774 Fix multi image from quick reply
Conflicts:
	js/multi-image.js
2014-09-27 10:52:24 +02:00
anonfagola
d9f20c290d Updated threadscroll.js with bettter compatibility 2014-09-27 10:48:36 +02:00
Nebs
ab2a83d194 Fixes catalog href on a potential /res/ board 2014-09-26 13:10:21 +02:00
Nebs
b7592c3eec Fixed unanimating gifs in the catalog 2014-09-26 13:10:14 +02:00
czaks
ba515c5f05 post-hover.js: show a popup preview if a reply is only partially on screen; fixes ctrlcctrlv#84 2014-09-26 12:56:05 +02:00
czaks
dbaeb395ac auto-reload.js: it`s actually setTimeout, not setInterval, right? 2014-09-25 06:32:53 +02:00
czaks
ed5272f17d auto-reload.js: don`t scroll up 2014-09-25 06:31:40 +02:00
8chan
5d8d20fcc5 Add timer to auto reload js
Conflicts:
	js/auto-reload.js
2014-09-25 06:30:55 +02:00
anonfagola
b9886dc474 Update threadscroll.js
Made compatible for use with additional_javascripts.
2014-09-24 04:47:40 +02:00
anonfagola
712e7f6c57 Update threadscroll.js
Made cleaner.
2014-09-24 04:47:40 +02:00
anonfagola
f5d121af10 Update threadscroll.js
Fixed a line left from debug, and added comments.
2014-09-24 04:47:40 +02:00
anonfagola
2a823ae786 Create threadscroll.js 2014-09-24 04:47:40 +02:00
czaks
56ed7fd8cd User JS and User CSS functionality. fixes #29 2014-09-21 02:29:33 +02:00
czaks
e7eafa135f favorites.js: add info about a possible conflict 2014-09-20 22:24:33 +02:00
czaks
7e8bf0ec49 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2014-09-20 22:14:04 +02:00
czaks
f5820d2aae move a few options to a general tab in options panel 2014-09-20 22:10:44 +02:00
Fredrick Brennan
23c73ca839 Allow the user to decide whether or not he wants to display his country 2014-09-20 16:35:28 +00:00
Fredrick Brennan
1ce9fb8174 Allow users to choose their favorite boards for sites w/too many to put in bar 2014-09-20 16:35:19 +00:00
czaks
ac888a769d add a very small image size for catalog 2014-09-20 06:40:43 +02:00
czaks
f7a015e7fe add user-options dialog functionality; port webm-settings to it; make a basic general settings applet; make it work on mobiles 2014-09-20 06:19:34 +02:00
czaks
ceaaae824a fix an issue with watch.js on android chrome 2014-09-20 06:08:14 +02:00
czaks
4d7933deb8 fix hide-threads.js & no-animated-gif.js interaction 2014-08-10 22:54:47 +02:00
czaks
1a1d44aadf live-index: fix for boards with more than one letter in name 2014-08-10 22:49:23 +02:00
czaks
48c1de637c live-index.js: load new thread functionality; bugfixes 2014-08-10 22:47:05 +02:00
czaks
e1d99e66b5 hide-threads.js: hide field from live-index as well 2014-08-10 22:45:12 +02:00
czaks
169d088c50 increase waiting times for watch.js and live-index.js 2014-08-10 21:00:31 +02:00
czaks
4d25ca85ce live-index.js: initial commit 2014-08-10 20:55:37 +02:00
Marcin Łabanowski
91519d9052 hopefully optimize watch.js a lot. fixes #24 2014-08-10 18:44:23 +02:00
czaks
1b2f512339 final solution to expand-too-long problems 2014-08-09 04:56:50 +02:00
czaks
7da6f3b212 styling: webm-settings: remove extraneous <span> 2014-08-08 23:24:04 +02:00
czaks
05e7ad0b56 ongoing catalog cleanup 2014-08-08 22:50:31 +02:00
czaks
f5191151ef fix catalog a little more; remove tooltipster (it didn`t work) and order by last reply date (mostly redundant); now the generation times are a little bit better 2014-08-08 22:44:02 +02:00
czaks
b8381b31db Revert "Use a different way to show the original filename"
This reverts commit d81a6c49e2.

Conflicts:
	js/download-original.js
	templates/post/fileinfo.html
2014-08-08 22:18:06 +02:00
czaks
96f5770e2e leave the download-original js for compatibility 2014-08-08 21:56:15 +02:00
Jano Slota
d65adac580 inline-expanding.js: 98% it is 2014-08-08 21:52:48 +02:00
Jano Slota
f14922ca8b inline-expanding.js: Or is it not after all? 2014-08-08 21:52:33 +02:00
Jano Slota
d81a6c49e2 Use a different way to show the original filename
Conflicts:
	templates/post/fileinfo.html
2014-08-08 21:52:19 +02:00
Jano Slota
8d8f66c701 inline-expanding.js: maxWidth is pointless now 2014-08-08 21:48:56 +02:00
Jano Slota
4fa98d938a Fix save-user_flag.js
Conflicts:
	js/save-user_flag.js
2014-08-08 21:39:20 +02:00