Commit Graph

463 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Mysterious_Dev
a85255df5a Fix: Mistake for profile translations (#1362) 2023-09-10 12:23:42 -04:00
Mysterious_Dev
15c02e9e91 Update Discord invite link to use official (#1363) 2023-09-10 12:21:00 -04:00
Emma Alexia Triphora
54f55d44dc Fix dependency capitalization (#1351) 2023-09-02 16:45:13 -04:00
Mysterious_Dev
259b239e16 Fix: Incorrect notification history link on dashboard (#1350) 2023-09-02 09:41:32 -04:00
MMK21Hub
3033387ffc Add autocomplete attributes to auth-related inputs (#1349) 2023-09-02 09:40:02 -04:00
Sasha Sorokin
5d34af6ac5 Make language label not translatable (#1343) 2023-09-02 09:38:10 -04:00
Mysterious_Dev
dca5b9f197 Support enter key for 2FA input field (#1341) 2023-09-02 09:37:42 -04:00
Mysterious_Dev
75e075ef8e Add translations for profile page (#1340)
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-09-02 09:37:04 -04:00
Kxffie
9895976128 Add query to embed of search pages (#1284) 2023-09-02 09:33:52 -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
falseresync
06cc40055a Extract Message banner component (#1105) 2023-08-23 10:40:16 -04:00
Nitrrine
66b47c08e6 Improve download button in changelog (#1311) 2023-08-23 10:39:30 -04:00
Sasha Sorokin
40cb8db1fc Move language nav menu item and hide it on prod (#1329) 2023-08-23 10:26:02 -04:00
Geometrically
2454a03c2b Fix broken dashboard (#1328) 2023-08-22 11:59:45 -04:00
naqaden
0a59a06121 Replace project icon border (#1319)
Icons in project pages with featured images and in search results with gallery view have borders that resize their 96x96 icons to 88x92.

These box-shadow replacements preserve icon size while retaining visual equivalency (rounded 4px border around left, top, and right).
2023-08-21 18:47:34 -04:00
Emma Alexia Triphora
806fcb6ed2 Project moderation tab improvements (#1323) 2023-08-21 13:29:09 -04:00
Sasha Sorokin
467b0fa988 Add the language setting page (#1210)
* Add initial language picker prototype

* Heap o' improvements and Pirate tongue

* Move .visually-hidden to shared utils and add copyright notice

* Add a little space before categories names

* Simplify search to input focus logic

* Remove larger font size and padding from the search field

* Some refactors

* Braw's descent into madness

Thanks web development!

In seriousness though, tried to make the list more accessible. Making it
fully accessible feels like unbearable task, so at least that.

* Litol refactoring

* Extract new strings and remove old ones

* Update @vintl/nuxt to 1.3.0

This fixes the bug where default locale won't be saved.

* A buncha refactorings and cleanup

* Scuttle the Pirate lingo

'Twas employed 'ere for testin' purposes, but fear not, for it shall be
returnin' in the days to come. Should ye require it fer testin', simply
roll back this here commit.

* Clean languages source file

* Change "US" to "United States"

I think it would make distinguishing two languages simpler as now
there's more than one letter of difference (US/UK vs United States/
United Kingdom).
2023-08-21 13:26:39 -04:00
Nitrrine
a420d5b203 Add SEO to Rewards Program Information page (#1320) 2023-08-21 13:20:18 -04:00
Prospector
12543be913 Fix placement of Modrinth App promo and add toggle for the primary nav promos (#1315) 2023-08-20 12:23:17 -07:00
Prospector
cfbf08dbf5 Fix auth layout on mobile (#1316) 2023-08-20 12:23:06 -07:00
Kavi/o
0fdc02d5e9 Fixed Leave Project button (#1321) 2023-08-20 12:10:40 -04:00