1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-03 19:47:25 +01:00
Commit Graph

61 Commits

Author SHA1 Message Date
8chan
adf086de6e Attempted performance fix for scroll in auto-reload 2015-03-25 21:03:55 -07:00
8chan
e26cfbb889 Make scroll event faster in auto-reload.js 2015-03-19 20:23:54 -07:00
Fredrick Brennan
51510f09ce Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-03-15 17:41:44 +08:00
Fredrick Brennan
aee9cd8455 Better organize auto-update options 2015-03-15 17:40:27 +08:00
8chan
647c0618ce Fix Notification.requestPermission on first run 2015-03-14 00:03:54 -07:00
Fredrick Brennan
8aad0dea98 Desktop notifications in auto-reload.js 2015-03-13 19:18:56 +08:00
marktaiwan
5ccdaf3b0d Always displays the options panel item 2015-03-08 09:57:49 +08:00
marktaiwan
ecd2616ae8 Bugfix: auto update option
catastrophic typo
2015-03-08 09:37:29 +08:00
marktaiwan
b81ee15e84 Adds user option for thread updater
Adds checkbox to the Options panel

Convert stray space indents to tabs
2015-01-23 23:26:41 +08:00
8chan
2b67cfc5ee Stop nesting bug on update 2014-11-08 16:57:21 -08:00
8chan
ff984694d4 Revert breaking change 2014-11-01 16:00:48 -07:00
topkek
2b318b6528 Make it a little neater 2014-10-24 06:07:12 +01:00
topkek
92c1057b5c Use append instead of insertAfter to add new posts 2014-10-24 05:55:18 +01:00
czaks
53d46d358e Merge https://github.com/vichan-devel/vichan 2014-10-07 05:40:51 +02:00
czaks
ca42984ddc i18n auto-reload.js 2014-10-07 05:40:37 +02:00
czaks
606b39450d better synchronize the javascripts with 8chan 2014-10-05 18:30:47 +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
71491bc9e9 Update auto-reload.js 2014-10-05 17:48:07 +02:00
topkek
9a096f5888 Update auto-reload.js 2014-10-05 17:48:07 +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
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
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
topkek
cd227d6509 Update auto-reload.js 2014-09-28 00:40:00 +01:00
topkek
128adfd999 Update auto-reload.js 2014-09-28 00:16:16 +01:00
czaks
bb4ebebe89 Merge https://github.com/vichan-devel/vichan
Conflicts:
	js/auto-reload.js
	stylesheets/catalog.css
	stylesheets/style.css
2014-09-26 13:40:02 +02:00
8chan
4bb8eb49e8 Merge /home/service/www/http
Conflicts:
	inc/instance-config.php
	js/auto-reload.js
2014-09-25 20:55:05 +00:00
8chan
4ecdcd292f auto reload better 2014-09-25 20:50:09 +00: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
25bf9f88f5 Update auto-reload.js
Changed favicon_au.png to static/favicon_au.png
2014-09-24 18:27:17 -07:00
anonfagola
5bbfc85c0c Added icon changing when thread updated.
makeIcon should also have the little *bleep* sound.
2014-09-24 18:23:15 -07:00
8chan
beff737c9e Add timer to auto reload js 2014-09-24 21:30:57 +00:00
8chan
416a48838c Add timer to auto reload js 2014-09-24 21:30:57 +00:00
8chan
4eb31555fc Add update button to auto-reload.js 2014-09-24 20:14:02 +00:00
Michael Walker
abaf80fd8a Reset the delay to the minimum upon focussing the window (configurable) 2014-05-05 20:54:40 +01:00
Michael Walker
54fdd54e89 Make the delays configurable in settings.js 2014-05-05 20:51:51 +01:00
Michael Walker
97cfec836b Add a maximum reload delay 2014-05-05 19:33:57 +01:00
Michael Walker
91a3016d27 Increase the poll_interval_delay when there are no posts 2014-05-05 19:33:57 +01:00
Michael Walker
0e18636fe6 Move the magic numbers out to variables 2014-05-05 19:33:57 +01:00
czaks
1c6b178dc5 add copyright notices for javascripts based on commit history 2014-01-19 14:27:24 +01:00
czaks
9039d9c4d9 fix previous documentations ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:40:29 +01:00
czaks
faf5fe1ef6 Revert "auto-reload.js: evade caching"
This reverts commit e9226dba46.
2013-12-31 15:39:47 +01:00
czaks
e9226dba46 auto-reload.js: evade caching 2013-12-29 04:38:16 +01:00
czaks
371685140a watch.js: watch board + watch thread + tool for pinning boards; currently may not work the best at mobiles and without compact-boardlist 2013-12-29 01:10:35 +01:00