Artem Medvedev
e21f99ac4a
refactor(server)!: cleanup authorization boilerplate ( #199 )
...
* refactor!: use `actix-web-grants` to protect endpoints
* fix: filter out blank strings
* doc: add documentation for a function
* fix: don't return body for not exposed endpoints
* test: add fixtures
* test: fix naming
* test: remove extra step in teardown
2023-12-12 19:21:29 +01:00
Artem Medvedev
b74e9ceeaf
docs(readme): explain behavior of unset `auth_tokens` and `delete_tokens` ( #202 )
...
* doc(readme): explain behavior of unset `auth_tokens` & `delete_tokens`
Just a clarification on how this works in the case of uninstalled tokens, for greater clarity and security
* docs(readme): update styling
* docs(readme): update grammar
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-12-11 19:19:18 +01:00
Artem Medvedev
c5c9c6d233
chore(fixtures): run fixtures on `macos` & `ubuntu` ( #201 )
...
* ci(fixtures): run fixtures on `macos` & `ubuntu`
In order to check the fixtures works on both OS
* fix: install coreutils for macos
* doc: add mention coreutils on `macOS`
* ci: fix
* ci: fix
* refactor(fixture): rename matrix.os.version to matrix.os.runner
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-12-11 19:16:25 +01:00
dependabot[bot]
d7c67e0350
chore(deps): bump tokio from 1.34.0 to 1.35.0 ( #203 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.34.0 to 1.35.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.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-12-11 13:46:46 +01:00
Artem Medvedev
adbd67a182
test(fixtures): support `fixtures` on `macOS` ( #200 )
...
* test: support fixtures for macOS
* chore: clarify the comment
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
---------
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-12-10 16:04:28 +01:00
Orhun Parmaksız
3e34206884
chore(deps): bump shuttle dependencies to 0.35.0
2023-12-09 22:41:20 +03:00
dependabot[bot]
1e9a3b4a71
chore(deps): bump ring from 0.17.6 to 0.17.7 ( #196 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.6 to 0.17.7.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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-12-06 19:07:16 +01:00
Orhun Parmaksız
d4b02eca91
fix(shuttle): fix Shuttle entrypoint
2023-12-05 15:22:10 +03:00
Orhun Parmaksız
0f377fc44c
chore(release): prepare for v0.14.2
2023-12-05 15:21:06 +03:00
Orhun Parmaksız
62948abdc0
docs(release): add release instructions
2023-12-05 15:17:55 +03:00
Orhun Parmaksız
bb33f437ba
chore(deps): upgrade transitive dependencies
2023-12-05 15:14:08 +03:00
Orhun Parmaksız
ef08b9e838
refactor(tracing): use macros from tracing crate
2023-12-05 15:12:48 +03:00
dependabot[bot]
a291307bec
chore(deps): bump byte-unit from 4.0.19 to 5.0.3 ( #192 )
...
* chore(deps): bump byte-unit from 4.0.19 to 5.0.3
Bumps [byte-unit](https://github.com/magiclen/byte-unit ) from 4.0.19 to 5.0.3.
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.19...v5.0.3 )
---
updated-dependencies:
- dependency-name: byte-unit
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(deps): update codebase accordingly to the new version of byte-unit
* fix(fixtures): use more precise byte comparison
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-12-05 13:08:22 +01:00
Orhun Parmaksız
3c3a4b58ac
chore(example): add auth token handling to HTML form example ( #183 )
2023-12-03 21:37:00 +03:00
Orhun Parmaksız
fd75750a43
chore(deps): bump shuttle dependencies to 0.34.1
2023-11-30 00:47:36 +03:00
Orhun Parmaksız
339963f2bd
refactor(ci): fix multiline if statement
2023-11-30 00:46:54 +03:00
Orhun Parmaksız
ed9f6aa586
chore(shuttle): deploy when Shuttle dependency is updated
2023-11-30 00:44:47 +03:00
dependabot[bot]
7c9f443943
chore(deps): bump ring from 0.17.5 to 0.17.6 ( #195 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.5 to 0.17.6.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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-11-29 22:36:59 +01:00
dependabot[bot]
50fad6e333
chore(deps): bump lazy-regex from 3.0.2 to 3.1.0 ( #182 )
...
Bumps [lazy-regex](https://github.com/Canop/lazy-regex ) from 3.0.2 to 3.1.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-24 23:05:34 +01:00
dependabot[bot]
cc6815d783
chore(deps): bump config from 0.13.3 to 0.13.4 ( #188 )
...
Bumps [config](https://github.com/mehcode/config-rs ) from 0.13.3 to 0.13.4.
- [Changelog](https://github.com/mehcode/config-rs/blob/v0.13.4/CHANGELOG.md )
- [Commits](https://github.com/mehcode/config-rs/compare/0.13.3...v0.13.4 )
---
updated-dependencies:
- dependency-name: config
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-11-24 23:05:17 +01:00
Orhun Parmaksız
92a4360752
chore(deps): bump shuttle dependencies to 0.34.0
2023-11-25 01:03:37 +03:00
dependabot[bot]
89459e6be7
chore(deps): bump url from 2.4.1 to 2.5.0 ( #189 )
...
Bumps [url](https://github.com/servo/rust-url ) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.4.1...v2.5.0 )
---
updated-dependencies:
- dependency-name: url
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-11-23 19:38:17 +01:00
dependabot[bot]
616e5846cc
chore(deps): bump serde from 1.0.192 to 1.0.193 ( #187 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.192 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193 )
---
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-11-21 23:11:01 +01:00
Orhun Parmaksız
54a906ddf7
chore(deps): bump shuttle dependencies to 0.33.0
2023-11-18 13:02:01 +01:00
dependabot[bot]
4bd3082566
chore(deps): bump tokio from 1.33.0 to 1.34.0 ( #181 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.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-11-15 18:20:18 +01:00
dependabot[bot]
0e7aafaf0f
chore(deps): bump tracing-subscriber from 0.3.17 to 0.3.18 ( #184 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
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-11-14 15:00:22 +01:00
Orhun Parmaksız
b0c61cdb09
bump shuttle dependencies to 0.32.0
2023-11-09 15:35:13 +03:00
dependabot[bot]
12b1c713a6
chore(deps): bump serde from 1.0.190 to 1.0.192 ( #178 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.190 to 1.0.192.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.192 )
---
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-11-07 22:24:14 +01:00
Orhun Parmaksız
c6d32d6df9
docs(readme): update table of contents
2023-11-03 10:32:32 +01:00
DtxdF
9a73b3e9c5
docs(readme): add instructions for FreeBSD ( #177 )
...
* docs(readme): add instructions for FreeBSD
* docs(readme): add appjail to features section
2023-11-03 10:32:09 +01:00
Orhun Parmaksız
79662d64ab
chore(release): prepare for v0.14.1
2023-11-03 00:05:00 +01:00
Orhun Parmaksız
eee3355107
fix(lib): fix typos
2023-11-02 23:58:46 +01:00
Orhun Parmaksız
87c0b11c60
chore(deps): upgrade transitive dependencies
2023-11-02 23:58:02 +01:00
Orhun Parmaksız
25be13d9bf
bump shuttle dependencies to 0.31.0
2023-11-02 16:10:51 +01:00
dependabot[bot]
d943ad5bc6
chore(deps): bump futures-util from 0.3.28 to 0.3.29 ( #174 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.28 to 0.3.29.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.28...0.3.29 )
---
updated-dependencies:
- dependency-name: futures-util
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-27 15:19:41 +02:00
dependabot[bot]
f0e0b247eb
chore(deps): bump serde from 1.0.189 to 1.0.190 ( #173 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.189 to 1.0.190.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190 )
---
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-10-26 14:18:07 +02:00
Orhun Parmaksız
30400cab0d
chore(deps): bump shuttle dependencies to 0.30.1
2023-10-25 16:36:42 +02:00
dependabot[bot]
2477b7428e
chore(deps): bump tracing from 0.1.39 to 0.1.40 ( #168 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40 )
---
updated-dependencies:
- dependency-name: tracing
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-23 19:12:51 +02:00
Jean SIMARD
70541bb842
feat(log): switch to `tracing` for logging ( #163 )
...
* feat(log): use 'tracing-subscriber' instead of 'env_logger'
resolves #161
* feat: use 'tracing' instead of 'log'
* feat: make 'INFO' the default log level
2023-10-20 23:30:16 +02:00
dependabot[bot]
cd9ace952c
chore(deps): bump ring from 0.17.4 to 0.17.5 ( #167 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.4 to 0.17.5.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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-19 14:25:37 +02:00
Orhun Parmaksız
77bb4ca299
chore(deps): bump regex to 1.10.2
2023-10-18 22:18:31 +03:00
dependabot[bot]
5d0e38ad15
chore(deps): bump regex from 1.10.0 to 1.10.1 ( #165 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.0 to 1.10.1.
- [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.10.0...1.10.1 )
---
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-17 11:25:28 +02:00
dependabot[bot]
4cb6548851
chore(deps): bump ring from 0.17.3 to 0.17.4 ( #164 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.3 to 0.17.4.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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-17 11:24:58 +02:00
dependabot[bot]
db97b32955
chore(deps): bump serde from 1.0.188 to 1.0.189 ( #162 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.188 to 1.0.189.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189 )
---
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-10-13 14:37:49 +02:00
dependabot[bot]
25171ad828
chore(deps): bump ring from 0.17.2 to 0.17.3 ( #160 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.2 to 0.17.3.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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-10 16:30:26 +02:00
dependabot[bot]
d3394d0d30
chore(deps): bump regex from 1.9.6 to 1.10.0 ( #159 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.6 to 1.10.0.
- [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.6...1.10.0 )
---
updated-dependencies:
- dependency-name: regex
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-10-10 16:30:12 +02:00
Orhun Parmaksız
48cdd09298
chore(deps): bump shuttle dependencies to 0.29.0
2023-10-09 16:26:51 +03:00
dependabot[bot]
b2cdc072ca
chore(deps): bump ring from 0.17.0 to 0.17.2 ( #157 )
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.0 to 0.17.2.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
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-09 15:24:10 +02:00
dependabot[bot]
6be7b850a1
chore(deps): bump tokio from 1.32.0 to 1.33.0 ( #155 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.32.0...tokio-1.33.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-10-09 15:23:35 +02:00
Orhun Parmaksız
c60b548cc7
fix(lints): apply clippy suggestions
2023-10-07 14:40:05 +03:00