2302 Commits

Author SHA1 Message Date
Norbiros
a380d39865
feat(frontend): Package datapack as NeoForge mod (#2142) 2024-08-10 20:46:42 +00:00
Norbiros
34d3310eae
fix(frontend): Correctly parse neoforge.mods.toml (#2139) 2024-08-10 20:45:49 +00:00
Norbiros
6de8d2684a
fix: Disable Run Meta on forks (#19)
* fix: Disable `Run Meta` on forks

* fix: Also don't run `docker` action
2024-07-31 13:14:39 -07:00
Norbiros
9763a43943
fix: Correctly replace linux natives for LWJGL 3.3.1 (#20) 2024-07-31 13:14:30 -07:00
Jai A
f328eec26d
use bearer auth instead 2024-07-31 12:59:09 -07:00
Jai A
7684a54678
fix purge gh action (again) 2024-07-31 12:55:34 -07:00
Jai A
51f3174609
fix purge gh action 2024-07-31 12:48:37 -07:00
Sasha Sorokin
4fcd518b0a
Replace useAutoRef with Vue's toRef (#1332)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:44:48 +00:00
Sasha Sorokin
1e0d7c7e28
Rewrite cosmetics and theme preferences (#1328)
- Cosmetics and theme preferences are now only stored in cookies instead
  of a combination of both cookies and state.

- The theme plugin now supports client hints. This allows the server
  to render a page using the client-preferred theme provided it supplies
  this information (any browser other than Firefox), helping to avoid an
  annoying flash while the page is hydrating.

- For the future, the theme plugin now supports additional light themes.
  Light theme preferences are currently not stored, but this can easily
  be fixed if the need arises.

- The previous workaround using the Nitro plugin has been removed. Its
  functionality is now handled by the Nuxt theme plugin with cleaner
  code.

- All pages and components now use the new plugins.

- Compared to the previous attempt, this commit has been improved to be
  more robust in cases where the theme cookie contains invalid values.

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:42:55 +00:00
KTrain
984da93a7b
fix issue template descriptions (#1310)
* fix incorrect api urls

* fix descriptions on issue templates

* revert b51914e

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:42:16 +00:00
Norbiros
c2c7eda799
fix(frontend): Correctly infer Neoforge version info (#1326)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:41:52 +00:00
Geometrically
04b85630b9
Cache homepage projects in tags (#1336)
* Cache homepage projects in tags

* Update app page
2024-07-31 12:37:51 -07:00
Calum H.
ae4f3759c2
fix(knossos): Eslint config fix. (#1327)
* fix(knossos): Lint

* Fix lint issue.
2024-07-28 17:48:17 +00:00
Norbiros
a238dcc5e6
fix(theseus): Error modal (#1325)
* fix(theseus): Close button in ErrorModal

* fix(theseus): Overflow in ErrorModal
2024-07-27 19:00:02 +00:00
Jai A
57ba84107c
Revert "Rewrite cosmetics and theme preferences (#1292)"
This reverts commit 8704d3acb35e8a0c5c5a53c4f5c4f5532aae749a.
2024-07-25 17:38:37 -07:00
Norbiros
ca913cafbc
fix: README fixes (#1321) 2024-07-25 15:49:22 +00:00
Jai A
7032421096
revert inlineStyles 2024-07-24 16:24:56 -07:00
Geometrically
06ac959496
Fix duped styles + disable tailwind preflight (#1320) 2024-07-24 23:14:43 +00:00
Geometrically
41c15f8c96
Fix styling issues caused by omorphia/tailwind (#1319) 2024-07-24 12:40:36 -07:00
Jai A
5cad3dfbae
update rtb info 2024-07-24 11:32:38 -07:00
Geometrically
49a20a303a
Migrate to SQLite for Internal Launcher Data (#1300)
* initial migration

* barebones profiles

* Finish profiles

* Add back file watcher

* UI support progress

* Finish most of cache

* Fix options page

* Fix forge, finish modrinth auth

* Accounts, process cache

* Run SQLX prepare

* Finish

* Run lint + actions

* Fix version to be compat with windows

* fix lint

* actually fix lint

* actually fix lint again
2024-07-24 18:03:19 +00:00
ToBinio
90f74427d9
chore: update tauri (#1307) 2024-07-20 17:15:02 +00:00
Sasha Sorokin
ba9dc6ce26
Fix auth redirect URL being double encoded (#1280)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-20 00:24:35 +00:00
Norbiros
3a73994ad4
feat: Improve iframe parameter handling (#1299)
* fix(utils): Fix TypeScript issues in `parse.ts`

* feat: Improve iframe parameter handling (modrinth/knossos#362)
- Remove not whitelisted parameters instead of not rendering whole iframe
- Allowed `start` and `end` parameters in YouTube embeds
2024-07-20 00:24:29 +00:00
Norbiros
797e1f1f21
fix(theseus): Fixed multiple bugs (#1304)
* fix(theseus): Resolve log tab freezing entire app (#1127, #1237)
Switched to `vue-typed-virtual-list` due to freezing issues in WebKit caused by `vue-virtual-scroller`, which were difficult to resolve with the previous library.

* fix(theseus): Double opening of Socials Share link (#1136, #1074)

* fix(theseus): Proper symlinks resolution (#1236)
Ensures correct symlink resolution for specific mods, the mods directory, and the entire profile directory.

* fix(theseus): Correctly recognize NeoForge mods (#1215)

* fix(theseus): Corrected `Environments` and `Loaders` filters (#899)

* fix(theseus): Remove `_JAVA_OPTIONS` when testing JRE (#1171)

* fix(theseus): Fixed opening files using `show_in_folder`
Previously, opening a mod would display the contents of the JAR file instead of its location.

* fix(theseus): Hide `.DS_Store` files (#1274, #1002, #1174)

* fix(theseus): Corrected tooltip color

* fix(theseus): Fixed white mode issues (#1144, #1010)

* fix: Corrected `Slider` min and max value handling (#1008)

* fix: Fixed rebase problems

* fix: Fixed `:deep` usage warning

* chore: Updated eslint plugins to fix conflicts with Prettier
2024-07-20 00:20:12 +00:00
Norbiros
f1713647cf
More monorepo migration fixes (#1257)
* fix: More monorepo migration fixes

* fix: Corrected icon sizes & other fixes

* fix(theseus): Change color of mod installation button

* fix(theseus): More Turborepo fixes

* chore: Prettier

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-18 05:01:58 +00:00
Sasha Sorokin
8704d3acb3
Rewrite cosmetics and theme preferences (#1292)
- Cosmetics and theme preferences are now only stored in cookies instead
  of a combination of both cookies and state.

- The theme plugin now supports client hints. This allows the server
  to render a page using the client-preferred theme provided it supplies
  this information (any browser other than Firefox), helping to avoid an
  annoying flash while the page is hydrating.

- The previous workaround using the Nitro plugin has been removed. Its
  functionality is now handled by the Nuxt theme plugin with cleaner
  code.

- All pages and components now use the new plugins.
2024-07-13 19:20:43 +00:00
Sasha Sorokin
ce4250281f
Refactor auth middleware (#1279)
- Switch to TypeScript
- Use early return
- Switch to regular for loop

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-11 19:02:00 +00:00
Sasha Sorokin
aecbc714c4
Update @vintl/nuxt to ^1.9.2 (#1286)
This fixes the issue where types for NuxtApp would be incorrect due to
the incorrect Plugin return type by @vintl/nuxt.
2024-07-11 18:58:18 +00:00
Evan Song
c20242cf1c
Fix Cloudflare Pages build (#1285)
* fix(temp): remove box shadows from tailwind config

* fix(temp): "polyfill" global during build process

* refactor: use `import.meta` instead of deprecated `process`

* oops: replace `process.server` as well
2024-07-11 05:17:04 +00:00
Evan Song
04ba76aac8
Add NavTabs component (#1278)
* feat: NavTabs component

* fix: tw config using wrong variable

* fix: actually use the config now

* fix: revert testing
2024-07-10 03:33:50 +00:00
Geometrically
d1bc65c266
Monorepo missing features (#1273)
* fix tauri config

* fix package patch

* regen pnpm lock

* use new workflow

* New GH actions

* Update lockfile

* update scripts

* Fix build script

* Fix missing deps

* Fix assets eslint

* Update libraries lint

* Fix all lint configs

* update lockfile

* add fmt + clippy fails

* Separate App Tauri portion

* fix app features

* Fix lints

* install tauri cli

* update lockfile

* corepack, fix lints

* add store path

* fix unused import

* Fix tests

* Issue templates + port over tauri release

* fix actions

* fix before build command

* Add X86 target

* Update build matrix

* finalize actions

* make debug build smaller

* Use debug build to make cache smaller

* dummy commit

* change proj name

* update file name

* Use release builds for less space use

* Remove rust cache

* Readd for app build

* add merge queue trigger
2024-07-09 15:17:38 -07:00
PixelBedrock
60edbcd5f0
Allow user to select GitHub account (#922)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-09 15:12:15 -07:00
Evan Song
dab284f339
Frontend Tailwind Fixes + Small Fixes (#1258)
* Fix Tailwind not targeting the src dir

* Merge tw fixes

* Fix footer logo alignment in mobile layout
2024-07-07 18:28:55 -07:00
Norbiros
df76d9a50a
fix(theseus): Fixed scroll behavior bug (#1249) 2024-07-07 13:21:07 -07:00
Evan Song
abec2e48d4
Add TailwindCSS (#1252)
* Setup TailwindCSS

* Fully setup configuration

* Refactor some tailwind variables
2024-07-06 20:57:32 -07:00
Evan Song
0f2ddb452c
Migrate to Turborepo (#1251) 2024-07-04 21:46:29 -07:00
Jai A
6fa1acc461
prepare for initial push 2024-07-03 19:17:28 -07:00
Jai A
9502639447
Finish adding omorphia 2024-07-03 19:12:20 -07:00
Jai A
ef4acb1b66
Merge remote-tracking branch 'omorphia/monorepo-migration' 2024-07-03 16:24:41 -07:00
Jai A
8cb72d306b
Prepare for adding omorphia 2024-07-03 16:22:49 -07:00
Jai A
1ef8bf4690
Move files in preparation for monorepo migration 2024-07-03 16:21:07 -07:00
Jai A
22779c9dbc
Finish theseus 2024-07-03 16:03:41 -07:00
Jai A
b52467b6d6
Merge remote-tracking branch 'theseus/monorepo-migration' 2024-07-03 13:26:44 -07:00
Jai A
d33a0cd589
Prepare for adding theseus 2024-07-03 13:25:49 -07:00
Jai A
a04cb54d86
Move files in preparation for monorepo migration 2024-07-03 13:23:21 -07:00
Jai A
10785f156f
Add knossos 2024-07-03 13:05:14 -07:00
Jai A
4736fb8e32
Merge remote-tracking branch 'knossos/monorepo-migration' 2024-07-03 11:20:33 -07:00
Jai A
531e7ec73d
prepare for knossos merge 2024-07-03 11:20:25 -07:00
Jai A
ff946b4f2f
Move files in preparation for monorepo migration 2024-07-03 11:13:51 -07:00