Thomas Lynch
e1d93da7a6
fix no posts found on ban mixin
2 years ago
Thomas Lynch
557ff57db4
Translate login and a bunch of manage pages
2 years ago
Thomas Lynch
aa70a5ff9a
"pages:" include spacing
2 years ago
Thomas Lynch
578bb63620
translate top-right user settings in modal
2 years ago
Thomas Lynch
f488914743
improve edit role translation handling, nest __
2 years ago
Thomas Lynch
ad0c83c4be
home and account page improved translations
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
18e11cbba5
translate 2fa
2 years ago
Thomas Lynch
97e5ce53e8
Translate (just the template changes) for a ton of mixins and includes, and update country names to support multi language
2 years ago
Thomas Lynch
ef829facc7
insert translation functions to frontend for edit news, edit role, edit staff, error, globalmanageaccounts. no translations written, but keys added to language files
2 years ago
Thomas Lynch
8f689f8df0
Translate editpost, move customflag from post to iinclude, and update editpost to properly show board custom flags in the flag slot
2 years ago
Thomas Lynch
ba4ee005af
translate editnews page
2 years ago
Thomas Lynch
8a8dd169c6
editaccount/editcustompage/editrole/editstaff, move staffpermissions to include, add translation keys for permissions screens (not translated for portugese)
2 years ago
Thomas Lynch
64290c57dd
Bans, ban, boardlist, catalog, changepassword, create, +mixins/include + some fixes
2 years ago
Thomas Lynch
080f256f53
Translate account page and action footers, plus minor board page improvement
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
cb326823cb
A bunch more translations, and change a log to alert() in ptchina-playlist
2 years ago
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