215 Commits
Author SHA1 Message Date
Thomas Lynch bd48d5274a Fix nginx config paths to have .conf so they get included by new nginx in debian which only includes *.conf
Fix path of geoip.mmdb to dbip.mmdb
Fix ssl paths and configs when using letsencrypt, dont use the nginx plugin
Fix writing html of gulp favicon task
2024-10-10 17:21:12 +11:00
Thomas Lynch a971d9c021 Add recursive folder creation to gulpfile langs() function because it goes inside the scrints dest folder (maybe should add a function that creates these in a loop buuuuut whatever) close #536 2023-09-11 22:31:53 +10:00
Thomas Lynch b8115c267a Fix live posts not showing web3 sig/address 2023-08-20 12:25:24 +10:00
Thomas Lynch 0a8bc092ff Update CHANGELOG
Cleanup whitespace
2023-08-19 15:58:27 +10:00
Thomas Lynch 394c93b140 Merge branch 'develop' into feature/531-web3-signing 2023-07-22 01:16:46 +10:00
Thomas Lynch 8c559efa97 Create index on board property of filters db, update gulpfile 2023-07-07 18:45:11 +10:00
Thomas Lynch 5cba6de62f Add ethereum links URL %s format global setting, default to ethersca
Improve apearance of eth address under post
Put signature under post in details+summary
2023-06-24 23:12:20 +10:00
Thomas Lynch a997a4c8f9 Merge branch 'develop' into feature/531-web3-signing 2023-06-18 16:54:46 +10:00
Thomas Lynch c2d885c0a0 web3 first commit, message signing 2023-06-18 13:35:25 +10:00
disco 7ce421de3b Redesign filter settings to allow multiple filters 2023-06-17 23:21:22 +00:00
Thomas Lynch de901f9b83 Make more resilient to missing captcha keys in secrets.json 2023-05-21 16:31:58 +10:00
Thomas Lynch 1785454e84 Make banmessages send over websocket close #529 2023-05-20 19:01:53 +10:00
Thomas Lynch 565f52478b WIP Yandex SmartCaptcha support, need somebody to give me a sitekey+secretkey to test, unavailable in my country 2023-05-19 23:47:55 +10:00
Thomas Lynch 6301a9540e Fix small gulpfile issues breaking installs since nested js/lang folder doesnt exist 2023-04-28 20:59:05 +10:00
Thomas Lynch a102beed5e ref #430 use date format from locale in views 2023-02-09 21:25:45 +11:00
Thomas Lynch 699865683f Merge branch 'develop' into feature/396-localisation 2023-02-05 23:25:03 +11:00
Thomas Lynch f050160682 move theme and codetheme assets into themes/assets and codethemes/assets folders, instead of lumping them all in one disorganised folder 2023-02-04 12:51:45 +11:00
Thomas Lynch 21b64db8ba add "langs" gulp task separate from scripts (to prevent moment of them being deleted -- and also they dont need to be run in the build-worker tasks) 2023-01-30 21:21:00 +11:00
Thomas Lynch 58ba9eebdb First iteration of frontend optimized language pack files with ~70% reduced size from full pack 2023-01-27 21:24:17 +11:00
Thomas Lynch 8ddaee00ca Merge branch 'develop' into feature/396-localisation 2023-01-20 19:52:29 +11:00
Thomas Lynch cc22916165 gulp password task now sets admin as root 2023-01-20 19:28:11 +11:00
Thomas Lynch 3374d70572 fix gulpfile race condition on deleting static lang folder 2023-01-19 21:30:55 +11:00
Thomas Lynch 2d48f4110b pluralisation and %s for numebr substitute, with simple conversion code for frontend 2023-01-19 21:25:58 +11:00
Thomas Lynch a019006e20 For the 100th time, make it "work" 2023-01-16 23:09:58 +11:00
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. 2023-01-16 22:19:15 +11:00
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) 2023-01-15 20:34:46 +11:00
Thomas Lynch 224b141920 Change setting locale in render locals in build locals, remove test header 2023-01-15 20:04:55 +11:00
Thomas Lynch 5e7cc919c2 Add __ locale to render lib and gulpfile rendering 2023-01-15 16:51:15 +11:00
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]: {})
2023-01-03 17:51:08 +11:00
Thomas Lynch 3017029f61 close #486
Changes to frontend locals for templates to match backend change. Regression caused ban modal to be broken because captchaType is no longer used in the captcha include.

close #487
Make the "pre-checking" of bans there not check all checkboxes inform because that included captcha options. Now it is explicitly "checkedbans" inputs. Otherwise all the boxes in grid captchas were filled in by default.
2022-08-08 13:14:14 +10:00
Thomas Lynch 5c359a8bda Merge branch 'develop' into '469-captcha-improvements'
# Conflicts:
#   controllers/forms/globalsettings.js
#   gulpfile.js
#   migrations/0.8.0.js
#   package.json
2022-07-14 10:15:15 +00:00
Thomas Lynch c969814f54 First version of grid v2 2022-07-12 11:42:40 +10:00
Thomas Lynch 116a102109 Set default/template config in gulp wipe task 2022-07-09 10:31:20 +10:00
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
2022-06-08 02:08:22 +10:00
Thomas Lynch 47023683dd Fix static versioning string in gulp generate-favicon task that would cause issues with icons updating 2022-05-25 20:04:29 +10:00
Thomas Lynch 585850376a compress -> true in gulp for minifying scripts 2022-05-22 19:48:59 +10:00
Thomas Lynch 08b5c71adf dont include pugruntime.js yet ref #460 2022-05-22 19:48:35 +10:00
Thomas Lynch d71d0d8eca remove that for now pending https://github.com/pugjs/pug/issues/3374 2022-05-22 19:30:57 +10:00
Thomas Lynch 64435d5058 ref #460 2022-05-22 18:25:06 +10:00
Thomas Lynch e047782249 eslint lib, migrations, db, models, test, schedules and root dir 2022-05-02 17:32:55 +10:00
Thomas Lynch e4035dcaee Portrait mode improvement for tegaki on mobiles. was simpler than i thought 2022-04-27 22:03:19 +10:00
Thomas Lynch bb582c2de8 "helpers" -> "lib
god help anybody who gets serious merge conflicts from this
close #434
2022-04-12 04:37:52 +10:00
Thomas Lynch 626aea734e basic oekaki ref #280 2022-03-29 20:08:50 +11:00
Thomas Lynch 6798cb843e bugfixes and improvements to captcha options
improve gulp task for proper captchafield grid size
make globalsettings run tasks check for any captchaOptions change, not just type
bugfix grid image size wrong body name
2022-03-15 19:32:40 +11:00
Thomas Lynch 475c0df8fc Merge branch 'permissions-update' into develop 2022-03-08 17:08:52 +11:00
Thomas Lynch 4cb42bc560 gulpfile fix 2022-03-07 15:03:35 +11:00
Thomas Lynch 92c504e59c rename ip.single -> ip.cloak 2022-03-06 13:18:23 +11:00
Thomas Lynch 3a8f6b9e7e - when updating a role, update the permissions for all the people with that role already
- dont allow making 2 roles the same permissions
2022-03-05 02:21:03 +11:00
Thomas Lynch 8b4a793d5a initial roles data to gulpfile, and migration 2022-03-05 01:55:30 +11:00
Thomas Lynch 993924a5f2 Start making roles editable ref #377
permtemplates are now roles.
They are in the db and can be edited.
Still have to do a few things like the migration, gulpfile and some small details.
2022-03-04 00:17:33 +11:00