| Age | Commit message (Collapse) | Author |
|
TODO: Add strict checks for config like uniqueness of IDs.
This allows to specify Shelly cover devices to be added to the
configuration file with all information required by the Sia server.
|
|
Since the default configuration is a valid configuration it should
belong to this new directory. This allows to continue with extending
automated tests to test all configurations in this directory.
|
|
This is useful during early development to make possible
misconfiguration visible.
Later it might be dropped especially if the config gets larger.
|
|
This allows overwriting values of the default configuration with custom
ones.
|
|
This method makes it easy to validate a configuration.
A call of it is now embedded into the StartupConfiguration.FromJSON()
method which should always be the lowest level function to parse
configurations.
Thus configurations can usually be trusted.
|
|
The default config JSON is embedded as bytes into the executable.
Instead of constants the default values are now parsed from these
embedded bytes.
|
|
This is a first step towards configurability.
|