1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00
jfa-go/ts/modules
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
..
account-linking.ts discord: hide "Join Server" text when invite not provided 2023-09-07 21:40:44 +01:00
accounts.ts form/admin: don't allow "+" in username/email 2024-08-24 15:04:18 +01:00
activity.ts ips: log on activities, show on card 2023-12-23 21:47:41 +00:00
captcha.ts trim base css of most redundant classes 2023-12-24 18:55:58 +00:00
common.ts web: fix intermittent "coudln't connect" on page load 2024-08-04 21:57:17 +01:00
discord.ts fix more oddities 2021-12-31 01:51:42 +00:00
invites.ts api: adjust a couple of URIs 2024-08-21 20:35:08 +01:00
lang.ts web: fix intermittent "coudln't connect" on page load 2024-08-04 21:57:17 +01:00
login.ts admin: add setting to hide background on login 2023-10-02 10:34:14 +01:00
modal.ts login: modularize frontend code 2023-06-15 23:52:16 +01:00
profiles.ts api: adjust a couple of URIs 2024-08-21 20:35:08 +01:00
search.ts ui: general adjustments 2023-12-22 21:40:56 +00:00
settings.ts config: migrate to new yaml format 2024-08-26 15:43:28 +01:00
stripmd.ts rewrite stripmd, fix some typos 2021-03-26 23:13:19 +00:00
tabs.ts ui: general adjustments 2023-12-22 21:40:56 +00:00
theme.ts setup: flex-ify, light/dark, keep page position on reload 2024-08-21 18:31:54 +01:00
update.ts fix form layout 2021-12-31 18:52:03 +00:00
validator.ts userpage: implement change password functionality 2023-06-22 20:54:52 +01:00