gristlabs_grist-core/test/server/lib
Spoffy 6908807236
Extracts config.json into its own module (#1061)
This adds a config file that's loaded very early on during startup. 

It enables us to save/load settings from within Grist's admin panel, that affect the startup of the FlexServer.

The config file loading:
- Is type-safe, 
- Validates the config file on startup
- Provides a path to upgrade to future versions.

It should be extensible from other versions of Grist (such as desktop), by overriding `getGlobalConfig` in stubs.

----

Some minor refactors needed to occur to make this possible. This includes:
- Extracting config loading into its own module (out of FlexServer).
- Cleaning up the `loadConfig` function in FlexServer into `loadLoginSystem` (which is what its main purpose was before).
2024-07-08 15:40:45 +01:00
..
helpers (core) Port allocation fix in TestServer 2024-06-24 22:10:58 +02:00
ACLFormula.ts (core) Support user variable in dropdown conditions 2024-06-04 06:56:55 -07:00
ACLRulesReader.ts (core) Fix null references in form fields bug 2024-04-12 15:46:21 -07:00
Assistance.ts (core) Add AI Assistant retry with shorter prompt 2024-02-12 11:06:52 -05:00
Authorizer.ts Extracts config.json into its own module (#1061) 2024-07-08 15:40:45 +01:00
config.ts Extracts config.json into its own module (#1061) 2024-07-08 15:40:45 +01:00
configCore.ts Extracts config.json into its own module (#1061) 2024-07-08 15:40:45 +01:00
configCoreFileFormats.ts Extracts config.json into its own module (#1061) 2024-07-08 15:40:45 +01:00
DocApi2.ts (core) Adding UI for timing API 2024-05-22 14:56:53 +02:00
DocApi.ts Add authorization header in webhooks stored in secrets table (#941) 2024-07-04 14:17:10 +02:00
GristSockets.ts Support HTTP long polling as an alternative to WebSockets (#859) 2024-03-28 13:22:20 -04:00
HostedStorageManager.ts Move HomeDBManager to gen-server/lib/homedb (#1076) 2024-07-05 16:02:39 +02:00
ManyFetches.ts Fix ManyFetches test so it checks TEST_REDIS_URL is set 2024-04-29 14:54:36 -04:00
MemoryPool.ts (core) Manage memory used for websocket responses to reduce the risk of server crashes. 2023-08-07 11:28:31 -04:00
MinIOExternalStorage.ts Shutdown Doc worker when it is not considered as available in Redis #831 (#856) 2024-04-04 10:25:42 -04:00
ProxyAgent.ts (core) Add logging of errors whenever ProxyAgent is used, and a test for it. 2023-05-17 10:21:53 -04:00
Telemetry.ts (core) Admin Panel and InstallAdmin class to identify installation admins. 2024-03-25 12:18:38 -04:00
UnhandledErrors.ts set TEST_CLEAN_DATABASE when running server tests (#806) 2023-12-27 09:56:59 -05:00
Webhooks-Proxy.ts (core) Adding UI for timing API 2024-05-22 14:56:53 +02:00