Commit Graph

695 Commits

Author SHA1 Message Date
jove
0bb214a3d1 Reports from the all board fix.
Bit hacky but it fixes the 405 that comes from trying to use quick post controls from /popular/.
2016-01-14 02:52:14 +00:00
Simon McFarlane
cb31028a14 Update oekaki 2016-01-09 02:24:35 +00:00
Simon McFarlane
4210316508 Fix thread information widget 2016-01-09 01:32:22 +00:00
Simon McFarlane
9e1dda0348 Update piwik JS to match config 2016-01-09 01:31:28 +00:00
Simon McFarlane
3cb47b5fa8 Move options box 2016-01-09 01:31:10 +00:00
Michael Walker
a144098c5c Merge pull request #31 from tjohnman/post-hover-margin
On hover post pop-up margin
2015-10-08 02:29:40 +01:00
desudesutalk
73a2ed1744 Create mute-images.js
Mute images so you can browse lainchan while your mother is in the room.
2015-09-25 01:48:28 +03:00
Anonymous
1743d3cf11 Indentation error. 2015-09-13 01:10:49 +02:00
Anonymous
51bea121ce Add a small margin to the off-screen post pop-up.
Without this margin you have to keep your mouse very still while
hovering a post quote for a post that is off-screen, otherwise, by
placing the mouse on the pop-up itself, the mouseover event is triggered
and the pop-up disappears, making for a very annoying user experience
when reading post pop-ups.

This patch separates the pop-up from the mouse so that this doesn't happen.
2015-09-13 01:02:19 +02:00
Michael Walker
166ba2a0a2 Merge remote-tracking branch 'vichan/master' 2015-09-12 21:03:54 +01:00
Michael Walker
05c569e656 Merge pull request #17 from mgrabovsky/ukko-catalog
Add catalog for ukko
2015-09-09 23:51:00 +01:00
Anonymous
8d251cadf1 After posting we scroll to the bottom without waiting for the new post to be fetched. Fixes issue #28. 2015-09-08 00:31:14 +02:00
czaks
f6efdee873 expand-video.js: fix regexp 2015-08-11 03:59:18 +02:00
czaks
77bec71399 expand-video.js: works with .mp4 now as well 2015-08-11 03:55:44 +02:00
27chan
6140f13d75 Create image-hover.js 2015-08-10 22:20:47 -03:00
Jason Puglisi
c97475d487 Added ability to hide videos/webms 2015-07-28 18:45:45 -04:00
Matěj Grabovský
1c641eb46b Add catalog for Ukko 2015-06-05 23:15:54 +02:00
Simon McFarlane
5a4448c4dc Fix quick reply submit button being ridiculously small 2015-06-02 09:43:43 +02:00
Simon McFarlane
7ab9cc43d1 Revert to old auto-reload.js
with barrucadu's modifications
2015-05-29 01:50:05 -07:00
Simon McFarlane
4b40f69a4e Merge remote-tracking branch 'upstream/master' into vichan-merge 2015-05-29 01:34:53 -07:00
czaks
099e347e15 gallery-view: preloading images, webm support 2015-04-23 09:20:34 +02:00
czaks
163a4e699c gallery-view: support key events (up/down/left/right) 2015-04-23 08:45:39 +02:00
czaks
3f02985380 gallery-view.js: initial commit 2015-04-23 07:41:49 +02:00
czaks
4131a6e563 watch.js: slow down a little bit, let`s see how it works out 2015-04-11 23:12:13 +02:00
czaks
cb700e6a72 live index should refresh every 20s 2015-04-11 23:03:45 +02:00
czaks
bdda1613a6 thread-stats.js: final vichan fix, should work now 2015-04-10 23:43:07 +02:00
czaks
c4569b2ea5 thread-stats.js: code typo :^) 2015-04-10 23:13:52 +02:00
czaks
0d0b2fcd7e thread-stats.js: vichan fixes 2015-04-10 23:11:59 +02:00
8chan
c4fc827332 some style fixes
Conflicts:
	templates/8chan/boards-tags.html
2015-04-10 15:37:06 +02:00
Forkless
4b782d6163 Fix thread stats so post count hover works on the OP's id. 2015-04-10 15:36:34 +02:00
8chan
cf91daee7c No need to display pruned in two places...especially if server times out / errors 2015-04-10 15:36:06 +02:00
Forkless
fdc14c699c Fix color incase page is missed and then found again. 2015-04-10 15:35:38 +02:00
8chan
1aa8f6251d Have to load onready 2015-04-10 15:35:25 +02:00
ForklessAnon
8d45128030 Some code cleanup on thread stats. 2015-04-10 15:34:04 +02:00
ForklessAnon
fae2e33c87 Added script for appending thread statistics to the bottom of a thread. 2015-04-10 15:33:44 +02:00
czaks
652018f674 own-board.js: initial release 2015-04-07 20:54:43 +02:00
czaks
d94143b6c6 fix wpaint & file-selection interaction 2015-03-31 08:58:54 +02:00
Matěj Grabovský
3e53a9e4e6 Bring mixitup.js back
Turns out it's essential for sorting
2015-03-31 08:14:55 +02:00
topkek
e6da7b4682 clean up options code 2015-03-31 07:53:33 +02:00
topkek
8de9b68f5f checkbox for tree view
Conflicts:
	js/post-hover.js
2015-03-31 07:53:12 +02:00
topkek
1888e174b3 chrome fix 2015-03-31 07:51:41 +02:00
topkek
d67351534a toggle tree view 2015-03-31 07:51:31 +02:00
topkek
2256604dad add global option for tree view 2015-03-31 07:51:20 +02:00
Markerov
6363d8d247 change to use onready() 2015-03-31 07:42:47 +02:00
Markerov
2f7127a3cb Catalog Search 2015-03-31 07:42:34 +02:00
czaks
0e805c25d8 file-selector.js: allow file dropping anywhere 2015-03-31 07:20:53 +02:00
Anonish
d3d54b8c76 Update quick-reply.js
apparently 600 was still not allowing QR to load on portrait mode. 400 seems to work fine
2015-03-31 06:59:49 +02:00
anonish
c74fc6cefb QR fix for tablet (portrait) mode in laptops
Quick reply will now show up on tablets in portrait mode where width can be < 800px as originally coded (mainly 768x1280 and 800x1280)
2015-03-31 06:59:30 +02:00
czaks
765dea599b trivial fixes to file-selector.js 2015-03-31 06:50:05 +02:00
marktaiwan
6f94a06586 file selector: correct typo, click event target 2015-03-31 06:02:08 +02:00
marktaiwan
e42ffb2768 fix file selector element reference
fix thumbnail image not applying to main form with quick reply open
2015-03-31 06:01:50 +02:00
8chan
419d69b4ee ayylmao @marktaiwan 2015-03-31 06:01:23 +02:00
8chan
f26256f55a Make file selector work, add to config
Conflicts:
	inc/instance-config.php
	templates/post_form.html
2015-03-31 05:59:54 +02:00
marktaiwan
6e84a25f9a Adds keyboard focus to file selector 2015-03-31 05:57:45 +02:00
marktaiwan
4da073b6e8 Keep quick-reply and main form in sync
Use object-url instead of data-url due to shorter length
2015-03-31 05:57:26 +02:00
marktaiwan
0005f11098 initialize file selector soon as it's loaded
Conflicts:
	templates/post_form.html
2015-03-31 05:57:22 +02:00
marktaiwan
3bd7f94861 Fallback for browsers that disables javascript
Conflicts:
	stylesheets/style.css
	templates/post_form.html
2015-03-31 05:54:07 +02:00
marktaiwan
d7f82c58fd Run on index and thread
Clear file queue after upload success

corrected fallback detection
2015-03-31 05:51:28 +02:00
marktaiwan
48cd7438a1 initial commit file-selector.js 2015-03-31 05:50:42 +02:00
8chan
0f1d506586 Change this message again
Conflicts:
	js/ajax.js
2015-03-31 05:48:45 +02:00
8chan
d3cc27ff5c Handle XHR errors better 2015-03-31 05:47:09 +02:00
8chan
4083c92dbe Stop double posting AJAX bug 2015-03-31 05:46:45 +02:00
Jason Puglisi
25c2a18a71 Made quick-reply box resizable horizontally 2015-03-29 22:31:38 -04:00
Matěj Grabovský
37c5e4f860 Make catalog look OK even with JS disabled
For some reason, threads in the catalog were laid out by a jQuery plug-in. This is
now removed and the layout is created purely by handcrafted CSS code.
2015-03-27 22:37:42 +01:00
Michael Walker
ba7b5edcdf Change type of catalog_search box from 'search' to 'text' for css reasons 2015-03-27 14:07:15 +00:00
Matěj Grabovský
7b33348a16 Fix source URL in comment 2015-03-27 13:59:41 +01:00
Matěj Grabovský
6b37abab85 Allow catalog search by a URL fragment (#s=...) 2015-03-27 13:55:01 +01:00
Matěj Grabovský
3d2ddb8c3b Make catalog search case-insensitive & instantaneous 2015-03-27 13:38:45 +01:00
Matěj Grabovský
32821745c6 Add a simple search functionality to the catalog
Requires commit 20ce699 which adds a wrapper for the controls on the
catalog page.
2015-03-27 13:29:48 +01:00
czaks
9fa320838b wpaint has new dependencies – important! 2015-03-23 01:09:16 +01:00
czaks
158371dc64 switch to hotwheels' wPaint branch 2015-03-23 00:33:19 +01:00
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
Simon McFarlane
c062a00861 Add Piwik javascript 2015-01-24 23:49:59 +01:00
Michael Walker
ab24c2af57 Put threadlinks in a bar 2014-12-22 19:35:40 +00:00
Michael Walker
21f2fdb3d4 Update style-select js for new html 2014-12-17 05:10:54 +00:00
Michael Walker
671f43b449 Move the style selector to the boardlist 2014-11-13 00:04:14 +00:00
Michael Walker
72fcab1d5e Change post-hover style 2014-11-13 00:03:39 +00:00
Michael Walker
4f0be0d3c2 Use 8chan's auto-reload.js 2014-11-13 00:03:02 +00: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
Michael Walker
7c7a465966 Implement syntax highlighting 2014-09-28 23:06:18 +00: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