1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-08 15:38:20 +01:00

941 Commits

Author SHA1 Message Date
czaks
8b698e36e7 Merge https://github.com/vichan-devel/vichan
Conflicts:
	inc/mod/pages.php
	js/auto-reload.js
	js/id_colors.js
	js/id_highlighter.js
	stylesheets/style.css
	templates/index.html
2014-10-05 18:12:19 +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
Fredrick Brennan
4b3e33c5b0 Merge pull request #118 from topkek/master
404/Error handling for thread updater
2014-10-02 23:19:32 -04:00
Bui
b76f590a98 fix hide link on images fetched with ajax 2014-10-03 00:37:43 +09:00
ScriptKi77y
e9352a2ea8 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-09-30 01:58:23 -05:00
ScriptKi77y
0f7220fa40 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-09-29 22:02:57 -05:00
Bui
156d207469 wrap updater in ID span 2014-09-29 05:18:00 +09:00
topkek
7b8cef2446 Update settings.js 2014-09-28 20:25:07 +01:00
topkek
c9942ab3db Keep trying to update if thread didn't 404 2014-09-28 20:23:30 +01:00
topkek
d4b73046b9 Error/404 handling 2014-09-28 20:00:43 +01:00
7185
bbd4cf88bc Poster ID readability 2014-09-28 05:55:10 +02:00
Fredrick Brennan
b2ab0d1e49 Merge pull request #108 from bui/master
remove vertical padding on coloured IDs
2014-09-27 21:28:21 -04:00
Bui
0e59f565c4 change ID text colour on hover 2014-09-28 09:17:30 +09:00
Bui
836e557773 remove vertical padding on coloured IDs 2014-09-28 08:58:39 +09:00
topkek
cd227d6509 Update auto-reload.js 2014-09-28 00:40:00 +01:00
topkek
ea318be4e8 Update settings.js 2014-09-28 00:27:28 +01:00
topkek
e4c68b83f5 Update settings.js 2014-09-28 00:17:16 +01:00
topkek
128adfd999 Update auto-reload.js 2014-09-28 00:16:16 +01:00
8chan
befe393778 Rewrite color IDs script so it actually works 2014-09-27 21:23:51 +00:00
8chan
150480f3fc Highlight IDs on new posts received via AJAX 2014-09-27 20:23:27 +00:00
8chan
de0328f329 this>el 2014-09-27 20:19:58 +00:00
8chan
3d73def541 Color IDs on new posts received via AJAX 2014-09-27 20:17:31 +00:00
8chan
4208c16f61 Call on ready, dont pollute window namespace with vars 2014-09-27 20:04:57 +00:00
8chan
98209fc806 Remove prototype pollution, call on ready 2014-09-27 20:04:27 +00:00
anonfagola
4086749dfe Added id_colors.js 2014-09-27 11:56:21 -07:00
anonfagola
e7c1f7d22f Forgot .js extension 2014-09-27 11:55:39 -07:00
anonfagola
677a9a8428 Create id_highlighter 2014-09-27 09:47:11 -07:00
czaks
e748a286b3 Merge branch 'master' of https://github.com/ctrlcctrlv/8chan
Conflicts:
	inc/api.php
	js/multi-image.js
2014-09-27 11:34:05 +02:00
czaks
9b466f74a6 Merge https://github.com/vichan-devel/vichan 2014-09-27 11:26:41 +02:00
czaks
f2e101f30d fix multi-image.js when quick-reply isn`t loaded 2014-09-27 11:22:28 +02:00
czaks
370c724550 Merge https://github.com/vichan-devel/vichan
Conflicts:
	js/multi-image.js
	stylesheets/style.css
2014-09-27 11:19:25 +02:00
czaks
dda7462013 catalog link not always working; fix ctrlcctrlv#88 2014-09-27 11:13:04 +02:00