Brandon Thomas
818e4eae1c
add feature flags to moderator field of get profile
2024-04-20 01:47:43 -04:00
Brandon Thomas
df955d5aca
get rid of untyped field
2024-04-20 01:40:10 -04:00
Brandon Thomas
578bdf498a
cleanup untyped tokens
2024-04-20 01:26:58 -04:00
Brandon Thomas
1c43387f5a
edit user feature flags handler (mod endpoint)
2024-04-19 22:42:29 -04:00
Brandon Thomas
7b2e0cff72
fail open
2024-04-13 12:37:01 -04:00
Brandon Thomas
5c91a19599
track source
2024-04-13 11:08:26 -04:00
Brandon Thomas
90be680894
refactor cover images
2024-04-07 12:11:36 -04:00
Brandon Thomas
945c25bae8
update user non-v1 routes
2024-04-05 21:53:29 -04:00
Brandon Thomas
e64bd55d4c
organize user and weights docs
2024-04-05 18:41:54 -04:00
Brandon Thomas
da8a28d89d
return encrypted session payload on login etc
2024-04-05 04:13:55 -04:00
Brandon Thomas
820974dd99
session header support
2024-04-05 04:05:39 -04:00
Brandon Thomas
9ff8275ee6
refactor
2024-04-05 03:19:33 -04:00
Brandon Thomas
6f9f9275a7
refactor 3
2024-04-05 03:06:00 -04:00
Brandon Thomas
5876fa3dda
refactor part 2
2024-04-05 02:39:38 -04:00
Brandon Thomas
a9f4796774
refactoring session checker
2024-04-05 02:33:41 -04:00
Brandon Thomas
f99ea0f7cf
document logout handler
2024-04-01 17:11:57 -04:00
Brandon Thomas
ca90394aa8
document login handler
2024-04-01 17:08:35 -04:00
Brandon Thomas
527d980d16
fix react sorting / state change bug on feature flags
2024-03-30 18:02:51 -04:00
Brandon Thomas
3168be3504
New endpoint for enqueueing VST: /v1/video/enqueue_vst
2024-03-14 19:44:10 -04:00
Brandon Thomas
8a08793ff0
feature flags as hash set instead
2024-03-06 02:46:19 -05:00
Brandon Thomas
0c6d10a5e4
add feature flags to session info
2024-03-06 02:42:34 -05:00
Brandon Thomas
1bd5ceb9e6
new permission accessors wired up
2024-03-05 14:45:35 -05:00
Brandon Thomas
b6c0e7738e
read new permission flags
2024-03-05 14:26:03 -05:00
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
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
d777346520
Update seed tool to seed TT2 models
2023-11-27 18:31:42 -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
Brandon Thomas
c7c7c5b798
email-job
2023-11-15 22:31:18 -05:00
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
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
c3e5b42bf3
use JwtSigner for session cookie
2023-10-19 02:39:17 -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
Brandon Thomas
6e76cd3da6
Cleanup identifiers (tokens package)
2023-10-09 23:00:11 -04:00