Commit Graph

93 Commits

Author SHA1 Message Date
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
tigattack 0414ea39d0 fix(frontend): Use Date.now() instead of new Date() 2025-09-25 23:54:24 +01:00
tigattack 6357839619 fix(frontend): Change to an optional chain 2025-09-25 23:54:24 +01:00
tigattack c840a3fdcc fix(frontend): isNaN is unsafe 2025-09-25 23:54:24 +01:00
tigattack a1bf2df59d fix(frontend): unused vars/params 2025-09-25 23:54:24 +01:00
tigattack 67a5462a25 fix(frontend): imports are unused 2025-09-25 23:54:24 +01:00
tigattack a32007f56b fix(frontend): Static Elements should not be interactive 2025-09-25 23:54:24 +01:00
tigattack 6e1ec0d031 fix(frontend): elements with button role can be changed to button 2025-09-25 23:54:23 +01:00
tigattack ce2ba0face fix(frontend): hook does not specify its dependency 2025-09-25 23:54:23 +01:00
tigattack 53f8471d75 fix(frontend): Avoid using the index of an array as key property in an element 2025-09-25 23:54:23 +01:00
tigattack 74f42b5bee fix(frontend): A form label must be associated with an input 2025-09-25 23:54:23 +01:00
tigattack a84da7c731 fix(frontend): Static Elements should not be interactive 2025-09-25 23:54:23 +01:00
tigattack 83ce7c64fd style(frontend): fmt 2025-09-25 23:54:23 +01:00
tigattack 15902da87c fix(frontend): use useId() for input IDs 2025-09-25 23:54:23 +01:00
tigattack a11f180d23 fix(frontend): add missing explicit types for button elems 2025-09-25 23:54:23 +01:00
tigattack 35bf858977 fix(frontend): use useId() for input IDs 2025-09-25 23:54:23 +01:00