Commit Graph
613 Commits
Author SHA1 Message Date
Calum H. 6d1bdec453 fix: accounts card not having the right head 2025-06-24 21:04:13 +01:00
IMB11 a8f190fa63 Merge branch 'main' into skins-frontend 2025-06-24 19:14:08 +01:00
Calum H. 1aca3e1108 fix: polish 2025-06-24 19:08:23 +01:00
Prospector ced073d26c Add colors for new loaders, reduce utility redundancy (#3820)
* Add colors to some newer loaders

* Make loader formatting consistent everywhere, remove redundant utilities
2025-06-21 14:35:42 +00:00
Josiah Glosson cc34e69524 Initial shared instances backend (#3800)
* Create base shared instance migration and initial routes

* Fix build

* Add version uploads

* Add permissions field for shared instance users

* Actually use permissions field

* Add "public" flag to shared instances that allow GETing them without authorization

* Add the ability to get and list shared instance versions

* Add the ability to delete shared instance versions

* Fix build after merge

* Secured file hosting (#3784)

* Remove Backblaze-specific file-hosting backend

* Added S3_USES_PATH_STYLE_BUCKETS

* Remove unused file_id parameter from delete_file_version

* Add support for separate public and private buckets in labrinth::file_hosting

* Rename delete_file_version to delete_file

* Add (untested) get_url_for_private_file

* Remove url field from shared instance routes

* Remove url field from shared instance routes

* Use private bucket for shared instance versions

* Make S3 environment variables fully separate between public and private buckets

* Change file host expiry for shared instances to 180 seconds

* Fix lint

* Merge shared instance migrations into a single migration

* Replace shared instance owners with Ghost instead of deleting the instance
2025-06-19 19:46:12 +00:00
IMB11 d4864deac5 fix: intercom bubble colliding with notifications (#3810) 2025-06-19 15:18:10 +00:00
IMB11 125207880d fix: state update race conditons (#3812) 2025-06-19 15:18:00 +00:00
IMB11 a8f17f40f5 fix: unclear file upload errors temp fix (#3811) 2025-06-19 15:17:50 +00:00
Prospector dbde3c4669 Remove duplicate components in web frontend Avatar, Badge, CopyCode, and Pagination (#3741) 2025-06-19 00:07:15 +00:00
Josiah Glosson ba4fecb0cb Fix direct lint of packages/app-lib (#3808)
* Fix theseus lint by adding "unstable" feature to Tauri

* Remove "unstable" feature from tauri in apps/app
2025-06-18 20:49:23 +00:00
Alejandro González ef04dcc37b feat(labrinth): rework v3 side types to a single environment field (#3701)
* feat(labrinth): rework v3 side types to a single `environment` field

This field is meant to be able to represent the existing v2 side type
information and beyond, in a way that may also be slightly easier to
comprehend.

* chore(labrinth/migrations): use proper val for `HAVING` clause

* feat(labrinth): add `side_types_migration_review_status` field to projects
2025-06-16 22:44:57 +00:00
IMB11andProspector 706976439d fix: error handling improvements (#3797)
* fix: error handling improvements

* refactor: error info cards

* refactor: PyroError -> ModrinthError

* fix: lint

* fix: idiot

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-06-16 17:34:18 +00:00
jade 0a9ffd3dc8 fix(moderation): Insufficient gallery images moderation message indentation (#3799) 2025-06-16 16:48:35 +00:00
Alejandro González fb30c0ba2b feat(labrinth): allow protected resource and data packs to pass validation (#3792)
* fix(labrinth): return version artifact size exceeded error eagerly

Now we don't wait until the result memory buffer has grown to a size
greater than the maximum allowed, and instead we return such an error
before the buffer is grown with the current chunk, which should reduce
memory usage.

* fix(labrinth): proper supported game versions range for datapacks

* feat(labrinth): allow protected resource and data packs to pass validation
2025-06-16 16:30:01 +00:00
Alejandro González 97e4d8e132 fix(labrinth): ensure versions get removed from search indexes before ending route execution (#3789)
* fix(labrinth): ensure versions get removed from search indexes before ending route execution

* chore: run `sqlx prepare`

* chore(labrinth): simplify `remove_documents` a little

* chore: tweak new comment
2025-06-16 15:48:04 +00:00
Calum H. cbb7c80e21 fix: shadows 2025-06-16 15:36:38 +01:00
Calum H. b851cd8d7c fix: shading + lighting improvements 2025-06-16 15:34:34 +01:00
Calum H. 5e69cbc329 fix: z-fighting on models 2025-06-16 14:33:10 +01:00
Emma Alexia 5bdff3929b Allow failed subscriptions to be cancelled (#3795)
When a payment for a subscription fails, we continue to try to re-attempt retrieving payment for 30 days.

Sometimes making it fail is an intentional choice on the user's part (e.g. Privacy.com card) or other times the user just doesn't want their subscription anymore after it fails.

This PR allows users with a failed payment to simply cancel instead of waiting for the 30-day timer to set in.
2025-06-16 05:41:07 +00:00
Calum H. 40bc811a6c feat: slim animations 2025-06-16 00:47:39 +01:00
Prospector 2b4319ea55 Servers hotfixes (#3793)
* servers: Fix installing modpacks from search

* remove console.log

* Fix subdomain setting
2025-06-15 16:17:38 -07:00
Calum H. cb39fe6f24 fix: various improvements 2025-06-15 20:57:20 +01:00
Alejandro González b9ba3cd3e8 fix(labrinth): use a proper CDN_URL for local deployments (#3791) 2025-06-15 15:19:56 +00:00
Calum H. 3133cecf13 feat: classic player model animations 2025-06-14 17:51:37 +02:00
Calum H. 97042fb174 fix: edit modal computedAsync not fast enough for skin preview renderer 2025-06-14 17:51:37 +02:00
Calum H. d37e8fd155 fix: nametag cleanup + scroll fix 2025-06-14 17:51:36 +02:00
Calum H. 006611bd23 fix: use optimistic approach when changing skins/capes. 2025-06-14 17:51:36 +02:00
Calum H. 34e49d40f4 fix: vueuse issue 2025-06-14 17:51:36 +02:00
Calum H. a22d90a78d feat: finish normalization impl 2025-06-14 17:51:36 +02:00
Alejandro González 4f70e792ad fix(theseus): make new normalize_skin_texture command usable 2025-06-14 17:51:36 +02:00
Calum H. 6c5480e002 fix: normalization 2025-06-14 17:51:16 +02:00
Alejandro González 92f281a6df feat(theseus): change parameter type of normalize_skin_texture Tauri command 2025-06-14 17:50:14 +02:00
Calum H. 774950de90 feat: start impl of skin normalization on frontend 2025-06-14 17:50:14 +02:00
Alejandro González 5fa9a0e812 chore: Rust build fixes 2025-06-14 17:50:14 +02:00
Alejandro González 33269d3540 feat(theseus): add normalize_skin_texture Tauri command
This command lets the app frontend opt in to normalizing the texture of
any skin, which may be in either the legacy 64x32 or newer 64x64 format,
to the newer 64x64 format for display purposes.
2025-06-14 17:49:57 +02:00
Calum H. 3b9cbc6f8b fix: cape button & dynamic nametag sizing 2025-06-14 17:47:06 +02:00
Calum H. f50375220d feat: animation system for skin preview renderer 2025-06-14 17:47:05 +02:00
Calum H. cbfb48fc1a polish: theme fixes 2025-06-14 17:47:05 +02:00
Calum H. a4e8b0572f polish: add skin icon sizing 2025-06-14 17:47:05 +02:00
Calum H. 0a19663d8c fix: lint issues 2025-06-14 17:47:05 +02:00
Calum H. dd4f22767f polish: use indexed db to persist skin previews 2025-06-14 17:47:05 +02:00
Calum H. b83eb10fa3 fix: lint issues 2025-06-14 17:47:05 +02:00
Calum H. fc929bfca3 polish: deduplicate model+cape stuff and fix layout 2025-06-14 17:46:45 +02:00
Calum H. 187e892c18 fix: lint issues 2025-06-14 17:45:05 +02:00
Calum H. b3bc3a8731 polish: button positioning in SkinButton 2025-06-14 17:45:05 +02:00
Calum H. beb2079854 polish: drag and drop file flow 2025-06-14 17:45:05 +02:00
Calum H. 673b9733b3 polish: grid tweaks + start on upload skin modal 2025-06-14 17:45:05 +02:00
Calum H. 5d7df183b4 polish: modal tweaks 2025-06-14 17:45:05 +02:00
Calum H. ecbb5e3582 polish: remove green bg from CapeLikeTextButton when selected. 2025-06-14 17:45:05 +02:00
Calum H. cf354d2bbc polish: use figma values 2025-06-14 17:45:04 +02:00