Brandon Thomas
60d4199216
fix logout
...
The reason this is so labyrinthine is because of the users and billing
components. They bind dynamic behaviors that are defined in
storyteller-web (one of them being clearing the redis session cache).
Actually, the users component _didn't_, because it was defined in the
billing component. So I hoisted it out into a new component library.
In the fullness of time I imagine all of this will be consolidated back
under storyteller-web so we don't have to worry about binding actions at
a distance.
Anyway, this is tested and works locally.
2023-12-14 16:58:37 -05:00
Brandon Thomas
e18b86a55a
everything needs to refer to workplace-hack
2023-12-08 01:25:49 -05:00
Brandon Thomas
8a6678c7f5
move workspace-hack under crates/
2023-12-06 02:12:57 -05:00
Brandon Thomas
fc122cb996
upgrade chrono with vendored limitation
2023-12-05 21:54:06 -05:00
Brandon Thomas
92e0b1e9f4
Revert "Bump chrono from 0.4.22 to 0.4.31"
...
This reverts commit 4856ac28aa .
2023-12-05 20:40:09 -05:00
dependabot[bot]
4856ac28aa
Bump chrono from 0.4.22 to 0.4.31
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.22 to 0.4.31.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.22...v0.4.31 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-06 00:19:36 +00:00
Brandon Thomas
404853e129
cleanup misleading old comment
2023-12-05 19:16:55 -05:00
dependabot[bot]
ccae943037
Bump rand from 0.7.3 to 0.8.5
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.7.3 to 0.8.5.
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.7.3...0.8.5 )
---
updated-dependencies:
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-30 07:32:36 +00:00
Brandon Thomas
e1c7231d96
Revert "Bump sha2 from 0.9.9 to 0.10.8"
...
This reverts commit 951afc2e5d .
2023-11-29 02:28:51 -05:00
Brandon Thomas
74c477b045
Merge pull request #169 from storytold/dependabot/cargo/sha2-0.10.8
...
Bump sha2 from 0.9.9 to 0.10.8
2023-11-28 21:37:50 -05:00
dependabot[bot]
0a85e9c581
Bump time from 0.2.27 to 0.3.30
...
Bumps [time](https://github.com/time-rs/time ) from 0.2.27 to 0.3.30.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.2.27...v0.3.30 )
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 16:45:21 +00:00
Brandon Thomas
d777346520
Update seed tool to seed TT2 models
2023-11-27 18:31:42 -05:00
dependabot[bot]
951afc2e5d
Bump sha2 from 0.9.9 to 0.10.8
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.9 to 0.10.8.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.9...sha2-v0.10.8 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-27 22:32:08 +00:00
kasisnu
703e297b94
easy bump actix deps
2023-11-23 11:08:29 +05:30
Brandon Thomas
e64fcab028
Switch from native TLS to rustls
...
This should make for smaller and simpler binaries.
2023-11-20 00:06:15 -05:00
Brandon Thomas
bd4644098f
Upgrade sqlx to latest (0.7.2)
...
Hypothetically this unblocks native rustls over IP address. If so, we
can drop native OpenSSL and Ubuntu packages and make a much simpler
build.
See this issue:
https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
Had to deal with a few migration issues,
- changes to transactor types:
https://github.com/launchbadge/sqlx/issues/2606
- changes to sqlx_core that impacted our serialization/deserialization macros
2023-11-19 23:25:52 -05:00
dependabot[bot]
3adf92d4e5
Bump serde_json from 1.0.91 to 1.0.108
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.91 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.91...v1.0.108 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-16 06:17:36 +00:00
Brandon Thomas
c7c7c5b798
email-job
2023-11-15 22:31:18 -05:00
kasisnu
2eb5635c58
removing some unused creates
2023-11-14 12:31:37 +05:30
Brandon Thomas
dd3c87b712
don't leak accounts
2023-11-12 07:02:39 -05:00
Brandon Thomas
7dc7afd244
environmental reset link
2023-11-12 05:16:53 -05:00
Brandon Thomas
f1d3566f30
login after password reset
2023-11-12 04:24:47 -05:00
Brandon Thomas
3852851f65
'success' fields, cleanup
2023-11-12 02:52:26 -05:00
Brandon Thomas
a69d0f7b9a
redemption works
2023-11-11 19:56:23 -05:00
Brandon Thomas
e068af0e1c
wip redemption
2023-11-11 16:23:30 -05:00
Brandon Thomas
c6a111bb4c
smtp wired up
2023-11-11 14:53:58 -05:00
Brandon Thomas
9ce771f571
fix crockford-encoded entropy
2023-11-10 16:27:30 -05:00
Jacob Conley
5892fb1f14
Fixed implementation up to the point of sending the email
2023-11-10 16:14:24 -05:00
Jacob Conley
16d6542911
Beginning password reset implementation
...
- Email send is not implemented yet
- All of this is still untested, clearly
2023-11-10 16:13:58 -05:00
Brandon Thomas
b6f7f50b16
Revert "Bump sha2 from 0.9.5 to 0.10.5"
...
This reverts commit b9667e2540 .
2023-10-25 23:52:40 -04:00
dependabot[bot]
b9667e2540
Bump sha2 from 0.9.5 to 0.10.5
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.5 to 0.10.5.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.5...sha2-v0.10.5 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-25 07:03:42 +00:00
Brandon Thomas
9c856235fc
write avt cookie token to inference jobs
2023-10-24 05:04:00 -04:00
Brandon Thomas
724ae2570e
How did this ever work!?
2023-10-24 03:56:38 -04:00
Brandon Thomas
022aa523cb
fix cookie paths ?
2023-10-19 05:56:15 -04:00
Brandon Thomas
6d01506bd1
fix cookie path
2023-10-19 05:53:44 -04:00
Brandon Thomas
d5b28d2d3e
Start setting AVT cookie on /v1/session endpoint
2023-10-19 04:24:50 -04:00
Brandon Thomas
cce4f5f3b7
Revert "Bump sha2 from 0.9.5 to 0.10.5"
...
This reverts commit 59f7b6f732 .
2023-10-19 02:44:21 -04:00
Brandon Thomas
9123dbc3d9
Merge pull request #98 from storytold/dependabot/cargo/sha2-0.10.5
...
Bump sha2 from 0.9.5 to 0.10.5
2023-10-19 02:41:04 -04:00
Brandon Thomas
c3e5b42bf3
use JwtSigner for session cookie
2023-10-19 02:39:17 -04:00
dependabot[bot]
59f7b6f732
Bump sha2 from 0.9.5 to 0.10.5
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.5 to 0.10.5.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.5...sha2-v0.10.5 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-19 05:57:20 +00:00
Brandon Thomas
261978f763
Merge pull request #102 from storytold/dependabot/cargo/anyhow-1.0.75
...
Bump anyhow from 1.0.40 to 1.0.75
2023-10-19 01:53:55 -04:00
Brandon Thomas
66442d9eda
Cookie stuff - JWT signer, anonymous visitor cookies, etc.
...
- JWT signer is reusable, tested
- AVT cookies improve the anonymous user experience and will help
internal analytics
2023-10-19 01:37:50 -04:00
dependabot[bot]
1de3e669d6
Bump anyhow from 1.0.40 to 1.0.75
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.40 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.40...1.0.75 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 22:18:42 +00:00
Brandon Thomas
6e76cd3da6
Cleanup identifiers (tokens package)
2023-10-09 23:00:11 -04:00
dependabot[bot]
a7d794e29b
Bump base64 from 0.13.0 to 0.21.0
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.0 to 0.21.0.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-09 23:05:57 +00:00
dependabot[bot]
589d13fdd1
Bump once_cell from 1.17.0 to 1.18.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.0 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-04 05:56:02 +00:00
Brandon Thomas
699bb6a6a7
Clion auto-optimize imports, remove dead imports, Clippy lint
2023-09-20 01:39:58 -04:00
Brandon Thomas
9a7b746460
return statement lint
2023-08-21 00:23:09 -04:00
Brandon Thomas
f41833e4f4
cargo cranky: &'static
2023-08-15 23:56:03 -04:00
Brandon Thomas
bd9c4d752f
move includes to single root dir
2023-08-15 23:42:01 -04:00