Commit Graph

816 Commits

Author SHA1 Message Date
towards-a-new-leftypol 726decb27c
Merge pull request #321 from towards-a-new-leftypol/select_style3
Put style chooser into the options menu
2021-08-21 18:57:43 -04:00
discomrade b58ac72acd Fix memory leak in quick reply 2021-08-21 18:53:38 -04:00
towards-a-new-leftypol eb81faadbd Put style chooser into the options menu, remove any style related stuff that gets added to the footer 2021-07-15 12:11:22 +00:00
nonmakina c8c0b04492 fixes quick reply 2021-07-11 16:00:39 +02:00
discomrade ba00b7c9b2
Keep thread stats below new posts
Courtesy of based lewdposter
Closes https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/230
2021-07-06 10:39:59 +00:00
towards-a-new-leftypol 27cf0c381c revert original author name change 2021-07-03 22:41:25 -04:00
towards-a-new-leftypol 6687d9a863 retab file 2021-07-03 22:26:31 -04:00
towards-a-new-leftypol ac0cf94280 commit dev version of style-select (because PR got screwed up) 2021-07-03 22:26:25 -04:00
towards-a-new-leftypol f6faf335fe
Merge pull request #280 from towards-a-new-leftypol/defer_javascript
Defer additional_javascript for hopefully faster page loads
2021-07-04 00:16:01 +00:00
discomrade ea1071b994 Remove stale debug outputs 2021-07-04 00:11:36 +00:00
discomrade 8a73f71175 Various fixes for image hover 2021-07-04 00:11:36 +00:00
towards-a-new-leftypol 6d53814a90
Merge branch 'config' into defer_javascript 2021-07-04 00:07:01 +00:00
discomrade 4f27d39bc9 Sorted, labeled style selector 2021-07-04 00:04:13 +00:00
towards-a-new-leftypol 0530209d87 fix parsing number from string 2021-07-03 19:58:24 -04:00
towards-a-new-leftypol 5b6233f187 fix document ready 2021-06-27 01:40:57 +00:00
towards-a-new-leftypol ab8b4b9524 defer additional_javascript
- this required a fix to file-selector
2021-06-27 01:09:28 +00:00
discomrade c54a15e6d6 Create flag preview 2021-05-31 17:30:44 -02:00
discomrade 89b2a8af97 Add automatic and manual reloading of captchas 2021-05-05 15:17:34 -02:00
towards-a-new-leftypol 286664e1ea Youtube thumbnail embeds the video
(as opposed to working as a link)
2021-04-03 19:02:53 -04:00
towards-a-new-leftypol 548be250b4 display youtube video thumbnail (with local url) in embeds 2021-04-02 20:15:26 -04:00
towards-a-new-leftypol 237ad41fc0 Commit the patch from issue 229
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/229

- also remove unused var declaration
2021-03-20 00:48:20 -04:00
nonmakina 2c1130f76d fixes Jquery references on loop 2021-01-29 21:39:00 -06:00
nonmakina 0827ad09c9 Iterates over nodes 2021-01-29 21:30:55 -06:00
nonmakina 23d63bdd98 Re-introduces the youtube embed changes.
This reverts commit acc01957bc.
2021-01-29 20:55:23 -06:00
nonmakina acc01957bc
Revert "Replace Youtube embed" 2021-01-29 20:09:27 -06:00
nonmakina 2b38969e8a Fixes remove embed 2021-01-26 00:59:37 -06:00
nonmakina 9c4158fea5 Adds missing text and fixes js errors 2021-01-26 00:52:23 -06:00
nonmakina 87a8fd3a36 Adds support for embed button for youtube. Eliminates preview image fetched from youtube that was causing a leak 2021-01-26 00:44:23 -06:00
Dedushka aa21f4cc6d
Allow posting from catalog.
Addresses #134.

The catalog template has been modified to use the board array, which
is expected by the post form template. Because the overboard is a
"virtual board", we created a "fake" overboard array to supply
necessary information to the modified template.

Javascript was also added to hide form on first visit.
2021-01-18 17:30:21 -05:00
towards-a-new-leftypol 42840a3984
Merge pull request #119 from nonmakina/banListFix
Fixes unusuable mod ban list
2021-01-11 10:12:23 +00:00
nonmakina b936189e9b Deletes dead code 2021-01-10 19:48:23 -06:00
nonmakina e55854ebd8 Fixes unusuable mod ban list 2021-01-09 18:01:58 -06:00
nonmakina 554c19c248 Fixes inline-expanding.js to allow clickable pdf thumbnails 2021-01-09 16:41:05 -06:00
towards-a-new-leftypol 86d847118c Remove console logs 2021-01-04 20:41:19 -05:00
towards-a-new-leftypol efb74f0eb6 Fix for ajax posting not showing you your new post
- TODO: there are console.logs that still need to be removed
- Posting was loading the new page twice - once in ajax.js and once in
auto-reload.js. auto-reload will handle this behaviour, the other is
commented out
- The new post does not immediately show up when immediately ajax
requesting the page after posting completes. Adding an epoch query
parameter did not change this. Instead of figuring out why it was easier
to add a 500ms delay before requesting the page, now it seems to work
well.
2021-01-04 03:00:16 -05:00
towards-a-new-leftypol 11ee04f973 retab ajax.js 2021-01-04 02:32:45 -05:00
towards-a-new-leftypol da1e060c54 Retab auto-reload.js 2021-01-04 02:32:10 -05:00
nonmakina 8866e3f20c Adds dependency: post-menu. 2021-01-02 01:18:21 -06:00
nonmakina fd45298070 Fixes jquery API breaking changes in auto-reload and thread-stats 2020-12-31 01:04:11 -06:00
Benjamin Southall 3b72fbf5f1 Fixes Video expanding doesn't work #164, this is probably because the logic always assumed settings menu would have body as parent and with a pagewrap div it doesn't anymore. This now works without options.js enabled 2019-08-11 09:35:11 +10:00
Benjamin Southall 2404e6074c Fixes You look like a bot (reCaptcha window doesn't appear) #159, straight implementation of upstream https://github.com/vichan-devel/vichan/pull/241, but I bumped the jquery version. 2019-08-10 20:39:17 +10:00
Benjamin Southall 5357648906 Fix board legacy alias 2019-02-26 10:52:53 +10:00
Benjamin Southall b99a6408a4 Disable snowstorm javascript autostart by default 2019-02-26 10:50:10 +10:00
Benjamin Southall 8c0f0b0a40 Allow user to set the boardlist to point to catalog links instead of regular index page in Options. 2019-02-26 10:22:54 +10:00
Benjamin Southall 19d8e37bd6 Loader for snow / snow storm javascript 2019-02-26 10:21:45 +10:00
Benjamin Southall a00c682645 Fixed attachment of threadwatcher to topbar and move threadwatcher dialog from bottom of page where it was overlapped by bottom bar, to top of the page. 2017-09-14 08:25:37 +09:00
Benjamin Southall 3f908ebfa4 Add tinymce WYSIWIG post editor (experimental) 2017-09-03 23:18:46 +09:00
Benjamin Southall a58c213a4e Add summernote WYSIWIG post editor (experimental) 2017-09-03 23:18:05 +09:00
Benjamin Southall f78db77a81 Add quill WYSIWIG post editor (experimental) 2017-09-03 23:17:37 +09:00
Benjamin Southall 9e2f9f49ec Add sceditor WYSIWIG post editor support 2017-09-03 23:15:56 +09:00
Benjamin Southall 73ad62028d Add megaq and update compact-boardlist and general boardlist / top bar alias support 2017-09-03 23:02:16 +09:00
Benjamin Southall befe9515c1 Add megaq and update compact-boardlist and general boardlist / top bar alias support 2017-09-03 23:02:05 +09:00
Benjamin Southall c9ffd19f85 Changes to local-time.js storage boolean checks 2017-09-03 23:00:37 +09:00
Benjamin Southall eb10d4b011 Add mobile default javascript 2017-09-03 22:20:30 +09:00
Benjamin Southall 7f8c54249d Add staff application theme, calendar theme and ukko4 theme 2017-09-03 22:19:32 +09:00
Benjamin Southall da6eb9e2cb local-time.js changes from 65f39b8a07 and c21eeff605 2017-06-08 08:12:18 +09:00
Joakim Almgren b51172d573 v1.4 better support for different stylesheets, better scrolling, refresh hotkey 2017-06-07 21:28:53 +02:00
Joakim Almgren 6677b6c086 v1.2 navigates posts and files, highlights with generic color 2017-06-06 23:42:25 +02:00
Joakim Almgren 946f0eb893 commented out example function 2017-06-06 16:28:07 +02:00
Joakim Almgren 29d7cd5496 minor cleanup 2017-06-06 16:27:20 +02:00
Joakim Almgren d2068ee023 v1.1 added customizeable keybinds 2017-06-06 00:59:15 +02:00
Joakim Almgren f20f2d89f0 keyboard navigation, jk, e 2017-06-05 21:37:52 +02:00
Benjamin Southall a5095a6764 Make compact-boardlist user toggleable from Options side menu 2017-06-01 07:36:30 +09:00
Benjamin Southall 2a93287568 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 e48cb3e8b4 Add support for client side configurable board list aliasing. 2017-06-01 07:20:30 +09:00
Benjamin Southall b53fea5604 Add videojs-contrib-hls.js for HLS streaming support. 2017-05-04 14:04:59 +09:00
Benjamin Southall 6db0460ed0 Add support for floating balloons used in the birthday celebrations 2017-05-04 14:04:22 +09:00
Benjamin Southall f6fd9c97f9 submodule sha nonsense update 2017-05-04 14:03:33 +09:00
Benjamin Southall a68efaec3b On post submission manually update / reload the page for auto-reload.js. 2017-05-04 14:00:06 +09:00
Benjamin Southall 7764bb50aa 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 83989bba88 Fix thread-stats.js to attach to correct location and count correctly. 2017-05-04 13:56:19 +09:00
Benjamin Southall 501678d6bb 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 08114c44e9 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 2fae551db7 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 ad935a1aef 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 3a2e2f4f6e 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 35eb18bddc Adding snow / snow storm javascript 2017-03-03 15:44:16 +09:00
Benjamin Southall 826ba04305 Add fireworks javascript and CSS 2017-03-03 15:39:28 +09:00
Benjamin Southall a69bc13ba2 Change code hightlighting to highlight.js from google-code prettify.js 2017-03-03 15:34:45 +09:00
Benjamin Southall 4f9408a68f 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 7e0cf814fa Change post hover behaviour to show actual post, rather than last post in thread. 2017-03-03 15:07:27 +09:00
Benjamin Southall 21e7520caa Add overboard support to image-hover functionality. 2017-03-03 15:04:23 +09:00
Benjamin Southall 9c189eff4f Don't remove post selection checkbox for reporting when hiding threads 2017-03-02 11:20:04 +09:00
Benjamin Southall 503af65968 Don't remove mentioned post links from post-hover popups. 2017-03-02 11:18:14 +09:00
Benjamin Southall 1cab6af526 Remove linking to OP as part of post hover. 2016-12-14 06:06:05 +09:00
Benjamin Southall a3b9c4405c Merged lainchan with vichan master at 25/9/2016 a4b619ae5e @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