Commit Graph

193 Commits

Author SHA1 Message Date
Muhammad Ibrahim aca8b300dd Regenerated package-lock.json 2025-09-29 15:10:21 +01:00
Muhammad Ibrahim 3b72794307 made the crontab installation safe as opposed to nuking it - spotted by thespad 2025-09-29 12:06:13 +01:00
tigattack 40bf8747b1 fix(frontend.dockerfile): remove unused line 2025-09-28 18:24:02 +01:00
tigattack 178f871582 chore: remove unnecessary use of npx 2025-09-28 18:23:29 +01:00
tigattack 840664c39e chore: fixup package-lock, remove unused deps 2025-09-28 18:20:06 +01:00
Muhammad Ibrahim c18696f772 Fixed syntax in npm commands 2025-09-28 16:09:50 +01:00
Muhammad Ibrahim 6adbbca439 changed Docker flags to RUN npm ci --ignore-scripts && \
npm install --only=optional

So that Vite can install dependancies it needs for multi Arch builds
2025-09-28 16:04:26 +01:00
Muhammad Ibrahim edfd82a86d Added --ignore-scripts to npm ci commands for lefthook script to not takeplace upon build 2025-09-28 15:58:01 +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 df04770113 Merge pull request #60 from tigattack/more_fixes
More fixes
2025-09-27 09:34:12 +01: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 be3fe52aea fix(api): resolve duplicate key constraint errors in host package updates 2025-09-27 00:52:04 +01:00
9 Technology Group LTD d85920669d Merge pull request #58 from tigattack/post_lint_fixes
Post-lint fixes
2025-09-26 20:28:39 +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 ba087eb23e chore: add types/bcryptjs 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
9 Technology Group LTD 40a9003e6f Merge pull request #52 from tigattack/style/fmt
Lint & format code, add rules, hooks, and workflow
2025-09-26 09:00:07 +01:00
tigattack e9bac06526 Merge pull request #2 from 9technologygroup/iby-suggestions-for-pr-52 2025-09-26 08:03:22 +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
tigattack 1ff3da0a21 fix(frontend): add missing useId imports 2025-09-26 01:02:29 +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 3c01c4bfb2 chore: add lefthook commit hook 2025-09-26 00:24:32 +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 22f6befc89 fix(backend): lint errors 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 3bdf3d1843 ci: add code quality workflow 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