Commit Graph

39 Commits

Author SHA1 Message Date
Andy Grunwald
ff3d2026a5
[GitHub Actions] Introduce Shellcheck to check bash code (#1018) 2024-12-26 19:00:33 +01:00
Håvard Gjøby Thom
0d63e66379
Filter pull requests on main branch in changelog-pr.yml (#793) 2024-12-12 07:19:35 -08:00
Håvard Gjøby Thom
259203ee51
Update frontend CI/CD workflow (#703) 2024-12-06 23:05:19 +01:00
Håvard Gjøby Thom
3c045b967c
Add release title to github-release.yml (#481) 2024-11-24 16:19:53 -05:00
Håvard Gjøby Thom
eda3ddf502
Fix newline issue in changelog pr (#474) 2024-11-23 23:56:19 +01:00
Håvard Gjøby Thom
349e9dad51
Remove newline in changelog-pr action (#461) 2024-11-23 20:25:05 +01:00
Håvard Gjøby Thom
4bd68c1c8b
Add action that creates github release based on CHANGELOG.md (#462) 2024-11-23 20:24:56 +01:00
Håvard Gjøby Thom
973073a9a4
Use github app in changelog-pr.yml and add auto approval (#416) 2024-11-21 22:30:36 +01:00
Håvard Gjøby Thom
b9e84543fc
Verify changes before commit in changelog-pr.yml (#310) 2024-11-18 20:16:36 +13:00
CanbiZ
aab8be4544
Update changelog-pr.yml / Add Check 2024-11-17 16:43:23 +01:00
Håvard Gjøby Thom
60ae3f19b2
Add automatic changelog PR github workflow (#299) 2024-11-17 14:08:48 +01:00
Håvard Gjøby Thom
b21de8a736
Small fix autolabeler (#297) 2024-11-17 11:31:13 +01:00
Håvard Gjøby Thom
f12b97c383
Add autolabeler github workflow (#247) 2024-11-14 14:21:41 +01:00
Bram Suurd
93fd495f65
Switch from Pocketbase data retrieval to JSON (#100)
* Add new animation for switching themes.

* Remove unused metadata files from testing

* increase duration on theme switch

* Reduce animation duration for view transition effect to improve responsiveness

* Fetch categories and scripts from external sources, updating `GET` endpoint to aggregate data. Adjust type definitions for Script and Category

* Refactor all components to use data from new API

* Refactor `InterFaces` component to use updated `Script` type and streamline interface/port handling for better clarity

* Refactor `CommandMenu` component to utilize updated `Category` and `Script` types, simplifying the sorting logic and enhancing clarity

* Fix animation duration in `globals.css` to ensure proper view transition functionality across the application

* Remove unnecessary console log for file name in `fetchAllMetaDataFiles` to clean up code

* Refactor category fetching in `ScriptContent` and `CommandMenu` to utilize centralized `fetchCategories` for improved maintainability

* Use `formattedBadge` in `ScriptAccordion` and `CommandMenu` for consistent badge rendering across script types

* Refactor source URL generation in `Buttons` component to enhance clarity and streamline the installation script logic

* Check default settings availability in `DefaultSettings` component and handle undefined values more gracefully in rendering

* Fix install command generation to handle optional script parameter and update copy button logic for improved functionality

* Add most popular scripts feature and update script rendering logic in `ScriptInfoBlocks` component

* Enhance `ScriptItem` component to display correct type naming alongside script name for better clarity in the UI

* Add conversion utility to display RAM in GB for better readability in `DefaultSettings` component

* Refactor Next.js config to use dynamic basePath and update sitemap URLs for improved adaptability and host configuration

* Refactor site configuration to utilize centralized settings for analytics and base path; replace PocketBase imports with new data module

* Refactor sitemap generation to use centralized basePath from config, enhancing adaptability for URL management

* Refactor to replace PocketBase with a new data module across components

* Refactor layout to use centralized analytics configuration

* Update deployment workflow to include JSON files for GitHub Pages publishing

* Remove caching step from GitHub Pages deploy workflow to avoid caching

* Remove basePath from Next.js config to simplify configuration and avoid potential issues with path resolution

* Add category sorting and fetching logic in data.ts

* Add analytics configuration and basePath to siteConfig

* Remove obsolete environment files for analytics and PocketBase

* Update sitemap to use a fixed domain for the generated sitemap instead of deriving from headers

* Refactor layout to utilize basePath for metadata base URL and image links for better configurability

* use cleaner `basePath` variable around codebase for easier management

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/components/CommandMenu.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/components/ui/theme-toggle.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/components/CommandMenu.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/api/categories/route.ts

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultPassword.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update src/lib/data.ts with necessary changes.

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update src/app/api/categories/route.ts with necessary modifications

* Update frontend/src/app/scripts/_components/ScriptItems/InstallCommand.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update src/components/CommandMenu.tsx with necessary improvements

* Add renamed themetoggle

* Update frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update frontend/src/app/scripts/_components/ScriptItems/DefaultSettings.tsx with new settings configuration

* Update src/app/scripts/_components/ScriptInfoBlocks.tsx with enhancements and fixes

* Update src/app/scripts/_components/ScriptItems/InstallCommand.tsx

* Update src/app/scripts/_components/ScriptItem.tsx

* Update src/app/scripts/_components/ScriptAccordion.tsx with necessary adjustments and improvements

* Update Interfaces to use strict check

* updated interfaces to use normal string label instead of jsx

* Update configuration to use environment variable for BASE_PATH and reflect changes in siteConfig

* force static base path

* Update CommandMenu.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Update DefaultSettings.tsx

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>

* Ensure fetchScripts returns a typed Script array by specifying return type in map function

* Remove commented-out import for unused Category type in CommandMenu component

* Fix fetch URLs by removing unnecessary slashes and ensure proper return type in fetchScripts map function

* Refactor MostViewedScripts to ensure proper type annotations and improve array concatenation method for better readability

* Update BASE_PATH handling in next.config and fix fetch URLs to ensure correct path structure in API routes

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-06 23:47:04 +01:00
Håvard Thom
9a4e239a9a Only deploy pages on changes in frontend 2024-11-05 22:35:32 +01:00
Bram Suurd
56837d7dcd merge frontend website into scripts repo 2024-11-04 23:55:08 +01:00
tteckster
2fa12a1b97
Delete .github/workflows/welcome.yml 2024-03-19 09:59:56 -04:00
tteckster
3fdffb6540
Delete .github/workflows/close-incomplete-issues.yml 2024-03-19 06:01:16 -04:00
tteckster
e1ac6d87f6
Delete .github/workflows/ci.yml 2024-03-19 06:00:59 -04:00
tteckster
7654134e5e
Update close-incomplete-issues.yml 2024-03-19 04:34:56 -04:00
tteckster
9e2064b665
Update and rename main.yml to close-incomplete-issues.yml 2024-03-19 03:30:01 -04:00
tteckster
d503898b77
Update main.yml 2024-03-19 03:17:37 -04:00
tteckster
f0da879ae6
Update main.yml 2024-03-19 03:05:55 -04:00
tteckster
a9b9f17aa3
Update main.yml 2024-03-19 02:50:50 -04:00
tteckster
66c685425f
Create main.yml 2024-03-19 02:43:25 -04:00
tteckster
bbb26ca3fc
Create welcome.yml 2024-03-19 02:39:57 -04:00
tteckster
86141db5e1
Update ci.yml 2024-01-25 02:06:50 -05:00
tteckster
0c34f2ea9b
Update ci.yml 2024-01-25 01:49:53 -05:00
tteckster
d094ffcfd3
Update ci.yml 2024-01-25 01:29:36 -05:00
tteckster
dc37502d15
Update ci.yml 2024-01-25 01:15:00 -05:00
tteckster
d2f13f7940
Update ci.yml
tweak
2024-01-24 12:51:09 -05:00
tteckster
2f2f297555
Update ci.yml
tweak
2024-01-24 12:48:18 -05:00
tteckster
f111479b00
Create new workflow 2024-01-24 12:39:50 -05:00
tteckster
4453ae2550
Delete stale.yml 2021-12-24 19:43:38 -05:00
tteckster
baca4e972d
Update stale.yml 2021-12-24 19:29:46 -05:00
tteckster
bae72c4b6d
Update stale.yml 2021-12-21 08:24:21 -05:00
tteckster
4a137b6099
Rename proxmox.yml to stale.yml 2021-12-21 08:19:58 -05:00
tteckster
8de7b525c2
Update proxmox.yml 2021-12-21 08:19:10 -05:00
tteckster
d118fb066f
Create proxmox.yml 2021-12-21 07:56:15 -05:00