Commit Graph

108 Commits

Author SHA1 Message Date
Muhammad Ibrahim
7682d2fffd Remove unused Settings import from App.jsx 2025-09-30 22:51:20 +01:00
Muhammad Ibrahim
d6db557d87 Replace old settings page with new SettingsLayout for alert-channels route
- Create new AlertChannels component with proper layout
- Update routing to use SettingsLayout instead of old Settings component
- Add placeholder content for alert channels functionality
- Remove dependency on old settings server page
2025-09-30 22:51:15 +01:00
Muhammad Ibrahim
af62a466c8 Remove unused settings query from main HostDetail component 2025-09-30 22:49:45 +01:00
Muhammad Ibrahim
434fa86941 Fix unused getCurlFlags function by moving it to CredentialsModal component scope 2025-09-30 22:49:40 +01:00
Muhammad Ibrahim
8eb75fba7d Fixed agent outputs and improved crontab chancing logics, added timedatectl functionality 2025-09-30 22:46:00 +01:00
Muhammad Ibrahim
8be25283dc Relaid out settings page and configured agent and other communication to use curl flags which can be configured to ignore ssl cert if self-hosted. 2025-09-30 21:38:13 +01:00
Muhammad Ibrahim
ed0cf79b53 Added settings pages to bring all the settings together from patchmon options, profile page and server settings. 2025-09-30 19:48:28 +01:00
Muhammad Ibrahim
8ca22dc7ab Fixed crontab syntax issue with timing 2025-09-30 09:31:12 +01:00
tigattack
841b6e41ff fix: remove frontend pkg lock 2025-09-29 21:53:23 +01:00
tigattack
d626493100 fix: Revert Dockerfile edits and lockfile changes
This reverts commits 8409b71857 and 78eb2b183e
2025-09-29 21:53:13 +01:00
Muhammad Ibrahim
44f90edcd2 Suppress false positive linting warnings for useId variables 2025-09-29 21:08:42 +01:00
Muhammad Ibrahim
1cc5254331 Fix missing useId variables in Settings component
- Restored all missing useId() variables that were accidentally removed
- Fixed ReferenceError: protocolId is not defined
- Settings page should now work correctly
2025-09-29 21:08:32 +01:00
Muhammad Ibrahim
e9843f80f8 Fix linting warnings for unused variables 2025-09-29 20:42:29 +01:00
Muhammad Ibrahim
b49ea6b197 Update PatchMon version to 1.2.7
- Updated agent script version to 1.2.7
- Updated all package.json files to version 1.2.7
- Updated backend version references
- Updated setup script version references
- Fixed agent file path issues in API endpoints
- Fixed linting issues (Node.js imports, unused variables, accessibility)
- Created comprehensive version update guide in patchmon-admin/READMEs/
2025-09-29 20:42:14 +01:00
Muhammad Ibrahim
49c02a54dc Changed Discord Link 2025-09-29 17:57:13 +01:00
Muhammad Ibrahim
78eb2b183e Docker package-lock.json generation for each backend and frontend folder. 2025-09-29 17:20:13 +01:00
Muhammad Ibrahim
20df1eceb1 Resolve merge conflict - use v1-2-7 version 2025-09-29 15:38:07 +01:00
Muhammad Ibrahim
372bb42fc5 Merge branch 'v1-2-7' into dev 2025-09-29 15:34:58 +01:00
Muhammad Ibrahim
4a6b486ba1 package-lock.json rebuild 2025-09-29 15:28:27 +01:00
9 Technology Group LTD
c6459a965f Merge branch 'main' into dev 2025-09-29 14:56:48 +01:00
tigattack
178f871582 chore: remove unnecessary use of npx 2025-09-28 18:23:29 +01:00
Muhammad Ibrahim
bed52a04b2 Merge remote-tracking branch 'origin/v1-2-7' into v1-2-7 2025-09-28 15:46:02 +01:00
9 Technology Group LTD
7369e23061 Merge pull request #65 from 9technologygroup/renovate/vitejs-plugin-react-5.x
chore(deps): update dependency @vitejs/plugin-react to v5
2025-09-28 15:25:28 +01:00
renovate[bot]
518b08895e chore(deps): update dependency @vitejs/plugin-react to v5 2025-09-28 14:19:33 +00:00
renovate[bot]
aba8ec5d01 fix(deps): update dependency lucide-react to ^0.544.0 2025-09-28 14:19:20 +00:00
tigattack
f99e01a120 refactor(frontend): don't store current host tab in localstorage 2025-09-27 02:26:25 +01:00
tigattack
175042690e refactor(frontend): don't store permissions in localstorage 2025-09-27 02:26:21 +01:00
tigattack
102546e45d fix(frontend): eliminate duplicate API calls during log in/out 2025-09-27 01:50:03 +01:00
tigattack
751a202fec fix(frontend): actually fix login after signup 2025-09-27 01:49:53 +01:00
tigattack
c886b812d6 chore: clarify auto-update feature 2025-09-27 00:52:04 +01:00
tigattack
c4e056711b fix(frontend): use React Router navigation to open add host modal
Fixes page reload on add host button click.
2025-09-26 20:17:09 +01:00
tigattack
60fa598803 fix(frontend): solve missing imports 2025-09-26 20:17:09 +01:00
tigattack
5c66887732 refactor(frontend): optimise auth process
- Stops frontend trying to make calls that require auth before auth has occured
- Stops frontend making calls that aren't necessary before auth has occured
- Implements state machine to better handle auth phases
2025-09-26 20:17:09 +01:00
tigattack
e3aa28a8d9 fix: login after signup
Also resolves entire user object being return to client, including password_hash... ⚠️
2025-09-26 20:17:09 +01:00
tigattack
71d9884a86 fix(frontend): imports are unused 2025-09-26 20:16:41 +01:00
Muhammad Ibrahim
a76a722364 Fixed inline toggle changes when viewing the list of hosts in table 2025-09-26 09:09:02 +01:00
Muhammad Ibrahim
0c0446ad69 Added a few dashboard enhancements with Doughnut charts 2025-09-26 02:10:55 +01:00
Muhammad Ibrahim
dbebb866b9 Removed formreturn data to be outputted in console log when host is created 2025-09-26 01:09:08 +01:00
Muhammad Ibrahim
eb3f3599f9 Fixed group selection to be in effect when selecting the group upon host creation page 2025-09-26 01:06:56 +01:00
Muhammad Ibrahim
527b0ccc3c Fixed auto-update toggle to refresh upon save 2025-09-26 01:05:49 +01:00
Muhammad Ibrahim
641272dfb8 Put in more env variables and fallback to localhost if BACKEND_URL and BACKEND_PORT is not found
Fixed imports for react imports for useMemo, useEffect etc from hosts and HostDetail files
2025-09-26 00:53:44 +01:00
tigattack
35eb9303b1 style: fmt 2025-09-26 00:24:32 +01:00
tigattack
469107c149 fix: incorrect cardId 2025-09-26 00:24:32 +01:00
tigattack
03802daf13 fix(frontend): bad key 2025-09-26 00:24:32 +01:00
tigattack
17509cbf3c fix(frontend): fix missing icons 2025-09-26 00:24:32 +01:00
tigattack
ffbf5f12e5 fix(frontend): add missing import 2025-09-26 00:24:32 +01:00
tigattack
ea550259ff fix(frontend): unused imports 2025-09-25 23:54:24 +01:00
tigattack
047fdb4bd1 fix(frontend): unused parameters 2025-09-25 23:54:24 +01:00
tigattack
adc142fd85 fix(frontend): Missing radix parameter 2025-09-25 23:54:24 +01:00
tigattack
42f6971da7 fix(frontend): variable unused 2025-09-25 23:54:24 +01:00