Commit Graph

807 Commits

Author SHA1 Message Date
Joakim Almgren
5fd29d8323 minor cleanup 2017-06-06 16:27:20 +02:00
Joakim Almgren
ce62a34b7a v1.1 added customizeable keybinds 2017-06-06 00:59:15 +02:00
Joakim Almgren
04c5e2371c keyboard navigation, jk, e 2017-06-05 21:37:52 +02:00
Benjamin Southall
39be872353 Make compact-boardlist user toggleable from Options side menu 2017-06-01 07:36:30 +09:00
Benjamin Southall
18bcadfe90 Commit twemoji used for unicode fallback, note this is a modified version of https://github.com/twitter/twemoji that extends the v1 interface to work with Unicode 9.0 and Emoji 4.0 because the v1 interface allows for local image hosting instead of CDN and allowed image size variant specifier. The regex changes for Unicode 10 and Emoji 5.0 from upstream still need to be merged. The actual images are excluded from the lainchan repository, you can download the originals and resize them yourself from the url in this commit. 2017-06-01 07:35:22 +09:00
Benjamin Southall
8adae94906 Add support for client side configurable board list aliasing. 2017-06-01 07:20:30 +09:00
Benjamin Southall
465c4f7562 Add videojs-contrib-hls.js for HLS streaming support. 2017-05-04 14:04:59 +09:00
Benjamin Southall
1d1b15e143 Add support for floating balloons used in the birthday celebrations 2017-05-04 14:04:22 +09:00
Benjamin Southall
cca271aec3 submodule sha nonsense update 2017-05-04 14:03:33 +09:00
Benjamin Southall
3344be60b4 On post submission manually update / reload the page for auto-reload.js. 2017-05-04 14:00:06 +09:00
Benjamin Southall
4cdf575515 use data-board value for form submission for board so that quick posting / replies works from ukko, ukko2, ukko3 and other overboad extensions / themes 2017-05-04 13:58:38 +09:00
Benjamin Southall
3980c34ea1 Fix thread-stats.js to attach to correct location and count correctly. 2017-05-04 13:56:19 +09:00
Benjamin Southall
040803bbc2 Fix auto-reload.js incorrect reply loading when the thread is just the opening post. 2017-04-28 14:11:21 +09:00
Benjamin Southall
5ee7954f95 Initial implementation of Better post form #32. Still need to add language specification to code tag insertion,markdown support and latex support. 2017-03-14 01:59:27 +09:00
Benjamin Southall
0cc6eb2f79 Feature Req: on/off button for auto-reload js #1 Fix insertafter selector so that new post gets autoloaded with the correct formatting and spacing. 2017-03-13 19:02:22 +09:00
Benjamin Southall
bc9e94d3d1 Feature Req: on/off button for auto-reload js #1 Fix incorrect insertAfter selector which prevented page from being updated when auto-reloaded and caused new post count to climb incorrectly in title of page 2017-03-11 17:52:39 +09:00
Benjamin Southall
baacee3fd3 Initial Implementation of Feature Req: on/off button for auto-reload js #1, configurable in localstorage using options menu 2017-03-10 15:37:36 +09:00
Benjamin Southall
7d0c867544 Adding snow / snow storm javascript 2017-03-03 15:44:16 +09:00
Benjamin Southall
b8dec91885 Add fireworks javascript and CSS 2017-03-03 15:39:28 +09:00
Benjamin Southall
93e3b76b97 Change code hightlighting to highlight.js from google-code prettify.js 2017-03-03 15:34:45 +09:00
Benjamin Southall
eb968a7d01 Update included version of prettify.js, despite the fact we use highlight.js for code highlighting now 2017-03-03 15:09:52 +09:00
Benjamin Southall
fc3956a7fc Change post hover behaviour to show actual post, rather than last post in thread. 2017-03-03 15:07:27 +09:00
Benjamin Southall
1164bf56ef Add overboard support to image-hover functionality. 2017-03-03 15:04:23 +09:00
Benjamin Southall
735e12b414 Don't remove post selection checkbox for reporting when hiding threads 2017-03-02 11:20:04 +09:00
Benjamin Southall
c59a5edb49 Don't remove mentioned post links from post-hover popups. 2017-03-02 11:18:14 +09:00
Benjamin Southall
4503de147b Remove linking to OP as part of post hover. 2016-12-14 06:06:05 +09:00
Benjamin Southall
c58e37ce39 Merged lainchan with vichan master at 25/9/2016 0bd63149b7 @czaks czaks committed on GitHub 2 days ago 2016-09-25 16:34:47 +09:00
Michael Walker
0426ec4011 Fix rules-popup jquery issue. 2016-08-21 20:37:09 +01:00
Milosz Kwiatkowski
315c376976 change incorrent path to rules.html and css 2016-08-21 18:36:22 +01:00
Milosz Kwiatkowski
0373db5e17 move css to style.css and clear up element creation 2016-08-21 18:15:36 +01:00
Milosz Kwiatkowski
d550abed22 add random captchas and remove redundant code 2016-08-21 14:29:11 +01:00
Milosz Kwiatkowski
432c4bcbde update comment to account for previous commit 2016-08-20 14:33:34 +01:00
Milosz Kwiatkowski
c3bfb86356 add rules agreement page 2016-08-20 14:31:49 +01:00
czaks
8f4aa27329 fix file-selector.js dependencies 2016-06-19 02:40:24 +02:00
fatchan
aa0d92a2b4 Force post-hover.js to show OP's on hover. 2016-06-09 11:20:39 +02:00
fatchan
04f42b3802 CSS hover instead of javascript mouseover. Need to use important because the dark/light text determined by IDToRGB is added inline and takes priority over stylesheets. 2016-06-09 11:20:23 +02:00
czaks
4fe2da2fcd post-filter & ukko: final solution i think 2016-05-09 13:02:21 +02:00
czaks
018dd48a66 post-filter + ukko fixes 2016-05-09 11:58:46 +02:00
czaks
4479fc7681 thread-watcher and favorites in catalog and ukko 2016-05-09 11:18:35 +02:00
czaks
1cff10fd95 ukko & fix-re-de-su: fix reporting and deleting from ukko actually 2016-05-09 11:08:24 +02:00
czaks
ccc9cff23d ukko: post filters and reporting 2016-05-09 10:59:50 +02:00
czaks
6e33de568d hide-threads.js: add div.file to fields to hide; thanks fpdl 2016-05-06 15:03:53 +02:00
czaks
8496b021a9 comment out global reports 2016-05-06 14:57:07 +02:00
Fredrick Brennan
65ea7b78c5 Catalog: click to scroll thread 2016-05-06 14:53:17 +02:00
sourcerect
3515fdabe7 Fix tab freeze when inlining
Fixes ctrlcctrlv/infinity#451
2016-05-06 14:49:30 +02:00
Forkless
d069a4c9fd Added option for hiding IDs. 2016-05-06 14:32:53 +02:00
czaks
02c3c28a16 main.js: a bit more sane code 2016-05-05 15:37:50 +02:00
8chan
129eb154b3 Merge 2016-05-05 13:45:36 +02:00
Zixaphir
633c223282 Fix trailing comma 2016-05-05 13:43:32 +02:00
Zixaphir
cad8019068 Prevent images from hovering off-page
This entirely affects the "imageHoverFollowCursor" option.
2016-05-05 13:43:17 +02:00
Pashe
5f043d0a29 Have image-hover.js use data-fullimage instead of the API 2016-05-05 13:43:04 +02:00
8chan
913420e040 Image hover backported from 8chan X 2016-05-05 13:42:54 +02:00
czaks
130b32d08b remove image hover, so we can import the whole 8chan history of that file 2016-05-05 13:42:38 +02:00
Fredrick Brennan
2712235f15 Make js/options/favs.js actually usable
I pretty much had to rework this completely to get it into a usable state

Reference ctrlcctrlv/infinity#424
2016-05-05 13:36:26 +02:00
Harry Hackett
6cb3039b71 Create fav.js 2016-05-05 13:35:02 +02:00
Mark Taiwan
c2e3ff162f Added missing curly brackets in post-filter.js 2016-05-05 13:22:59 +02:00
8chan
7cf3fccda5 Fix menu brokenness if user post deletion disabled 2016-05-05 13:22:36 +02:00
8n-tech
e64b01b690 Javascript ammendments, dio_ on Windows.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2016-05-05 13:22:11 +02:00
8chan
6b04b3c671 Fix post deletion 2016-05-05 13:21:09 +02:00
8chan
5f10badee9 Make no-animated-gif.js trigger on new_post 2016-05-05 13:12:10 +02:00
8chan
8412299fa5 Fix hide-threads.js interaction in no-animated-gif.js 2016-05-05 13:11:54 +02:00
Ringstaart
4e635229b4 Replace capital X by clearly superior ASCII ×
There's no reason to use a malformed letter when an ASCII character of a proper cross is available. This is an important issue, and I care about it very much.
2016-05-05 13:08:30 +02:00
8chan
f02226449a Fix own post (You) 2016-05-05 13:06:25 +02:00
Fredrick Brennan
cac428b30c Add some missing i18n tags 2016-05-05 13:03:31 +02:00
8chan
5267098cb8 Make bottom watchlist-toggle work 2016-05-05 13:01:24 +02:00
8chan
fd2e9df30c This script was breaking boards.html 2016-05-05 13:01:00 +02:00
Pashe
01446aad12 thread-watcher.js: fix background and border 2016-05-05 13:00:47 +02:00
Pashe
6f301505e3 thread-watcher.js: change display format 2016-05-05 13:00:33 +02:00
7185
0b1c67574a Fix selector in inline.js
Should make >>>/crossboard/links (and expanding links) work again
2016-05-05 12:59:25 +02:00
Fredrick Brennan
8943bb0bb3 Rewrite report system due to flooding 2016-05-05 12:57:52 +02:00
8chan
95a9b7b72b Completely rewrite fix-report-delete-submit.js, add report/delete to menu 2016-05-05 12:52:17 +02:00
Forkless
4e39262223 Moved the Options tab stuff to be setup after the document is ready. 2016-05-05 12:45:25 +02:00
Forkless
81daf934fb Fix for the js being shitty inside the compiled main.js. 2016-05-05 12:45:07 +02:00
Forkless
f6b4b2ac18 Removed redundant setting.
Bugfix.
2016-05-05 12:44:48 +02:00
Forkless
1663efcf9d Fix for update to comment toolbar (should work now) 2016-05-05 12:43:57 +02:00
Fredrick Brennan
1b0f5fd24c Revert "Comment toolbar update and Thread stats addition" 2016-05-05 12:42:41 +02:00
ForklessAnon
69a6631742 Added option to disable/ignore keybinds. 2016-05-05 12:36:28 +02:00
ForklessAnon
86ddb4ecbb Update formatting toolbar to include user definable settings and customized options. 2016-05-05 12:35:58 +02:00
Markerov
9265ebea43 initial commit 2016-05-05 12:35:45 +02:00
marktaiwan
59ee8a990f post-filter.js: prevent extra space characters
prevent extra spaces in comment caused by joining strings with leading
or trailing space.
2016-05-05 12:33:44 +02:00
8chan
4e27112147 Fix filter for users with emoji in thier names 2016-05-05 12:33:23 +02:00
marktaiwan
a9b29c7232 Bugfix: convert it to string 2016-05-05 12:33:02 +02:00
marktaiwan
513c8f7b68 post-filter.js catalog support
Removes hidden threads from catalog page
Shift click on catalog to hide thread
Improved word matching for simple comment and subject filter.
2016-05-05 12:32:27 +02:00
marktaiwan
dc725641c3 minor options template adjustment 2016-05-05 12:32:00 +02:00
marktaiwan
8f6ea6dd94 post-filter.js restructure
- Changed how filters are stored. Have included code to migrate from
previous version
- Added support for 'subject' and 'comment' in the options panel
- Added regex support in the options panel
2016-05-05 12:31:11 +02:00
marktaiwan
f84d0b9027 Changed 'hide post' button behavior 2016-05-05 12:30:54 +02:00
8chan
b469855126 use onready in post-menu.js 2016-05-05 12:30:18 +02:00
marktaiwan
af91ddf637 Split post menu into own function 2016-05-05 12:29:11 +02:00
8chan
e3dbca5616 Add one click [-]/[+] to post-filter.js 2016-05-05 12:28:52 +02:00
marktaiwan
84bc3b0f7b I forgot how to jQuery 2016-05-05 12:16:55 +02:00
marktaiwan
3e579ee1d4 Bugfix: reset multifile container width
#371
2016-05-05 12:16:17 +02:00
marktaiwan
deefe7225d Bugfix: scroll to thumbnail on multipost close
Indroduced in 7364e85
2016-05-05 12:15:51 +02:00
8chan
5176377045 Fix many features for Internet Explorer 9 and 10
Please don't use "dataset" in scripts anymore, it doesn't work in IE9 or 10. Instead use $.data
2016-05-05 12:15:26 +02:00
marktaiwan
88f6088a42 fix Relative Time and Image Throttler 2016-05-05 12:14:22 +02:00
Markerov
7160cd650e merge relative-time into local-time 2016-05-05 12:12:53 +02:00
Markerov
c3146e1794 image throttler
initial commit
2016-05-05 12:11:12 +02:00
topkek
63491b0b9a Scroll to thumbnail when shrinking an expanded image 2016-05-05 12:10:09 +02:00
Markerov
fd2b41c1f0 Fix bug with inline expansion with Unanimate Gif
Issue #273
2016-05-05 12:09:55 +02:00
Markerov
bc2257be08 scroll to thumb
scroll up to image if its top is out of view when shrunk.
Requires jQuery
2016-05-05 12:09:41 +02:00
Markerov
4767a63178 renamed 'this.childNodes[0]' to thumb 2016-05-05 12:09:10 +02:00
8chan
99ee2e36ba Don't expand webm or YouTube videos on js/expand-all-images.js 2016-05-05 12:06:27 +02:00
Markerov
a723ff8e66 Display inline image when it starts loading,
Rewrote inline-expanding.js to display full image as soon as it starts
loading.
Modified expand-all-images.js to work with the new change
Moved max-width to style.css
2016-05-05 12:05:45 +02:00
marktaiwan
26130c43ea fix menu UI for Firefox 2016-05-05 12:03:24 +02:00
marktaiwan
c8eaebce9a reset thread timer on new filter 2016-05-05 12:03:05 +02:00
marktaiwan
709a248d10 Clear empty thread/board from filter list 2016-05-05 12:02:50 +02:00
marktaiwan
2808b1b8b2 post-filter
Adds a dropdown menu to each post that allows for filtering by:
- post
- post and all replies to it
- poster ID
- poster ID and all replies to it
- name
- tripcode

In the options panel, adds a new tab for adding/removing name and
tripcode filters.
2016-05-05 12:02:34 +02:00
8chan
dd27026618 Show stickies at top of catalog 2016-05-05 12:01:16 +02:00
8chan
e8b530a783 Shift-click to hide threads in catalog 2016-05-05 12:00:21 +02:00
8chan
01207dfcbb Catalog script fix for hiding threads with short IDs 2016-05-05 11:59:59 +02:00
8chan
b056124e49 Catalog: don't show hidden threads 2016-05-05 11:59:16 +02:00
8chan
4f96263e3b Upgrade jQuery mixitup, preserve settings, no animations 2016-05-05 11:59:00 +02:00
8chan
e2016340e1 Fix expand-too-long error with new <p> markup 2016-05-05 11:56:41 +02:00
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