Thomas Lynch
5a7368a0a4
Add a new property to permissions metadata and reflect on frontend inability for users without that "parent" permission to edit roles/accounts to have some permissions e.g. root, edit roles, edit accs
...
Put the metadata into permissions.js (also TODO: key the metadata by bits instead? i.e [Permisions.whatever]: {})
2 years ago
Thomas Lynch
66b21f93b7
Close #507
...
change polling fallback for live posts to trigger on connect_error not only reconnect_failed
allow retry in socket mode 60s after falling back to polling
2 years ago
Thomas Lynch
b391c0cb66
Make post editing a GET endpoint with perm check like editstaff/editcustompages, much more sensible
2 years ago
Thomas Lynch
0d6323669f
Start on cross board thread moves #250
2 years ago
Thomas Lynch
a93a4d7f55
Make saveoverboard.js more general so it works on overboard index AND catalog view
2 years ago
Thomas Lynch
4d86406483
Initial commit of 2FA for accounts, TOTP-based
2 years ago
Thomas Lynch
6d2249c13a
Close #502 add some margin+padding to tabs area of settings to address strange firefox only css issue
2 years ago
Thomas Lynch
568dd5f174
Allow providing file option overrides in addFile, use them to disable strip filename option for drawn tegaki
...
Bugfix checking if non existing box is checked
2 years ago
Thomas Lynch
0c531867f7
"No subject" -> #${postId} in several places, much nicer idea
2 years ago
Thomas Lynch
cf92d77a2f
Allow tegaki only, show as attachment with replay. perhaps an option in future to disable this (why not just use spoiler?)
...
Revert condition for potentially confusing backend message, no longer needed because of above
Set color palette when opening replays to match what is set by default when drawing, to prevent weird looking color palette
Tegaki CSS fix
2 years ago
Thomas Lynch
8e5c8b5ab0
Tegaki replaying overhaul
2 years ago
Thomas Lynch
c958331b2c
theme and consistency improvements for tabbed settings
2 years ago
ussaohelcim
b387d1494c
updated to not use expand.js
2 years ago
ussaohelcim
d078d58b94
updated tegaki replay
...
updated to show [View Replay] on file info
updated to add replays on addPost event
updated to remove the replay attachment only on frontend
2 years ago
Thomas Lynch
3017029f61
close #486
...
Changes to frontend locals for templates to match backend change. Regression caused ban modal to be broken because captchaType is no longer used in the captcha include.
close #487
Make the "pre-checking" of bans there not check all checkboxes inform because that included captcha options. Now it is explicitly "checkedbans" inputs. Otherwise all the boxes in grid captchas were filled in by default.
2 years ago
ussaohelcim
18604614bc
added tegaki replay feature
2 years ago
Thomas Lynch
43517afb80
close #484 captcha frontend script broken for grid v2 for post captchas
2 years ago
l29utp0
1b5b12ea0e
use youtube-nocookie
...
https://support.google.com/youtube/answer/171780#zippy=%2Cturn-on-privacy-enhanced-mode
2 years ago
Thomas Lynch
b73b657f4a
Make first tab default selected ref #477
2 years ago
Thomas Lynch
c71c9c3277
CSS improvement
2 years ago
Thomas Lynch
added79573
Tabbed board settings, and CSS improvement #477
2 years ago
Thomas Lynch
2aa776116d
Testing css-only tabs solution for settings page organisation
2 years ago
Thomas Lynch
b1d36b5f62
style
2 years ago
Thomas Lynch
cd1d7ddcda
add eslint rule enforce one true brace style and allow single line
2 years ago
ussaohelcim
2fcde2d7b9
Updated to use mimetype instead of file extension
...
Also fixed everything that Tom asked, i hope.
2 years ago
ussaohelcim
184ff965c6
added feature to download a thread as a playlist
...
New option 'playlist' added to thread options when a post its the OP.
When the option 'playlist' is clicked, the window dispatch an custom event createPlaylist, the script get this event and requests all webm, mp4 and mp3 files from the jschan server, and a .m3u file is downloaded on the client, with all those files forming a m3u playlist.
2 years ago
Thomas Lynch
00c31b1088
Hcaptcha decided it wanted to prevent setting the hash from scrolling to your post
2 years ago
Thomas Lynch
64435d5058
ref #460
2 years ago
Thomas Lynch
3b87bebd7e
-Improve form handling js to not show "something broke" for ex/ when logging in but getting
...
redirected to a page that gives 403 because of no permission. instead redirect them anyway
-Add a ton of comments and do some small cleanup to improve maintaining forms.js
2 years ago
Thomas Lynch
e73cef4caf
Small refactor setting localstorage defaults in loop instead of gross repetition
2 years ago
Thomas Lynch
e48c5af8dc
one last fix before the tag :)
2 years ago
Thomas Lynch
d8f2e8292f
add eslint rules
...
no-template-curly-in-string (+find and fix minor bug in redirect)
curly
no-multiple-empty-lines
2 years ago
Thomas Lynch
ad04dad123
add more compiledfileclients to gitignore
2 years ago
Thomas Lynch
5c43ecab98
eslint gulp/res/js/
...
update .eslintrc.json
update gitignore
rm --cached some newly .gitignore'd files, which were just pug compiledclient output files
2 years ago
Thomas Lynch
e4035dcaee
Portrait mode improvement for tegaki on mobiles. was simpler than i thought
2 years ago
Thomas Lynch
15c4f593bd
add the best theme "adaptive" from jschan branch to public
2 years ago
Thomas Lynch
e92e27bd40
remove "+x earlier", bugfixes and expanding omitted appearance tweaks
2 years ago
Thomas Lynch
f3daa8e352
notification fix/change
...
remove new post log
2 years ago
Thomas Lynch
ddd5b29dda
hide/toggle "x posts omiited" text when expanded
...
return to correct number of preview posts e.g. if post has less/no preview replies
2 years ago
Thomas Lynch
bdb27397cc
possible filters bugfix
2 years ago
Thomas Lynch
a56e68b3fd
allow expanding threads inline, with a little plus/minus button like 4chan
2 years ago
Thomas Lynch
cd254e7c40
cleanup and make hotposts more to my taste
2 years ago
Thomas Lynch
206dd3bc32
bans
...
property name fixes/change, category -> type, type -> range, now they reflect more what they actually are
bantable updated, bit cleaner mixin
bantables now more compact, will overflow (with scroll) and no text wrap
close #446
2 years ago
Thomas Lynch
9ae1b79052
Fix/improve showing new modal bans, now handled by time.js to show "relative time" or other time settings.
...
Uses a new 'showModal' customEvent that can probably be used for other things down the line.
ref #445
2 years ago
Thomas Lynch
7805054635
modal shows bans, and are appealable from the modal
...
bugfix already appealed bans showing as "appealable"
minor ban form/ban mixin tweaks
no more sketchy way of "clearing" the form and resubmitting to show bans page. nice!
2 years ago
Thomas Lynch
954b23ef0c
minor bugfix to flag saving/syncedfield
2 years ago
Thomas Lynch
7adaacc945
"moderate" form x -> × and adjust font-size and padding
2 years ago
Thomas Lynch
b4b60c44a5
dont set minwidths based on thumbnail when expanding spoilered images because spoiler can be bigger than the expanded image
2 years ago
Thomas Lynch
5d6b903182
minor bugfix, add missing updateFilesText cal, so tegaki correctly shows num of files
2 years ago
Thomas Lynch
98e7c15789
tegeki.css -> tegaki.css
...
add tegaki size to setting import/export
2 years ago