Commit Graph
100 Commits
Author SHA1 Message Date
Geometrically ff7975773e Prorations (#975)
* Prorations

* Fix pyro integration

* set server uuid on creation

* fix comp

* Fix new charge date, pyro suspend reason

* Update server creation endpoint
2024-10-14 13:30:04 -07:00
Geometrically c88bfbb5f0 Move charges to DB + fix subscription recurring payments (#971)
* Move charges to DB + fix subscription recurring payments

* Finish most + pyro integration

* Finish billing

* Run prepare

* Fix intervals

* Fix clippy

* Remove unused test
2024-10-09 21:11:30 -07:00
Geometrically 28b6bf8603 GDPR export route (#969)
* GDPR export route

* make users able to access
2024-09-27 12:43:17 -07:00
Geometrically f7d1cd2a4f Pause subscription renewals (#968) 2024-09-24 13:02:19 -07:00
Geometrically edb7e5f323 Integrate with Aditude API for payouts (#965)
* Integrate with Aditude API for payouts

* Update expiry

* Fix tests
2024-09-12 14:52:17 -07:00
Geometrically 5b5599128a Optimize user-generated images for reduced bandwidth (#961)
* Optimize user-generated images for reduced bandwidth

* run prepare

* Finish compression
2024-09-07 17:44:49 -07:00
Geometrically cb0f03ca9c Slack webhooks (#959)
* Slack webhooks

* Fix automod rejecting audio and locale packs

* Run prepare
2024-09-06 23:42:54 -07:00
Geometrically 2e35f3608b Remove name field (and remove existing data) (#935)
* Remove name field (and remove existing data)

* run prep, fmt

* fix dummy data
2024-09-06 20:16:28 -07:00
Geometrically 637a923e84 Fix empty subscriptions (#954) 2024-08-18 11:35:39 -07:00
Geometrically 7dd340f0b6 Fix subscriptions edge case (#952)
* Fix subscriptions edge case

* prep
2024-08-15 02:03:46 -07:00
Geometrically 1d0d8d7fbe Payments/subscriptions support (#943)
* [wip] Payments/subscriptions support

* finish

* working payment flow

* finish subscriptions, lint, clippy, etc

* docker compose
2024-08-14 17:14:52 -07:00
Geometrically 5148e27448 Fix neoforge check, make forge validator more lenient (#928) 2024-06-14 13:16:05 -07:00
Geometrically 608e55c01f Fix duplicate file names (#927)
* Fix duplicate file names

* Fix checks
2024-06-12 21:40:24 -07:00
Geometrically b8963d272a Update validators again (#925)
* Update validators again

* fix tests + clippy
2024-06-12 14:38:35 -07:00
Geometrically beaaed6613 Use row level locking for payouts (#926) 2024-06-12 14:19:15 -07:00
Geometrically 872ffa02ce fix version update route perf (#923)
* fix version update route perf

* fix tests
2024-06-12 09:58:01 -07:00
Geometrically b933202694 Fix quilt validator (#916) 2024-05-08 20:28:40 -07:00
Geometrically 49cf0c8a9a Fix user deletion (#907)
* Fix user deletion

* run prep+fmt

* Update validators
2024-04-22 17:46:56 -07:00
Geometrically 83ccf4928f Fix mod msg status (#896)
* Fix mod msg status

* Fix validators
2024-04-22 13:09:35 -07:00
Geometrically 0a0837ea02 update ratelimiter (#897)
* update ratelimiter

* Switch to old scheduler
2024-03-27 15:56:29 -07:00
Geometrically a0aa350a08 Fix cache stampede issues + generalize cache (#884)
* caching changes

* fix cache stampede issues

* Use pub/sub for better DB fetches

* remove pubsub

* remove debugs

* Fix caches not working

* fix search indexing removal
2024-03-26 21:15:50 -07:00
Geometrically decfcb6c27 Fix issue with moderator identities being revealed (#892)
* Fix issue with moderator identities being revealed

* Fix on multiple threads route

* Fix thread notifs

* Fix failing test

* fix thread messages returning nothing
2024-03-19 17:25:49 -07:00
Geometrically 730913bec4 Fix issue in specifying dependencies (#891) 2024-03-18 13:56:06 -07:00
Geometrically f8f037196e Fix payouts desync (#890)
* Fix payouts desync

* fix tests + user payouts req
2024-03-12 10:52:40 -07:00
Geometrically e2ffeab8fa fix views analytics (#885)
* fix views analytics

* update ip stripping

* update clickhouse tables

* fix broken queries

* Fix panics

* fix download undercounting

* fix packerator failing sometimes

* run prep
2024-03-02 14:04:46 -07:00
Geometrically 04d834187b Automatic moderation (#875)
* Automatic moderation

* finish

* modpack fixes

* fix unknown license msg

* fix moderation issues
2024-02-21 16:24:21 -07:00
Geometrically 33b2a94d90 Fix version creation taking forever (#878)
* Fix version creation taking forever

* run fmt + prep

* fix tests?
2024-02-05 12:24:12 -07:00
Geometrically ce3b024fea Fix gift cards (#877)
* Fix gift card cashout

* Fix mutex locks
2024-02-05 12:02:07 -07:00
Geometrically a02aa7586b Fix version files updates route (#876)
* Fix version updates files route

* run fmt + prep

* actually work

* update query perf

* fix
2024-02-04 20:19:46 -07:00
Geometrically d5107f2ef6 Fix unlisted showing (#873)
* Fix projects showing draft

* fix build

* run fmt
2024-01-27 19:11:00 -05:00
GeometricallyandWyatt Verchere 5b63b0b398 jemalloc (#861)
* jemalloc

* featurizeP

---------

Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
2024-01-27 18:13:52 -05:00
Geometrically fc577241bd Update deps (#859) 2024-01-14 12:36:11 -05:00
Geometrically bb8a0e596c Fix settings fail (#856)
* Fix settings fail

* Revert settings equality checks
2024-01-13 21:09:28 -05:00
Geometrically 2a63b703f9 Fix additional categories not showing up correctly (#855) 2024-01-13 20:19:45 -05:00
GeometricallyandWyatt Verchere bfeff78164 Update search queries (#854)
* Update search queries

* Bump accepted payload limit

* fixes

* push test changes

* fmt clippy prepare

---------

Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
2024-01-13 18:20:28 -05:00
Geometrically d1a09d0b95 Add assets and migrations to dockerfile (#851) 2024-01-12 15:00:37 -05:00
Geometrically 7b00003958 Org fixes (#850)
* Org fixes

* payouts bug

* Update dockerfile fix test

* Update to bookworm

* clippy
2024-01-12 14:19:39 -05:00
Geometrically 05d2a96900 Organization payouts (#848) 2024-01-11 10:27:15 -05:00
Geometrically 5f6cc1281e Fix user revenue display (#839)
* Fix user revenue display

* fix rev display
2024-01-07 20:57:37 -05:00
Geometrically 34baf44534 Fix packs logic (#837)
* Fix packs logic

* Clippy
2024-01-07 18:36:42 -05:00
Geometrically aee9b6a951 Fix Plugin/Datapack creation and featuring (#836) 2024-01-07 15:08:28 -05:00
Geometrically 917b89e44f Fix org adding (#821) 2024-01-06 16:34:20 -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
Geometrically cf9c8cbb4f Fix deletion of private notes (#814) 2023-12-28 20:25:55 -05:00
Geometrically f199ecf8e9 Final release fixes (#811) 2023-12-27 13:54:17 -05:00
Geometrically c0c5978028 Bump meilisearch version (#799) 2023-12-12 21:04:40 -07: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
Geometrically 945e5a2dc3 Fix semi-colon causing query to fail (#785) 2023-12-04 21:18:50 -07:00
Geometrically e76b6c3bde Optimize country analytics (#782) 2023-12-04 19:45:17 -07:00
Geometrically 4630d175d7 Optimize analytics queries (#781)
* Optimize analytics queries

* fix clippy
2023-12-04 18:49:51 -07: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
Geometrically a818199b5a fix download counts for ipv4 ips (#750) 2023-11-08 20:55:08 -07:00
Geometrically aab95444a8 Fix download counts (#746) (#747)
* Fix download counts (#746)

* Fix download counts

* remove unsafe send

* update indexing time

* run prep

* run prep again
2023-11-06 15:04:32 -07:00
Geometrically 89f1ddf4d7 Route to view user's orgs (#742) 2023-10-30 16:59:53 -07:00
Geometrically 9a8f3d7bad Fix analytics routes + add revenue route (#734) 2023-10-19 09:42:49 -07:00
Geometrically d66270eef0 Remove scheduling webhook check (#728) 2023-10-12 11:21:26 -07:00
GeometricallyandJackson Kruger 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
Geometrically e766759b8c Fix scheduling bug (#693)
* Fix scheduling bug

* Fix comp err
2023-08-23 12:08:18 -04:00
Geometrically 13e5644c89 Fix creator payouts + scheduler (#686) 2023-08-21 10:42:33 -04:00
Geometrically a5195920fa update validators (#678) 2023-08-08 14:27:38 -07:00
Geometrically 5676a13290 Fix sponge validator (#679) 2023-08-08 13:20:15 -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 f21c756793 Attempt to fix db timeouts (#674) 2023-08-07 12:37:29 -07:00
Geometrically e9f5bd4ac1 Fix redis pool timeout (#669)
* Fix redis pool timeout

* remove search dep project issues

* run fmt + prep
2023-08-06 15:34:03 -07:00
Geometrically 1f4ad732fd fix analytics route not working (#668) 2023-08-05 12:07:38 -07:00
Geometrically 5637d37ee1 fix updates route (#667) 2023-08-04 22:52:17 -07:00
Geometrically c370da2fef Fix version deps (#666) 2023-08-04 22:15:19 -07:00
Geometrically d168209721 put assets in docker (#665) 2023-08-04 20:20:05 -07:00
Geometrically ca0468b8d5 Auth fixes (#664)
* Auth fixes

* destroy flows after use

* fix comp err

* add bearer err msg
2023-08-04 16:22:15 -07:00
Geometrically 039d26feeb Add launcher analytics (#661)
* Add more analytics

* finish hydra move

* Finish websocket flow

* add minecraft account flow

* Finish playtime vals + payout automation
2023-08-02 14:43:04 -07:00
Geometrically 4bb47d7e01 Finish authentication (#659) 2023-07-18 15:02:54 -07:00
Geometrically ec80c2b9db Next auth fixes (#658) 2023-07-14 22:55:00 -07:00
Geometrically a89418e33b First auth fixes (#656) 2023-07-13 19:50:42 -07:00
Geometrically 0d88ff8dae Verify Email + Reset Password flows (#654)
* verifiers

* add missing emails

* fix gh perms
2023-07-12 20:40:24 -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 366ea63209 Fix session del (#650) 2023-07-08 22:07:11 -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
Geometrically ea043517c5 Fix version file visibility (#630)
* Fix version file visibility

* add missing

* update prepare
2023-06-08 20:25:03 -07:00
Geometrically abc99c7e69 Fix report + mod deletion (#626) 2023-06-01 08:53:16 -07:00
Geometrically 715d564028 Merge branch 'master' into reports-fixes 2023-05-25 12:36:13 -07: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 3a6b9f04f9 Fix reports creation (#580) 2023-04-21 11:10:57 -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 bb80505b76 Return pending TMs, fix notifs serde (#575)
* Return pending TMs, fix notifs serde

* fix compile
2023-04-18 14:16:41 -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
Geometrically 969eb67217 Add replies, private notes, get many threads (#572)
* Add replies, private notes, get many threads

* register multiple route

* filter out moderators in threads
2023-04-13 15:04:08 -07:00
Geometrically 352caa85da Fix messages not showing (#570) 2023-04-12 21:18:03 -07:00
GeometricallyandGeometrically 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 b91ec48178 Fix notification spam (#565) 2023-03-17 09:36:12 -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 150329dd4a Fix GV + Loader syncing on version create (#564)
* Fix GV + Loader syncing on version create

* Update rustc v
2023-03-12 16:42:25 -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
Geometricallyandtriphora c15acc4ce3 Add API V1 flickers (#541)
Co-authored-by: triphora <emmaffle@modrinth.com>
2023-02-15 17:05:28 -05:00