110 Commits

Author SHA1 Message Date
Geometrically
f0b8a708a3
Updating + Profile Repairs + Performance Improvements (#97)
* repairing

* Main framework for updating

* add jsconfig

* more work

* Improve performance

* Finish updating

* run lint
2023-04-26 10:28:08 -07:00
Adrian O.V
c53104c28e
Instance creation (#91)
* Base impl

* Image upload preview

* Run lint

* Add metadata

* Clean uo

* fix tauri conf

* Addressed changes

* Update InstanceCreationModal.vue

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-04-24 19:22:10 -07:00
Wyatt Verchere
79ef48549f
Windows fix process env vars (#96)
* fixes windows issue

* clippy
2023-04-23 10:38:04 -07:00
Zach Baird
16f297b546
Standing up global settings page. (#63)
* Adds markup to Settings page.

* Fixes card styling. Makes theme a dropdown. Fleshes out theme store and helpers.

* Settings wired up to backend. Omorphia package bumped.

* settings not syncing

* Further polishes Global Settings.

* Post-merge cleanup.

* Cleans up code. Ensures Java versions are present.

* Wires up auto-detect modal. Wires up Java version browse. Styling updates.

* Styling inputs. Adjusts modals.

* Removes theme helpers. Removes unnecessary classes.

* Always displays settings save btn. Watch code removed. New Card added.

* Cleans up merge from master. Adds AnimatedLogo to settings.

* Installs updated Omorphia. Removes unnecessary styles. Fixes loading logo position.

* Starts wiring up theming to settings. Adds Tauri command to get just theme.

* Settings page polish. allowList updated.

* Condenses modals into one. Implements JRE checking.

* Updates Omorphia package. Removes unnecessary styles.

* Removes get_theme. Styling changes.

* Changes appbar background for light-mode.

* Fixes

* fix color with var

---------

Co-authored-by: thesuzerain <wverchere@gmail.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-04-21 14:45:50 -07:00
Justsnoopy30
6887c33b66
Update tauri content security policy (#92)
This fixes the launcher not loading on some system webview implementations
2023-04-19 19:05:07 -07:00
Wyatt Verchere
16e015b527
Performance (#89)
* jre async

* mac support

* fixed some settings not being saved to file

* fixed older version of mac random crashing bug

* added specific mac version detection

* linux support for jre changes

* added app storage options

* tauri features change

* dependency fix

* removed debug statement

* restructured to not pass css through rust

* changed to os_info

* rerun cicd
2023-04-19 11:44:44 -07:00
Zach Baird
d414e07f41
Resolves inaccurate OR relationship between loaders and versions. (#86)
* Resolves inaccurate OR relationship between loaders and versions.

* Removes todo comment.
2023-04-18 20:49:04 -07:00
Wyatt Verchere
640db2d079
fixes stack overflow :) (#88)
* fixes stack overflow :)

* removed unnecessary comment
2023-04-18 14:43:30 -07:00
Wyatt Verchere
63d2785b2f
Deadlock fixes (#85)
* fixed deadlock

* added missing files to commit

* clippy & dist
2023-04-17 16:07:09 -07:00
Geometrically
19a4aa6689
Add metadata GV loader api (#84)
* Add metadata GV loader api

* Register commands

* fix lint + docs issue
2023-04-17 14:05:27 -07:00
Wyatt Verchere
9f40640ed8
String settings hooks (#82)
* added theme; env change

* began refactoring

* added process hook

* now singular string for each hook

* fixed splitting by comma to by space

* profile_create function updated

* prettier

* added jre validator

* restructured so that it doesnt look like a vec

* fixed merge issue

* snake case

* resolved merge issues + added process events

* clippy, fmt

* removed unnecssary func
2023-04-17 12:40:27 -07:00
Wyatt Verchere
b120b5cfa8
Event handling (#75)
* working on amcros

* fleshed out draft

* added feature support

* finished loading

* Fixed issue with multiple data types in macro

* Working, and added more loading uses

* added window scopes

* clippy, fmt

* working other variants

* fmt; clippy

* prettier

* refactored emissions to use increment

* fixed deadlock

* doc changes

* clippy, prettier

* uuid change

* restructured events to util

* loading restructure

* merge fixes

* comments mistake

* better cfg tauri feature structuring

* added extra fields to some loading enum variants

* removed Option<>

* added pack + version labels

* doc change
2023-04-16 10:12:37 -07:00
Geometrically
f8173d3b78
Mod Management API (#81)
* Profile mod management

* remove print statement
2023-04-13 12:03:15 -07:00
Adrian O.V
bb126c0545
Project wireup (#80)
* Remove unneeded style

* Base modpack wire up

* Run lint

* Thats not supposed to be there

* Remove errant class

* Fix safety

* Username => ID

* fix id missing

* Fix bug with clicking

* remove unnecessary

* Update Versions.vue

* Addressed changes

* Lintttt
2023-04-12 22:29:40 -04:00
Adrian O.V
06ace174e6
MC Authentication + Account switching (#78)
* Popup, login

* Fix Lint

* Switch to UUID for avatars

* Fix issues

* Fixed logging out bug

* Update AccountsCard.vue

* Revert experiment

* Fix button clicking

* Addressed Changes
2023-04-11 18:21:10 -04:00
Wyatt Verchere
ac6ad0ef2e
mac download (#77)
* mac download

* clippy
2023-04-11 07:15:37 -07:00
Wyatt Verchere
d23bc4450d
added frontendsettings (#76) 2023-04-10 18:12:43 -07:00
Geometrically
a62d931fe2
Wire Profile Backend to Frontend (#71)
* Search updates

* fixes2

* Some more work

* start instance page wiring

* Pack installation + Profile viewing

* Remove print statement

* Fix disappearing profiles

* fix compile err

* Finish Instance Running

* remove print statement

* fix prettier

* Fix clippy + early return
2023-04-08 18:54:38 -07:00
Wyatt Verchere
764d75181f
restructured auto-credentials (#74)
* restructured auto-credentials

* fix clone

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-04-07 14:43:21 -07:00
Wyatt Verchere
34005dd2e2
Jre api (#66)
* basic push

* actual push

* JRE detection, and autosetting

* removed a println, retrying CI/CD

* new game version compare; preset java 7 and 8 using our jre

* 1.8 mislabeled

* working JRE changes

* fixed bugs with JRE setup

* fixed bugs with JRE setup

* manual merge

* prettier

* fixes + jre 17

* clippy, prettier

* typo

* forgot to hook up a function

* pr fix + comment fix

* added loader_version

* take 2
2023-04-07 13:31:06 -07:00
Wyatt Verchere
4b41ffbd8a
Windows compile opts (#72)
* added config toml file for compilation

* added comment
2023-04-06 18:08:54 -07:00
Adrian O.V
34f4b762f9
Project pages (#65)
* Initial impl of project pages

* Finalize project styling

* Revert browse page changes

* Fix lint

* Addressed some comments

* 😄

* Run lint

* Addressed issues

* fixed dist

* addressed changes

* Address changes

* I am speed

* Howd you get there
2023-04-06 18:06:37 -07:00
Geometrically
b9a3a6dc11
Modpack support (#60)
* Modpack support

* Finish feature

* Tauri errors fix (#61)

* async impl

* working

* fmt and redundancy

* moved ? to if let Ok block

* Finish modpacks support

* remove generated file

* fix compile err

* fix lint

* Fix code review comments + forge support

---------

Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
2023-04-05 19:04:09 -07:00
Wyatt Verchere
6965487b56
tags fix (#69) 2023-04-05 14:04:32 -07:00
Wyatt Verchere
a3e377666e
Adds tauri build script (#68)
* tauri build script

* missed file
2023-04-05 12:39:40 -07:00
Wyatt Verchere
b4a809362b
fixed win10 stack overflow (#67)
* fixed win10 stack overflow

* cargo fmt
2023-04-05 10:08:50 -07:00
Wyatt Verchere
d5505d3298
Child process manager api (#64)
* child process api

* added hook to js

* process API + restructured process state storage

* formatting

* added path-pid check and fixed probs

* prettier

* added profile checking function

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
2023-04-05 10:07:59 -07:00
Zach Baird
8169d3ad49
Starts adding search pages to launcher. (#49)
* launcher base gui initial

* Bootstraps router, Omorphia, and prettier.

* Adds pages. Adds Vuex. SideBar nav contains user section and pages section.

* Adds Instance markup. Instances added to Home page.

* Adds News to home page.

* Adds settings to nav. Other touches.

* Polishing initial base GUI.

* Moves some styling to assets. Changes px values to rem.

* Removes pointless border-radius CSS.

* Implements Omorphia vars.

* Adds trending mods section.

* Updates home page.

* Swaps Vuex implementation for Pinia.

* Fixes invalid CSS on instance list item hover.

* Adds @ path resolve for imports.

* First pass on search page.

* Fix some styling of row display

* Cleaning up styles and markup.

* Fixes overall layout issues.

* Cleans up more styling. Modifies AppBar coloring.

* Allows pagination arrows to conditionally appear in RowDisplay.

* Adds paging behavior in RowDisplay.

* Updates nav and settings button styling.

* Brings in Knossos style for trending mods. Polishes News CSS.

* Updates Omorphia. Starts addressing PR comments.

* Addresses some more PR comments.

* Changes side navigation styling. Active route class implemented.

* Combines trending and popular row.

* Makes images more realistic. Adds CTA to instances.

* Converts all instances to card style. Converts more styles to rem.

* Moves Navigation and UserSection into App.vue

* Adds Modrinth favicon.

* Cleans up branch after merge.

* Removes unused styling.

* Adds transition to news card.

* Adds ofetch. Separates stores. More logic moved to instance store. Browse hits API.

* Modifies Browse instance styling. Moves Browse results out of Instance.vue.

* First pass on filtering.

* Points search at prod API.

* Updates Omorphia package. Adds index sorting.

* Fills out search functionality.

* Renames state files. Moves SearchPanel into Browse. Fixes checkbox styling.

* Changes how facets are composed. Dynamically sets loaders and categories.

* Moves search state to searchStore. Cleans up some code.

* Ups h2 font-size. Wraps search panel in Card.

* Cleans up branch after merge. Fixes some Browse styling.

* Search store produces query string. API call made in Browse.

* Changes filter-panel styling.

* Uses client and server icons directly. Removes dead code from search store.

* Clear button disabled on initial state. Accesses store directly, removes some dead code. Fixes search panel styling.

* Generates proj tags in Browse. Removes getter in search store.

* Removes unnecessary code.

* Reworks facet management. Fixes some styling.

* Relabels Tauri calls in tags.js. Attempts to call helper in Browse.

* fixed win10 stack overflow

* cargo fmt

* Makes computed value. Gets tags from Tauri. Overrides Omorphia style. Fixes dropdown width.

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: CodexAdrian <83074853+CodexAdrian@users.noreply.github.com>
Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
2023-04-05 07:18:04 -07:00
Wyatt Verchere
b0c830119b
Tag fetching and caching (#59)
* basic framework. still has errors

* added functionality for main endpoints + some structuring

* formatting

* unused code

* mimicked CLI function with wait_for process

* added basic auth bindings

* made PR changes, added playground

* cargo fmt

* removed missed println

* misc tests fixes

* cargo fmt

* added windows support

* cargo fmt

* all OS use dunce

* restructured profile slightly; fixed mac bug

* profile changes, new main.rs

* fixed requested pr + canonicaliation bug

* fixed regressed bug in ui

* fixed regressed bugs

* fixed git error

* typo

* ran prettier

* clippy

* playground clippy

* ported profile loading fix

* profile change for real, url println and clippy

* PR changes

* auth bindings + semisynch flow

* fixed dropping task error

* prettier, eslint, clippy

* removed debugging modifications

* removed unused function that eslinter missed :(

* initial errored push

* working draft

* added tag system!

* fixed merge issue

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
2023-04-03 16:08:53 -07:00
Wyatt Verchere
a13b7a2566
added settings API + fixed bug (#62)
* added settings API + fixed bug

* removed redundant API funcs

* comment clarifications

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
2023-04-03 13:46:04 -07:00
Wyatt Verchere
6a05276a21
Auth bindings (#58)
* basic framework. still has errors

* added functionality for main endpoints + some structuring

* formatting

* unused code

* mimicked CLI function with wait_for process

* added basic auth bindings

* made PR changes, added playground

* cargo fmt

* removed missed println

* misc tests fixes

* cargo fmt

* added windows support

* cargo fmt

* all OS use dunce

* restructured profile slightly; fixed mac bug

* profile changes, new main.rs

* fixed requested pr + canonicaliation bug

* fixed regressed bug in ui

* fixed regressed bugs

* fixed git error

* typo

* ran prettier

* clippy

* playground clippy

* ported profile loading fix

* profile change for real, url println and clippy

* PR changes

* auth bindings + semisynch flow

* fixed dropping task error

* prettier, eslint, clippy

* removed debugging modifications

* removed unused function that eslinter missed :(

* fixed settings not being released

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
2023-03-31 18:44:26 -07:00
Wyatt Verchere
f48959a816
Profile bindings (#55)
* basic framework. still has errors

* added functionality for main endpoints + some structuring

* formatting

* unused code

* mimicked CLI function with wait_for process

* made PR changes, added playground

* cargo fmt

* removed missed println

* misc tests fixes

* cargo fmt

* added windows support

* cargo fmt

* all OS use dunce

* restructured profile slightly; fixed mac bug

* profile changes, new main.rs

* fixed requested pr + canonicaliation bug

* fixed regressed bug in ui

* fixed regressed bugs

* fixed git error

* typo

* ran prettier

* clippy

* playground clippy

* ported profile loading fix

* profile change for real, url println and clippy

* PR changes

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
2023-03-31 11:00:43 -07:00
Geometrically
24ba986cf1
Fix linux action (#57) 2023-03-31 10:37:06 -07:00
Wyatt Verchere
6954b63089
Merge pull request #56 from modrinth/mod-management
Profile mod management
2023-03-30 16:32:48 -07:00
Jai A
bc015263d6
Remove ubuntu build (for now) 2023-03-30 16:18:33 -07:00
Jai A
446f6eba68
Fix lint (again) 2023-03-30 15:56:19 -07:00
Geometrically
c66382d2a4
Merge branch 'master' into mod-management 2023-03-30 15:41:23 -07:00
Adrian O.V
bfe8b40f44
Library page (#53)
* launcher base gui initial

* Bootstraps router, Omorphia, and prettier.

* Adds pages. Adds Vuex. SideBar nav contains user section and pages section.

* Adds Instance markup. Instances added to Home page.

* Adds News to home page.

* Adds settings to nav. Other touches.

* Polishing initial base GUI.

* Moves some styling to assets. Changes px values to rem.

* Removes pointless border-radius CSS.

* Implements Omorphia vars.

* Adds trending mods section.

* Updates home page.

* Swaps Vuex implementation for Pinia.

* Fixes invalid CSS on instance list item hover.

* Adds @ path resolve for imports.

* Fix some styling of row display

* Gridview on library page

* Cleaning up styles and markup.

* Fixes overall layout issues.

* Cleans up more styling. Modifies AppBar coloring.

* instance routing

* Allows pagination arrows to conditionally appear in RowDisplay.

* Adds paging behavior in RowDisplay.

* Initial modlist layout

* Updates nav and settings button styling.

* Brings in Knossos style for trending mods. Polishes News CSS.

* Page redesign

* More tweaks

* Base library pages

* Remove errant css

* Update play.svg

* Addressed issues

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Zachary Baird <zdb1994@yahoo.com>
Co-authored-by: Zach Baird <30800863+ZachBaird@users.noreply.github.com>
2023-03-30 15:37:45 -07:00
Jai A
8ee77f00b7
Add linting 2023-03-30 15:31:15 -07:00
Jai A
4875ed4359
Fix clippy issues 2023-03-30 15:18:57 -07:00
Jai A
80e1ae4553
update args again 2023-03-30 14:42:35 -07:00
Jai A
54ebc1b997
fix cli build config 2023-03-30 14:40:13 -07:00
Jai A
20a538f0ff
Update tauri icons 2023-03-30 14:37:52 -07:00
Jai A
f1a9a4b580
fix dep install on cli/lib 2023-03-30 14:25:14 -07:00
Jai A
8a614be027
update identifier 2023-03-30 14:19:26 -07:00
Jai A
253764697a
fix actions + add tauri action 2023-03-30 14:17:32 -07:00
Jai A
f9e742790d
install dependencies 2023-03-30 14:12:35 -07:00
Jai A
016d3b618f
Fix rust action 2023-03-30 14:05:11 -07:00
Jai A
b3a106a4e6
update 2023-03-30 14:02:58 -07:00
Jai A
99dd6e0965
Add linter 2023-03-30 14:02:46 -07:00