Commit Graph

701 Commits

Author SHA1 Message Date
Mysterious_Dev
75f0b2b82c Add translation keys for welcome page (#1499)
* Begin Work

* WIP

* Add long title key

* Finish work (for now)

* Fix lint error

* Add continue button key

* Make continue button key generic
2024-01-18 09:05:54 -08:00
June
f26f283c1f Added padding to account for .changelog-bar offset (#1354)
* Added padding to account for .changelog-bar offset

* Applied prettier code formatting

* Just update bottom padding

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-18 09:02:55 -08:00
Mysterious_Dev
7c387b2aee Add autocomplete attribute for 2fa input (#1450)
* Add input mode attribute for 2fa input

* Add autocomplete property

* Remove inputmode property
2024-01-18 08:58:28 -08:00
Mysterious_Dev
071ecb284e Add apple touch icon to head (#1453) 2024-01-18 08:57:20 -08:00
Mysterious_Dev
03242942c2 Fix: Minor grammar mistake in project Moderation page (#1487)
* Fix: Minor grammar mistake in project Moderation page

* Fin lint error
2024-01-18 08:57:05 -08:00
Mysterious_Dev
a476927595 Add enter shortcut for 2FA & email management (#1504)
* Add event for email changing

* Add event for 2fa setup & removal

* Fix lint error

* Update pages/settings/account.vue

Co-authored-by: Emma Alexia <wafflecoffee7@gmail.com>

---------

Co-authored-by: Emma Alexia <wafflecoffee7@gmail.com>
2024-01-18 08:56:43 -08:00
Mysterious_Dev
ec6e1704be Fix: Project banners aren't showing in collections (#1562)
* Add featured image

* Use find method

* Fix lint error

* ...

* Fix

* Fix lint error
2024-01-18 08:56:14 -08:00
Mysterious_Dev
d2f189607e Fix logic for featured image (#1580) 2024-01-18 08:55:52 -08:00
Mysterious_Dev
c13777e68d Fix a mistake for "updated tooltip" on collection page (#1493) 2024-01-18 08:55:23 -08:00
Carter
2fb63dcfb1 Fix graph state & data handling (#1578)
* Rip out external color state

* Fix styling errors

* Allow charts to display personal/entity perspectives on routes

* Refactor analytics data processing and selection

* Include custom color icon
2024-01-12 17:51:03 -05:00
Carter
0adb7685f6 Refactor scopes to use Intl for labels and descriptions (#1570)
* Refactor scope labels for applications and pats

* move scopes to composables

* Refactor pages to use intl

* Fix merge error

* Extract messages
2024-01-12 15:55:51 -05:00
Geometrically
1cbe99a0d8 Allow users to override the org owner (#1577) 2024-01-12 15:29:50 -05:00
Prospector
fa83da6085 Fix staging banner (#1573)
* Revert "Add API indicator and staging banner (#1563)"

This reverts commit a75de51198.

* Revert "Revert "Add API indicator and staging banner (#1563)""

This reverts commit b4d3b56b33ca4080fa3bc1b7a2dde7b21ba18e51.

* Fix banner to only show on staging

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2024-01-12 11:01:15 -05:00
Carter
1392c16f12 Refactor scope labels for applications and pats (#1560) 2024-01-11 19:13:03 -05:00
Emma Alexia
d6393653e1 Add new section to the rules about bypassing Mojang restrictions (#1561) 2024-01-11 19:12:50 -05:00
Prospector
a75de51198 Add API indicator and staging banner (#1563)
* Change text of Modrinth logo depending on the API url being used

* Staging banner
2024-01-11 19:12:25 -05:00
Prospector
a21869ec9b Add filters for transfer history page (#1564) 2024-01-11 19:11:58 -05:00
Prospector
f534e4ee37 Fix project page menu opening off-screen with right sidebar (#1565) 2024-01-11 19:11:39 -05:00
Carter
9add661a5b Adjust colors to be controlled from outside chart component (#1568)
* Adjust colors to be controlled from outside chart component

* Access colors from source of truth

* Change access method to omit projects from params

* Just omit projects from query
2024-01-11 19:11:26 -05:00
Carter
81948a5c29 Creator update frontend hotfixes (#1538)
* Fix donation link submission

* Refactor Charts to fit edgecase bugs in design

* edge and mobile bug fixes

* remove dead code

* fix width on mobile

* Update omorphia version to 0.7.3

* Refactor legend item styling in ChartDisplay.vue

* Update package dependencies
2024-01-10 15:50:21 -05:00
Geometrically
5924154a62 Fix org ownership (#1553) 2024-01-10 15:13:37 -05:00
Carter
354bfe58cd Add withdrawal amount validation and display details (#1549)
* Add withdrawal amount validation and display transfer details

* Fixed amt should be consistent

* Empty amount rather than clamp

* Only mutate amount if fixed or 1 value

* Add badge to giftcard withdraw methods
2024-01-10 15:13:08 -05:00
Geometrically
c5974a8575 Fix unfollowing (#1552) 2024-01-10 13:43:28 -05:00
Prospector
c0275addb0 Add report reopening and message for reopening a report (#1550) 2024-01-10 13:33:57 -05:00
Prospector
c85baf7fd0 Fix versions page bug: v-if instead of v-else-if (#1546) 2024-01-09 16:33:10 -05:00
Prospector
39e5778bd0 Country -> region (#1548) 2024-01-09 16:32:59 -05:00
Prospector
a3b77bb37f Add private mod notes and message deletion (#1494)
* Really simply private messages impl

* Make private notes better

* Add thread message deletion

* Lint
2024-01-09 16:32:38 -05:00
Prospector
660cf0c1e4 Remove the ability to replace uploaded primary versions (#1542) 2024-01-09 15:43:38 -05:00
Geometrically
a629d7f048 Fix override perms orgs (#1536)
* Fix override perms orgs

* remove useless card?
2024-01-07 21:36:32 -05:00
Carter
683b0f5c48 Add safety and state refresh when adding to collection (#1535) 2024-01-07 19:58:30 -05:00
Geometrically
42a80a41ca Fix collection page (#1534)
* Fix collection page

* remove wrangler.toml
2024-01-07 19:27:30 -05:00
Carter
9dcb90a9cf Creator update hotfixes (#1531)
* Put image upload on v3

* Fix space encoding in search

* Add safety to any iterables
2024-01-07 17:28:51 -05:00
Mysterious_Dev
1af0aa3f57 Fix: Wrong follower count on collections (#1528) 2024-01-07 14:32:40 -05:00
Sasha Sorokin
35c9338220 Fix no collections message on user page (#1501) 2024-01-07 14:32:05 -05:00
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