Commit Graph

662 Commits

Author SHA1 Message Date
renovate[bot] a665a8b8af Update dependency bcryptjs to v3 2026-01-08 16:34:43 +00:00
9 Technology Group LTD bebce641ec Merge pull request #414 from PatchMon/1-3-8
1 3 8 #1
2026-01-04 18:13:11 +00:00
Muhammad Ibrahim 06c10c94f7 disabled a workflow 2026-01-04 17:49:41 +00:00
Muhammad Ibrahim 68fe101317 Added case insensitivity to TFA routes 2026-01-04 17:35:51 +00:00
9 Technology Group LTD b972835bb5 Merge pull request #310 from jaas666/fix/email-case-sensitivity
Fix email sensitivity
2026-01-04 17:23:40 +00:00
Muhammad Ibrahim 20711e755c fixed code quality 2026-01-04 17:13:50 +00:00
Muhammad Ibrahim fce8c7a15b Merge main into 1-3-8 2026-01-04 17:10:47 +00:00
9 Technology Group LTD 6a34ad0359 Merge pull request #365 from amosgeva/fix/docker-registry-authentication
fix: implement OAuth2 bearer token auth for Docker registry API
2026-01-04 17:10:04 +00:00
Muhammad Ibrahim 955d3c6b7b Fixed correct queueManager method in agent_queue endpoint 2026-01-04 17:04:35 +00:00
Muhammad Ibrahim 9a70fcc648 Merge remote-tracking branch 'origin/main' into 1-3-8 2026-01-04 17:03:57 +00:00
9 Technology Group LTD d068452c80 Merge pull request #395 from RuTHlessBEat200/main
add endpoints for detailed host info
2026-01-04 17:03:20 +00:00
Muhammad Ibrahim abd08bf4e1 Added function to determine the nginx version for right http2 syntax 2026-01-04 16:54:03 +00:00
Contributor 0e58b7bea1 Fix #393: Add explicit network configuration for Docker Swarm deployments
Services can only discover each other by hostname within the same Docker network. This fix adds an explicit `patchmon-internal` bridge network that all services (database, redis, backend, frontend) connect to, enabling reliable service discovery in both Docker Compose and Docker Swarm environments.

Changes:
- Added `patchmon-internal` network definition to docker-compose.yml and docker-compose.dev.yml
- Connected all services to the internal network for service-to-service communication
- Added comprehensive Docker Swarm documentation to docker/README.md with network configuration guidance and troubleshooting for the "host not found in upstream" error

This resolves the nginx error users experienced when deploying to Docker Swarm with the frontend on a separate network from the backend.
2026-01-04 16:37:42 +00:00
Muhammad Ibrahim dd09b82299 Added scroll bar and fixed empty gateway issue 2026-01-04 16:17:01 +00:00
Muhammad Ibrahim be5ab681d2 Biome version upgrade 2026-01-04 16:10:05 +00:00
Muhammad Ibrahim e269c12463 Fix #402 - relating to Accepting the WhatsNew messages 2026-01-04 16:03:24 +00:00
Muhammad Ibrahim 01693d7e34 Added ability to edit autoenrolment tokens once created 2026-01-04 15:01:55 +00:00
Muhammad Ibrahim c6d07121a6 Ui Fixes
Package Descriptions
Social Metrics
2026-01-04 14:44:57 +00:00
Muhammad Ibrahim fcc38cb71f Merge remote-tracking branch 'origin/main' into 1-3-8 2026-01-03 19:47:33 +00:00
Muhammad Ibrahim 33d90d1588 Fix: Save release notes acceptance when closing personal note modal 2026-01-03 19:47:20 +00:00
9 Technology Group LTD 0c807a7379 Merge pull request #408 from mfbloom/feature/keep-package-descriptions
Feature / Display package descriptions
2026-01-03 18:47:09 +00:00
Michael Bloom 8b583c7d99 formatting fixes 2026-01-01 20:48:23 -05:00
Michael Bloom bc7ff7056f formatting fixes 2026-01-01 19:31:11 -05:00
Michael Bloom 0b5d833b97 Include package descriptions 2026-01-01 16:03:57 -05:00
9technologygroup d1e74cce1d Buttons and login page edits 2025-12-30 10:03:13 +00:00
9 Technology Group LTD af51f5386e Merge pull request #396 from PatchMon/1-3-7
Final release on 1.3.7
v1.3.7
2025-12-25 10:33:02 +00:00
9technologygroup 6aa30351fd Final release on 1.3.7 2025-12-25 10:19:45 +00:00
aud 8c5ade5b75 add endpoint for detailed host stats 2025-12-24 02:52:23 +01:00
aud e51ec48d40 add endpoints for detailed host info 2025-12-22 22:58:47 +01:00
9 Technology Group LTD 76b549a802 Merge pull request #371 from DrSkyfaR/patch-1
Update HTTPS server block configuration
2025-12-19 22:55:46 +00:00
9 Technology Group LTD f08e23c915 Merge pull request #392 from PatchMon/1-3-7
1-3-7 main
2025-12-19 22:37:12 +00:00
9technologygroup 0e2829b52b Fixed Linting errors on Binary 2025-12-19 22:33:13 +00:00
9technologygroup 557dbcda4d 1. Staggered agent intervals - So if agent report is every 60 minutes then Host1 will be 10 past whilst another host might be 22 past the hour. This is so we don't overwhelm the PatchMon server when all reports are being sent at once.
2. Reboot detection information now stored - This is so that if "Reboot required flag" is showing then by hovering over it , it will show the reason
3. `patchmon-agent report --json` will output the whole body of data it would normally send to PatchMon , but it will output it in the console
This is very useful so that PatchMon agent information can actually be used with other tools and show data to be diagnosed.
4. Mobile Ui mostly done
5. Fixed Some prisma version issue affecting Kubernetes deployments so I had to set prisma version statically in package json files
6. Persistent Docker toggle so no more in-memory configurations (thanks to the community for initiating it)
7. config.yml file to be written and compared with the configuration for that host upon startup for better sync of settings
8. Fixed where even if servers Agent auto-update was turned off then it would not honour this and auto-update anyway, the logic for this has been fixed to honour both Server-wide auto-update settings as well per-host
9. Improved network information page to show ipv6 and support multiple interfaces
2025-12-19 22:10:02 +00:00
9 Technology Group LTD 7dd8a73eed Mobile Ui mainly
Fixes on Mobile responsiveness.
2025-12-14 17:26:25 +00:00
9technologygroup 71dd741f1e Git attributes and package.json edit for perisistent Prisma version 2025-12-14 17:03:41 +00:00
Christopher Bodtke 98fb22e353 Update HTTPS server block configuration
update to new nginx default http2 format
2025-12-05 18:20:05 +01:00
amosgeva 182e234d36 fix: implement OAuth2 bearer token auth for Docker registry API
Previously, Docker image update checks always failed with 'Authentication
required' because the code didn't implement the OAuth2 bearer token flow
that Docker Hub, GHCR, and other OCI registries require for API access.

Changes:
- Add httpsRequest() helper for promise-based HTTP requests
- Add parseWwwAuthenticate() to extract token endpoint from 401 responses
- Add getAuthToken() to request bearer tokens from registry auth endpoints
- Update getRemoteDigest() to handle 401 → get token → retry flow
- Add token caching with expiry to reduce auth requests
- Simplify parseImageName() and handle docker.io/ prefix normalization

This enables Docker image update checking for:
- Docker Hub (registry-1.docker.io)
- GitHub Container Registry (ghcr.io)
- LinuxServer.io (lscr.io)
- Any OCI-compliant registry

Fixes #303
2025-12-02 09:50:24 +00:00
Muhammad Ibrahim 560e87c1d2 Front-end more Ui enhancements for mobile view 2025-11-30 22:34:10 +00:00
Muhammad Ibrahim 85215b071d Agent Queue table mobile ui 2025-11-28 22:55:57 +00:00
Muhammad Ibrahim 158cc29f94 Host Detail & Repo UI Fixes 2025-11-28 22:16:56 +00:00
Muhammad Ibrahim a853d36a6f Mobile fixes #1 2025-11-22 14:34:53 +00:00
9 Technology Group LTD 08f41bc9e0 Merge pull request #336 from PatchMon/release/1-3-5
put bash in for proxmox
v1.3.6
2025-11-18 21:47:21 +00:00
Muhammad Ibrahim 6f7dbdb04b put bash in for proxmox 2025-11-18 21:46:37 +00:00
9 Technology Group LTD 909698ac11 Merge pull request #334 from PatchMon/release/1-3-5
Release/1 3 6
2025-11-18 20:36:12 +00:00
Muhammad Ibrahim aaed443081 new binary 2025-11-18 20:13:12 +00:00
Muhammad Ibrahim 5b96b67db9 Fixed some prisma issue on kernel displaying
Fixed multi host selection button to not select all
updating to 1.3.6
2025-11-18 20:08:34 +00:00
9 Technology Group LTD c6a2163e79 Merge pull request #333 from PatchMon/release/1-3-5
Release/1 3 5
2025-11-18 18:15:41 +00:00
Muhammad Ibrahim b55ee6a6e0 Fixing proxmox auto-enrolment script 2025-11-18 18:10:38 +00:00
9 Technology Group LTD e983d39bd6 Merge pull request #331 from PatchMon/release/1-3-5
fixing host route of version checking for other architectures
v1.3.5
2025-11-17 22:09:47 +00:00
Muhammad Ibrahim 189de7a593 fixed linting 2025-11-17 21:59:19 +00:00