Thomas Lynch
|
cb326823cb
|
A bunch more translations, and change a log to alert() in ptchina-playlist
|
2 years ago |
Thomas Lynch
|
8ddaee00ca
|
Merge branch 'develop' into feature/396-localisation
|
2 years ago |
Thomas Lynch
|
f16de9a3f3
|
update CHANGELOG
|
2 years ago |
Thomas Lynch
|
262954c41c
|
remove comment todo that is already done
|
2 years ago |
Thomas Lynch
|
cc22916165
|
gulp password task now sets admin as root
|
2 years ago |
Thomas Lynch
|
ef4de0fb07
|
editAccount no longer allows account editors to apply roles to users with root permission
|
2 years ago |
Thomas Lynch
|
f9672375b3
|
update CHANGELOG
|
2 years ago |
Thomas Lynch
|
d68a32b831
|
Add some additional improved permission.js tests, and null check rather than !Metadata in permission handleBody (because else 0 would be true)
|
2 years ago |
Thomas Lynch
|
571380e243
|
remove applying inheritance on setting, match editstaff/editaccount
|
2 years ago |
Thomas Lynch
|
75471381db
|
Merge branch 'develop' into feature/396-localisation
|
2 years ago |
Thomas Lynch
|
473eb94d39
|
Update permission.test.js to correctly expect() the .every rather than in the every callback, else it would only check the first one
|
2 years ago |
Thomas Lynch
|
f0b1ce6f63
|
eslint fix
|
2 years ago |
Thomas Lynch
|
0d078db10d
|
Merge branch 'develop' into feature/396-localisation
|
2 years ago |
Thomas Lynch
|
a6706cd6d3
|
version bump, update CHANGELOG & package*.json
|
2 years ago |
Thomas Lynch
|
cebf2fe4a9
|
Convert uploadbanners to new schema checker along with other asset handlers, and fix max flag assets check
|
2 years ago |
Thomas Lynch
|
3374d70572
|
fix gulpfile race condition on deleting static lang folder
|
2 years ago |
Thomas Lynch
|
2aa5d1afbe
|
make frontend translation fallback to keys if missing
|
2 years ago |
Thomas Lynch
|
c553a60936
|
disable retarded i18n option
|
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
|
4efa40a7b4
|
Merge branch 'develop' into feature/396-localisation
|
2 years ago |
Thomas Lynch
|
fba680f40c
|
permissions metadata change, allow blocking editing/disable checkbox
|
2 years ago |
Thomas Lynch
|
e8bed661e8
|
language to boardDefaults
|
2 years ago |
Thomas Lynch
|
eb74588258
|
Merge branch 'develop' into feature/396-localisation
|
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
|
634305e22b
|
Merge branch 'develop' into feature/396-localisation
|
2 years ago |
Thomas Lynch
|
a4927c86a1
|
Convert addflags and addassets to schema formhandler, was still on old form handling code
|
2 years ago |
Thomas Lynch
|
612e7d0f3a
|
Add language set middleware to a bunch of routes, and make some minor middleware ordering changes to supprot
Add example translations in server.js, a controller for form submission, and in a middleware (file middleware in this case)
|
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
|
a019006e20
|
For the 100th time, make it "work"
|
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
|
a360f09929
|
Bugfix changeboardsettings language
|
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
|
eb8ba712f6
|
Add __ local to app locals
|
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
|
4b396393da
|
Hungover af bruh
|
2 years ago |
Thomas Lynch
|
649326df5a
|
update CHANGELOG
|
2 years ago |
Thomas Lynch
|
d639460bb3
|
Bugfix editing from actions form redirecting always to OP instead of post
|
2 years ago |
Thomas Lynch
|
ad84d6e03a
|
Merge branch 'fix-reporting' into 'master'
Fix post reporting for not logged-in users
See merge request fatchan/jschan!277
|
2 years ago |
some random guy
|
88b5542908
|
fix post reporting for not logged-in users
That check is only relevant when we try to move a post.
|
2 years ago |