Commit graph

66 commits

Author SHA1 Message Date
a4f130b36e
Add better error messages 2023-10-01 14:55:15 -04:00
e16b0be447
Separate sync query to reduce complexity 2023-09-30 18:16:00 -04:00
c70fc7506a
Add usage help and documentation 2023-09-30 05:14:50 -04:00
9feba1a136
Various fixes 2023-09-30 04:37:10 -04:00
0f71cfa3c5
Fix declaration of deleted module 2023-09-30 01:46:06 -04:00
cd98f0cd26
Implement basic logic for syncing 2023-09-30 01:43:33 -04:00
3ed8c6ad71
Rename default dataset 2023-09-30 00:23:50 -04:00
c3a35c5ef6
Implement dataset deletion 2023-09-30 00:22:48 -04:00
0e9fddec9e
Rework database to store all datasets in one sqlite file 2023-09-27 15:19:28 -04:00
3130d82e95
Implement beginnings of CLI 2023-09-26 22:36:03 -04:00
c8cb974762
Create struct for global app state 2023-09-26 21:37:13 -04:00
da6b4a9220
Fix dataset file getting cleared on startup 2023-09-26 21:35:14 -04:00
5d0fbcd107
Update documentation 2023-09-23 03:37:22 -04:00
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
2c6587aca1
Implement glue code between queries and sqlite 2023-09-23 02:39:29 -04:00
d30dfb5372
Rework dataset functions to construct file 2023-09-23 02:38:49 -04:00
651c339ced
Write score calculation code 2023-09-23 02:36:28 -04:00
847547c248
Rework queries to be more convenient 2023-09-23 02:35:24 -04:00
6ce463b529
Add player names to tournament query 2023-09-23 00:11:53 -04:00
fe4f82daeb
Rename query response datatypes 2023-09-02 23:25:17 -04:00
326da19523
Make player name optional 2023-09-02 21:27:21 -04:00
98f140afff
Remove generic variable type from QueryUnwrap trait 2023-09-02 21:22:29 -04:00
9d5ff8f125
Write player info query 2023-09-02 20:46:23 -04:00
abd9f947ab
Hide implementation details of query 2023-09-02 19:48:47 -04:00
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
1d870362b5
Generalize API request to handle teams of any size 2023-09-02 03:15:38 -04:00
38e7b4a018
Simplify API code using cynic flatten 2023-09-02 02:05:45 -04:00
66c6155a53
Get rid of generic ID scalar type 2023-09-02 01:56:14 -04:00
003fde0f1e
Move auth key function to query module 2023-09-02 01:47:52 -04:00
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
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
fa96725968
Write TournamentSets query test code 2023-08-28 00:57:20 -04:00
53cde72ede
Lightly refactor query code 2023-08-27 16:44:18 -04:00
07284bef06
Add tournament query 2023-08-27 16:18:22 -04:00
589277bb34
Rework query infrastructure 2023-08-27 16:18:03 -04:00
7751829bd5
Add ID wrapper types 2023-08-27 05:33:03 -04:00
c3a42da1d2
Add datasets module 2023-08-27 05:26:11 -04:00
6eedd7cd4e
Fix ggelo-deps name 2023-08-27 05:25:45 -04:00
050ae2facf
Add sqlite dependency 2023-08-27 05:05:49 -04:00
d5c3a7685f
Create automatic query response unwrapping trait 2023-08-27 04:32:55 -04:00
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
edcef12c2f
Generalize query running function 2023-08-27 03:52:38 -04:00
17c139f694
Fix ID bug 2023-08-27 03:11:23 -04:00
99217eedb6
Write basic API call 2023-08-27 03:02:18 -04:00
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
41475046ed
Update README.md 2023-08-27 00:19:07 -04:00
4f1b7f0e14
Fix visibility of schema 2023-08-26 23:48:23 -04:00
a1e23b453d
Write videogame search query 2023-08-26 23:48:13 -04:00
5fdc8cb50e
Write code to get auth key 2023-08-26 23:47:23 -04:00
1e5bdd9e8c
Fix shell environment
My previous devshell didn't include rustc, which caused the LSP to
not work properly.
2023-08-26 23:45:09 -04:00