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
52593e47c7
Remove dangling Coterm properties
2024-02-15 16:15:09 -06:00
Eric Wang
92405f8759
Add verify_tls to REST API
2024-01-28 11:25:05 -06:00
Eric Wang
bafb77b206
get Coterm working again!
2023-11-30 22:59:23 -06:00
Eric Wang
95491e39dc
Add backend support for Coterm
2023-11-29 19:27:05 -06:00
Eric Wang
5889d1abb9
optimize imports project-wide
2023-11-06 04:20:25 +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
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
2786de38ff
Rename IPAddress to Address, add AddressPool, use JWT for SSO tokens
2023-05-28 15:32:34 +00:00
Eric Wang
b7607815e9
i don't know
2023-05-21 04:45:06 +00:00
Shift
c193e54ef8
Remove redundant typing from DocBlocks
2023-04-28 06:51:15 +00:00
Shift
c42a4428ef
Add type hints from DocBlocks
2023-04-28 06:51:14 +00:00
Shift
445b1965b7
Apply Laravel coding style
...
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions.
You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint ), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer ), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer ) for your project root.
For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style ).
2023-04-28 06:50:51 +00:00
Eric Wang
1b7ebe806b
add v3.9.0-rc.3
2023-04-07 01:58:25 +00:00
Eric Wang
35c4cbfe7a
add tokens page
2023-01-21 17:19:55 +00:00
Eric Wang
555235cfbe
add general server settings
2023-01-07 01:46:55 +00:00
Eric Wang
611f69e8b9
add node settings frontend for now
2023-01-01 01:17:45 +00:00
Eric Wang
0907a35cc2
add addresses table
2022-12-28 20:52:06 +00:00
Eric Wang
2fc14c56d4
Add templates backend and frontend fetching
2022-12-25 03:24:41 +00:00
Eric Wang
53bd539bb7
Add importing and deleting ISOs
2022-12-23 21:26:07 +00:00
Eric Wang
8fd90f3204
Add server table and base iso library
2022-12-22 18:43:47 +00:00
Eric Wang
777ea7c9f2
Add more api endpoints
2022-12-21 01:33:32 +00:00
Eric Wang
c333a7fc70
Add node allocated details
2022-12-18 17:56:20 +00:00
Eric Wang
ff8517ecaf
Add create node form
2022-12-17 02:34:11 +00:00
Eric Wang
58971f7023
Add nodes viewing page
2022-12-16 04:14:52 +00:00
Eric Wang
c18f96cca2
Add locations
2022-12-11 04:04:12 +00:00
Eric Wang
7883b5a2c5
Add dashboard
2022-10-30 20:33:54 +00:00
Eric Wang
2d4477425e
Fix event hydrating and deprecate installing field
2022-10-13 23:24:54 +00:00
Eric Wang
39888e8f57
Clean up code styles
2022-10-10 00:18:22 +00:00
Eric Wang
17e100f688
Revert from using uuid to id for now
2022-10-09 15:47:16 +00:00
Eric Wang
752aeeca61
Do a little bit of refactoring of the namespaces
2022-09-20 00:14:17 +00:00
Eric Wang
b14df895cb
Add paginators to admin area
2022-09-07 01:16:58 +00:00
Eric Wang
66ad187ed3
Fix factories and add pagination without buttons
2022-09-06 05:00:30 +00:00