* adjust type and response format
* Replace Found with Ok for handled redirects
* scope parse fix
* change apps query from body to query
* adjust tests for new response type
* remove unused imports
* Clippy fixes
* Version ordering
* cargo sqlx prepare
* Use version ordering for maven
* Use version ordering when sorting versions in Rust (not just SQL)
* Thanks clippy
* WIP end-of-day push
* Authorize endpoint, accept endpoints, DB stuff for oauth clients, their redirects, and client authorizations
* OAuth Client create route
* Get user clients
* Client delete
* Edit oauth client
* Include redirects in edit client route
* Database stuff for tokens
* Reorg oauth stuff out of auth/flows and into its own module
* Impl OAuth get access token endpoint
* Accept oauth access tokens as auth and update through AuthQueue
* User OAuth authorization management routes
* Forgot to actually add the routes lol
* Bit o cleanup
* Happy path test for OAuth and minor fixes for things it found
* Add dummy data oauth client (and detect/handle dummy data version changes)
* More tests
* Another test
* More tests and reject endpoint
* Test oauth client and authorization management routes
* cargo sqlx prepare
* dead code warning
* Auto clippy fixes
* Uri refactoring
* minor name improvement
* Don't compile-time check the test sqlx queries
* Trying to fix db concurrency problem to get tests to pass
* Try fix from test PR
* Fixes for updated sqlx
* Prevent restricted scopes from being requested or issued
* Get OAuth client(s)
* Remove joined oauth client info from authorization returns
* Add default conversion to OAuthError::error so we can use ?
* Rework routes
* Consolidate scopes into SESSION_ACCESS
* Cargo sqlx prepare
* Parse to OAuthClientId automatically through serde and actix
* Cargo clippy
* Remove validation requiring 1 redirect URI on oauth client creation
* Use serde(flatten) on OAuthClientCreationResult
* Add redis caching to getting a user's project ids
* Run `cargo sqlx prepare` to update the sqlx-data.json
* Add redis caching for getting user notifications
* Fix new clippy warnings
* Remove log that shouldn't have been committed
* Batch insert of notifications (untested)
* sqlx prepare...
* Fix merge conflict things and use new redis struct
* Fix bug with calling delete_many without any elements (caught by tests)
* cargo sqlx prepare
* Add tests around cache invalidation (and fix bug they caught!)
* Some test reorg based on code review suggestions
* most of trolley
* Switch to trolley for payments
* run prepare
* fix clippy
* fix more
* Fix most tests + bitflags
* Update src/auth/flows.rs
Co-authored-by: Jackson Kruger <jak.kruger@gmail.com>
* Finish trolley
* run prep for merge
* Update src/queue/payouts.rs
Co-authored-by: Jackson Kruger <jak.kruger@gmail.com>
---------
Co-authored-by: Jackson Kruger <jak.kruger@gmail.com>
* Batch a bunch of inserts, but still more to do
* Insert many for clickhouse (+ tests)
* Batch the remaining ones except those requiring deduplication
* Risky dedups
* Bit o cleanup and formatting
* cargo sqlx prepare
* Add test around batch editing project categories
* Add struct to satisfy clippy
* Fix silly mistake that was caught by the tests!
* Leave room for growth in dummy_data