Commit Graph

6938 Commits

Author SHA1 Message Date
Bram Suurd
17600d12aa Remove commented-out import for unused Category type in CommandMenu component 2024-11-06 22:56:02 +01:00
Bram Suurd
810d63ea4d Ensure fetchScripts returns a typed Script array by specifying return type in map function 2024-11-06 22:55:24 +01:00
Bram Suurd
11197af3e1 force static base path 2024-11-06 22:26:26 +01:00
Bram Suurd
339aa93ec9 Update configuration to use environment variable for BASE_PATH and reflect changes in siteConfig 2024-11-06 22:20:29 +01:00
Bram Suurd
595de3738f updated interfaces to use normal string label instead of jsx 2024-11-06 22:17:04 +01:00
Bram Suurd
84086dfbf8 Update Interfaces to use strict check 2024-11-06 22:15:40 +01:00
Bram Suurd
69d10ff35a Update src/app/scripts/_components/ScriptAccordion.tsx with necessary adjustments and improvements 2024-11-06 22:13:13 +01:00
Bram Suurd
a08e1e326f Update src/app/scripts/_components/ScriptItem.tsx 2024-11-06 22:09:17 +01:00
Bram Suurd
274abee370 Update src/app/scripts/_components/ScriptItems/InstallCommand.tsx 2024-11-06 22:07:11 +01:00
Bram Suurd
8bdc41f824 Update src/app/scripts/_components/ScriptInfoBlocks.tsx with enhancements and fixes 2024-11-06 22:06:30 +01:00
Bram Suurd
9356830afa Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx with new settings configuration 2024-11-06 22:06:19 +01:00
Bram Suurd
8485932e01
Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 22:05:27 +01:00
Bram Suurd
043e95bb39
Update frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 22:00:25 +01:00
Bram Suurd
f98a5f23cf Add renamed themetoggle 2024-11-06 21:58:56 +01:00
Bram Suurd
463cd4cd22 Merge branch 'main' of github.com:BramSuurdje/ProxmoxVE 2024-11-06 21:58:40 +01:00
Bram Suurd
1a44c1ef9b Update src/components/CommandMenu.tsx with necessary improvements 2024-11-06 21:58:29 +01:00
Bram Suurd
11ddcc6bf2
Update frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:55:31 +01:00
Bram Suurd
e63236b33c Update src/app/api/categories/route.ts with necessary modifications 2024-11-06 21:54:20 +01:00
Bram Suurd
e5c7df88a6 Update src/lib/data.ts with necessary changes.
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:53:23 +01:00
Bram Suurd
739e4f5697
Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:49:52 +01:00
Bram Suurd
ada264ecb8
Update frontend/src/app/scripts/_components/ScriptItems/DefaultPassword.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:48:41 +01:00
Bram Suurd
e8ff2858d6
Update frontend/src/app/api/categories/route.ts
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:47:07 +01:00
Bram Suurd
16657ec891
Update frontend/src/app/api/categories/route.ts
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:47:02 +01:00
Bram Suurd
9c55665ea9
Update frontend/src/components/CommandMenu.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:56 +01:00
Bram Suurd
8b59207a9b
Update frontend/src/components/ui/theme-toggle.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:50 +01:00
Bram Suurd
dd50c048ab
Update frontend/src/components/CommandMenu.tsx
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:44 +01:00
Bram Suurd
9eeba5220d
Update frontend/src/app/api/categories/route.ts
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:37 +01:00
Bram Suurd
bdaea5ae79
Update frontend/src/app/api/categories/route.ts
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:31 +01:00
Bram Suurd
3b59f5b0ab
Update frontend/src/app/api/categories/route.ts
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 21:46:21 +01:00
Bram Suurd
1c4321c466 use cleaner basePath variable around codebase for easier management 2024-11-06 21:45:09 +01:00
Bram Suurd
49527dde19 Refactor layout to utilize basePath for metadata base URL and image links for better configurability 2024-11-06 21:37:45 +01:00
Bram Suurd
e67b1c5b11 Update sitemap to use a fixed domain for the generated sitemap instead of deriving from headers 2024-11-06 21:37:28 +01:00
Bram Suurd
d3007c1123 Remove obsolete environment files for analytics and PocketBase 2024-11-06 21:32:33 +01:00
Bram Suurd
d7accced7f Add analytics configuration and basePath to siteConfig 2024-11-06 21:32:01 +01:00
Bram Suurd
70ae6ae8d1 Add category sorting and fetching logic in data.ts 2024-11-06 21:31:52 +01:00
Bram Suurd
d9a6b8bdd3 Remove basePath from Next.js config to simplify configuration and avoid potential issues with path resolution 2024-11-06 21:31:39 +01:00
Bram Suurd
ee91f7efd3 Remove caching step from GitHub Pages deploy workflow to avoid caching 2024-11-06 21:31:27 +01:00
Bram Suurd
e28d5f4d58 Update deployment workflow to include JSON files for GitHub Pages publishing 2024-11-06 21:28:18 +01:00
Bram Suurd
d59af116b9 Refactor layout to use centralized analytics configuration 2024-11-06 21:23:23 +01:00
Bram Suurd
ec12789b15 Refactor to replace PocketBase with a new data module across components 2024-11-06 21:23:10 +01:00
Bram Suurd
9b20f49bfe Refactor sitemap generation to use centralized basePath from config, enhancing adaptability for URL management 2024-11-06 21:22:54 +01:00
Bram Suurd
b6ab3dd37d Refactor site configuration to utilize centralized settings for analytics and base path; replace PocketBase imports with new data module 2024-11-06 21:22:44 +01:00
Bram Suurd
860186e4fa Refactor Next.js config to use dynamic basePath and update sitemap URLs for improved adaptability and host configuration 2024-11-06 21:22:33 +01:00
Bram Suurd
4bfd0e1d86
Merge branch 'community-scripts:main' into main 2024-11-06 20:17:10 +01:00
Bram Suurd
07e46207b4 Add conversion utility to display RAM in GB for better readability in DefaultSettings component 2024-11-06 20:15:08 +01:00
Bram Suurd
96bc5ade61 Enhance ScriptItem component to display correct type naming alongside script name for better clarity in the UI 2024-11-06 20:15:01 +01:00
Bram Suurd
974b31bfb3 Add most popular scripts feature and update script rendering logic in ScriptInfoBlocks component 2024-11-06 20:08:25 +01:00
Rémi Bédard-Couture
53fd2b6cc8
Remove custom update script. This is handled by the update script and the /usr/bin/update is created automatically by the customize function in install.func (#95) 2024-11-06 20:02:34 +01:00
Bram Suurd
36b0691ad9 Fix install command generation to handle optional script parameter and update copy button logic for improved functionality 2024-11-06 19:52:04 +01:00
Bram Suurd
db82fe8ec6 Check default settings availability in DefaultSettings component and handle undefined values more gracefully in rendering 2024-11-06 19:51:52 +01:00