Commit Graph
841 Commits
Author SHA1 Message Date
ArEnSc 9f2335bfba Merge branch 'master' into feature/weights_queries 2023-11-28 11:30:22 -05:00
Brandon Thomas 8176f0d6bd fix lints 2023-11-28 06:26:17 -05:00
Brandon Thomas 2cfcbf8a75 db codegen + fix build errors 2023-11-28 06:19:37 -05:00
Brandon Thomas 739f234ac3 emulate TTS Results in media file pages 2023-11-28 02:42:55 -05:00
Michael Chung 8303066c38 Added serial test to run the database tests in serial, prevent failing when running the suite. 2023-11-28 00:16:44 -05:00
Michael Chung 5feb500b5e unit test for paging 2023-11-27 23:16:43 -05:00
Brandon Thomas 22051f2dba make idempotent 2023-11-27 20:42:37 -05:00
Brandon Thomas d777346520 Update seed tool to seed TT2 models 2023-11-27 18:31:42 -05:00
Michael Chung d990fd4bfa Merge branch 'feature/weights_queries' of https://github.com/storytold/storyteller-rust into feature/weights_queries 2023-11-27 12:12:02 -05:00
Michael Chung 6f5edf0c96 fixed issues with weights queries and the tests, tests slightly flaky need to have it delete the rows, and ensure it doesn't run in prod. 2023-11-27 12:09:34 -05:00
kasisnu dcbdaf9cd6 query builder quickfix 2023-11-27 17:47:55 +05:30
Michael Chung 8e4f419091 QiueryBuilder tests needed 2023-11-27 00:46:46 -05:00
Michael Chung b779946fe7 Queries pass need just some mock data to test it in the test.rs 2023-11-26 15:29:57 -05:00
Michael Chung a244e614cf need to run tests on the query builder then can work on the rest of the code 2023-11-26 14:22:42 -05:00
Michael Chung 2e6708168b building wip ... then test then endpoints probably need seed data for this that is a bit diverse. 2023-11-25 03:53:19 -05:00
Michael Chung 8c46f47352 queries building is wip. 2023-11-25 03:28:34 -05:00
Michael Chung fdbf028743 test works query builder now. 2023-11-25 02:40:46 -05:00
Michael Chung becf58a357 Time to test. 2023-11-25 01:51:02 -05:00
Michael Chung a4c227a4ca Fixes to the weights now need filter 2023-11-25 01:40:54 -05:00
Michael Chung 0e1e8a87f1 Mapping list_weights_by_user.rs done need filter and then test 2023-11-25 00:17:58 -05:00
Michael Chung c9df278d40 weights_queries list weights by user more testing and implementation needed 2023-11-24 23:50:50 -05:00
Michael Chung ddb35c5133 Added more data for seeding
Added to test lists need to get list_weights_by_user tested
2023-11-24 22:24:34 -05:00
Michael Chung df3fc1bf51 more tests undelete and delete. 2023-11-24 00:35:43 -05:00
Michael Chung 21f2c3ac78 fixed weights queries get_weight hardcode transform 2023-11-24 00:19:21 -05:00
Michael Chung be429017eb Deleting weights from the database works for user 2023-11-23 23:34:14 -05:00
Michael Chung 2a623bd8eb Ok just mapped this by hand, super dissapointed that I can't use the the proper way to do it for some unknown reason. 2023-11-23 22:46:28 -05:00
Michael Chung 8b2765ba65 Weight types is failing to serialize :S 2023-11-23 21:39:42 -05:00
Michael Chung ccf1adae61 Add a test mod 2023-11-23 21:22:23 -05:00
Michael Chung 1a144ac8cf Writing unit tests for the queries 2023-11-23 19:41:33 -05:00
Michael Chung ce3aa6be74 model_weights delete need tests 2023-11-23 01:09:17 -05:00
Michael Chung f63eb94ed7 update_weight needs testing 2023-11-23 00:46:11 -05:00
kasisnu 703e297b94 easy bump actix deps 2023-11-23 11:08:29 +05:30
Michael Chung 2e4e109065 Notes 2023-11-22 23:41:16 -05:00
Michael Chung 8481d37167 Fixed compile errors. 2023-11-22 23:25:19 -05:00
Michael Chung 5ed397af4e WIP get and update gotta write unit tests, WIP do not review. 2023-11-22 23:05:25 -05:00
Michael Chung ccbc89fd3e Fix function name issues 2023-11-22 13:21:52 -05:00
Brandon Thomas 62ce6d5991 codegen db 2023-11-22 03:07:13 -05:00
Brandon Thomas e27871bd7e Mark everything about BucketPathUnifier as deprecated. It sucks. 2023-11-22 02:27:48 -05:00
Michael Chung 5893753e35 Weights operations 2023-11-21 19:34:26 -05:00
Brandon Thomas c256b14fe5 Merge pull request #158 from storytold/dependabot/cargo/tempfile-3.8.1
Bump tempfile from 3.3.0 to 3.8.1
2023-11-21 18:07:46 -05:00
Brandon Thomas 2410be28c1 Merge pull request #159 from storytold/dependabot/cargo/num-traits-0.2.17
Bump num-traits from 0.2.15 to 0.2.17
2023-11-21 18:07:00 -05:00
Brandon Thomas 2c502359a4 user favorites, entity favorites, etc. + minor changes 2023-11-21 18:02:32 -05:00
kasisnu 18bd819da2 zsvoice & VC models can be favorited 2023-11-21 14:59:28 -05:00
kasisnu 2614ba5eb9 remove ip address fields, and be able to favorite media files 2023-11-21 14:59:28 -05:00
kasisnu b436b07955 super basic favorites impl 2023-11-21 14:59:27 -05:00
Brandon Thomas 58ea502400 Delete/update tweaks 2023-11-21 13:22:59 -05:00
kasisnu 3ed1f36e36 rebase updates with sqlx codegen 2023-11-21 13:14:43 -05:00
kasisnu f958667cc4 delete media files/basic update handler 2023-11-21 13:14:43 -05:00
dependabot[bot] 7893acce0f Bump num-traits from 0.2.15 to 0.2.17
Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.15 to 0.2.17.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.15...num-traits-0.2.17)

---
updated-dependencies:
- dependency-name: num-traits
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 22:34:28 +00:00
dependabot[bot] 5dd3f7bf20 Bump tempfile from 3.3.0 to 3.8.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.8.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 22:33:55 +00:00