Geometrically
f5802fee31
Staging bug fixes ( #819 )
...
* Staging bug fixes
* Finish fixes
* fix tests
* Update migration
* Update migrations
* fix side types being added for ineligible loaders
* fix tests
* Fix tests
* Finish fixes
* Add slug display names
2024-01-04 16:24:33 -05:00
Geometrically
f53b6b550f
Fix high memory usage during search ( #798 )
...
* Fix high memory usage during search
* Fix settings lag
* Fix clippy + fmt
2023-12-12 20:11:56 -07:00
Wyatt Verchere
90954dac49
Testing search prod ( #791 )
...
* testing push
* lowers it
* removed unwrap
* reduced to 500
* Really took down time
* reorders chunking
* rebuild docker
* reverted most changes
* cargo fmt
* reduced meilisearch limit
* added logs, removed deletion of index
* one client creation
* changes
* reverted gallery cahnge
* testing re-splitting again
* Remove chunking + index deletion
* Bring back chunking
* Update chunk size
---------
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-12-11 20:01:15 -08:00
Wyatt Verchere
235f4f10ef
Chunking searches ( #787 )
...
* new attempt
* revised searching CTEs
* prepare fix
* fix tests
* fixes
* restructured project_item to use queries
* search changes! fmt clippy prepare
* small changes
2023-12-08 23:14:17 -07:00
Wyatt Verchere
a70df067bc
Misc v3 linear tasks ( #767 )
...
* v3_reroute 404 error
* hash change
* fixed issue with error conversion
* added new model confirmation tests
+ title name change
* renaming, fields
* owner; test changes
* clippy prepare
* fmt
* merge fixes
* clippy
* working merge
* revs
* merge fixes
2023-12-01 20:15:00 -07:00
Wyatt Verchere
58093a9438
Modifies sql queries to use CTEs ( #773 )
...
* fixes huge slowodwn on version item
* changes!
* fixes, touch ups, indices
* clippy prepare
2023-11-30 11:10:56 -08:00
Wyatt Verchere
dfba6c7c91
Compiler improvements ( #753 )
...
* basic redis add
* toml; reverted unnecessary changes
* merge issues
* increased test connections
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-11-19 20:10:13 -07:00
Wyatt Verchere
f4880d0519
more games information, games route ( #756 )
...
* more games information, games route
* adds banner url
2023-11-14 11:01:31 -07:00
Wyatt Verchere
ae1c5342f2
Search test + v3 ( #731 )
...
* search patch for accurate loader/gv filtering
* backup
* basic search test
* finished test
* incomplete commit; backing up
* Working multipat reroute backup
* working rough draft v3
* most tests passing
* works
* search v2 conversion
* added some tags.rs v2 conversions
* Worked through warnings, unwraps, prints
* refactors
* new search test
* version files changes fixes
* redesign to revs
* removed old caches
* removed games
* fmt clippy
* merge conflicts
* fmt, prepare
* moved v2 routes over to v3
* fixes; tests passing
* project type changes
* moved files over
* fmt, clippy, prepare, etc
* loaders to loader_fields, added tests
* fmt, clippy, prepare
* fixed sorting bug
* reversed back- wrong order for consistency
* fmt; clippy; prepare
---------
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
2023-11-11 16:40:10 -08:00
Jackson Kruger
911d442340
Version ordering [MOD-551] ( #740 )
...
* Version ordering
* cargo sqlx prepare
* Use version ordering for maven
* Use version ordering when sorting versions in Rust (not just SQL)
* Thanks clippy
2023-11-01 09:36:39 -07:00
Jackson Kruger
8803e11945
Upgrade to sqlx 0.7.2 ( #736 )
...
* Update to sqlx 0.7.2
* Somehow missed one (and remove queries from other branch)
2023-10-23 14:30:39 -05:00
Jackson Kruger
abf4cd71ba
Add redis caching to getting user notifications and projects [MOD-540] ( #723 )
...
* 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
2023-10-12 15:52:24 -07:00
Geometrically
07ecd13554
Switch to Trolley for Modrinth Payments ( #727 )
...
* 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 >
2023-10-11 15:55:01 -07:00
Jackson Kruger
d92272ffa0
Batch inserts [MOD-555] ( #726 )
...
* 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
2023-10-11 11:32:58 -07:00
Wyatt Verchere
259c5ef3d0
Tests ( #719 )
...
* computer switch
* some fixes; github action
* added pr to master
* sqlx database setup
* switched intial GHA test db
* removed sqlx database setup
* unfinished patch route
* bug fixes + tests
* more tests, more fixes, cargo fmt
* merge fixes
* more tests, full reorganization
* fmt, clippy
* sqlx-data
* revs
* removed comments
* delete revs
2023-10-06 09:57:33 -07:00
Geometrically
d11f0e864e
gv loader cache bring back ( #677 )
...
* gv loader cache bring back
* run prep fmt
2023-08-08 10:14:49 -07:00
Geometrically
df83fcc5b9
Optimizations ( #676 )
2023-08-07 23:05:08 -07:00
Geometrically
c370da2fef
Fix version deps ( #666 )
2023-08-04 22:15:19 -07:00
Geometrically
4bdf9bff3a
2FA + Add/Remove Auth Providers ( #652 )
...
* 2FA + Add/Remove Auth Providers
* fix fmt issue
2023-07-11 19:13:07 -07:00
Geometrically
7fbb8838e7
Scoped PATs ( #651 )
...
* Scoped PATs
* fix threads issues
* fix migration
2023-07-10 16:44:40 -07:00
Geometrically
239214ef92
Initial Auth Impl + More Caching ( #647 )
...
* Port redis to staging
* redis cache on staging
* add back legacy auth callback
* Begin work on new auth flows
* Finish all auth flows
* Finish base session authentication
* run prep + fix clippy
* make compilation work
2023-07-07 12:20:16 -07:00
Geometrically
59f24df294
Add dependencies to search ( #578 )
...
* Add dependencies to search
* add attrs for faceting
* run prepare
* Add user data route from token
* update to 24hrs
* Fix report bugs
2023-04-20 16:38:30 -07:00
Geometrically
a560f6e9f6
Monetization status, additional files fix, deps fix ( #574 )
2023-04-16 20:03:53 -07:00
Geometrically
8f61e9876f
Add report + moderation messaging ( #567 )
...
* Add report + moderation messaging
* Add system messages
* address review comments
* Remove ds store
* Update messaging
* run prep
---------
Co-authored-by: Geometrically <geometrically@Jais-MacBook-Pro.local >
2023-04-12 17:59:43 -07:00
Geometrically
630a71c46c
Queue Dates + Warnings, some cleanup ( #549 )
...
* Queue Dates + Warnings, some cleanup
* Fix ping
* Fix repeated discord messaging
* Fix compile error + run fmt
2023-03-14 14:48:46 -07:00
Geometrically
00d09aa01e
Housekeeping + Fix DB perf issues ( #542 )
...
* Housekeeping + fix db perf issues
* run prep
2023-02-22 16:11:14 -07:00
Geometrically
2c942c8809
Fix limit ordering ( #543 )
2023-02-16 14:24:57 -07:00
Geometrically
b056610eaa
Version slugs ( #533 )
...
* Version slugs
* Get rid of new field, finish it up
2023-02-15 13:38:37 -07:00
Geometrically
afdab0300e
Update Analytics req + Fix versions list ( #529 )
...
* Update Analytics req + Fix versions list
* Fix sentry support
* Fix lint
2023-02-01 10:08:02 -07:00
Geometrically
26533c47e7
Add loaders + game versions param to mods ( #528 )
2023-01-27 19:24:40 -07:00
Geometrically
fe256d6a62
File types ( #506 )
...
* File types
* Run prepare + fmt
* Switch to struct
* Update docker version
2022-12-23 16:36:53 -07:00
triphora
983e2df065
Miscellaneous improvements and removals ( #502 )
2022-12-23 15:19:15 -05:00
Geometrically
a5f9331023
Fix hashes not showing ( #496 )
...
* Fix hashes not showing
* Run prepare + fmt
2022-12-08 15:42:59 -07:00
Geometrically
91a2ce2b3f
Switch out references of 'TO_JSONB' ( #494 )
2022-12-07 23:30:41 -07:00
Geometrically
4da1871567
Public Webhook Fixes ( #493 )
...
* Public discord webhook
* Switch to jsonb for most queries + make gallery featured first
* Run fmt + clippy + prepare
2022-12-07 09:56:53 -07:00
Geometrically
e96d23cc3f
Initial work on new status sys + scheduling releases ( #489 )
...
* Initial work on new status sys + scheduling releases
* Finish project statuses + begin work on version statuses
* Finish version statuses
* Regenerate prepare
* Run fmt + clippy
2022-12-06 09:14:52 -07:00
wafflecoffee
ee93d9b495
Sort version files and mods on user profile ( #432 )
...
* ???
* Moardering fixes
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2022-08-28 21:54:42 -07:00
Geometrically
ac3a17b178
Fix plugin validator, fix version urls, clippy lints, additional categories ( #421 )
2022-08-16 17:42:04 -07:00
Geometrically
b04bced37f
More project data ( #406 )
...
* More project data
* Array_agg fixes + cleanup
* fix prepare
* Add approval dates to search
* Update migrations/20220725204351_more-project-data.sql
Co-authored-by: wafflecoffee <emmaffle@modrinth.com >
* Add category labels + display categories
Co-authored-by: wafflecoffee <emmaffle@modrinth.com >
2022-07-31 13:29:20 -07:00
Geometrically
4e97a3b3d5
More project type validators ( #383 )
2022-06-26 10:39:38 -07:00
Geometrically
782bb11894
Secure auth route, fix quilt deps bug, optimize queries more ( #374 )
...
* Secure auth route, fix quilt deps bug, optimize queries more
* Add to_lowercase for multiple hashes functions
2022-06-17 16:56:28 -07:00
Geometrically
75614fb13c
Move downloads to queue for better performance ( #367 )
2022-06-09 12:21:51 -07:00
Geometrically
5c4a864680
Fix dep out of bounds error ( #366 )
2022-06-08 23:03:22 -07:00
Geometrically
eaeff891d6
Reimplement old database code for better performance ( #365 )
2022-06-08 22:24:20 -07:00
Geometrically
d29d910ac6
Add mod lists for modpacks, liteloader support, update actix, fix moderation webhook ( #357 )
2022-05-26 10:08:19 -07:00
Geometrically
a0f840bcf8
Add quilt validators, Deps fix, Fix slug collisions ( #338 )
2022-04-24 13:02:41 -07:00
Geometrically
80e00a80d5
Switch to time crate, add file sizes ( #329 )
...
* Switch to time crate, add file sizes
* Update deps, adjust pack format
* Run formatter, fix clippy
2022-03-29 19:35:09 -07:00
Geometrically
d1c0c9739d
Shulkers of fixes ( #327 )
...
* Shulkers of fixes
* Fix validation message
* Update deps
* Bump docker image version
2022-03-27 19:12:42 -07:00
Geometrically
459e36c027
Run fmt, fix dep route ( #312 )
2022-02-27 21:44:00 -07:00
Geometrically
725f8571bb
Fix deps, download URLs, remove duplicate deps ( #310 )
2022-02-26 21:16:11 -07:00