Commit Graph

161 Commits

Author SHA1 Message Date
CanbiZ
be1821b16f
Add invalid/wontdo check 2025-01-09 23:05:53 +01:00
CanbiZ
baa578c20a
add invalid / wontdo check 2025-01-09 23:02:06 +01:00
CanbiZ
5af9dd9e45
Rename validate-formatting.yaml to validate-formatting.yaml.bak 2025-01-09 15:51:54 +01:00
CanbiZ
ec1e5b3a4a
Rename validate-scripts.yml to validate-scripts.yml.bak 2025-01-09 15:51:33 +01:00
CanbiZ
37f4a841a6
Update validate-scripts.yml 2025-01-09 15:47:37 +01:00
CanbiZ
02401aa35d
Update validate-scripts.yml 2025-01-09 15:42:18 +01:00
CanbiZ
2646ea6317
Update validate-formatting.yaml 2025-01-09 15:39:31 +01:00
CanbiZ
6b183c9e4e
Validate and auto-fix script formatting 2025-01-09 15:36:40 +01:00
Sébastiaan
3bb26b7b41
only validate scripts in validate-scripts workflow (#1344) 2025-01-09 09:33:50 +01:00
Sébastiaan
0059adecf1
fix(ci): formatting event & chmod +x (#1335) 2025-01-08 21:41:58 +01:00
Sébastiaan
ff712bc36e
fix: correctly handle pull_request_target event (#1327)
* Fix workflow on pull_request_target

* fix fromJSON
2025-01-08 16:33:09 +01:00
Sébastiaan
4da57bd76c
fix: permissions of validate pipelines (#1316)
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Shellcheck / Shellcheck (push) Waiting to run
Validate script formatting / Check changed files (push) Waiting to run
Validate scripts / Check changed files (push) Waiting to run
* Fix permission in validate-filenames pipeline

* Run Github Actions for script validation on pull_request_target with right permissions
2025-01-07 20:34:37 +01:00
CanbiZ
29b98b450b
Rename validate-formatting.yaml.bak to validate-formatting.yaml
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Shellcheck / Shellcheck (push) Waiting to run
Validate script formatting / Check changed files (push) Waiting to run
Validate scripts / Check changed files (push) Waiting to run
2025-01-07 08:58:43 +01:00
CanbiZ
c88d3a3883
Rename validate-filenames.yml.bak to validate-filenames.yml 2025-01-07 08:58:27 +01:00
CanbiZ
2078deca57
Set Execution Rights for GH-Action: Validate Scripts (#1312) 2025-01-07 08:53:52 +01:00
CanbiZ
784e109012
Rename validate-formatting.yaml to validate-formatting.yaml.bak 2025-01-06 15:09:41 +01:00
CanbiZ
5184f47eb6
Rename validate-filenames.yml to validate-filenames.yml.bak 2025-01-06 15:09:28 +01:00
Sébastiaan
599c462035
fix: buffer from base64 in formatting pipeline (#1285)
* fix buffer from base64

* fix diff
2025-01-06 10:39:55 +01:00
CanbiZ
e94280f1a1
Update changelog-pr.yml 2025-01-06 08:44:03 +01:00
CanbiZ
8431931cc4
add reapproal (#1279) 2025-01-06 08:39:02 +01:00
Sébastiaan
8bf7f7a460
ci: add pipeline for code formatting checks (#1239)
* Add code formatting checks

tesT

Fix formatting

Fix formatting of scripts

* Enable check for .func files

* Change commentIdentifier & apply prettier to js

* fetch-depth 0

* Rename to validate
2025-01-06 08:33:13 +01:00
Sébastiaan
6adf8e38b0
ci: change filename checks into steps with PR comment (#1255)
* Change filename checks into steps and post comment as result

* Test
2025-01-06 07:55:01 +01:00
Sébastiaan
817455360e
ci: combine header checks into workflow with PR comment (#1257)
* Combine all headers checks into workflow with steps that end with a PR comment

* Test

* Change name because it is more than headers
2025-01-06 07:54:38 +01:00
Kristo Copani
eee58b43db
[GitHub Action] Add filename case check (#1228) 2025-01-04 12:51:34 +01:00
Kristo Copani
682087c6ec
Github action to check metadata lines in scripts. (#1110)
* Create check-metadata.yml

* Update check-metadata.yml

* Update check-metadata.yml

* Update check-metadata.yml

* Update .github/workflows/check-metadata.yml

Co-authored-by: Sébastiaan <se_bastiaan@outlook.com>

* Update .github/workflows/check-metadata.yml

Co-authored-by: Sébastiaan <se_bastiaan@outlook.com>

---------

Co-authored-by: Sébastiaan <se_bastiaan@outlook.com>
2025-01-03 19:31:06 +01:00
Sébastiaan
b8671b97af
Correctly check for changed files in Shellcheck workflow (#1156) 2025-01-01 18:26:23 +01:00
CanbiZ
a119a27b4f
Update shellcheck.yml
Check only PR files, because massive (useless) breaks over all scripts
2025-01-01 13:13:19 +01:00
Andy Grunwald
ff3d2026a5
[GitHub Actions] Introduce Shellcheck to check bash code (#1018) 2024-12-26 19:00:33 +01:00
Michel Roegl-Brunner
47307be181
Small Changes to the PR Template (#862)
* Small Changes to the PR Template

* Changes

* Add hint to remove unnedeed lines
2024-12-17 16:07:20 +01:00
CanbiZ
c0cf76f0d5
Github: Optimize Issue Template & PR Template (#802)
* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update bug_report.yml

* Update pull_request_template.md
2024-12-13 15:24:28 +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
CanbiZ
9148ea1dff
[github]: add new Frontend_Report / Issue_Report & optimize config.yml (#226)
Some checks are pending
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
* Add new Frontend_Report / Issue_Report & optimize config.yml

* Update .github/ISSUE_TEMPLATE/bug_report.yml

switch general to other

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

* Update .github/ISSUE_TEMPLATE/bug_report.yml

remove title

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

* Update .github/ISSUE_TEMPLATE/bug_report.yml

remove label

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

* Update .github/ISSUE_TEMPLATE/config.yml

update text for questions and help

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

* Update .github/ISSUE_TEMPLATE/config.yml

harmonize with readme (discord)

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

* Update .github/ISSUE_TEMPLATE/frontend_report.yml

harmonize title for Frontend

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

* remove documentation issue

* Update .github/ISSUE_TEMPLATE/config.yml

harmonize text

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

* Update .github/ISSUE_TEMPLATE/frontend_report.yml

update label

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

* Update .github/ISSUE_TEMPLATE/frontend_report.yml

remove title

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

* Harmonize Frontend > Website

* remove "frontend" word

* Add "Other" to Frontend-Report

---------

Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
2024-11-19 19:04:39 +01:00
CanbiZ
497819f112
Update FUNDING.yml (#352) 2024-11-19 10:50:15 +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
Håvard Gjøby Thom
1633cddf55
Add website issue template (#200) 2024-11-13 13:32:27 +13:00
Håvard Gjøby Thom
2af11d145f
Change documentation option in PR template (#150) 2024-11-09 14:55:38 +01:00
Håvard Gjøby Thom
e4d83dfc6a
Add CODEOWNERS (#116) 2024-11-07 14:54:02 +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 Gjøby Thom
83975f1ba4
Add testing requirement to PR template (#104) 2024-11-06 22:39:56 +01:00
Håvard Thom
9a4e239a9a Only deploy pages on changes in frontend 2024-11-05 22:35:32 +01:00