Commit Graph

15 Commits

Author SHA1 Message Date
Gary Kramlich
4be28617e0 Start of the run command and the bridge type 2021-11-20 04:59:52 -06:00
Gary Kramlich
8086ad1708 Add logging config and add some helper functions 2021-11-20 04:58:59 -06:00
Gary Kramlich
e27846c25b update maulogger 2021-11-20 04:57:21 -06:00
Gary Kramlich
f97da27731 Add a force option to the generate-config command 2021-11-20 03:33:19 -06:00
Gary Kramlich
79713cf0ef Fix some defaults in the appservice config 2021-11-20 03:33:06 -06:00
Gary Kramlich
4e074afc64 Add a generate-config command 2021-11-20 03:27:46 -06:00
Gary Kramlich
34afda42a1 Add a -f option to generate registration
Because changes to the registration file require a restart of the matrix server
changes to it should be minimized. Therefore, if generate-registration is ran
while the file exists, we error out unless the --force/-f option is specified.
2021-11-19 17:15:52 -06:00
Gary Kramlich
6a87e389b6 Fix a bug where the config wasn't loaded properly 2021-11-19 17:09:02 -06:00
Gary Kramlich
2b63ddc6b8 Rename the config structs setDefaults to validate
This allows us to check for some required values and give an easy to respond
to error at startup rather than a lot of validation during run time.
2021-11-19 16:53:43 -06:00
Gary Kramlich
8553f49ac6 Add the LICENSE file.
This work is based mostly on mautrix-whatsapp so we're using that license as
we're required to.
2021-11-19 16:32:06 -06:00
Gary Kramlich
5a11f49dbe Make sure we always load our default config values 2021-11-19 16:31:19 -06:00
Gary Kramlich
09911a11e3 Add a generate-registration command 2021-11-18 02:44:21 -06:00
Gary Kramlich
5b3811ce96 Start of the config 2021-11-18 02:03:42 -06:00
Gary Kramlich
3305345ce8 add a .gitignore 2021-11-18 01:31:16 -06:00
Gary Kramlich
f6493e0d87 Initial scaffolding 2021-11-18 01:30:50 -06:00