Commit Graph

1384 Commits

Author SHA1 Message Date
Mysterious_Dev
1108b0264e Add missing extracted keys (#1498) 2024-01-03 11:42:44 -05:00
Carter
4f060579ca bump 0.7.2 2023-12-28 16:49:17 -08:00
Carter
1940c6e1ba Fix editor state issues (#173)
* Add MarkdownEditor component with default value and disabled option

* Add editorThemeCompartment for customizing editor theme
2023-12-28 16:48:10 -08:00
chaos
f6a697780b Remove lwjgl debugging arg (#959) 2023-12-28 17:00:27 -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
maxomatic458
ef8b525376 fix custom profile import for CF (#914)
* use minecraftinstance.json for CF

* fix fabric version
2023-12-13 17:26:56 -07:00
Geometrically
e39635c75b Fix auth (finally) (#937)
* Finish auth

* Clippy + fix avatar on alts

* add retrying to entitlement request
2023-12-12 20:57:01 -07:00
chaos
260744c8af Wrap version names. Closes #908 (#928) 2023-12-11 20:53:18 -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
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
Jai A
c1518c52f3 fix avatar merge 2023-11-21 10:16:36 -07:00
ToBinio
531b38e562 display App version in settings (#801)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-11-21 08:38:22 -07:00
chaos
fd299aabe8 Check for write access before change. (#890)
* Check for write access before change. Closes #862

* Formatting.
2023-11-21 08:37:05 -07:00
chaos
4b1a3eb41e Add missing noblur value to modals. Closes #713 (#891) 2023-11-21 08:35:57 -07:00
chaos
a5739fa7e2 Bump version + revert to mc-heads.net (#895) 2023-11-21 08:35:32 -07:00
Emma Alexia
e4cb8b71dd Fix version editing on modpacks returning a "too large" error (#1455) 2023-11-20 18:57:06 -05:00
Carter
f6eff090e7 Accept image pasting functionality (#151)
* Accept image pasting functionality

* Bump to 0.7.1

* Default alt text should be like github

* sync modelValue changes to codemirror state

* Refactor image uploading in paste

* Fix error handling in image upload
2023-11-18 21:55:34 -07:00
Wyatt Verchere
25662d1402 Auth retrying, std logs (#879) 2023-11-17 21:49:32 -07: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
Prospector
cbcee037a7 Merge pull request #147 from modrinth/redesign/new-promo-style
Port Promotion to redesign style
2023-11-15 17:14:28 -08:00
Prospector
de2e4a9c7f Merge branch 'master' into redesign/new-promo-style 2023-11-15 17:14:20 -08:00
Prospector
0ba0a5bcd8 Merge pull request #148 from modrinth/feature/overflow-menu-links
Add link support to overflow menus
2023-11-15 17:11:24 -08:00
Prospector
70cc409402 docs 2023-11-15 17:10:10 -08:00
Prospector
160ca610ae Bump version 2023-11-15 17:09:06 -08:00
Prospector
2f1aa95f4c Allow links in overflow menus 2023-11-15 17:08:55 -08:00
Brayden Zee
01ab507e3a Search pagination fix (#800)
* Fix account tool tip displaying in the wrong place

* Set page to one after search
2023-11-15 17:22:49 -07:00
Ryan Lauderbach
4491d50935 Update breadcrumbs on profile name update (#643)
* Update breadcrumbs on profile name update

* Fix formatting
2023-11-15 16:43:19 -07:00
fxd
3c2889714a native decorations toggle (#541)
* add native decorations toggle

* osname mac -> MacOS

* remove newlines
2023-11-15 16:42:59 -07:00
Octelly
eb6e7d1491 fixed typo (#493)
duplicate "used"
2023-11-15 16:41:34 -07:00
MrLiam2614
a8eb561774 Fixed bug when creating instance starting or ending with spaces has errors (#845)
Based on issue #808
2023-11-15 16:39:53 -07:00
ToBinio
6152eeefe3 fix rendering/calculation of maxProjectsPerRow in homepage (#872) 2023-11-15 16:39:17 -07:00
ToBinio
b8b1668fee change instance fullscreen-checkbox to toggle (#848) 2023-11-15 16:38:35 -07:00
ToBinio
aaf808477e disable disabled projects on update (#871) 2023-11-15 16:38:13 -07:00
chaos
8e3ddbcfaf Update avatar URLs to use Crafatar API. (#877) 2023-11-15 16:37:54 -07:00
Carter
3eead128a6 Image-validation (#144)
* Add spoiler tag functionality to CodeMirror

* Refactor image insertion logic in
MarkdownEditor.vue

* Refactor modal state reset functions in
MarkdownEditor.vue
2023-11-15 12:36:34 -07:00
Prospector
4c22a73ff3 Decrease ad border opacity 2023-11-15 09:49:38 -08:00
Prospector
a78f58de92 Merge branch 'master' into redesign/new-promo-style 2023-11-15 09:38:02 -08:00
Prospector
fcda48903b Merge pull request #146 from modrinth/fix/popout-pointer-events
Fix popout menu pointer events
2023-11-15 09:25:48 -08:00
Prospector
3f9805ac56 Fix bump version 2023-11-15 09:23:31 -08:00
Prospector
2131fed0bb Update promo styling 2023-11-15 09:22:02 -08:00