Emma Alexia
5c1f198397
Add ability to delete user icon ( #3383 )
...
* Add user icon delete route
By request of moderation, but also just generally nice to have
* Add relevant docs and frontend
* Add v2 version
2025-04-19 12:49:23 +00:00
Emma Alexia
3cd6718384
Fix inverted condition with refunds ( #3539 )
...
Signed-off-by: Emma Alexia <emma@modrinth.com >
2025-04-19 12:25:43 +00:00
Emma Alexia
84a28e045b
Allow servers to be unprovisioned without issuing a refund ( #3534 )
...
* Allow servers to be unprovisioned without issuing a refund
for very specific weird circumstances where a server gets stuck/etc; useful for support
* still create a charge
* Fix compile
2025-04-19 04:39:18 +00:00
Emma Alexia
d0aef27f7b
Fix deleting a user that has a prior subscription ( #3533 )
...
(for real this time)
2025-04-19 04:38:54 +00:00
Jai Agrawal
76be502e16
Make connections short-lived redis ( #3509 )
2025-04-15 15:39:13 -07:00
Emma Alexia
f2ec89e62b
Fix two database errors ( #3483 )
...
* Fixes error when an admin tries transferring project ownership
* Fixes error when trying to delete a user when they previously have a transaction
Co-authored-by: Jai Agrawal <18202329+Geometrically@users.noreply.github.com >
2025-04-12 22:21:02 -07:00
Alejandro González
487bdd1e48
chore: remove unused Rust dependencies ( #3492 )
2025-04-12 15:42:45 +00:00
un_pogaz
6f43fc272b
fix: use local assets for "apps/labrinth/README.md" ( #3489 )
2025-04-12 15:21:20 +00:00
Alejandro González
e008b657a5
Fix Clippy lints ( #3494 )
...
* chore: fix some Clippy lints
* chore(labrinth): more Clippy fixes
2025-04-12 13:45:17 +00:00
Emma Alexia
365367dd16
Hide collections with no projects from public view ( #3408 )
...
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com >
2025-04-06 20:54:18 +00:00
Jai A
13f2961e43
run migrate
2025-04-03 17:47:30 -07:00
Jai A
69b70d70a8
Remove lock, fix billing job
2025-04-03 16:14:27 -07:00
Jai A
d0d0dcf09f
Fix billing setup
2025-04-03 15:44:53 -07:00
Jai Agrawal
b5a9a93323
Distributed rate limit, fix search panic, add migration task ( #3419 )
...
* Distributed rate limit, fix search panic, add migration task
* Add binary info to root endpoint
2025-03-25 01:10:43 -07:00
Jai A
d49cc87b8c
only run migrations on prod instances
2025-03-15 08:32:45 -07:00
Josiah Glosson
c998d2566e
Allow multiple labrinth instances ( #3360 )
...
* Move a lot of scheduled tasks to be runnable from the command-line
* Use pubsub to handle sockets connected to multiple Labrinths
* Clippy fix
* Fix build and merge some stuff
* Fix build fmt
:
---------
Signed-off-by: Jai Agrawal <18202329+Geometrically@users.noreply.github.com >
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
Co-authored-by: Jai Agrawal <18202329+Geometrically@users.noreply.github.com >
2025-03-15 07:28:20 -07:00
Jai Agrawal
887e437d35
Move archon to env var ( #3386 )
2025-03-11 23:27:49 -07:00
Josiah Glosson
d6c8af7ed5
Fix Labrinth not compiling on Windows due to jemalloc dependency ( #3378 )
2025-03-10 21:45:36 +00:00
Jai Agrawal
4dd33a2f9e
Fix issues being excluded by delphi ( #3374 )
2025-03-09 17:15:07 -07:00
Jai Agrawal
1009695a15
Support jemalloc profiling and heap dumps ( #3373 )
2025-03-09 14:41:19 -07:00
Jai A
d3427375b0
fix lint
2025-03-09 13:21:15 -07:00
Jai Agrawal
5c8ed9a8ca
Tracing support ( #3372 )
...
* Tracing support
* Add console subscriber
* Add console subscriber
2025-03-09 13:01:24 -07:00
Jai Agrawal
9c5d817a8a
Add prom metrics for database, use redis max conn var ( #3359 )
2025-03-07 17:16:45 -08:00
Jai Agrawal
c1bb934fc6
Add clickhouse replication, exclude bad prom metrics ( #3344 )
2025-03-05 15:40:46 -08:00
Michael
0d223e3ab5
Use dumb-init as entrypoint ( #3343 )
2025-03-05 15:40:27 -08:00
Jai Agrawal
6859509eb5
Fix all tests ( #3332 )
2025-03-03 16:05:39 -08:00
Jai Agrawal
19787a3f51
Subpackage common -> ariadne ( #3323 )
...
* Subpackage common -> ariadne
* add common
* Remove build
* only build labrinth
* common
* set sqlx offline
* copy dirs
* Fix build
2025-03-01 20:53:43 -08:00
Josiah Glosson
650ab71a83
Commonized networking ( #3310 )
...
* Fix not being able to connect to local friends socket
* Start basic work on tunneling protocol and move some code into a common crate
* Commonize message serialization logic
* Serialize Base62Ids as u64 when human-readability is not required
* Move ActiveSockets tuple into struct
* Make CI run when rust-common is updated
CI is currently broken for labrinth, however
* Fix theseus-release.yml to reference itself correctly
* Implement Labrinth side of tunneling
* Implement non-friend part of theseus tunneling
* Implement client-side except for socket loop
* Implement the socket loop
Doesn't work though. Debugging time!
* Fix config.rs
* Fix deadlock in labrinth socket handling
* Update dockerfile
* switch to workspace prepare at root level
* Wait for connection before tunneling in playground
* Move rust-common into labrinth
* Remove rust-common references from Actions
* Revert "Update dockerfile"
This reverts commit 3caad59bb474ce425d0b8928d7cee7ae1a5011bd.
* Fix Docker build
* Rebuild Theseus if common code changes
* Allow multiple connections from the same user
* Fix test building
* Move FriendSocketListening and FriendSocketStoppedListening to non-panicking TODO for now
* Make message_serialization macro take varargs for binary messages
* Improve syntax of message_serialization macro
* Remove the ability to connect to a virtual socket, and disable the ability to listen on one
* Allow the app to compile without running labrinth
* Clippy fix
* Update Rust and Clippy fix again
---------
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
2025-02-28 10:52:47 -08:00
Jai Agrawal
067f471766
Segment pending revenue in API response ( #3283 )
2025-02-20 23:07:54 +00:00
Jai A
6c4548a303
add price id to active servers route
2025-02-16 21:42:16 -08:00
Jai Agrawal
31723a2d3c
Fix prorations not updating open charge ( #3265 )
2025-02-14 22:53:45 -08:00
Jai Agrawal
975427b319
Allow admins to view user email ( #3261 )
2025-02-13 17:18:03 -08:00
Prospector
56ba342346
Initial servers upgrades frontend ( #3219 )
...
* Initial servers upgrades frontend
* Fix error when purchasing non-custom servers
* fix backend
* Fix comment
---------
Signed-off-by: Jai Agrawal <18202329+Geometrically@users.noreply.github.com >
Co-authored-by: Jai A <jaiagr+gpg@pm.me >
Co-authored-by: Jai Agrawal <18202329+Geometrically@users.noreply.github.com >
2025-02-12 18:22:49 -08:00
Jai Agrawal
1e8d550e96
Format traces as bullet list (MOD-32) ( #3220 )
...
* Format traces as bullet list
* Fix fmt
2025-02-06 13:23:42 -08:00
Erb3
a5427f7287
fix(labrinth): cors headers on ratelimited ( #3189 )
...
Kinda hotfix.
Fixes #2591
Fixes #2529
2025-01-30 15:52:13 -08:00
Jai A
0f4af98a21
Fix integer overflow on charges
2025-01-17 17:01:35 -08:00
Jai Agrawal
75b357a069
Staff support dashboard routes ( #3160 )
...
* Staff support dashboard routes
* Fix clippy
2025-01-17 16:41:49 -08:00
Jai A
d7814e115d
fix migration typo
2025-01-17 09:05:42 -08:00
Jai A
24295ea482
fix version uploading
2025-01-17 08:53:54 -08:00
Jai A
701bf853d5
Fix broken migration on labrinth (againx2)
2025-01-16 23:59:07 -08:00
Jai A
7fd3d737b8
Fix broken migration on labrinth (again)
2025-01-16 23:32:26 -08:00
Jai A
497b0bca0b
Fix broken migration on labrinth
2025-01-16 23:00:11 -08:00
Jai A
208015a911
Bump rust version
2025-01-16 18:21:11 -08:00
Jai A
8abe2283d7
Fix clippy
2025-01-16 17:49:26 -08:00
Jai A
9e97c068d8
Fix version_fields, loader_fields_loaders missing primary keys
2025-01-16 17:41:41 -08:00
Jai A
5c8e7a8b38
Support new delphi response type
2025-01-16 16:40:13 -08:00
Erb3
494616e9f2
chore: run lint ( #3140 )
...
* chore: run lint
* fix: whoops messed up lint
2025-01-10 08:42:31 -08:00
Jai A
0409fcec2f
skip projects with no issues
2025-01-08 22:19:04 -08:00
Jai A
8e754cfeb5
Add delphi integration, fix search showing plugins
2025-01-08 22:06:05 -08:00
Jai A
17d61277fa
Bump meilisearch version
2024-12-30 20:55:37 -07:00