1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
Commit Graph

667 Commits

Author SHA1 Message Date
Jason Puglisi
e7d3097e5a Removed extra space for some options 2015-03-11 16:35:49 -04:00
czaks
dbaaa0c40a watch.js & slugify fix 2015-03-10 14:52:44 +01:00
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
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
czaks
4a0c87c7e1 Revert "Update jQuery UI to 1.11.0, GeoIPv6 and IP library"
This reverts commit dca7570b32.
2014-07-06 03:50:16 +02:00
Jano Slota
d1a3fe6dbf Fix save-user_flag.js 2014-07-06 01:31:22 +02:00
Jano Slota
23fc32f835 Add save-user_flag.js 2014-07-06 01:31:00 +02:00
Jano Slota
dca7570b32 Update jQuery UI to 1.11.0, GeoIPv6 and IP library 2014-07-06 01:25:37 +02:00
8chan
91570ef083 Fix issue #57 2014-06-12 18:01:29 +00:00
8chan
a9765f6c4a Fix issue #61 2014-06-12 17:48:53 +00:00
8chan
1d6f46d9bb Fix scroll to issues with post-hover.js, clean up highlightReply 2014-06-12 15:36:40 +00:00
8chan
5a02cd61db Fix issue when loading images in Chrome 2014-06-10 18:50:44 +00:00
8chan
dfe8ddc340 Disable-able animated GIFs in a non-shitty way (unlike wizardchan) 2014-06-10 18:18:14 +00:00
czaks
c2cbbe7e22 Merge 4.5
Conflicts:
	js/expand-too-long.js
2014-06-10 17:51:03 +02:00
czaks
2f55cd9897 fix expand-too-long on some occasions 2014-06-10 17:49:12 +02:00
czaks
c04b419639 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2014-05-28 15:37:36 +02:00
czaks
3ba152e0a1 revert mixitup update 2014-05-28 15:36:30 +02:00
8chan
76567cbd38 Fix expand-too-long.js for multifile 2014-05-23 23:55:19 +00:00
Fredrick Brennan
007a770a73 Fix issue #58 2014-05-20 21:23:18 -04:00
Fredrick Brennan
bd94d0c392 Fix inline epxanding of videos 2014-05-19 14:18:46 -04:00
Jano Slota
c25b8f01c5 Updated minify, jQuery, MixItUp and Tooltipster 2014-05-07 11:17:32 +02: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
e3ac13289d Merge branch 'staging' of github.com:vichan-devel/Tinyboard into staging 2014-05-05 17:29:52 +02:00
czaks
ab52741a5f catalog.js: should be used only in catalog view 2014-05-05 17:23:49 +02:00
Fredrick Brennan
ac31698b0d Fix hide-images.js for multiimage 2014-05-04 19:11:23 -04:00
Fredrick Brennan
400df0975f Fix upload-selection for multifile 2014-04-30 10:27:24 -04:00
Fredrick Brennan
dedc531adc Fix inline expanding issue with new styles 2014-04-30 10:21:02 -04:00
Fredrick Brennan
de524c64d9 Attempt to fix styling issue http://i.imgur.com/owHv6sE.png 2014-04-29 20:39:32 -04:00
czaks
2adf7d99db integrate favelog into catalog theme; needs more work, code cleanup etc. 2014-04-30 00:14:25 +02:00
czaks
bb5446a93d Merge remote-tracking branch 'origin/br-integration' into staging 2014-04-29 21:35:50 +02:00
czaks
a53f52696e remove post-hider symlink 2014-04-29 20:15:57 +02:00
czaks
18092de0c4 Merge ../pl into staging 2014-04-29 19:53:29 +02:00
czaks
15a65caf9d update wpaint; fix wpaint.js 2014-04-29 19:45:30 +02:00
czaks
b94e39148b remove quick-reply-old. it probably doesn't work now, it certainly isn't
maintained. this is an old cruft and if needed, it needs rewriting.
2014-04-29 18:37:29 +02:00
czaks
d208789fa7 remove attentionbar. its code is shit and it doesn't belong here tbh. 2014-04-29 18:33:03 +02:00
czaks
a236a17308 multi_image.js -> multi-image.js 2014-04-27 16:13:13 +02:00
copypaste
c483e1258c multiimage posting 2014-04-27 15:48:47 +02:00
czaks
6379e024a6 compact-boardlist.js: allow direct board links 2014-04-21 01:19:34 +02:00
czaks
edcaee1f78 treeview.js: initial commit 2014-04-19 23:33:54 +02:00
czaks
7eb2bef107 expand-too-long.js: initial commit 2014-04-19 21:48:27 +02:00
czaks
1b8efaee8c added my copyrights 2014-04-19 21:26:04 +02:00
czaks
b0ac5b17d4 fix show-op.js 2014-04-19 21:23:35 +02:00
czaks
bfc4df8276 Merge branch 'master' of github.com:vichan-devel/Tinyboard into br-integration 2014-04-19 00:24:52 +02:00
czaks
0ebd6afc6a fix hide-threads and post-hover/expand.js interaction 2014-04-18 21:04:47 +02:00
czaks
c4317cdbf7 hide-threads.js + containerchan integration 2014-04-16 13:51:18 +02:00
czaks
f2b32fe3bc expand-video.js: avoid double-initialize 2014-04-16 11:52:42 +02:00
czaks
eb2e3e8760 quick-reply: fix z-index when boardlist is locationed as fixed 2014-04-15 13:49:38 +02:00
czaks
28033fe6f3 webm i18n 2014-04-06 22:32:48 +02:00
czaks
5c38368e60 webm: more integration 2014-04-06 22:28:26 +02:00
czaks
97792ff387 more work on containerchan 2014-04-06 21:39:33 +02:00
czaks
647c59f820 move webm js into a better place 2014-04-06 21:27:41 +02:00
czaks
56eaf863f2 SECURITY: fix XSS vulnerability 2014-03-27 13:10:53 +01:00
czaks
f0b2240b5f Merge branch 'master' of github.com:vichan-devel/Tinyboard into br-integration 2014-03-25 13:03:37 +01:00
sinuca
b0c837ce93 expand-images.js: shrink all images functionality 2014-03-25 11:41:20 +01:00
czaks
e0a89c597d move recent-posts to mod 2014-03-25 11:37:39 +01:00
sinuca
fb2b66e2dd Recent posts functionality
Conflicts:
	inc/config.php
	inc/mod/pages.php
	mod.php
2014-03-25 11:35:04 +01:00
czaks
1d1fd24041 Revert "post-hover.js: fix long loop"
This reverts commit f0ae0174c9.
2014-03-13 22:21:16 +01:00
czaks
63b9c4db5f local-time.js now supports custom time formats. idea by copypaste 2014-02-23 17:58:16 +01:00
czaks
2a546e5b2d bundle strftime library by Sami Samhuri https://github.com/samsonjs/strftime 2014-02-23 17:34:09 +01:00
Jano Slota
73c82ff6dd Updated jQuery to 2.1.0, deprecating IE>9 support, jQuery UI to 1.10.4, minified lots of images 2014-02-17 18:02:51 +01:00
czaks
858db1ccf9 Revert "wpaint.js: prevent submission on color change"
This reverts commit 3a97ff1a7e.
2014-01-31 18:21:31 +01:00
czaks
18c7ef2a5d Revert "wpaint.js: actually fix that"
This reverts commit b564269692.
2014-01-31 18:21:14 +01:00
czaks
a41a2bfd5e Revert "wpaint.js: actually actually fix that"
This reverts commit 81ee819e5a.
2014-01-31 18:21:05 +01:00
czaks
81ee819e5a wpaint.js: actually actually fix that 2014-01-31 18:18:42 +01:00
czaks
b564269692 wpaint.js: actually fix that 2014-01-31 18:15:35 +01:00
czaks
3a97ff1a7e wpaint.js: prevent submission on color change 2014-01-31 18:12:08 +01:00
czaks
780fa67fe8 wpaint.js: fix js exception; vichan-devel#20 2014-01-31 09:55:54 +01:00
czaks
1a9e4eaef6 full, working wPaint oekaki implementation; fixes vichan-devel#20 2014-01-31 09:39:39 +01:00
czaks
c39c745451 style.css: i don't know what it does, but it conflicts with watch.js. breakages may occur and i will fix whatever i'll get 2014-01-30 23:43:16 +01:00
czaks
9fa9734765 ajax.js: remove old oekaki cruft; vichan-devel#20 2014-01-29 23:32:22 +01:00
czaks
0aa76587ce ajax.js: add ajax_before_post event to be fired before posting (passing formData to be modified); vichan-devel#20 2014-01-29 23:31:39 +01:00
czaks
72b3220f72 wpaint.js: add default settings; vichan-devel#20 2014-01-29 23:04:29 +01:00
czaks
ff9b684f7e remove old oekaki; see vichan-devel#20 2014-01-29 22:59:29 +01:00
czaks
4636f5b6ef fix watch.js on nonstandard paths; fixes vichan-devel#38
this commit also adds a modRoot js variable that makes proper
modlinks. also fixed in watch.js
2014-01-29 22:53:31 +01:00
czaks
31584986e4 wpaint.js: second iteration; not ready yet; vichan-devel#20 2014-01-29 22:05:59 +01:00
czaks
764d15a7b6 wpaint.js: start the plugin with documentation ( vichan-devel#20 ) 2014-01-29 21:30:48 +01:00
czaks
3b85485290 include wPaint submodule, references bug vichan-devel#20 2014-01-29 21:05:50 +01:00
czaks
5ae8406236 typo @ vichan-devel#41 2014-01-26 18:58:42 +01:00
czaks
eaef338dce watch.js + hide-threads.js integration; fixes vichan-devel#40 2014-01-26 18:57:22 +01:00
czaks
808a5ab8f6 well, this actually fixes vichan-devel#41 i believe 2014-01-26 18:23:52 +01:00
Marcin Łabanowski
9109096ea8 watch.js: update status on new own posts as fast as possible. fixes vichan-devel#41 2014-01-26 18:07:34 +01:00
czaks
46d527ecf6 update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27 2014-01-21 19:25:11 +01:00
czaks
46e9b30225 add one file to the previous commit 2014-01-20 09:04:19 +01:00
czaks
1c6b178dc5 add copyright notices for javascripts based on commit history 2014-01-19 14:27:24 +01:00
czaks
29642bba3e fix documentation of upload-selection.js ( vichan-devel/Tinyboard#26 ) 2014-01-19 14:03:07 +01:00
czaks
e150237657 document compact-boardlist.js more ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:59:31 +01:00
czaks
302f13b181 document titlebar-notifications.js more ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:58:09 +01:00
czaks
1115d0e27d document watch.js some more ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:57:13 +01:00
czaks
666e5e5a5f remove chrome-board-expanding-fix.js: we don't support nested boards in boardlist anyway at the current time 2014-01-19 13:54:14 +01:00
czaks
e201534123 document oekaki.js ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:52:16 +01:00
czaks
2500f53701 document upload-selection.js ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:45:22 +01:00