Commit Graph
108 Commits
Author SHA1 Message Date
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 62597b4848 cranky lints 2024-03-24 20:20:49 -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 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