Muhammad Ibrahim
dd28e741d4
fix: manual host creation and improve host identification
...
- Add machine_id support for manual host creation from GUI
- Generate temporary 'pending-{uuid}' machine_id for new hosts
- Agent now collects and sends machine_id on every update
- Backend replaces pending machine_id with real one on first agent connection
- Remove unnecessary duplicate name check (friendly_name can be duplicated)
- Add get_machine_id() function to agent (reads from /etc/machine-id, /var/lib/dbus/machine-id, or generates fallback)
- Display IP address in Network tab on host details page
- Fix network tab visibility conditions to include host.ip
This ensures proper host identification using machine_id while maintaining backwards compatibility with API credentials as the primary authentication method.
2025-10-04 09:39:47 +01:00
Muhammad Ibrahim
35d3c28ae5
feat(ui): Display machine_id in host details page and enable search
...
- Added machine_id field to host details page
- Backend now returns machine_id in all host queries
- Users can search hosts by machine_id
- Added hostname index to schema for better performance
2025-10-04 09:15:43 +01:00
Muhammad Ibrahim
3cf2ada84e
migration: Add machine_id column to hosts table
...
- Adds machine_id as unique identifier for hosts
- Migrates existing hosts with 'migrated-' prefix
- Removes unique constraint from friendly_name
- Adds indexes for performance
2025-10-04 09:05:36 +01:00
Muhammad Ibrahim
b25bba50a7
feat(backend): Update routes to use machine_id for host identification
...
- Auto-enrollment endpoints now require and validate machine_id
- Check for duplicates by machine_id instead of friendly_name
- Added /hosts/check-machine-id endpoint for agent installer
- Bulk enrollment updated to handle machine_id
- Multiple hosts with same hostname now supported
2025-10-04 09:04:35 +01:00
Muhammad Ibrahim
811930d1e2
feat: Implement machine_id based host identification
...
- Add machine_id field to hosts schema (unique, indexed)
- Remove unique constraint from friendly_name (allow duplicate hostnames)
- Agent installer now generates/reads persistent machine_id
- Proxmox script retrieves machine_id from LXC containers
- Backend will check machine_id instead of hostname for duplicates
This allows multiple hosts with same hostname to coexist in PatchMon
2025-10-04 09:02:56 +01:00
Muhammad Ibrahim
f3db16d6d0
feat: Auto-install curl in LXC containers if missing before agent installation
2025-10-03 23:57:38 +01:00
Muhammad Ibrahim
b3887c818d
chore: Update GitHub repository URLs from 9technologygroup/patchmon.net to PatchMon/PatchMon
2025-10-03 23:39:58 +01:00
9 Technology Group LTD
f7b73ba280
Update app_build.yml
2025-10-03 23:26:46 +01:00
Muhammad Ibrahim
5c2bacb322
feat: Add failure details section showing last 5 lines of output for failed containers
2025-10-03 22:49:51 +01:00
Muhammad Ibrahim
657017801b
fix: Restore server.js from aa8b42c
(accidentally overwrote with older version)
2025-10-03 22:30:53 +01:00
Muhammad Ibrahim
5e8cfa6b63
feat: Add Proxmox LXC auto-enrollment script with dpkg error recovery
2025-10-03 22:27:04 +01:00
9 Technology Group LTD
f9bd56215d
Update README.md
...
Changed the RoadMap URL
2025-10-03 22:10:41 +01:00
9 Technology Group LTD
aa8b42cbb0
Merge pull request #129 from PatchMon/dev-1-2-8
...
Global Search + Proxmox Auto lxc enrollment
2025-10-03 22:08:26 +01:00
9 Technology Group LTD
51f6fabd45
Merge pull request #122 from PatchMon/feat/delete_repos
...
feat: add repository deletion functionality
2025-10-03 22:02:13 +01:00
tigattack
32ab004f3f
feat: add repository deletion functionality with confirmation modal
2025-10-03 21:53:13 +01:00
9 Technology Group LTD
71b27b4bcf
Merge pull request #123 from PatchMon/feat/package_detail
...
feat: add package detail page and list all packages with pagination
2025-10-03 18:03:57 +01:00
9 Technology Group LTD
60ca2064bf
Merge pull request #124 from PatchMon/feat/repo_detail
...
restyle repository details
2025-10-03 18:03:23 +01:00
tigattack
5ccd0aa163
feat(repository): make hosts in repo detail more consistent with package detail
2025-10-02 23:53:06 +01:00
tigattack
a13b4941cd
refactor(repository): use server icon in repository host count display
2025-10-02 23:52:56 +01:00
tigattack
482a9e27c9
fix(packages): fix security update badge
2025-10-02 23:52:11 +01:00
tigattack
f085596b87
fix(packages): update host property names
2025-10-02 23:52:10 +01:00
tigattack
757feab9cd
fix(packages): add needsUpdate and isSecurityUpdate fields to package hosts
2025-10-02 23:52:10 +01:00
tigattack
fffc571453
feat(packages): complete package detail page
...
Open by clicking package name
2025-10-02 23:52:10 +01:00
tigattack
6f59a1981d
feat(api): endpoint to retrieve hosts for a pkg
...
With pagination and search functionality
2025-10-02 23:52:10 +01:00
tigattack
8bb16f0896
fix(api): update package host fields to match database schema
2025-10-02 23:52:10 +01:00
tigattack
b454b8d130
feat(packages): show all packages by default, add pagination
2025-10-02 23:52:10 +01:00
9 Technology Group LTD
3fc4b799be
Merge pull request #121 from PatchMon/fix/jwt_secret_no_default
...
fix(auth): JWT_SECRET is required
2025-10-02 22:15:35 +01:00
tigattack
9c39d83fe5
fix(auth): JWT_SECRET is required
2025-10-02 21:26:19 +01:00
9 Technology Group LTD
2ce6d9cd73
Merge pull request #119 from PatchMon/docs/docker
...
docs(docker): clarify image tags
2025-10-02 21:09:54 +01:00
tigattack
e97ccc5cbd
docs(docker): clarify image tags
2025-10-02 21:01:55 +01:00
9 Technology Group LTD
1f77e459ce
1.2.7 Release
...
Please see the release notes.
v1.2.7
2025-10-02 18:12:09 +01:00
tigattack
9ddc27e50c
ci(docker): add QEMU setup
2025-10-02 18:05:30 +01:00
tigattack
26c58f687b
Merge pull request #115 from PatchMon/feat/docker_changes
2025-10-02 17:25:57 +01:00
tigattack
c004734a44
fix(docker): update image references to use the correct repository
2025-10-02 15:55:52 +01:00
tigattack
841b97cb5d
chore(docker): remove optional env vars from compose
2025-10-02 15:55:52 +01:00
tigattack
8464a3692d
docs(docker): restructure env var docs and add missing vars
2025-10-02 15:55:52 +01:00
tigattack
258bc67efc
docs(docker): update repo links with new URL
2025-10-02 15:55:52 +01:00
tigattack
b3c1319df4
docs(docker): clarify instructions for version-specific updates
...
Changes example version to 1.2.3 to hopefully make it clearer that this is JUST an example.
2025-10-02 15:55:52 +01:00
tigattack
f6d21e0ed5
docs(docker): improve secrets instructions, add JWT info
2025-10-02 15:55:52 +01:00
tigattack
b85eddf22a
feat(docker): add tags for dev images in compose file
2025-10-02 15:55:52 +01:00
tigattack
01dac49c05
refactor(docker): update PostgreSQL password placeholder in compose files
2025-10-02 15:55:52 +01:00
tigattack
ab97e04cc1
chore(docker): add service name to compose files
2025-10-02 15:55:52 +01:00
tigattack
50b47bdd65
feat(docker): add JWT configs to backend image & compose
2025-10-02 15:55:52 +01:00
tigattack
7a17958ad8
feat(env): validate required env vars on start
2025-10-02 15:55:52 +01:00
tigattack
806f554b96
Merge pull request #114 from PatchMon/ci/docker
2025-10-02 15:55:29 +01:00
Muhammad Ibrahim
373ef8f468
feat: Add interactive dpkg error recovery with automatic retry
2025-10-02 15:19:49 +01:00
Muhammad Ibrahim
513c268b36
fix: Reset install_exit_code per container and detect success via output message
2025-10-02 15:14:50 +01:00
Muhammad Ibrahim
13c4342135
feat: Remove 'proxmox-' prefix from friendly names, use hostname only
2025-10-02 14:39:36 +01:00
Muhammad Ibrahim
bbb97dbfda
fix: Remove EXIT from error trap to prevent false failures on successful completion
2025-10-02 14:37:38 +01:00
tigattack
31a95ed946
ci(docker): simplify image name template
2025-10-02 13:56:21 +01:00