Thomas Lynch
7525308504
Bugfix lib render when options is null default to global locale
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
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
224b141920
Change setting locale in render locals in build locals, remove test header
2 years ago
Thomas Lynch
5e7cc919c2
Add __ locale to render lib and gulpfile rendering
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
2a48b10054
Fix duplicate key in projectedsettings for board settings, and make custompages jsons get removed on deleting custom page.
...
Close #479 add endpoints for board and global settings.json to api with options that would be useful for a 3rd party app. Add the associated tasks, calls to them in settings.
Small change and add comments in lib/build/render.
2 years ago
Thomas Lynch
641c087ecc
Add public json for modlog list, logs, custompages
...
update the banners task to output json (not just render it), so it can be reached on first pageload
close #491
2 years ago
Thomas Lynch
1e70a5aa62
Fix incorrect arg to Modlogs.deleteOld not pruning modlogs when updating modloglist. (the public page was still "correct" since it filtered the dates beforehand)
2 years ago
Thomas Lynch
c8ebf9a579
Improvement to grid v1 to allow customising, allowing for something like this.
...
-true characters
-false characters
-question text
Make optional (and add additional options for) some filters/effects
-paint
-line
-wave
2 years ago
Thomas Lynch
4022999966
Remove or update some no longer relevant todos.
...
re: the captcha one, roundrobin = too fast expiring, sampling expireAfter $gte some time = possible to not get returned a captcha. so stucking with random. been working fine.
2 years ago
Thomas Lynch
e047782249
eslint lib, migrations, db, models, test, schedules and root dir
2 years ago
Thomas Lynch
cd254e7c40
cleanup and make hotposts more to my taste
2 years ago
l29utp0
af9a2232c1
...
2 years ago
l29utp0
3e1eaa87b4
fix hot threads dumb error when pasting
2 years ago
l29utp0
c4a0c1a56e
add hotThreads function from ptchina, needs some more work
2 years ago
Thomas Lynch
bb582c2de8
"helpers" -> "lib
...
god help anybody who gets serious merge conflicts from this
close #434
2 years ago
Thomas Lynch
45aa0ad680
move some more .js files out of root dir, not helper related
2 years ago
Thomas Lynch
4f525b6613
move, rename, reorganise "helpers" => "lib"
2 years ago