David Baker
48493a96e1
Wait until config is loaded to load otel
2023-03-22 12:41:33 +00:00
Timo
eda11cfc08
Inform that the user that config keys are missing ( #880 )
2023-02-09 12:57:54 +01:00
David Baker
df9c1fed2a
Fix copyright headers
...
This is an Element project (in the vector-im repo) so the Copyright
should be for New Vector: it was incorrectly attributed to the
foundation for some files (and some files were missing headers).
2023-01-03 16:55:26 +00:00
David Baker
c879090a34
Re-jig config accessors
...
We only ever used the static instance() method to get to the config
object, so just make a static instance that returns the ConfigOptions
directly, throwing an exception if it's not yet initialised. This way
the types can all be non-optional (plus it's shorter).
2022-12-21 10:17:53 +00:00
David Baker
eaf14a0562
Don't send rageshakes or start sentry if we don't have config for them
2022-12-21 09:42:27 +00:00
David Baker
96de515e56
Move default homeserver to config file
2022-12-20 17:26:45 +00:00
Robin Townsend
acc41c532e
Add URL params to control fonts
...
This was also a good chance to switch to the semantic font size names used in Compound.
2022-12-09 14:31:13 -05:00
Timo
cafac39733
moves style init to initializer. fix i18n loading ( #723 )
...
Co-authored-by: Timo K <timok@element.io>
2022-11-04 18:29:40 +01:00
Timo
78a313c373
Async config file ( #682 )
...
* initial
* only donwload config once
* formatting
* update sample config
* sentry
* refactor load state
* fix build yaml
* Upper case enums
* change how defaults work. review fixes
* abstract initialization
* copyright
* gitignore styleing
* refactor initialization
* use dafualt as fallback
* internalInstance rename
* review
* remove acidentally added posthog file
* DSN rename
* update Copyright
* remove olm from the initializer
Co-authored-by: Timo K <timok@element.io>
2022-11-03 19:43:41 +01:00