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
Thomas Lynch
5f99ca5062
Improve 0.11.0 migration
...
add simple regex for handling ipv4/6 instead of assuming all ipv4
actually append 4/6 to existing cloaks
set type 0 on all bans/posts before applying correct types to ensure all have at least some ip type
2 years ago
Thomas Lynch
78cf3bde5a
update CHANGELOG
2 years ago
Thomas Lynch
49e9ed2c28
update dependencies
2 years ago
Thomas Lynch
fa6d94d63b
npm audit fix
2 years ago
Thomas Lynch
f2b7a3be13
add some tests for cross board moving
...
update edit ban duration action "edit_duration" instead of "edit"
edit a role in setup for allowing anons to bypass captcha
add captcha 000000 to changepassword in setup
add some more pages/jsons to the pages.js test file
2 years ago
Thomas Lynch
bc53bc1e4a
Allow roles from globalmanage to be fetched as json
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
f894ed34e1
fix email bug for staff
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
a1ccd6f267
Try to integrate post moving a bit better into the existing combined actions flow
...
Bugfix some move issues
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
57f2951774
update CHANGELOG
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
058d7b1dbb
Eslint and bugfix unused crossBoardMovePages
2 years ago
Thomas Lynch
a3a6199332
Should probably update that
2 years ago
Thomas Lynch
516884cf3e
Cross board post move bugfixes/changes
...
Make rebuilds work for both baords
2 years ago
Thomas Lynch
344ed5f662
Cross board post move bugfixes/changes
2 years ago
Thomas Lynch
379e7b6287
update CHANGELOG
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
1191ec4dc8
Mostly functional cross board post moving
2 years ago
Thomas Lynch
0d6323669f
Start on cross board thread moves #250
2 years ago
Thomas Lynch
48f5651175
README updates & improvements
2 years ago
Thomas Lynch
43c33017be
Update dependencies
2 years ago