* feat: Add optional fields for TLS private key and certificate paths
* Add optional field for whitelist_csv_path
* fix test cases for whitelist_csv_path
* fix issues pointed out by yuroitaki
* Add error handling for missing PEM paths when TLS is enabled
* Fix formatting and linting
* throw error if pem files do not exist
---------
Co-authored-by: funkyenough <14842981+funkyenough@users.noreply.github.com>
fix: Server fixture now returns valid json
* return json instead of string
* removed trailing whitespace
* use a constant for the default port
* give binary a better name
* feat: supports reading config values from CLI
* chore: adds config lib to cargo.toml, uses server default config values instead, removes validations in settings.rs
* chore: tries to load YAML file
* chore: tries to load YAML file
* fix: loads config.yaml properly, refactors code
* fix: removes .idea folder and moves config lib to notary-server cargo.toml
* feat: uses serde-aux to deserialize env vars port and tls-enabled from string and restores &cli_fields.config_file path and debug log
* fix: parses int and bool using try-parsing instead of serde-aux and removes unnecessary whitespaces
* chore: converts config to snake_case for consistency
* doc: adds configuration documentation, code comments and fixes linting errors
* fix: fixes ci linting formatting
* fix: fixes ci linting formatting
* fix: adjusts formatting for settings.rs and minor adjustments to documentation
* fix: uses cargo nightly to format correctly
---------
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com>
* (fix: client) Fixed client issue of being able to implement the path for the url
* (feat: client) Improved the code to adjust for feedback received as well as extend the path calculation to avoid adding a `/` when already starts with a `/`
* (fix: client) Fixed client issue of being able to implement the path for the url
* (feat: client) Improved the code to adjust for feedback received as well as extend the path calculation to avoid adding a `/` when already starts with a `/`
* Update crates/notary/client/src/client.rs
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com>
* (fix: client) Renamed `path` to `path_prefix`
* (fix: client) Remove condition on the URL
* (chore: client) Fix formating
---------
Co-authored-by: yuroitaki <25913766+yuroitaki@users.noreply.github.com>
* doc: Fix examples for alpha7 release
+ Use secp256k1 key for notary server fixture
+ fix tower issue
+ Fixed doctes issues (Avoid doc test failures when ignored tests are run)
+ Run wasm tests in incognitto mode to avoid chromiumoxide ws errors
* Added comment
* minor improvements
* formatting
* polish attestation example
* use shorthand fs write
* clean
* simplify discord example
---------
Co-authored-by: sinu <65924192+sinui0@users.noreply.github.com>