717 Commits

Author SHA1 Message Date
Mysterious_Dev
2e8fa0f6c5
Fix: Add collections to mobile nav instead of follow (broken link) (#1527)
* Add collections in nav instead of follow (broken link)

* Fix lint error
2024-01-07 14:31:39 -05:00
Geometrically
931aeda17f
More site fixes (#1530) 2024-01-07 14:31:22 -05:00
Carter
a037d24b0f
Creator update hotfixes
* Responsive avatar sizing fix

* random mounting bug

* User owned project list correctly filtered

* fix accepted member count

* Leave team fix

* Remove debug

* Remove debug

* hide view button if collections view
2024-01-07 01:30:23 -08:00
Geometrically
1fa556cd00
Fix moderation + oauth (#1515) 2024-01-07 00:17:22 -05:00
Geometrically
82e9ad8a20
Org fixes (#1513) 2024-01-06 23:48:15 -05:00
Carter
d893765b24
New organizations (#1488)
* [WIP] Transfer organizations to own branch

* push progress

* Setup organizations page

* Add organizations grid to user profile

* Remove debug

* Add error handling for failed organization fetch

* Refactor organization page and settings

* Restructure to composition setup api

* checklist completion

* Apply suggestions from code review

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Update pages/[type]/[id]/settings/index.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Update pages/[type]/[id]/settings/index.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Update pages/[type]/[id]/settings/index.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Update pages/[type]/[id]/settings/index.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Clean up org state management

* Refactor useClientTry to simplify code

* Remove unused code and update dependencies

* Refactor bulkEditLinks event handler

* Refactor organization management functions

* Update heading from "Creators" to "Members"

* Refactor team member invitation

* Refactor member management functions

* Implement validation on clientside for org names

* Name sanitization for fun characters

* Update onInviteTeamMember function parameters

* Remove name

* sidebar

* random rendering issue

* Conform to org removal

* Org no projects conditional

* Update organization links in dashboard

* Update Cards to universal-cards

* Refactor gallery upload permissions

* Refactor to sidebar pattern

* Update button classes in gallery and versions components

* Finish (most)

* almost finish

* Finish orgs :D

* Fix lint

* orgs fixes

* fix most things

* project settings

* convert grid to cards

* clean up unused test class

* Settings -> Manage

* add org view to org management

* Fix prop mounting issue

* fix analytics grid layout overflow

* fix multiselect breaking layout

* Refactor chart selection logic in ChartDisplay.vue

* Add transfer modal

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Emma Alexia <emma@modrinth.com>
2024-01-06 18:09:26 -05:00
Mysterious_Dev
1108b0264e
Add missing extracted keys (#1498) 2024-01-03 11:42:44 -05:00
Mysterious_Dev
e754f6c234
Fix: "Set Password" button on profile page is not active (#1486)
* Fix disabled button for "Add password"

* Fix lint error

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-12-27 13:28:29 -05:00
Xander
d19dbbfe7e
Auto-focus 2FA input box (#1482) 2023-12-27 13:28:12 -05:00
Geometrically
3a735ea0ce
New collections (#1484)
* [WIP] Transfer collections to own branch

* fixes

* rewrite js

* Add visibility dropdown to collection edit modal

* Add visibility badges to collection page

* Update visibility options and icons in collection
page

* Add delete functionality to collection modal

* Collection project deletion flow

* remove "visit project" button on overflow

* Remove via checklist not individually

* Update manage title in settings.vue

* remove collections from settings page

* hook up collections page

* collection header to look like project header

* Refactor layout.scss and collections.vue

* fix omorphia

* Update

* Conform collections to old design structure

* Update navigation links and remove unused code

* Add collection view and collections to user page

* Refactor user project display logic

* Add collection creation functionality and update profile labels

* Add function calls to initialize user collections

* Refactor collection page layout and functionality

* Add initialization of user collections in create function

* Fix styling issue in collection page

* Update collection status to private

* remove name

* Refactor card component and update grid layout

* Finish collections

---------

Co-authored-by: Carter <safe@fea.st>
2023-12-27 13:27:50 -05:00
Geometrically
e319d19a54
New analytics (#1483)
* [WIP] Transfer analytics to own branch

* code style changes

* Refactor country name conversion

* Clean up api and ssr for settings page

* refactor analytics into reusables

* Refactor chart tooltip and reset functionality

* Update dayjs import and formatTimestamp function

* Fix bug in login functionality

* Abstract data fetching

* Refactor analytics data formatting

* Refactor useFetchAllAnalytics function signature

* Refactor analytics processing functions

* Fix chart data in ChartDisplay.vue

* Refactor analytics pages

* Refactor delete labrinth.ts test types

* Fix import statement for dayjs and update usage of
unix function

* Fix dropdown select in ChartDisplay.vue and add
Analytics link in creations.vue

* Update chart colors in ChartDisplay.vue and
analytics.js

* Update defaultRanges in ChartDisplay.vue

* Add colors to chart

* Update legend position in ChartDisplay.vue

* Refactor color conversion functions in
analytics.js

* Bug fixes

* Use softer colors

* Import dayjs unix module for analytics.js

* Refactor chart tooltip generation

* Fix calculation of total value in generateTooltip
function

* Fix button-base styling in ChartDisplay.vue

* Adopt intl standard rather than iso-3166-1

* Add support for potential flags

* Analytics rebased

* fix cf pages

* now?

* try now

* now?

* Fix this time

* address rev

* Finish analytics

* fix api url

---------

Co-authored-by: Carter <safe@fea.st>
2023-12-26 14:46:32 -05:00
Jakob
5f075e4936
Fixed Password matching msg showing when confirm is empty (#1400)
* Fixed Password matching msg showing when confirm is empty

* ran lint and == → ===
2023-12-21 20:09:48 -05:00
Brady
d6ba3f3adf
Add NeoForge to infer (#1443)
* Add NeoForge inferring

* Add check for if below 1.20.2
2023-12-05 19:57:03 -07:00
Sasha Sorokin
b453e2cf1a
Fallback to project type message on unknown types (#1470)
This commit adds a fallback to getProjectTypeMessage function to return
a generic project type whenever it encounters an unknown project type,
ensuring there are no errors when the new project types are added.
2023-12-05 18:21:14 -07:00
Geometrically
2d14e5682d
New payouts system (#1456)
* initial

* finish withdraw page

* Finish frontend

* Fix UI a bit

* tester fixes
2023-12-05 12:13:27 -07:00
Carter
1f58aebb2b
Oauth 2 Flow UI (#1440)
* adjust existing sign-in flow

* test fetching of oauth client

* allow for apiversion override

* getAuthUrl refactor

* Adjust auth to accept complex url redirections

* introduce scopes

* accept oauth flow

* rename login/oauth to authorize

* conform to labrinth spec and oauth2 spec

* use cute icons for scope items

* applications pages

* Modal for copy client secret on creation

* rip out old state

* add authorizations

* add flow error state and implement feedback

* implement error notifications on error

* Client secret modal flow aligned with PAT copy

* Authorized scopes now aligned with Authorize screen

* Fix spelling and capitalization

* change redirect uris to include the input field

* refactor 2fa flow to be more stable

* visual adjustments for authorizations

* Fix empty field submission bug

* Add file upload for application icon

* Change shape of editing/create application

* replace icon with Avatar component

* Refactor authorization card styling

* UI feedback

* clean up spacing, styling

* Create a "Developer" section of user settings

* Fix spacing and scope access

* app description and url implementations

* clean up imports

* Update authorization endpoint

* Update placeholder URL in applications.vue

* Remove app information from authorization page

* Remove max scopes from application settings

* Fix import statement and update label styles

* Replace useless headers

* Update pages/auth/authorize.vue

Co-authored-by: Calum H. <contact@mineblock11.dev>

* Update pages/auth/authorize.vue

Co-authored-by: Calum H. <contact@mineblock11.dev>

* Finish PR

---------

Co-authored-by: Calum H. <contact@mineblock11.dev>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-12-04 20:26:50 -07:00
Sasha Sorokin
6d70ced93a
Add Omorphia locale files loading (#1447)
Implements loading of all locale files shipped with Omorphia package by
globbing and registering them during the `vintl:extendOptions` hook.

Also updated VIntl for Nuxt to ensure those files are properly loaded.
Previous version of VIntl for Nuxt had a somewhat broken module ID
tracking, preventing Omorphia locale files to be properly transformed
during the build; at least on systems like Windows, don't know about
*nix. The tracking approach was replaced in 1.8.0, and it seems to be
working now.
2023-12-04 19:48:12 -07:00
Carter
accc53c5dd
Implement Editor MOD-349 (#1427)
* Implement Editor

* content oveflow fix for description

* Description card fix

* make everything fix in report modal

* seperate report page with image upload

* Bump Omorphia

* Update pages/report.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* suggested changes and cleanup

* fix button spacing

* clean up and replace report implementations

* corepack fix

* Remove ModalReport

* image uploads for conversations

* image uploading context for versions and threads

* adjust information about thread messages

* Update pages/report.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Adjust image upload imports

* fix api changes for useImageUpload

* correct report redirection uri

* report button feedback

* omorphia ver bump

---------

Co-authored-by: Emma Alexia <emma@modrinth.com>
2023-11-29 11:56:17 -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
Geometrically
f1f531cbfa
Fix links (#1445) 2023-11-13 16:16:43 -07:00
BD103
b5a275ad07
fix: remove sitemap property from robots.txt (#1441) 2023-11-13 13:56:55 -07:00
Sasha Sorokin
82f0bdfc18
Add handling for locale files parsing errors (#1408) 2023-11-12 11:49:05 -05:00
Emma Alexia
23ccaacdee
Fix outdated moderation warning (#1430) 2023-10-30 21:28:48 -04:00
Mysterious_Dev
19828e9070
Update to omorphia 0.6.2 (#1418) 2023-10-25 13:44:29 -07:00
Jakob
8231c736ca
Fixed aria-label (#1403) 2023-10-25 13:42:33 -07:00
Basil
85f639b1f0
Fixed report icons on version page when logged out (#1416) (#1417) 2023-10-25 13:41:29 -07:00
Mysterious_Dev
c471b6d66c
Update to @vintl/how-ago 3.0.1 (#1413)
* Update to @vintl/how-ago 3.0.1

* Fix mistake
2023-10-25 13:40:58 -07:00
Prospector
a363efccfb
new patreon logo (#1396) 2023-10-24 12:46:56 -07:00
Mysterious_Dev
871a17a108
Convert error page to Composition API and fix condition for 404 Logo (#1405)
* Convert error to Composition API

* Fixed 404 logo not being displayed every time
2023-10-24 12:46:09 -07:00
Mysterious_Dev
fcfa508cbc
Fix convertion to Composition API for Avatar component (#1391)
* Fix Convertion for Avatar component

* Use ref for img
2023-10-02 07:08:56 -04: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
chaos
606b5ac5ab
Disable save & remove password button when no input password. (#1387) 2023-10-01 16:21:44 -04:00
chaos
9acc463c7f
Fix dependencies list not updating on dependency remove. (#1388) 2023-10-01 16:19:23 -04:00
chaos
c4ddd08b0a
Fix license element deleting itself when pressing backspace. (#1389) 2023-10-01 15:57:37 -04:00
Sasha Sorokin
5c7dd10769
Preserve whitespace in extracted translatable strings (#1390) 2023-10-01 15:45:21 -04:00
Mysterious_Dev
3fa86cb441
Convert Avatar & Badge components to Composition API (#1386) 2023-10-01 11:47:47 -04: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
Mysterious_Dev
8a8759b0d4
Add sessions translation to settings navstack (#1383) 2023-09-30 14:47:34 -04:00
Sasha Sorokin
f259072136
Post translation Sessions settings page fixes (#1382) 2023-09-30 14:47:26 -04:00
Sasha Sorokin
3fd74292ef
Remove unnecessary space in description on Sessions settings page (#1381) 2023-09-28 23:53:44 -04:00
Mysterious_Dev
f37c4293df
Token Modal confirm for removal (#1375) 2023-09-28 22:44:36 -04:00
Mysterious_Dev
b9248553be
Add translation keys for Sessions page (#1377)
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-09-28 22:43:53 -04:00
Geometrically
475d434e98
Hide app promotion (#1376) 2023-09-25 20:28:48 -07:00
Mysterious_Dev
05d568d1c1
Fix "Incorrect wording for expired pats" (#1378) 2023-09-24 15:35:34 -04: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
Sasha Sorokin
bd4da4f365
Improve i18n-related SEO (#1366) 2023-09-16 21:07:52 -04:00
Mysterious_Dev
b88e63d133
Make .well-known/change-password redirect appropriately (#1360) 2023-09-10 12:25:33 -04:00
Mysterious_Dev
a85255df5a
Fix: Mistake for profile translations (#1362) 2023-09-10 12:23:42 -04:00