Brandon Thomas
850e1b3c10
add UserDetailsLight + avatar to /v1/session endpoint + schema docs
2024-02-09 22:43:28 -05:00
Brandon Thomas
74ed7f365b
UserDetailsLight refactor - consolidate, fix bug, get ready for reuse
2024-02-09 21:44:13 -05:00
Brandon Thomas
dd76a6fea1
flag to session endpoint
2024-02-06 23:41:26 -05:00
Brandon Thomas
f54ddb0acb
feature flag off certain endpoints
2024-02-06 23:20:14 -05:00
Brandon Thomas
0743684f0d
cookie samesite policy for netlify branch deploys
2024-01-23 22:37:04 -05:00
Brandon Thomas
dca8ff7014
deprecated lint; clarify serde casing
2024-01-11 19:09:38 -05:00
Brandon Thomas
186979ecbd
fix lints and other issues
2023-12-14 18:40:44 -05:00
Brandon Thomas
8789c53a0a
Merge pull request #183 from storytold/dependabot/cargo/async-stripe-0.26.0
...
Bump async-stripe from 0.25.2 to 0.26.0
2023-12-14 17:27:07 -05:00
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
e375c8090c
fix IDE handling (code compiled and tested, but IDE unhappy)
2023-12-12 19:21:42 -05:00
dependabot[bot]
8bb82c0fe5
Bump async-stripe from 0.25.2 to 0.26.0
...
Bumps [async-stripe](https://github.com/arlyon/async-stripe ) from 0.25.2 to 0.26.0.
- [Release notes](https://github.com/arlyon/async-stripe/releases )
- [Changelog](https://github.com/arlyon/async-stripe/blob/master/CHANGELOG.md )
- [Commits](https://github.com/arlyon/async-stripe/compare/v0.25.2...v0.26.0 )
---
updated-dependencies:
- dependency-name: async-stripe
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-12 16:59:57 +00:00
dependabot[bot]
d3be9a3a6b
Bump tokio from 0.1.22 to 1.34.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.22 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.22...tokio-1.34.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 22:09:11 +00: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
kasisnu
2ebd6dc634
fix various stripe handler errors :(
2023-11-10 15:05:02 +05:30
kasisnu
797332b887
feat: report errors to stripe
2023-11-10 13:59:19 +05:30
kasisnu
c9b3ce06d6
bump async-stripe, dealing with webhook handler failures/updates
2023-11-08 15:17:06 +05:30
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
Brandon Thomas
8af1a2da47
Merge pull request #115 from storytold/dependabot/cargo/sha2-0.10.5
...
Bump sha2 from 0.9.5 to 0.10.5
2023-10-25 23:50:32 -04:00
Brandon Thomas
3f54396ef4
Merge pull request #118 from storytold/dependabot/cargo/actix-http-3.4.0
...
Bump actix-http from 3.3.0 to 3.4.0
2023-10-25 23:48:14 -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
dependabot[bot]
02d06df0e2
Bump actix-http from 3.3.0 to 3.4.0
...
Bumps [actix-http](https://github.com/actix/actix-web ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actix/actix-web/releases )
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md )
- [Commits](https://github.com/actix/actix-web/compare/web-v3.3.0...http-v3.4.0 )
---
updated-dependencies:
- dependency-name: actix-http
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 22:31:41 +00:00