Commit Graph
81 Commits
Author SHA1 Message Date
Emma AlexiaandAlejandro González 06f1df1995 Fix random_projects route not returning the requested number of projects (#3758)
* Fix random_projects route not returning the requested number of projects

* fix(labrinth): further improve random project route SQL query

* chore: fix typo in comment

* tweak(labrinth): more apparent and fast randomness for `random_projects_get`

* tweak(labrinth): even better random projects query

* chore: address formatting review

---------

Co-authored-by: Alejandro González <me@alegon.dev>
2025-06-08 23:49:39 +00:00
Emma Alexia 7b535a1c2a Enable charity payouts through Tremendous (#3732) 2025-06-01 23:53:45 +00:00
Emma Alexia b66d99c59c Improve error when Modrinth's PayPal account is out of funds (#3718)
* Improve error when Modrinth's PayPal account is out of funds

* improve msg
2025-05-30 16:28:00 +00:00
Emma Alexia 74cf3f076e Automatically fail payments that are older than 30 days (#3697) 2025-05-25 19:36:19 +00:00
Emma Alexia 84adf79564 Fix resubscription of servers with failed payments (#3696)
* Fix resubscription of servers with failed payments

Resolves MOD-55

* run fix
2025-05-25 19:36:14 +00:00
Emma Alexia dc0d923cee Automatically cancel servers with failed payments older than 30d (#3695) 2025-05-25 19:36:11 +00:00
Emma Alexia 2ffd7476aa Get rid of a bit of dead code around server suspensions (#3693)
Might fix some issues with people getting errors saying their servers are suspended when it's actually upgrading
2025-05-25 19:36:07 +00:00
Emma Alexia 49aac6bdca Fix {{ email_description }} in Modrinth emails (#3703) 2025-05-25 19:34:46 +00:00
Emma AlexiaandAlejandro González 863bf62f8d Fix updated field including deleted versions (#3643)
* Fix `updated` field including deleted versions

Four years ago, I created issue modrinth/labrinth#200. Today, while it adorns a different name (modrinth/code#2766), the issue remains the same. In celebration of Modrinth's oldest bug report, here is a fix.

Instead of having a separate `updated` field, it simply pulls the publish date of the most recent version. This should also allow the `updated` column on the `mods` table to be dropped at a later date, but I would rather get confirmation that it works before we go ahead with that.

Fixes #2766

* Update apps/labrinth/src/database/models/project_item.rs

Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>

---------

Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
2025-05-12 18:19:30 +00:00
Emma AlexiaandAlejandro González 9a6390bb4d Fix organization projects route properly (#3633)
* Revert "fix: capitalization of ID org route breaks projects list (#3621)"

This reverts commit e4adbb9469.

* Fix organization projects route properly

Reverted #3621 because it caused more bugs to be created, in the form of organizations with capital letters not showing any projects

* Update apps/labrinth/src/routes/v3/organizations.rs

Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>

* fix copy-paste error

---------

Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
2025-05-09 23:28:52 +00:00
Emma Alexia f71830e0fa Add helpful functions for interacting with db manually (#3602)
Brought over from modrinth/labrinth#862
2025-05-03 12:15:15 +00:00
0508f13cb6 Quick moderation fixes (#3556)
* Quick moderation fixes

* Fix Odyssey mods linking
* Add "Copy permanent link" button to orgs, users, projects
* Use permanent links for Slack webhooks

* Update apps/frontend/src/pages/organization/[id].vue

Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>

* Run Prettier

---------

Signed-off-by: Emma Alexia <wafflecoffee7@gmail.com>
Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Co-authored-by: Alejandro González <me@alegon.dev>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-04-29 01:18:43 +00:00
Emma Alexia 2f68c62b3a Improve wording about unprovisioned servers (#3574) 2025-04-29 01:13:44 +00:00
Emma AlexiaandProspector f9c0c1bc53 Clarify that Modrinth Servers prices are in USD (#3553)
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-04-26 02:35:30 +00:00
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
Emma AlexiaandJai Agrawal 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
Emma AlexiaandProspector 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
Emma Alexia 31a001bbc1 Fix moderation review page (#3389) 2025-03-12 09:53:11 -07:00
Emma Alexia 1ea196051f Update CCPA notice with updated information for Servers (#3384) 2025-03-11 17:00:30 -07:00
Emma AlexiaandGeometrically 28b0d34bff Fix search query parameter validation (#863)
* Fix search query parameter validation

* fix compile

* make it actually work

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-04-22 11:40:31 -07:00
Emma Alexia 5a4a9b570e Fix discrepancy in Markdown rendering (#1595) 2024-01-27 09:35:04 -08:00
Emma Alexia d6393653e1 Add new section to the rules about bypassing Mojang restrictions (#1561) 2024-01-11 19:12:50 -05:00
Emma AlexiaandGeometrically f16e93bd3a Raise project limit on collections from 64 to 1024 (#847)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-01-11 10:27:38 -05:00
Emma AlexiaandGeometrically abbeed394e Fix project visibility in hash routes (#792)
* Fix project visibility in hash routes

* improve

* clippy

* CLIPPYYYYYYYYYYYYYY

* clippy, I hope you know that I hate you

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-12-12 20:45:32 -07:00
Emma Alexia 54114e6e94 Fix #901 - add YT nocookie and Discord to CSP (#904) 2023-12-11 20:52:28 -07:00
Emma Alexia 1bd721d523 Enable light mode and OLED mode as options (#936)
Will eventually need the new component from knossos to be ported, but this will suffice for now
2023-12-11 20:51:29 -07:00
Emma Alexia e4cb8b71dd Fix version editing on modpacks returning a "too large" error (#1455) 2023-11-20 18:57:06 -05:00
Emma Alexia 61a2c362b9 Fix grammatical issue in privacy policy (#1449)
* Fix grammatical issue in privacy policy

* Update privacy.vue
2023-11-17 15:46:01 -07:00
Emma Alexia a7584d62c7 Update omorphia to 0.6.7 (#1446)
* Update omorphia to 0.6.7

* shouldn't've been changed
2023-11-13 18:30:06 -07:00
Emma Alexia 23ccaacdee Fix outdated moderation warning (#1430) 2023-10-30 21:28:48 -04:00
Emma Alexia 91f79d2be0 Bump version v0.6.2 (#112) 2023-10-20 23:58:59 -04:00
Emma Alexia 8369330053 Move many things over from Knossos (and other rearrangements) (#102) 2023-10-16 21:18:23 -04: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 a6766ef1c0 Fix theme color not showing up properly in OpenGraph/Discord embeds (#1384) 2023-10-01 13:22:05 -07:00
Emma Alexia Triphora 4a74ee0d72 Update legal pages, especially rules (#1373)
* WIP rules update

* Update

* Run fix

* Entirely unnecessary

* Address comments
2023-09-30 15:45:53 -07:00
Emma Alexia Triphora 51777c3f33 Replace moderation project queue with moderation action log (#718) 2023-09-24 12:04:58 -04:00
Emma Alexia Triphora 3767e9fae9 Only show mod files in pack external dependencies (#710) 2023-09-24 11:49:41 -04:00
Emma Alexia Triphora 4bbfc8ccc5 Add NeoForge modpack and autoupdater support (#707) 2023-09-24 11:40:03 -04:00
Emma Alexia Triphora 28b63bac38 Update XSS values to be consistent with knossos (#93)
Implements modrinth/knossos#1208
Implements modrinth/knossos#1239

Also closes modrinth/knossos#1371
2023-09-24 08:07:22 -05:00
Emma Alexia Triphora 5cab618bf7 Fix reports sometimes being broken on the mod dashboard (#717) 2023-09-24 08:04:18 -05:00
Emma Alexia Triphora fc64719bb8 SEO cleanup (#1367)
* SEO/Metadata cleanup

May split rules changes into its own PR

* Revert rules/terms changes as they are now on a separate branch

* Update [searchProjectType].vue

* Update terms.vue
2023-09-22 11:45:03 -05:00
Emma Alexia Triphora f65f949a36 Fix issue with thread messages not being sent to moderators on non-processing projects (#705) 2023-09-15 15:39:03 -04: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
Emma Alexia Triphora ec35392cd1 Merge pull request #90 from modrinth/sync-issue-templates/default 2023-09-10 12:16:28 -04:00
Emma Alexia Triphora 54f55d44dc Fix dependency capitalization (#1351) 2023-09-02 16:45:13 -04:00
Emma Alexia Triphora 568dc1625e Skip CI in all Crowdin commits (#1338) 2023-09-02 09:42:00 -04:00
Emma Alexia Triphora 57964282ee Miscellaneous CSS cleanup (and make the report modal look better) (#1334) 2023-08-24 15:21:12 -04:00
Emma Alexia Triphora a7c7234589 Fix project deletion going to a non-existent page (#1332) 2023-08-23 12:13:25 -04:00
Emma Alexia Triphora f22f1971cb Don't abbreviate moderation statistics (#1333) 2023-08-23 12:02:45 -04:00
Emma Alexia Triphora 28a5806492 Remove defunct modpacks alpha notice setting (#1331) 2023-08-23 11:55:20 -04:00
Emma Alexia Triphora 806fcb6ed2 Project moderation tab improvements (#1323) 2023-08-21 13:29:09 -04:00
Emma Alexia TriphoraandGeometrically e9c7f5d664 Fix #683 (#691)
* Fix #683

* whitespace

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-08-21 10:44:09 -04:00
Emma Alexia TriphoraandGeometrically c85f12fe2c Fix closing reports not marking the report as closed (#690)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-08-21 10:43:06 -04:00
Emma Alexia Triphora 3649573ba1 Fix "approve with reply" button being always pressable (#1322) 2023-08-20 13:30:55 -04:00
Emma a4bead1bde Fix report buttons not working for signed-out users (#1255) 2023-08-02 14:03:31 -07:00
Emma 0d15024bd2 Add links to the markdown reference on the docs (#1254) 2023-08-02 14:02:51 -07:00
Emma 6509d726b3 Remove useless moderation stuff (#1253)
Moderation messages are superseded by threads, so there is no need to have the ModalModeration anymore, it would only confuse new moderators
2023-08-02 14:02:29 -07:00
Emma 706c6d46da Fix bug with wsrv (#1239)
* Fix bug with wsrv

* Address comment
2023-08-01 15:35:06 -07:00
Emma b0057b130e [no ci] Sync issue templates (#641) 2023-06-21 19:32:36 -04:00
Emma 05d994889d [no ci] Sync issue templates (#1216) 2023-06-21 19:32:21 -04:00
Emma 9bbd4891fd [no ci] Sync issue templates (#220) 2023-06-21 19:32:13 -04:00
Emma 97b9ec5cc7 Fix two bugs with Forge mod exporting (#1187) 2023-06-11 14:41:44 -04:00
Emma cdab3d0eff Change uses of "Include snapshots" to "Include all versions" (#1178) 2023-06-11 14:41:32 -04:00
triphora 66364354da Small landing page fixes (#993)
* Miscellaneous fixes/improvements to landing page

* The downsides of not being able to set up a local testing env, in a commit

* Update how stats are retrieved

* Fix prettier

* Make requested changes

* Restore nuxt.config.js

* Restore composables/tag.js

* Update index.vue
2023-06-06 14:22:36 -07:00
triphora d55f1163a2 Improve withheld message banner (#1167) 2023-06-06 14:15:30 -07:00
triphora 0bfaeb8521 Update Discord webhook emojis (#592)
Fixes #569
2023-05-19 11:04:40 -07:00
Emma Triphora c08139b812 Revert "fix(xss): allow any query parameters in youtube embed, ported from #1001 (#1064)"
This reverts commit f34845fd7d.
2023-05-06 14:56:59 -04:00
Emma Triphora a6a6e73b04 Revert "Fix lint issues (#1126)"
This reverts commit 521e21072e.
2023-05-06 14:56:47 -04:00
Emma Triphora 9971201004 Revert "Fix the remove on the Discord theme because of the way the new remove… (#1127)"
This reverts commit e99b0f8052.
2023-05-06 14:56:14 -04:00
triphora b713b324f9 Fix incorrect response to invalid input on bulk edit route (#579) 2023-05-06 10:45:29 -04:00
triphora 521e21072e Fix lint issues (#1126) 2023-05-06 10:44:51 -04:00
triphora 4faab006e3 Fix #725 (#1060) 2023-03-24 12:07:54 -07:00
triphora 80621f598e Small fixes (#1061) 2023-03-24 15:03:50 -04: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
triphora 3825575f70 Fix #1007 (#1030) 2023-03-10 14:50:40 -07:00
triphora 59d7bce518 Actually fix pagination (#557) 2023-03-04 08:53:26 -07:00
triphora a2eb0bf9fe Add license name to license_text response (#555) 2023-03-03 18:09:27 -05:00