135 Commits

Author SHA1 Message Date
Eric Wang
44279c5069 feat: remove meaningless overview card subtext 2026-05-28 21:40:17 -04:00
Eric Wang
8e1729ec6f feat: add admin overview dashboard with metrics endpoint
Adds /api/admin/overview returning cached aggregate metrics for servers,
nodes, capacity, addresses, backups, and ISOs, plus a refreshed admin
dashboard UI consuming it via SWR.

Refactored from #153:
- Split OverviewService into focused per-section methods over a single
  orchestrator, dropping the monolithic freshMetrics()
- Dropped the recent-activity panel and supporting index migration —
  ActivityLog has no writers in the codebase, so the panel always
  rendered empty
- Removed the 999.99 percent cap; overallocation is a legitimate state
  and the frontend already clamps bar width
- Added capacity byte-conversion and restoring-bucket test cases

Co-Authored-By: Ajdin <AjdinDev@users.noreply.github.com>
2026-05-28 21:22:40 -04:00
Eric Wang
52e9c05963 Fix US Keyboard Characters validation 2024-03-07 21:09:27 -06:00
Eric Wang
137f94a89c Remove stray console.log 2024-02-16 09:42:25 -06:00
Eric Wang
d544501c12 Delete dead AddressController routes 2024-02-16 09:41:05 -06:00
Eric Wang
e417e60298 Fix buggy nodes lookup in NodesMultiSelect 2024-02-04 19:07:14 -06:00
Eric Wang
855e86c02f Finish rest of verify tls implementation 2024-01-28 11:40:26 -06:00
Eric Wang
b81a251ef5 Add copy server UUID to ServersTable.tsx 2024-01-28 11:12:02 -06:00
Eric Wang
62c5193d7d Fix wrong MiB to bytes bandwidth limit conversion 2024-01-13 15:39:27 -06:00
Eric Wang
3f42c012c1 filter servers by addressPoolId for IPAM 2023-12-22 10:59:36 -06:00
Eric Wang
3e627efdb0 add copy ID to clipboard for nodes & templates 2023-12-05 14:07:02 -06:00
Eric Wang
bafb77b206 get Coterm working again! 2023-11-30 22:59:23 -06:00
Eric Wang
c28294d613 indicate whether EditPoolModal is fetching attached nodes 2023-11-12 00:24:16 +00:00
Eric Wang
b8758dfbf5 allow NodesMultiSelect to have a loading prop 2023-11-12 00:22:13 +00:00
Eric Wang
c97b1b8bb6 remove deprecated zod functions in EditAddressModal 2023-11-12 00:22:00 +00:00
Eric Wang
665ed1b7c1 allow IP address assigned server to be nullable 2023-11-11 23:33:53 +00:00
Eric Wang
99d50a67fa remove server migrations between nodes 2023-11-11 17:28:22 +00:00
Eric Wang
26db9c2525 rename server deletion failed modal action button 2023-11-11 17:25:53 +00:00
Eric Wang
d8618cbe74 resolve typo on disk overallocation field 2023-11-11 16:01:34 +00:00
Eric Wang
4d08de5642 add IPAM node allocation - NEEDS WORK! 2023-11-11 06:39:33 +00:00
Eric Wang
311aa04c0a optimize frontend imports & complete migration admin node page migration from store context to SWR 2023-11-06 04:41:30 +00:00
Eric Wang
5889d1abb9 optimize imports project-wide 2023-11-06 04:20:25 +00:00
Eric Wang
3eb076967c organize imports in the front end 2023-11-06 04:12:03 +00:00
Eric Wang
927896748e so fucking much 2023-11-06 04:07:11 +00:00
Eric Wang
c2d6c03d25 idk 2023-09-02 03:51:16 +00:00
Eric Wang
f64afe2196 add ip range counting 2023-09-02 02:51:55 +00:00
Eric Wang
e965e1bd4e add frontend support for bulk imports 2023-08-07 05:08:45 +00:00
Eric Wang
4510937d8b add bulk address import (unfinished) 2023-08-07 01:25:37 +00:00
Eric Wang
4a621cb013 add address deleting and updating 2023-08-07 00:51:47 +00:00
Eric Wang
d0e5f7876c add address pool creation, deletion, and editing 2023-08-06 17:42:25 +00:00
Eric Wang
2547e84a1f add create pool modal 2023-08-05 16:24:28 +00:00
Eric Wang
c60711a74a add address updating/deleting 2023-07-31 14:47:21 +00:00
Eric Wang
a22154d676 do not prepend address if not first page 2023-07-30 22:11:20 +00:00
Eric Wang
930a5ae42b add address creation 2023-07-30 22:10:30 +00:00
Eric Wang
f22971d980 delete old Checkbox component & add breadcrumbs 2023-07-18 23:33:31 +00:00
Eric Wang
cb412ae97c add address pool addresses page table 2023-07-18 17:08:08 +00:00
Eric Wang
3ab8a1421c add address pools index page and addresses base for now 2023-07-12 21:15:09 +00:00
Eric Wang
cb14f88501 [3.0-SAFE] CreateIsoModal.tsx change "new" to "download" button text 2023-06-20 01:53:48 +00:00
Eric Wang
b329f4b0cf [3.0-SAFE] add ISO imports 2023-06-20 01:15:19 +00:00
Eric Wang
a6ae710156 [3.0-SAFE] Refactor Create ISO Modal 2023-06-19 23:40:39 +00:00
Eric Wang
34cf4ccaf4 add index AddressController method, add AddressTransformer return type, and optimize imports 2023-06-17 19:34:40 +00:00
Eric Wang
fe94183705 add 2nd simpler server data structure, refactor includes to include, use address pool in address transformers 2023-06-17 01:43:57 +00:00
Eric Wang
2d5d9becaa add unfinished backend for ip pool support 2023-06-13 04:13:52 +00:00
Eric Wang
0f7e5bf26e Convert admin/users to use SWR over easy peasy 2023-06-11 16:00:48 +00:00
Eric Wang
00a38872d4 update coterm validation rules + fix frontend routes 2023-06-10 14:47:17 +00:00
Eric Wang
dc439c9efd Add Coterm reset modal and form reset 2023-05-21 14:12:16 +00:00
Eric Wang
b7607815e9 i don't know 2023-05-21 04:45:06 +00:00
Eric Wang
9bed33d655 refactor nodes info card & add coterm authenticate 2023-05-21 01:34:12 +00:00
Eric Wang
d95281c3fd refactor admin servers page 2023-05-19 04:17:27 +00:00
Eric Wang
594927ea97 refactor servers page (overview + general settings) 2023-05-16 04:07:48 +00:00