Commit graph

7064 commits

Author SHA1 Message Date
Vadym Samoilenko
7d80b21c1b fix: pass deploy widget fields through config whitelist, fix siteMonitor URLs
Some checks failed
Docker CI / Docker Build & Push (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled
- Add service/label/apiBase to service-helpers.js whitelist for deploy type
  (these keys were being stripped, causing deploy widget to show nothing)
- Add trailing slashes to gsb/semblance/cc-dashboard siteMonitor URLs
  to prevent 301 redirect to http:// which was causing red dots

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 13:22:11 +01:00
Vadym Samoilenko
7e6d8517b0 feat: move deploy buttons into service cards, fix siteMonitor URLs
- Create src/widgets/deploy/component.jsx — service-card widget variant
  that receives { service } prop (not { options }) for use in services.yaml
- Register deploy in src/widgets/components.js
- Move deploy widgets from config/widgets.yaml into each service card
  via widget: type: deploy — buttons now live inline under each app
- Fix Deploy API siteMonitor URL to use Apache-proxied path
- Reduce Widgets layout columns to 2 (only resources + datetime remain)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 13:12:46 +01:00
Vadym Samoilenko
370ea5dae9 Config: overhaul dashboard design and layout
- zinc color, fullWidth, useEqualHeights, cardBlur md, statusStyle dot
- siteMonitor (HTTP + response time) instead of ping for all web services
- showStats: true — live CPU/RAM per Docker container on each card
- Add DB/cache info cards to Infrastructure section
- Clean up bookmarks, add OliVAS repo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 13:06:26 +01:00
Vadym Samoilenko
8874bc604c Fix: remove double basePath prefix in deploy widget SWR key
SWR middleware already prepends NEXT_PUBLIC_BASE_PATH; statusUrl
must start with /deploy-api/... not /${bp}/deploy-api/...

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:59:42 +01:00
Vadym Samoilenko
81fb160eb5 Config: improve dashboard layout, add healthchecks and bookmarks
- settings.yaml: cardBlur, hideVersion, target _blank, clean layout
- services.yaml: add ping healthcheck URLs for all services + Deploy API card
- bookmarks.yaml: Bitbucket repos and server shortcuts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:56:25 +01:00
Vadym Samoilenko
cd66562e9d Feat: add deploy widget with one-click deploy buttons
- components/widgets/deploy/deploy.jsx: new widget with deploy button,
  status polling (2s when running, 10s idle), last deploy time display
- widget.jsx: register 'deploy' widget type
- config/widgets.yaml: add deploy buttons for all 6 server services

Deploy API runs as systemd service on host :9000, proxied via Apache
at /deploy-api/. Widget polls GET /status/{service} and triggers
POST /deploy/{service} on button click.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:53:45 +01:00
Vadym Samoilenko
5eb4a2908d Fix: set HOMEPAGE_ALLOWED_HOSTS to specific domain
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:49:30 +01:00
Vadym Samoilenko
512edd4e42 Fix: use HOMEPAGE_ALLOWED_HOSTS env var for host validation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:47:36 +01:00
Vadym Samoilenko
03e9c9fb13 Fix: allow optical-dev.oliver.solutions host in Next.js 15+ validation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:46:48 +01:00
Vadym Samoilenko
d71fbe6c75 Fix: prepend basePath to all client-side API calls + add server config
API path fixes:
- _app.jsx: SWR middleware prefixes all useSWR keys with NEXT_PUBLIC_BASE_PATH
- index.jsx: update fallback keys, raw fetch() calls, and Script src
- _document.jsx: update custom.css link hrefs
- revalidate.jsx, search.jsx, api-helpers.js: update raw fetch/proxy calls

Initial dashboard config (force-added, config/ is gitignored by default):
- settings.yaml: dark slate theme, English, two-row layout
- services.yaml: all 5 server apps with Docker container health links
- widgets.yaml: CPU/RAM/disk resources widget + datetime
- docker.yaml: local Docker socket for auto-discovery

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:43:03 +01:00
Vadym Samoilenko
c4129189bb Fix: pass NEXT_PUBLIC_BASE_PATH build arg through Dockerfile
Declares ARG NEXT_PUBLIC_BASE_PATH in builder stage and passes it
inline to pnpm build so Next.js basePath is applied at compile time.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:33:42 +01:00
Vadym Samoilenko
be5e2a5e7c Deploy: add basePath support and server docker-compose
- next.config.js: basePath from NEXT_PUBLIC_BASE_PATH env var (build arg)
- docker-compose.yml: builds with /homepage base path, exposes :3001 locally, mounts config dir and Docker socket
- deploy.sh: clone/pull + build + start script for optical-dev server

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 12:27:45 +01:00
github-actions[bot]
c50bc8601d
New Crowdin translations by GitHub Action (#6470)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-31 07:34:56 -07:00
shamoon
463bb4e306
Chore: move lint checks to separate workflow (#6481) 2026-03-29 13:18:45 -07:00
shamoon
4c3c4805c8
Security: pin GitHub Actions to specific SHAs (#6480) 2026-03-29 13:04:10 -07:00
Alex
a81ac47be9
Fix: fix compatibility with flood changes (#6477) 2026-03-29 13:48:43 +00:00
dependabot[bot]
36b909d4a4
Chore(deps): Bump brace-expansion from 1.1.12 to 1.1.13 in the npm_and_yarn group across 1 directory (#6478)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-29 06:15:45 -07:00
github-actions[bot]
7b552f5080
New Crowdin translations by GitHub Action (#6433)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-27 15:16:31 -07:00
Steven Harris
0f767d14bb
Feature: UniFi Drive (UNAS) service widget (#6461)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2026-03-27 15:10:18 -07:00
shamoon
ff4eaa2cd9
Chore: make unifi proxy more generic (#6469) 2026-03-27 14:39:27 -07:00
Adam
b37645b8d0
Documentation: fix kubernetes config examples (#6468) 2026-03-27 14:17:54 -07:00
shamoon
45af25d6ce
Fix: revert changes to qbittorrent widget endpoints (#6467) 2026-03-27 08:05:31 -07:00
dependabot[bot]
ea9fca02d3
Chore(deps): Bump picomatch from 2.3.1 to 2.3.2 in the npm_and_yarn group across 1 directory (#6460)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 04:09:24 +00:00
shamoon
3fb2dcbc47
Chore: return to gh runners (#6462) 2026-03-25 21:01:55 -07:00
Zhenzhong Tang
96e3c7ac45
Fix: remove trailing space from Watchtower widget loading label (#6448) 2026-03-19 23:54:52 -07:00
dependabot[bot]
f261879fcb
Chore(deps): Bump the npm_and_yarn group across 1 directory with 5 updates (#6445)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 00:00:36 +00:00
dependabot[bot]
495065a6fa
Chore(deps-dev): Bump eslint-plugin-prettier from 5.5.4 to 5.5.5 (#6442)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 23:50:19 +00:00
dependabot[bot]
d18bdb011a
Chore(deps): Bump urbackup-server-api from 0.91.0 to 0.92.2 (#6444)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 23:36:36 +00:00
dependabot[bot]
2b65a0df04
Chore(deps): Bump react-icons from 5.5.0 to 5.6.0 (#6443)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 23:27:16 +00:00
shamoon
311f232686
Add translation category and Crowdin PR label 2026-03-18 12:28:27 -07:00
dependabot[bot]
9893c5e846
Chore(deps): Bump swr from 2.4.0 to 2.4.1 (#6441)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 12:14:16 -07:00
dependabot[bot]
f70dcd6a03
Chore(deps): Bump flatted from 3.3.3 to 3.4.2 in the npm_and_yarn group across 1 directory (#6439)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 19:06:57 +00:00
shamoon
657dc917b4
Relax Dependabot schedule and add cooldowns 2026-03-18 11:58:01 -07:00
shamoon
de0c8558fb
Add webpack exclude to dynamic import 2026-03-18 11:54:54 -07:00
shamoon
daa1c27d9b
Bump Node.js version in docker-publish workflow 2026-03-18 11:48:38 -07:00
shamoon
6e850bfed8
Use webpack flag in Next build script 2026-03-18 11:44:25 -07:00
dependabot[bot]
02309211ac
Chore(deps): Bump next from 15.5.11 to 16.1.7 in the npm_and_yarn group across 1 directory (#6438)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-18 18:35:42 +00:00
shamoon
3d1be51ed4
Add pnpm install preLaunchTask and task 2026-03-18 10:33:56 -07:00
dependabot[bot]
75b01bec9a
Chore(deps): Bump pnpm/action-setup from 4 to 5 (#6436)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-17 09:45:05 -07:00
shamoon
fadb03ad27
Enhancement: better support for raw values in block highlighting (#6434) 2026-03-17 09:12:01 -07:00
shamoon
6bdea294c1
Try this fix for release-drafter again 2026-03-17 09:10:42 -07:00
dependabot[bot]
11de525fc0
Chore(deps): Bump release-drafter/release-drafter from 6 to 7 (#6429)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 16:04:14 -07:00
shamoon
ca67ba2e49
Tweak: sanitize calendar integration URLs from markup (#6431) 2026-03-16 16:02:50 -07:00
shamoon
c069cb3333
Maybe fix release drafter 2026-03-16 16:00:54 -07:00
github-actions[bot]
34be817eb2
New Crowdin translations by GitHub Action (#6292)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-15 00:29:37 -07:00
shamoon
0598a27d60
Update release-drafter.yml 2026-03-14 21:49:02 -07:00
shamoon
be5ef3448e
Chore: add release drafter (#6424) 2026-03-14 21:45:25 -07:00
shamoon
f7c12ad642
Enhancement: better Crowdsec auth parsing, caching, and retries (#6419) 2026-03-13 21:58:24 -07:00
shamoon
a6639b04b9
Fix troubleshooting link in support.yml 2026-03-09 10:02:06 -07:00
shamoon
597059045f
Change: use byterate for beszel network field (#6402) 2026-03-06 23:20:38 -08:00