Wyatt Verchere
0aebf37ef8
Index swapping when meilisearch reindex ( #853 )
...
* cycling indices
* removed printlns
* uses swap indices instead
* Bring back deletion
* Fix tests
* Fix version deletion
---------
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
2024-01-13 17:40:30 -05:00
Wyatt Verchere
ef31c0c0da
Cleans up and removes TODOs, adds tests ( #844 )
...
* removes version ordering from v2; simplifies now-unecessary three-level faceting
* resolved some todos
* test for game version updating
* merge fixes; display_categories fix
2024-01-11 21:11:27 -05:00
Geometrically
05d2a96900
Organization payouts ( #848 )
2024-01-11 10:27:15 -05:00
Julian Vennen
9c70c35669
Ignore spaces when parsing facets ( #846 )
2024-01-10 08:40:19 -08:00
Julian Vennen
9d54c41a2b
Fix melisearch name replacements with operators other than : ( #845 )
...
* Fix melisearch name replacements with operators other than :
* Pass facet by refrence
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2024-01-09 13:16:36 -08:00
Wyatt Verchere
c3448033de
Fixes missing plugin/datapack in search ( #829 )
...
* fixes datapack/plugin issue
* fixes level
* server side searching; org projects
* total hits
* total hits fixes
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2024-01-07 16:36:26 -05:00
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
Wyatt Verchere
d59c522f7f
Sanity checked all of V2 route conversions ( #803 )
...
* follows
* all v2 routes now either convert or have a comment
* added common structs, clippy
* merge fix
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-12-19 10:20:32 -08:00
Wyatt Verchere
00e55b1874
get dependencies fix ( #794 )
2023-12-12 19:57:51 -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
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
4bbc57b0dc
Links ( #763 )
2023-11-30 23:14:52 -08: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
Geometrically
d4f9c97cca
Payouts code ( #765 )
...
* push to rebase
* finish most
* finish most
* Finish impl
* Finish paypal
* run prep
* Fix comp err
2023-11-29 11:00:08 -07:00
Wyatt Verchere
f731c1080d
Side types overhaul ( #762 )
...
* side types overhaul
* fixes, fmt clippy
* migration fix for v3 bug
* fixed migration issues
* more tested migration changes
* fmt, clippy
* bump cicd
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-11-28 11:36:59 -07:00
Wyatt Verchere
fd18185ef0
More staging fixes ( #768 )
...
* Fixes issues
* staging fixes
* passes tests
* fixes. fmt/clippy
* drops datapack/plugin extras
* fixed failing test
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-11-26 20:29:59 -07:00
Wyatt Verchere
ade8c162cd
Staging fixes ( #766 )
...
* fixes bugs
* fixed more things
* fixes version creation
* small change
* removed modpack
2023-11-24 11:42:06 -08:00
Wyatt Verchere
74973e73e6
Tests 3 restructure ( #754 )
...
* moved files
* moved files
* initial v3 additions
* moves req data
* tests passing, restructuring, remove v2
* fmt; clippy; prepare
* merge conflicts + issues
* merge conflict, fmt, clippy, prepare
* revs
* fixed failing test
* fixed tests
2023-11-16 11:36:03 -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
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
d66270eef0
Remove scheduling webhook check ( #728 )
2023-10-12 11:21:26 -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
Wyatt Verchere
a1b59d4545
Organizations ( #712 )
...
* untested, unformatted, un-refactored
* minor simplification
* simplification fix
* refactoring, changes
* some fixes
* fixes, refactoring
* missed cache
* revs
* revs - more!
* removed donation links; added all org members to route
* renamed slug to title
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com >
2023-10-02 10:56:57 -07:00
Emma Alexia Triphora
58a61051b9
Don't show processing projects in thread message inbox ( #722 )
...
They already show up in the Review tab, so, no reason to also have them in the Messages tab
2023-10-01 13:22:29 -07:00
Emma Alexia Triphora
51777c3f33
Replace moderation project queue with moderation action log ( #718 )
2023-09-24 12:04:58 -04:00
Wyatt Verchere
9bd2cb3c7e
Collections ( #688 )
...
* initial draft; unfinished
* images, fixes
* fixes
* println
* revisions
* fixes
* alternate context setup version
* rev
* partial revs
* rev
* clippy ,fmt
* fmt/clippy/prepare
* fixes
* revs
2023-09-13 22:22:32 -07:00
Emma Alexia Triphora
e6818023a3
Allow moderators to edit version info ( #703 )
...
* Allow moderators to edit version info
* Clippy fix
2023-09-11 14:21:50 -04:00
Geometrically
e766759b8c
Fix scheduling bug ( #693 )
...
* Fix scheduling bug
* Fix comp err
2023-08-23 12:08:18 -04:00
Geometrically
df83fcc5b9
Optimizations ( #676 )
2023-08-07 23:05:08 -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
6c0ad7fe1a
Sessions Route + Password Auth ( #649 )
...
* Sessions Route + Password Auth
* run prep + fix clippy
* changing passwords + logging in
* register login
2023-07-08 14:29:17 -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
triphora
b713b324f9
Fix incorrect response to invalid input on bulk edit route ( #579 )
2023-05-06 10:45:29 -04:00
Geometrically
339ac05443
Fix TM pending in project route ( #584 )
2023-04-22 17:44:51 -07:00
Geometrically
72cfa683cf
Fix edit bug staging ( #582 )
...
* Fix edit bug staging
* Fix comp err
* Fix mod message bug
* Fix compile bug
* Run fmt
* Fix other bug
2023-04-21 13:55:50 -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
5c559af936
Fix project scheduling ( #576 )
...
* Fix project scheduling
* fix comp
* Fix again
* Fix compile err
* Fix compile err
* Fix compile err
* fix random err
2023-04-18 17:12:44 -07:00
Geometrically
a560f6e9f6
Monetization status, additional files fix, deps fix ( #574 )
2023-04-16 20:03:53 -07:00
Geometrically
95ae981698
Overhaul notifs + threads fixes ( #573 )
...
* Overhaul notifs + threads fixes
* fix lang
2023-04-15 19:48:21 -07:00
Jai A
f87f4bd8cc
more threads fixes
2023-04-13 09:54:03 -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
triphora
7605df1bd9
Fix some routes not working ( #566 )
2023-03-23 09:39:46 -07:00
triphora
3c2f144795
Perses finale ( #558 )
...
* Move v2 routes to v2 module
* Remove v1 routes and make it run
* Make config declaration consistent, add v3 module
* Readd API v1 msgs
* Fix imports
2023-03-16 11:56:04 -07:00