Thomas Lynch
a102beed5e
ref #430 use date format from locale in views
2 years ago
Thomas Lynch
2a9d48ac3b
Make deleted post message count translated & pluralised
...
Fix marked posts having undefined marks if not OP
Update migration and fix editposts setting actions to non-array vs actions making it an array to fix modlog page array mapping/translation for actions
2 years ago
Thomas Lynch
157f9838d0
Finish the rest of models besides actionhandler, and change frontend post "marking" to be translated fe-side ref #396
2 years ago
Thomas Lynch
f050160682
move theme and codetheme assets into themes/assets and codethemes/assets folders, instead of lumping them all in one disorganised folder
2 years ago
Thomas Lynch
87f834b510
translate more pages
...
translate homepage stats sections
improve frontend __ replacement
fix globalLanguage incorrectly set in head include
2 years ago
Thomas Lynch
7148d8364a
compress 2fa font a bit more for better display depending on OS/font/whatever
2 years ago
Thomas Lynch
aa38d862e6
revert to older tegaki and copy over the translations, just to be safe
2 years ago
myumyu
fc3afa4fbb
Translate tegaki
2 years ago
Thomas Lynch
ee1df21003
make i18n frontend fallback to other key if there is no plural from the pluralmap in the translation
2 years ago
Thomas Lynch
a07a600a61
More translation
...
Show/hide images
reverse image search
"double click/double tap to highlight" user IDs
spoiler files
2 years ago
Thomas Lynch
db06a2a8a7
threadstats translation
2 years ago
Thomas Lynch
976b59ccad
Hide/show frontend translation
2 years ago
Thomas Lynch
00f6d3fdb0
convert relative times to support localisation
2 years ago
Thomas Lynch
cb326823cb
A bunch more translations, and change a log to alert() in ptchina-playlist
2 years ago
Thomas Lynch
2aa5d1afbe
make frontend translation fallback to keys if missing
2 years ago
Thomas Lynch
2d48f4110b
pluralisation and %s for numebr substitute, with simple conversion code for frontend
2 years ago
Thomas Lynch
21a181d3fa
Add some more simple translations, translate (You)'s and Settings button as proof of concept of translation in JS and CSS
2 years ago
Thomas Lynch
670119148c
Make languages on frontend included individually as a language .js file. Fix issue with lib/build/render.js page. I **think** this is good now.
2 years ago
Thomas Lynch
5bf792649b
Try getting languages into the frontend (still want a better way to only include single language packs and only a subset of keys)
2 years ago
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