1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-09 20:00:12 +00:00
jfa-go/ts
Harvey Tindall f063b970b4
config: migrate to new yaml format
config-base.yaml is almost identical to json version, except there's no "order" field, as
"sections" and "settings" fields are now lists themselves and so Go can
parse the correct order. As such, removed enumerate_config.py. Also,
rewrote scripts/generate_ini.py in Go as scripts/ini/. Config structure
in Go form is now in common/config.go, and is used by jfa-go and the ini
script. app.configBase is now untouched once read from config-base.yaml,
and instead copied to and patched in app.patchedConfig. Patching occurs
at program start and config modification, so GetConfig is now just a
couple of lines. Discord role patching still occurs in GetConfig, as the
available roles can change regularly. Also added new "Disabled" field to
sections, to avoid the nightmare of deleting from an array.
2024-08-26 15:43:28 +01:00
..
modules config: migrate to new yaml format 2024-08-26 15:43:28 +01:00
typings jellyseerr: use in profiles, apply on user creation and modification 2024-07-30 16:44:46 +01:00
admin.ts api: adjust a couple of URIs 2024-08-21 20:35:08 +01:00
crash.ts tailwind: upgrade a17t, somewhat functional dark mode 2021-12-30 00:49:43 +00:00
form.ts form/admin: don't allow "+" in username/email 2024-08-24 15:04:18 +01:00
pwr-pin.ts PWR: Add option to set new password from magic link 2021-06-07 13:49:05 +01:00
pwr.ts pwr: add captcha daemon 2023-12-23 20:18:16 +00:00
setup.ts setup: flex-ify, light/dark, keep page position on reload 2024-08-21 18:31:54 +01:00
tsconfig.json users: huge cleanup/dedupe, interface-based third-party services 2024-08-03 21:27:46 +01:00
user.ts user: url split on pathname only 2024-07-13 14:22:05 +01:00