Commit Graph

763 Commits

Author SHA1 Message Date
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
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