138 Commits (2409930dfc9f082f5ac9ada989cb8264f9144338)

Author SHA1 Message Date
Thomas Lynch de901f9b83 Make more resilient to missing captcha keys in secrets.json 1 year ago
Thomas Lynch 565f52478b WIP Yandex SmartCaptcha support, need somebody to give me a sitekey+secretkey to test, unavailable in my country 1 year ago
Thomas Lynch f3f972a4a4 Move referercheck earlier so it doesnt break since i18n, and add a form validation to prevent referer check getting into an invalid state with empty hosts 1 year ago
Thomas Lynch 69374012c3 Fix tests, run them again since localisation update (all pass) 1 year ago
Thomas Lynch 48bf19a3d3 Translate a bunch more actionhandlers and form models, and imrpove error translations in server.js ref #396 1 year ago
Thomas Lynch 612e7d0f3a Add language set middleware to a bunch of routes, and make some minor middleware ordering changes to supprot 1 year ago
Thomas Lynch a019006e20 For the 100th time, make it "work" 1 year 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. 1 year 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) 1 year ago
Thomas Lynch 224b141920 Change setting locale in render locals in build locals, remove test header 1 year ago
Thomas Lynch 4c3ba53cc1 Set language global and after boards.exists 1 year ago
Thomas Lynch eb8ba712f6 Add __ local to app locals 1 year ago
Thomas Lynch 679d095d98 Start on localisation ref #396 1 year 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 2 years ago
Thomas Lynch c8ebf9a579 Improvement to grid v1 to allow customising, allowing for something like this. 2 years ago
Thomas Lynch bc6027dbec
Fix eslint no-unused-vars breaking express.use for error handler (needs 4 arguments in functio nsignature) 2 years ago
Thomas Lynch e047782249
eslint lib, migrations, db, models, test, schedules and root dir 2 years ago
Thomas Lynch bb582c2de8 "helpers" -> "lib 2 years ago
Thomas Lynch cce0bc661d experimental, and the goal is for running tests, not deployment (for now) 2 years ago
Thomas Lynch 00da66f95e dont destructure roles, access it normally so load() callback will update them properly 2 years ago
Thomas Lynch e511c67efa Make roles update on edits and fix map imports, so the role names show correctly after edt 2 years ago
Thomas Lynch 993924a5f2 Start making roles editable ref #377 2 years ago
Thomas Lynch 8bd41eabd0 ref #377 "template names", else "Custom" in accounts/staff table 2 years ago
Thomas Lynch d1f9c78258 ref #377, the fun begins 2 years ago
Thomas Lynch fb6c0fa52f custom links for archive/reverse, close #373 3 years ago
Thomas Lynch f606cd186a change permission setting from number to dropdown with names, thanks some_random_guy 3 years ago
Thomas Lynch 0c0102ec0c make referer check work again 3 years ago
Thomas Lynch 8892f64bad merge webring db, 3 years ago
Thomas Lynch daf89c5548 || 3 years ago
Thomas Lynch 9be5fbc462 add some locals to server app.locals that were only included in the render helper 3 years ago
Thomas Lynch 1c5f14e419 This did not go as planned 3 years ago
Thomas Lynch 60cddef23a slowly switch configs to db and only a small amount of things like secrets remain in a config file 3 years ago
Thomas Lynch 9ad03e096a make subscriber only start when there is any listener so its not needed in gulptasks for example 3 years ago
Thomas Lynch e9ca4d7e21 reload app locals on config change 3 years ago
Thomas Lynch de75523ddc start making the config able to reload, for now just clearing require.cache 3 years ago
dolphin d51aa143a8 Add in hcaptcha support. 4 years ago
Thomas Lynch ba4ea5834e Better error handler, and catch some more errors from body parser for urlencoded forms 4 years ago
Thomas Lynch 5274abb8ba add formatsize helper to server 4 years ago
Thomas Lynch 080dc3f660 Bugfix not showing post file size on express server .render('d pages 4 years ago
Thomas Lynch 646cc551b7 More configuration and bit less ugly config layout for captcha 4 years ago
Thomas Lynch 60d36bbb6a Make a bit more maintainable, support different captcha types with some config options 4 years ago
Thomas Lynch 09e0bcb518 references #209 , add optional google recaptcha. implementation could use some polish, but it will work for now. 4 years ago
Thomas Lynch b0797f0418 Beta testing .onion support 4 years ago
some_random_guy 0f20646833 use `redirect: false` in express.static 4 years ago
some random guy cfc97b8101 do not read session when not needed 4 years ago
Thomas Lynch 39bbedfe53 Get session in websocket 4 years ago
fatchan 9f9d8387f9 Exit if migrateVersion outdated close #163 4 years ago
fatchan 84b9bdb578 Dont show webring link in navbar if disabled reference #145 4 years ago
fatchan dfc453ef81 fixes #137, not even a regression. i dont think that ever worked 4 years ago
fatchan 3bda3aa596 only use processip middleware where necessary references #121 4 years ago