Thomas Lynch
2d48f4110b
pluralisation and %s for numebr substitute, with simple conversion code for frontend
2 years ago
Thomas Lynch
5db3bedb4d
translate postform
2 years ago
Thomas Lynch
fba680f40c
permissions metadata change, allow blocking editing/disable checkbox
2 years ago
Thomas Lynch
277745a5ca
Fix the completely fucked up "my permission", the board equivalent, and staff permissions page since a recent permission update. Upside is it now considers the "parent" thing, which is nice.
2 years ago
Thomas Lynch
7c9f6257f8
Add setQueryLanguage mw, Make bypass_minimal language aware, TODO make form submissions know language and redirect to blockbypass for board with language query string
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
224b141920
Change setting locale in render locals in build locals, remove test header
2 years ago
Thomas Lynch
5e3b935664
fix language setting and test translation on globalmanagenav
2 years ago
Thomas Lynch
4c3ba53cc1
Set language global and after boards.exists
2 years ago
Thomas Lynch
e4dd53427e
Add language setting to global settings and board settings
2 years ago
Thomas Lynch
5e7cc919c2
Add __ locale to render lib and gulpfile rendering
2 years ago
Thomas Lynch
679d095d98
Start on localisation ref #396
2 years ago
Thomas Lynch
52c9e1521d
edit menu option only in mod/manage view
2 years ago
Thomas Lynch
beb3986448
Show in title param what parent permission is needed in the frontend.
2 years ago
Thomas Lynch
7a3095594f
Change permissions metadata to be keyed by the permission bits
...
Refactor form handling for permissions in editrole/editaccount, make mush shorter and more maintainable
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
b0db6553a7
modview will show full email form instead of abiding by "sage only email" which now correctly only applies to anons
2 years ago
Thomas Lynch
ae13b22363
Refactor postlink in views into a mixin
2 years ago
Thomas Lynch
8224b6f083
Include move board in postLinks modlogs view
2 years ago
Thomas Lynch
9221312761
Refactor, put account/role permission editing form into an include
2 years ago
Thomas Lynch
7e3c424da3
Small note about global board management permissions, allow subtitles along with titles in permission metadata
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
9039466d6e
Update actionfooter to hide_name=1 by default close #498
2 years ago
Thomas Lynch
bdf5da0adc
Ban type ip display and storage improvement
2 years ago
Thomas Lynch
9a6c5ba9f8
.noselect class to twofactor on page
2 years ago
Thomas Lynch
e5d0f9871f
Add text version of secret to twofactor.html for people without/who dont want to use a camera or screenshot the image
...
Add warning to twofactor.html that other sessions will be logged out and they have to log in again
Change cache-control header to no-cache, even though private is secure (prevent showing cached page without outdated secret)
2 years ago
Thomas Lynch
b93bab7faf
Switch speakeasy -> otpauth (maintained, more modern, actively developed)
...
Remove dev debug skip of 2fa generation ratelimit
Shorten totp validity window
Remove ugly stuff from login/changepassword forms, change wording
2 years ago
Thomas Lynch
4d86406483
Initial commit of 2FA for accounts, TOTP-based
2 years ago
Thomas Lynch
b69337e2f1
Show ban notes in mod view tables and allow editing them
2 years ago
Thomas Lynch
0fc87e752d
make captcha font apply to text AND grid
...
set a new default font which is common on linux, in debian repos, and has the chess characters
remove 24MB font file that came from i dont even remember where
2 years ago
Thomas Lynch
6b437d7159
Dont show replayable option if other files disabled on board
...
Rebuild board pages on file type for image/other changes, to account for tegaki in postform changes
2 years ago
Thomas Lynch
0ee959a81a
Remove duplicate link to download replay (jsonly tegaki replay link, since we already have the download button)
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
9a7053242d
Close #370 optional disable overboard reverse image links
2 years ago
Thomas Lynch
3cb5e0197a
Revert "Close #480 dont show "register" on login page if not allowed for regular user, since users might reach it clicking "manage" after the login redirect"
...
This reverts commit 9c5dd5efa8
.
2 years ago
Thomas Lynch
204c8b9447
Typo Baners->Banners
2 years ago
Thomas Lynch
35da2a9ff1
Close #478 option to hide banners and [banners] links board setting
2 years ago
ussaohelcim
cf791fc61c
updated post.pug to not remove .tgkr
2 years ago
Thomas Lynch
9c5dd5efa8
Close #480 dont show "register" on login page if not allowed for regular user, since users might reach it clicking "manage" after the login redirect
2 years ago
ussaohelcim
18604614bc
added tegaki replay feature
2 years ago
Thomas Lynch
b3db556bb0
close #485 fix globalsettings using wrong variable to set selected property of inactive accounts action dropdown
2 years ago
Thomas Lynch
0317414eb0
fix regression, incorrect local captchaType -> captchaOptions.type ref #469
2 years ago
Thomas Lynch
a9b288d1ac
Include thread score in hot thread hover title
2 years ago
Thomas Lynch
47ab8d22c0
Configurable hot threads max age, update migration, changelog, etc
2 years ago
Thomas Lynch
e1396674bb
Add some more titles in antispam section of globalsettings page
2 years ago