tigattack
517b5cd7cb
feat(backend): make requests to health endpoint debug log level
...
avoids spam in docker
2025-09-22 22:23:54 +01:00
tigattack
5dafe34322
feat(backend): add option to log to console
...
Enabled by `PM_LOG_TO_CONSOLE=true`
2025-09-22 22:23:54 +01:00
tigattack
677d3b4df1
feat(backend): wait for DB on start
2025-09-22 22:23:54 +01:00
tigattack
c3365fedb2
fix: conflate frontend_url and server_url
2025-09-22 22:23:54 +01:00
Muhammad Ibrahim
f23f075e41
Added more dashboard cards
...
Fixed permissions roles creation bug
On initial deployment, made it so the agent being populated will be set as default and current
Fixed host detail to include package numbers
Added ability to add full name
- fixed loads of other bugs caused by camelcase to snake_Case migration
2025-09-22 21:31:14 +01:00
Muhammad Ibrahim
9b76d9f81a
don't think the setting of agent update is neede din the env.example as its all done via the server itself
2025-09-22 02:43:58 +01:00
Muhammad Ibrahim
64d9c14002
Sorted the issue out with installation file not being found upon deployment. Ensured jq dependancy is installing in version 1.2.5 and above of the installation commands
2025-09-22 02:39:22 +01:00
Muhammad Ibrahim
9a01d27d8b
Removed populate-agent-version.js as now agent is being imported if newer than existing upon service start
2025-09-22 02:30:12 +01:00
Muhammad Ibrahim
d72f96b598
Improved Agent version import upon service start
2025-09-22 02:22:25 +01:00
Muhammad Ibrahim
8f8b23ccf1
Fixed agent version display issue
2025-09-22 01:46:35 +01:00
Muhammad Ibrahim
1392976a7b
Fixed agent version display issue
2025-09-22 01:45:27 +01:00
Muhammad Ibrahim
797be20c45
Created toggle for enable / disable user signup flow with user role
...
Fixed numbers mismatching in host cards
Fixed issues with the settings file
Fixed layouts on hosts/packages/repos
Added ability to delete multiple hosts at once
Fixed Dark mode styling in areas
Removed console debugging messages
Done some other stuff ...
2025-09-22 01:06:18 +01:00
Muhammad Ibrahim
a268f6b8f1
Fixed isAuthenticated function
2025-09-21 22:55:38 +01:00
Muhammad Ibrahim
a4770e5106
Addeed detailed logging to track first time admin setup
2025-09-21 22:52:23 +01:00
Muhammad Ibrahim
523756cef2
Fix AuthContext useEffect dependencies and add comprehensive debug logging for first-time setup flow
2025-09-21 22:48:29 +01:00
Muhammad Ibrahim
697da088d4
Fixed admin count endpoint
2025-09-21 22:42:47 +01:00
Muhammad Ibrahim
739ca6486a
Fix React error #301
2025-09-21 22:37:53 +01:00
Muhammad Ibrahim
38d299701d
Added security restrictions to admin count endpoint and force admin setup for testing
2025-09-21 22:31:07 +01:00
Muhammad Ibrahim
5d35abe496
Implemented first-time admin registration flow if no admin present
2025-09-21 22:09:37 +01:00
Muhammad Ibrahim
7ff051be3e
Implemented first-time admin registration flow if no admin present
2025-09-21 22:08:07 +01:00
Muhammad Ibrahim
2de80f0c06
Updated frontend to snake_case and fixed bugs with some pages that were not showing. Fixed authentication side.
2025-09-21 20:27:47 +01:00
9 Technology Group LTD
875ab31317
Merge pull request #2 from AdamT20054/dev
...
Adam Made this with love (and a bit of hate) :D
Whilst he worked until stupid o'clock to get it completed.
2025-09-21 18:49:16 +01:00
AdamT20054
a96439596d
Script actually downloads on deb systems (i only use deb, sm1 else will have to test the other distros)
2025-09-21 07:54:43 +01:00
AdamT20054
d2bf201f1e
Fix script path in hostRoutes to correct installation script location. **Might break non docker installs?**
2025-09-21 07:35:10 +01:00
AdamT20054
b2d3181ffe
This is MY docker config, just using it to test
2025-09-21 07:31:51 +01:00
AdamT20054
5a0229cef4
Should fix host configs generating with default params.
...
Another issue, caused by the wack prisma migration.
2025-09-21 07:28:12 +01:00
AdamT20054
f73c10f309
fml
2025-09-21 07:18:04 +01:00
AdamT20054
8722bd170f
Fix updating the server URL in the dashboard not updatinng.
2025-09-21 07:11:58 +01:00
AdamT20054
fd76a9efd2
Refactor authentication and routing code to use consistent naming conventions for database fields.
...
Do NOT update the schema like that again for the love of god.
2025-09-21 06:59:39 +01:00
AdamT20054
584e5ed52b
Refactor database model references to use consistent naming conventions and update related queries
2025-09-21 06:13:05 +01:00
AdamT20054
c5ff4b346a
Refactor agent version handling to use consistent naming and add download URL
2025-09-21 05:19:09 +01:00
AdamT20054
cc9f0af1ac
Fixed my cp fuckup.
2025-09-21 04:30:54 +01:00
Adam O'neill
d7460068d7
Merge branch 'dev' into dev
2025-09-21 04:18:07 +01:00
AdamT20054
9135fa93b3
Update Dockerfile to copy backend files and include agent version population script
2025-09-21 04:14:36 +01:00
AdamT20054
662a8d665a
Add script to populate agent version from Docker container initialization
2025-09-21 04:13:40 +01:00
Muhammad Ibrahim
f3351d577d
fixed rate limits into env
2025-09-21 03:58:22 +01:00
AdamT20054
e1b8e4458a
Add signup functionality to Login component with email support and proxy middleware for API requests
2025-09-21 03:32:41 +01:00
AdamT20054
976ca79f57
Add public signup endpoint for user registration with validation
2025-09-21 03:28:39 +01:00
AdamT20054
01a8bd6c77
Add signup API endpoint for user registration
2025-09-21 03:23:55 +01:00
AdamT20054
d210d6adde
Update Dockerfile to install OpenSSL and simplify startup command
2025-09-21 03:23:33 +01:00
AdamT20054
229ba4f7be
Add Docker configuration for PostgreSQL, backend, and frontend services
2025-09-21 01:43:34 +01:00
Muhammad Ibrahim
9a3827dced
Fix hardcoded 1.2.4 values - make frontend load current version from API on mount and update User-Agent dynamically
2025-09-20 14:49:05 +01:00
Muhammad Ibrahim
d687ec4e45
Make version detection dynamic - read from package.json instead of hardcoded values
2025-09-20 14:44:42 +01:00
Muhammad Ibrahim
bbd7769b8c
Fix hardcoded version numbers in backend - update to 1.2.5
v1.2.5
2025-09-20 13:48:25 +01:00
Muhammad Ibrahim
8245c6b90d
Remove manage-patchmon.sh from git tracking
...
- manage-patchmon.sh is in .gitignore and should not be tracked
- Both management scripts should remain local only
- Scripts are generated during deployment process
2025-09-20 13:28:07 +01:00
Muhammad Ibrahim
1afb9c1ed3
Remove manage-patchmon-dev.sh from git tracking
...
- manage-patchmon-dev.sh should remain local only
- Only manage-patchmon.sh should be tracked in git
- Dev script is for local development use
2025-09-20 13:27:28 +01:00
Muhammad Ibrahim
417942f674
Add automatic branch switching for updates
...
- Added branch detection and switching logic to both scripts
- manage-patchmon-dev.sh: automatically switches instances to dev branch
- manage-patchmon.sh: automatically switches instances to main branch
- Handles local changes by stashing before branch switch
- Creates local branch from origin if it doesn't exist locally
- Fixes issue where main branch instances couldn't be updated with dev script
2025-09-20 13:26:51 +01:00
Muhammad Ibrahim
75a4b4a912
Add jq installation to essential tools
...
- Added jq to essential tools installation in both manage-patchmon.sh and manage-patchmon-dev.sh
- jq is useful for JSON processing and API interactions
- Updated installation check to include jq command availability
- Enhanced status message to show all installed tools
2025-09-20 13:20:17 +01:00
Muhammad Ibrahim
4576781900
Improve agent version logic in manage-patchmon.sh
...
- Added priority-based version detection (agent script > codebase > package.json > database)
- Always update agent script content during updates, even if version exists
- Improved logging and fallback to 1.2.5
- Consistent behavior with manage-patchmon-dev.sh
2025-09-20 13:07:02 +01:00
Muhammad Ibrahim
0d10d7ee9b
Bump version to 1.2.5
...
- Updated root package.json to 1.2.5
- Updated backend package.json to 1.2.5
- Updated frontend package.json to 1.2.5
- Agent script already has AGENT_VERSION=1.2.5
2025-09-20 13:02:24 +01:00