Kiana Sheibani
07f95ddd17
Require query variables to be Copy
2023-10-02 20:34:54 -04:00
Kiana Sheibani
23ecce06d5
Add more metadata to datasets
2023-10-02 20:29:39 -04:00
Kiana Sheibani
a4f130b36e
Add better error messages
2023-10-01 14:55:15 -04:00
Kiana Sheibani
e16b0be447
Separate sync query to reduce complexity
2023-09-30 18:16:00 -04:00
Kiana Sheibani
c70fc7506a
Add usage help and documentation
2023-09-30 05:14:50 -04:00
Kiana Sheibani
9feba1a136
Various fixes
2023-09-30 04:37:10 -04:00
Kiana Sheibani
0f71cfa3c5
Fix declaration of deleted module
2023-09-30 01:46:06 -04:00
Kiana Sheibani
cd98f0cd26
Implement basic logic for syncing
2023-09-30 01:43:33 -04:00
Kiana Sheibani
3ed8c6ad71
Rename default dataset
2023-09-30 00:23:50 -04:00
Kiana Sheibani
c3a35c5ef6
Implement dataset deletion
2023-09-30 00:22:48 -04:00
Kiana Sheibani
0e9fddec9e
Rework database to store all datasets in one sqlite file
2023-09-27 15:19:28 -04:00
Kiana Sheibani
3130d82e95
Implement beginnings of CLI
2023-09-26 22:36:03 -04:00
Kiana Sheibani
c8cb974762
Create struct for global app state
2023-09-26 21:37:13 -04:00
Kiana Sheibani
da6b4a9220
Fix dataset file getting cleared on startup
2023-09-26 21:35:14 -04:00
Kiana Sheibani
5d0fbcd107
Update documentation
2023-09-23 03:37:22 -04:00
Kiana Sheibani
dd4f0838ab
Move CLI crate to root of workspace
...
Somehow I missed that this was a thing you could do? It's a much
cleaner organization, and it makes it so that you don't have to
explicitly specify the crate to build.
2023-09-23 03:01:36 -04:00
Kiana Sheibani
2c6587aca1
Implement glue code between queries and sqlite
2023-09-23 02:39:29 -04:00
Kiana Sheibani
d30dfb5372
Rework dataset functions to construct file
2023-09-23 02:38:49 -04:00
Kiana Sheibani
651c339ced
Write score calculation code
2023-09-23 02:36:28 -04:00
Kiana Sheibani
847547c248
Rework queries to be more convenient
2023-09-23 02:35:24 -04:00
Kiana Sheibani
6ce463b529
Add player names to tournament query
2023-09-23 00:11:53 -04:00
Kiana Sheibani
fe4f82daeb
Rename query response datatypes
2023-09-02 23:25:17 -04:00
Kiana Sheibani
326da19523
Make player name optional
2023-09-02 21:27:21 -04:00
Kiana Sheibani
98f140afff
Remove generic variable type from QueryUnwrap trait
2023-09-02 21:22:29 -04:00
Kiana Sheibani
9d5ff8f125
Write player info query
2023-09-02 20:46:23 -04:00
Kiana Sheibani
abd9f947ab
Hide implementation details of query
2023-09-02 19:48:47 -04:00
Kiana Sheibani
6287c325ef
Throw out sets containing invalid players
...
The previous code would keep these sets, but filter out the
invalid players. This has been changed to discard the set entirely.
2023-09-02 18:55:10 -04:00
Kiana Sheibani
1d870362b5
Generalize API request to handle teams of any size
2023-09-02 03:15:38 -04:00
Kiana Sheibani
38e7b4a018
Simplify API code using cynic flatten
2023-09-02 02:05:45 -04:00
Kiana Sheibani
66c6155a53
Get rid of generic ID scalar type
2023-09-02 01:56:14 -04:00
Kiana Sheibani
003fde0f1e
Move auth key function to query module
2023-09-02 01:47:52 -04:00
Kiana Sheibani
ce03cbcd2a
Workaround bug in server side
...
It took me SO LONG to figure out what the issue is...
2023-09-02 01:41:44 -04:00
Kiana Sheibani
badcec976a
Switch from surf to reqwest-blocking
...
Reqwest seems to be more popular, and a non-async API would simplify the
code without losing too much.
2023-09-02 01:36:28 -04:00
Kiana Sheibani
fa96725968
Write TournamentSets query test code
2023-08-28 00:57:20 -04:00
Kiana Sheibani
53cde72ede
Lightly refactor query code
2023-08-27 16:44:18 -04:00
Kiana Sheibani
07284bef06
Add tournament query
2023-08-27 16:18:22 -04:00
Kiana Sheibani
589277bb34
Rework query infrastructure
2023-08-27 16:18:03 -04:00
Kiana Sheibani
7751829bd5
Add ID wrapper types
2023-08-27 05:33:03 -04:00
Kiana Sheibani
c3a42da1d2
Add datasets module
2023-08-27 05:26:11 -04:00
Kiana Sheibani
6eedd7cd4e
Fix ggelo-deps name
2023-08-27 05:25:45 -04:00
Kiana Sheibani
050ae2facf
Add sqlite dependency
2023-08-27 05:05:49 -04:00
Kiana Sheibani
d5c3a7685f
Create automatic query response unwrapping trait
2023-08-27 04:32:55 -04:00
Kiana Sheibani
349d63946c
Switch to using rust-overlay
...
I need to enable nightly features, so this will let me do that.
2023-08-27 04:30:45 -04:00
Kiana Sheibani
edcef12c2f
Generalize query running function
2023-08-27 03:52:38 -04:00
Kiana Sheibani
17c139f694
Fix ID bug
2023-08-27 03:11:23 -04:00
Kiana Sheibani
99217eedb6
Write basic API call
2023-08-27 03:02:18 -04:00
Kiana Sheibani
303f955de4
Upgrade flake build process
...
The previous build process was MASSIVELY inefficient in multiple
ways. This is a massive improvement.
2023-08-27 01:46:20 -04:00
Kiana Sheibani
41475046ed
Update README.md
2023-08-27 00:19:07 -04:00
Kiana Sheibani
4f1b7f0e14
Fix visibility of schema
2023-08-26 23:48:23 -04:00
Kiana Sheibani
a1e23b453d
Write videogame search query
2023-08-26 23:48:13 -04:00