1
0
Commit Graph

745 Commits

Author SHA1 Message Date
François-Xavier Talbot
8aede4e082 Revert decimal rounding order, fix profile settings (#4314)
* Revert rounding post subtraction in GET balance

* Switch to panic = "unwind" in release mode

* Use profile 'release-labrinth'

* Fix target path
2025-09-01 14:59:09 +00:00
Prospector
5a699eec22 Fix certain buttons having the wrong focus effect in Firefox browsers 2025-08-31 15:48:14 -07:00
Alejandro González
15c31f04a3 tweak(labrinth): skip versions with unsupported loader fields on project-wide fields change (#4305) 2025-08-31 17:59:22 +00:00
Prospector
48e5319134 handle edge case where versions have differing envs better + update changelog + lint 2025-08-31 10:31:49 -07:00
Prospector
8058993578 Improve accessibiltiy of env selector, improve mobile support, and message for those with no permission (#4304)
* Fix redirect from project ID

* improve fix

* improve accessibility of environment selector

* lint

* fix mobile accessibility of project settings and improve message for those without permission

* disable envs when multiple + lint
2025-08-31 10:23:21 -07:00
Prospector
28337c88f6 Fix redirect from project ID (#4298)
* Fix redirect from project ID

* improve fix

* lint
2025-08-31 10:22:38 -07:00
Emma Alexia
a6d08e9d50 Fix users getting a notification for private moderation messages (#4302) 2025-08-31 15:40:53 +00:00
Alejandro González
7943f77655 tweak(labrinth/auth): improve Modrinth auth callback error message (#4303) 2025-08-31 12:20:15 +00:00
Emma Alexia
dc4ef332f8 Clarify date timestamps in search docs (#4293)
Replaces #4206
2025-08-30 18:46:51 +00:00
Emma Alexia
652f2e241f Allow server cancellation from admin billing (#4294)
Also fixes an issue (jankily) where Modrinth+ shows as an unknown product
2025-08-30 18:46:20 +00:00
Emma Alexia
5fd27bcb65 Fix larger gallery image uploading (#4292)
This reconciles a couple of differences between the frontend and backend regarding gallery image uploads.

- Frontend: The frontend thought that the limit should be 500 MiB for gallery images. This is obviously not right. It has been updated to 5 MiB.
- Backend: The backend has been rejecting anything between 2 MiB and 5 MiB, but this is inconsistent with prior usage, where the limit used to be 5 MiB. It has been updated to allow anything under 5 MiB.

Fixes #4291
2025-08-29 20:05:02 +00:00
Josiah Glosson
8fa01b937d Small friends fixes (#4270)
* Ensure that fetch errors are properly propagated

* Handle user not found errors better in add_friend

* Cargo fmt

* Introduce new LabrinthError returnable by fetch_advanced

* Allow enter key to send a friend request
2025-08-29 14:08:26 +00:00
Alejandro González
8b98087936 fix(blog): resolve relative URLs in Markdown images and links with a fixed base (#4287)
These changes add a layered hook to the `markdown-it` renderer rules to
resolve `<img>` element `src` attributes and `<a>` element `href`
attributes to a path-absolute relative URL, to ensure that such URLs
always point to the same resource URL even when the URL the current
resource is being viewed from changes.

This fixes an issue with relative links and image source URLs being
broken when a blog post was watched from a URL that lacked a trailing
slash, as web browsers adjust the path relative URLs are resolved from
depending on whether such character is present, and we didn't account
for that.

While at it, I've rebuilt all the blog posts and their associated RSS
feed.
2025-08-29 13:44:03 +00:00
coolbot
7afe35a6cd fix incorrect "versions" to "version" (#4282) 2025-08-29 06:51:06 +00:00
Prospector
debaf1381c Fixed permissions issue and modpack issue with environment overhaul 2025-08-28 18:40:05 -07:00
Prospector
697468e910 update changelog + blog post date 2025-08-28 16:45:20 -07:00
Prospector
46c325f78a Envs v3 frontend (#4267)
* New envs frontend

* lint fix

* Add blog post, user-facing changes, dashboard warning, project page member warning, and migration reviewing. maybe some other misc stuff

* lint

* lint

* ignore .data in .prettierignore

* i18n as fuck

* fix proj page

* Improve news markdown rendering

* improve phrasing of initial paragraph

* Fix environments not reloading after save

* index.ts instead of underscored name

* shrink-0 back on these icons
2025-08-28 22:11:35 +00:00
z0
0ac42344e7 Made statusbar more "consistent" (#4218)
Co-authored-by: Cal H. <contact@cal.engineer>
2025-08-28 22:03:09 +00:00
Prospector
df261dad95 Add file lookup utility page (#4276)
* Add file lookup utility page

* Lint
2025-08-28 21:52:43 +00:00
Felix
d30643b5a0 Always enable "advanced" instance creation options (#4161)
* Update InstanceCreationModal.vue

Signed-off-by: Felix <60808107+ItsFelix5@users.noreply.github.com>

* change checkbox label

* remove unused icon

* lint

---------

Signed-off-by: Felix <60808107+ItsFelix5@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-08-28 21:28:38 +00:00
Cal H.
ab95dcf951 refactor: move nags out of main project member header for perf (#4222) 2025-08-28 21:12:50 +00:00
François-Xavier Talbot
ab539a313f Add tax compliance form related fields to GET /payout (#4274)
* Add form fields to GET payout

* Fix TIN match status never being updated

* Fmt + clippy

* Remove unnecessary borrow
2025-08-28 09:36:31 +00:00
Juhan Oskar Hennoste
a2c07c92f8 Fix and unify version selection when installing mods and filtering (#4252)
* Fix and unify version selection when installing mods

* Update version list filters to match install version selection logic

* Fix lint issues

---------

Co-authored-by: Cal H. <contact@cal.engineer>
2025-08-27 13:47:39 +00:00
z0
0925abfd1c Initialize main window with visible: false to prevent white flash (#4177) 2025-08-26 10:43:38 +00:00
Cal H.
8cf42471a3 feat: Reintroduce crowdin synchronization. (#4178)
* feat: crowdin

* fix: preflight check

* fix: workflow

* fix: workflow

* fix: fail on preflight failure

* fix: crowdin config

* fix: ci

* fix: crowdin sources

* fix: crowdin config

* fix: crowdin pull

* fix: crowdin

* fix: crowdin issues

* fix: add-paths

* fix: move pr body to markdown template

* fix: lint & moderation package

* Update Crowdin link in pull request template

Signed-off-by: Cal H. <contact@cal.engineer>

* Update crowdin links

---------

Signed-off-by: Cal H. <contact@cal.engineer>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-08-25 21:50:01 +00:00
François-Xavier Talbot
006b19e3c9 Creator tax compliance (#4254)
* Initial implementation

* Remove test code

* Query cache

* Appease clippy

* Precise TIN/SSN

* Make tax threshold customizable via env variable

* Address review comments
2025-08-25 16:34:58 +00:00
Cal H.
c612c8b009 feat: replace medal server suspended/cancelled notice (#4261) 2025-08-25 13:04:17 +00:00
Cal H.
f9cf3d5ef9 Fix project type display in ModerationQueueCard (#4248)
Signed-off-by: Cal H. <hendersoncal117@gmail.com>
2025-08-24 16:11:23 +00:00
Cal H.
44cbbd9ed7 fix: remove client side sorting of files (#4240)
* fix: remove default sorting on files page

* fix: lint
2025-08-22 17:28:47 +00:00
Prospector
3d1cafdcec Add medal blog post 2025-08-20 15:20:52 -07:00
Prospector
20059e6cf0 Update app ad 2025-08-20 12:33:00 -07:00
Cal H.
a47dde972c fix: medal support in admin billing (#4232) 2025-08-19 22:51:07 +00:00
Cal H.
b8bc2c4cb6 fix: dont auth on empty plan query (#4231) 2025-08-19 13:53:36 -07:00
Cal H.
328500d381 fix: mobile responsiveness (hacky) (#4230) 2025-08-19 20:39:05 +00:00
Prospector
f56672fb68 update changelog + enable medal 2025-08-19 11:03:33 -07:00
Prospector
d3459e4b12 Medal promo v2 (#4220)
* Revert "Revert "feat: medal promotion on servers page (#4117)""

This reverts commit 2e6cff7efc.

* Revert "Revert "update changelog""

This reverts commit b2ff2d8737.

* Revert "Revert "turn off medal promo""

This reverts commit eaa4b44a16.

* Revert "Revert "Revert "turn off medal promo"""

This reverts commit 76d0ef03e7.

* Revert "Revert "fix medal thing showing up for everyone""

This reverts commit ee8c47adcb.

* New medal colors

* Update medal server listings

* Upgrade modal enhancements & more medal consistency

* undo app promo changes

* Only apply medal promo with flag on

* remove unneessary files

* lint

* disable medal flag
2025-08-19 17:39:09 +00:00
Cal H.
07703e49ef fix: broken jump right in for worlds (#4227)
* fix: broken jump right in for worlds

* revert: Worlds.vue change
2025-08-19 17:19:03 +00:00
kolioaris
9b29694907 Update index.vue (#4224)
Signed-off-by: kolioaris <111509679+kolioaris@users.noreply.github.com>
2025-08-19 15:21:52 +00:00
Josiah Glosson
805c0b86a5 Fix IPC on Forge 1.17.1 - 1.20.1 (#4187)
* Reapply "Implement a more robust IPC system between the launcher and client (#4159)"

This reverts commit e25d726da4.

* Put game JAR and theseus JAR ahead of other JARs in classpath

* Fix 1.17-1.20 Forge by forcefully removing Multi-Release manifest entry

* Fix formatting

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-08-18 20:32:17 +00:00
Prospector
2e6cff7efc Revert "feat: medal promotion on servers page (#4117)"
This reverts commit 14eac461be.
2025-08-18 12:26:11 -07:00
Prospector
eaa4b44a16 Revert "turn off medal promo"
This reverts commit 518f7adafb.
2025-08-18 12:26:10 -07:00
Prospector
76d0ef03e7 Revert "Revert "turn off medal promo""
This reverts commit 235717b01c.
2025-08-18 12:26:10 -07:00
Prospector
ee8c47adcb Revert "fix medal thing showing up for everyone"
This reverts commit 5d3ca3ba02.
2025-08-18 12:24:33 -07:00
Prospector
5d3ca3ba02 fix medal thing showing up for everyone 2025-08-18 12:23:48 -07:00
Prospector
235717b01c Revert "turn off medal promo"
This reverts commit 518f7adafb.
2025-08-18 11:48:47 -07:00
Prospector
518f7adafb turn off medal promo 2025-08-18 11:47:38 -07:00
Cal H.
14eac461be feat: medal promotion on servers page (#4117)
* feat: medal promotion on servers page

* feat: medal server card

* fix: styling changes

* fix: colors for dark mode only

* fix: light mode medal promotion

* feat: finish server card layout

* feat: countdown on server panel

* fix: lint

* feat: use same gradient as promo

* fix: scale for medal bg

* fix: border around server icon

* feat: medal subscr expiry date stuff

* feat: progress on plans within the modal

* feat: finalize plan modal stage

* fix: unused scss

* feat: remove buttons from cards

* feat: upgrade button opens modal on server panel

* feat: billing endpoint

* fix: lint issues

* fix: lint issues

* fix: lint issues

* feat: better handling of downgrades + existing plan checks

* feat: update medal url

* feat: proration visual in modal

* feat: standardize upgrade modal into ServersUpgradeModalWrapper

* feat: replace upgrade PurchaseModal with ServersUpgradeModalWrapper

* feat: allow server region

* fix: lint

* fix: lint

* fix: medal frontend completion

* fix: lint issues

* feat: ad

* fix: hover tooltip + orange new server sparkle

* feat: ad

* fix: lint issues new eslint

* feat: match ad

* feat: support for ?dry=true

* fix: lint isuses

* fix: lint issues

* fix: TeleportDropdownMenu imports

* fix: hash nav issues

* feat: clarify confirm changes btn

* fix: lint issues

* fix: "Using new payment method"

* fix: lint

* fix: re-add -mt-2

---------

Signed-off-by: Cal H. <hendersoncal117@gmail.com>
2025-08-18 17:59:19 +00:00
Cal H.
bcfa6941e4 fix: Teleport Dropdown/OverflowMenu imports (#4211)
* fix: Teleport Dropdown/OverflowMenu imports

* fix: lint
2025-08-18 13:50:58 +00:00
Cal H.
5ffe14f058 fix: undefined functions/properties across frontend (#4210)
* fix: notification mark as read

* revert: composition API change

* fix: categories

* feat: enable vue/no-undef-properties in 'warn' mode.

* fix: app undefined properties

* revert: ss block

* fix: eslint-disable for [version].vue
2025-08-18 11:46:58 +00:00
François-Xavier Talbot
b03d754a57 Dry query param, cleanup (#4176)
Co-authored-by: Cal H. <hendersoncal117@gmail.com>
2025-08-17 11:50:51 +00:00