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
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
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
a93a4d7f55
Make saveoverboard.js more general so it works on overboard index AND catalog view
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
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
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
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
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
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