dependabot[bot]
9e6dfeeaaa
chore(deps): bump regex from 1.9.5 to 1.9.6 ( #152 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.5 to 1.9.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.5...1.9.6 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 14:29:50 +02:00
Orhun Parmaksız
86759450b9
chore(deps): bump shuttle dependencies to 0.27.0
2023-09-22 15:01:20 +03:00
Orhun Parmaksız
613f1cd73d
fix(ci): use the correct arguments for cargo-tarpaulin
2023-09-19 13:58:21 +03:00
dependabot[bot]
ab3e4844a9
chore(deps): bump docker/build-push-action from 4 to 5 ( #143 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 12:57:16 +02:00
Orhun Parmaksız
3f13beccaf
chore(deps): bump shuttle dependencies to 0.26.0
2023-09-19 13:56:46 +03:00
dependabot[bot]
6a1b911652
chore(deps): bump docker/setup-buildx-action from 2 to 3 ( #141 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 21:23:45 +02:00
dependabot[bot]
fb0c075fc2
chore(deps): bump docker/login-action from 2 to 3 ( #140 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 21:23:10 +02:00
dependabot[bot]
1fb0858f01
chore(deps): bump lazy-regex from 3.0.1 to 3.0.2 ( #144 )
...
Bumps [lazy-regex](https://github.com/Canop/lazy-regex ) from 3.0.1 to 3.0.2.
- [Changelog](https://github.com/Canop/lazy-regex/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Canop/lazy-regex/commits )
---
updated-dependencies:
- dependency-name: lazy-regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 21:21:32 +02:00
dependabot[bot]
ca68abd2a6
chore(deps): bump docker/metadata-action from 4 to 5 ( #142 )
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 21:20:56 +02:00
Orhun Parmaksız
f46d2f5af5
chore(release): prepare for v0.14.0
2023-09-05 20:46:33 +03:00
dependabot[bot]
cef84b482f
chore(deps): bump actions/checkout from 3 to 4 ( #139 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 13:51:34 +02:00
dependabot[bot]
a6c17f14e0
chore(deps): bump regex from 1.9.4 to 1.9.5 ( #138 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.4...1.9.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:26:49 +02:00
Helmut K. C. Tessarek
cc9633cc95
refactor(server): change response to 'file deleted' ( #137 )
2023-09-04 11:09:29 +02:00
Andy Baird
27e3be5a2d
feat(server): add delete endpoint ( #136 )
...
* Delete endpoint implementation with delete_tokens configuration
* style(server): remove empty line, add dot at end of doc comment
* test(fixtures): add fixture test for file delete
* refactor(config): add delete_tokens to config.toml
* docs(readme): add info on how to delete file from server
* Update README.md
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
* Update README.md
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
* refactor(server): use log::error! and return 500
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
* test(server): add test_delete_file_without_token_in_config
* refactor(server): use one function to retrieve auth/delete tokens
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
* test(config): add test_get_tokens
* test(config): improve test_get_tokens
* feat(config): disallow empty tokens
* feat(server): update the messages for delete endpoint
---------
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-09-03 17:47:52 +02:00
Helmut K. C. Tessarek
2292c24aaf
chore(project): update crates and rustls deps ( #135 )
...
* chore(project): update crates and rustls deps
* chore(docker): update Rust to 1.72.0
* Update Dockerfile
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-08-30 12:04:52 +02:00
Orhun Parmaksız
614b44884d
chore(deps): bump shuttle dependencies to 0.25.0
2023-08-28 19:44:13 +03:00
dependabot[bot]
15cea9a157
chore(deps): bump url from 2.4.0 to 2.4.1 ( #130 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 18:25:16 +02:00
Orhun Parmaksız
a44ae94132
chore(release): prepare for v0.13.0
2023-08-26 23:40:04 +03:00
Orhun Parmaksız
ec7a81ee6d
chore(deps): upgrade dependencies
2023-08-26 23:15:24 +03:00
Ömer Üstün
95379c9f66
feat(server): support handling spaces in filenames ( #107 )
...
* feat(server): add url encoding
- Introduced an option to enable encoding for filenames in the returned URL.
- Modified the encoding approach to specifically target whitespaces, replacing them with `%20`.
- Included unit tests to validate this encoding approach.
- Added fixture tests for broader functional verification.
- Removed the `urlencoding` dependency from `Cargo.toml`.
* Refactor code and fixtures for better compliance and consistency
- Fixed errors in the fixture configuration to ensure tests run as expected.
- Reformatted line endings for consistency across the codebase.
- Made necessary adjustments to adhere to Clippy's recommendations.
* Enhance whitespace handling options for filenames
- Implemented a configuration choice for space handling in filenames: encode, replace with underscores or none.
- Added corresponding unit and fixture tests.
* Remove redundant function call
Fixed misplaced line as per @tessus's review feedback, preventing duplicate handling of spaces in filenames.
* Delete test file with spaces.txt
* Refactor filename space handling
- Introduced `SpaceHandling` enum to manage filename spaces.
- Updated server.rs and paste.rs to utilize the new method.
- Added unit tests for the new filename handling method.
- Adjusted fixture tests to reflect these changes.
* Move filename processing into `SpaceHandling` enum
- Relocated filename processing logic to reside within the `SpaceHandling` enum, enhancing encapsulation.
- Updated calls in `server.rs` and `paste.rs` to use the new method structure.
- Adjusted unit tests to align with the refactored function location and call pattern.
* Refactor based on review suggestions
- Incorporated the inline suggestions made by @tessus, removing the unnecessary one-line assignments.
- Ensured the code adheres to Rust guidelines by running clippy and fmt.
* chore(deps): revert changes in Cargo.lock
* chore(config): replace spaces as default
* refactor(config): move SpaceHandling to config module
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-08-26 14:35:13 +02:00
dependabot[bot]
38d76fcb0f
chore(deps): bump serde from 1.0.185 to 1.0.186 ( #124 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.185 to 1.0.186.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 18:09:04 +02:00
dependabot[bot]
31c6cbfcfb
chore(deps): bump serde from 1.0.183 to 1.0.185 ( #123 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.183 to 1.0.185.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 13:58:45 +02:00
Helmut K. C. Tessarek
d2d07ad345
feat(server): improve random_url config handling ( #122 )
...
* feat(server): improve random_url config handling
* log deprecation warnings after hot reload of config
* refactor(config): adjust config files
* tests(config): add test for deprecation codepath
* remove unnecessary to_string()
* style: delete empty line
* refactor(server): clean up random_url config handling
* refactor(config): update configs accordingly to deprecated random_url.enabled
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-08-20 20:32:41 +02:00
dependabot[bot]
679a26475a
chore(deps): bump tokio from 1.31.0 to 1.32.0 ( #119 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 15:40:45 +02:00
Orhun Parmaksız
852e409b22
chore(deps): bump shuttle dependencies to 0.24.0
2023-08-17 16:05:09 +03:00
Helmut K. C. Tessarek
c9a3ba4b86
chore(ci): replace unmaintained actions ( #116 )
2023-08-16 10:56:36 +02:00
Helmut K. C. Tessarek
9145c46e18
fix(server): don't log invalid token in release builds ( #112 )
...
* fix(server): don't log invalid token in release builds
* refactor(auth): use inline formatting for auth logs
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-08-14 14:05:34 +02:00
dependabot[bot]
0b8f63de19
chore(deps): bump tokio from 1.30.0 to 1.31.0 ( #113 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.30.0...tokio-1.31.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 13:37:51 +02:00
dependabot[bot]
58e5558a10
chore(deps): bump log from 0.4.19 to 0.4.20 ( #114 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 13:37:01 +02:00
Orhun Parmaksız
77f0e429d1
chore(release): prepare for v0.12.1
2023-08-11 15:26:36 +03:00
Helmut K. C. Tessarek
17ed34fc12
fix(server): do not list expired files ( #109 )
...
* fix(server): do not list expired files
* refactor(server): simplify list files function
* add test case
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-08-11 14:23:07 +02:00
dependabot[bot]
0e9688e8a4
chore(deps): bump tokio from 1.29.1 to 1.30.0 ( #110 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.30.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-10 18:15:09 +02:00
Orhun Parmaksız
61d4a9e3e6
chore(release): prepare for v0.12.0
2023-08-07 14:49:03 +03:00
Orhun Parmaksız
f473966f9d
chore(deps): upgrade transitive dependencies
2023-08-07 14:02:35 +03:00
Orhun Parmaksız
2734f371c9
chore(deps): bump shuttle dependencies to 0.23.0
2023-08-07 14:01:46 +03:00
Orhun Parmaksız
97ec45ed0b
chore(deps): upgrade dependencies
2023-08-07 14:01:01 +03:00
Andy Baird
d0a67751dc
feat(server): add an endpoint for retrieving a list of files ( #94 )
...
* Start
* Wip
* Implement path based JSON index
* Remove json_index_path
* Return datetime stamp instead of relative time
* Add file size to list item
* Add auth check when retrieving JSON index
* Make json index path hardcoded
* Test (currently failing)
* Fix test for test_json_list
* Clippy fix
* Revert cargo to original versions with only needed changes
* Add detail about auth guard affecting list route
* Change json_index_path to expose_list
* Remove unneeded linebreak
* Remove unnecessary import
* Remove unnecessary space at end of line
* Move config check after auth check
* Use new auth check syntax, add docs to struct, rename test_json_list to test_list
* Replace chrono usage with uts2ts
* Check list result in test
* Add example to README
* Upgrade serde_json to 1.0.103
* Add linebreak
* Remove unneeded clone
* Remove extra nl
* Update README.md
* Update README.md
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
* Update README.md
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
* Remove serde_json
* Set default config to false for expose_list
* Apply suggestions from code review
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
* Check that option is value in test_list
* Update Cargo.toml
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
* Update cargo.lock
* Use expect() to check file name
* Remove underscore from list item struct
* Keep comma after last line
* refactor(server): rename ListItem fields
* test(fixtures): add fixture test for listing files
* test push
* remove file again
* chop off ts from filename and minor refactor
* update README
* docs(readme): fix capitalization
* refactor(server): clean up list implementation
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
2023-08-07 12:55:13 +02:00
dependabot[bot]
ee8996193d
chore(deps): bump serde from 1.0.180 to 1.0.181 ( #108 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 18:57:27 +02:00
dependabot[bot]
cee95d9f85
chore(deps): bump serde from 1.0.179 to 1.0.180 ( #103 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.179 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 14:55:51 +02:00
Orhun Parmaksız
4daf41e9be
chore(deps): bump shuttle dependencies to 0.22.0
2023-08-02 15:53:18 +03:00
dependabot[bot]
8a82513a7c
chore(deps): bump serde from 1.0.177 to 1.0.179 ( #102 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.177 to 1.0.179.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.179 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 13:40:50 +02:00
dependabot[bot]
c2c93a45ef
chore(deps): bump serde from 1.0.176 to 1.0.177 ( #101 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 20:35:00 +02:00
dependabot[bot]
278a97cc2e
chore(deps): bump lazy-regex from 3.0.0 to 3.0.1 ( #100 )
...
Bumps [lazy-regex](https://github.com/Canop/lazy-regex ) from 3.0.0 to 3.0.1.
- [Changelog](https://github.com/Canop/lazy-regex/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Canop/lazy-regex/commits )
---
updated-dependencies:
- dependency-name: lazy-regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 20:34:46 +02:00
dependabot[bot]
2580e5cb7d
chore(deps): bump serde from 1.0.175 to 1.0.176 ( #99 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.175 to 1.0.176.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 14:08:37 +02:00
dependabot[bot]
8172f1f316
chore(deps): bump serde from 1.0.174 to 1.0.175 ( #98 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.174 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 15:44:16 +02:00
Helmut K. C. Tessarek
33e038cd4b
style(server): add new line char to most prominent messages ( #97 )
2023-07-22 10:12:04 +02:00
dependabot[bot]
2e13d7a0a1
chore(deps): bump serde from 1.0.173 to 1.0.174 ( #96 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.173 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.174 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 14:50:37 +02:00
Helmut K. C. Tessarek
0d4808880f
feat(server): support multiple auth tokens ( #84 )
...
* feat(server): support multiple auth tokens
Example:
```toml
[server]
auth_tokens = [
"super_secret_token1",
"super_secret_token2",
]
```
The previously used `AUTH_TOKEN` environment variable can still be used
and will be evaluated as well.
* fixtures: add all tokens in array to the test
* add deprecation warning for auth_token
* also add deprecation warnings at server startup
* fix formatting
* fixed tests, so that we do not use deprecated config options
* use bash array
* refactor: use separate function
* refactor: check auth tokens
* Update fixtures/test-server-auth-multiple-tokens/test.sh
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
* refactor: convert functions to methods
* refactor: check function
* refactor: get_tokens method
* style(format): add newline between functions
* refactor(server): print deprecation warnings once
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-07-21 12:28:17 +02:00
dependabot[bot]
b1bdc45767
chore(deps): bump serde from 1.0.171 to 1.0.173 ( #95 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.171 to 1.0.173.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.173 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 18:25:37 +02:00
Orhun Parmaksız
f09c467f6e
chore(deps): bump shuttle dependencies to 0.21.0
2023-07-11 15:24:15 +03:00