Girish Ramakrishnan
5539f74bea
system: add disk usage task
2025-07-17 00:09:50 +02:00
Girish Ramakrishnan
4b79881472
system: route to get filesystem
2025-07-16 17:20:28 +02:00
Girish Ramakrishnan
5cf266c5be
test: fix nock usage
...
by default, nock intercepts and redirects everything to 127.0.0.1:80
this is regardless of any http request is mocked or not
nock.isActive() - is interceptor active
nock.restore() removes the interceptor
nock.activate() - enables interceptor again
nock.cleanAll() - deletes all mocks. nothing to do with interceptor
nock.activeMock() - to get the active mocks
nock.persist(true/false) - the mock will reply once and set isDone(). but you can persist(true)
2025-06-06 15:49:07 +02:00
Girish Ramakrishnan
56f6519b3e
rename disks to filesystems
2024-11-30 12:04:04 +01:00
Girish Ramakrishnan
742a04d149
system: expose getDisks only for tests
2024-11-30 10:42:06 +01:00
Girish Ramakrishnan
cbf1b47332
system: merge info and dmi routes
...
also return uptimeSecs instead of abstract date
2023-12-04 01:11:26 +01:00
Girish Ramakrishnan
72083f59cd
system: dmi information
2023-12-04 00:31:18 +01:00
Girish Ramakrishnan
8a20b603f5
system: cpu route
2023-12-04 00:23:25 +01:00
Girish Ramakrishnan
b9e584752b
Fix system test
2023-12-03 15:52:31 +01:00
Johannes Zellner
10e07fa300
Add disk speeds to disk usage data
2023-01-27 21:05:25 +01:00
Girish Ramakrishnan
549cb92ce7
return swap listing in the disk route
2022-11-04 15:25:12 +01:00
Girish Ramakrishnan
17c7cc5ec7
Remove external df module
...
It has some parsing issues with locale
2022-10-18 19:56:18 +02:00
Girish Ramakrishnan
62d68e2733
graphs: remove the disk info
2022-10-12 10:30:02 +02:00
Girish Ramakrishnan
a3f7ce15ab
system: rework disks api to return by filesystem
2022-10-12 09:42:14 +02:00
Girish Ramakrishnan
3c963329e9
du: exclude option
2022-10-11 23:14:50 +02:00
Girish Ramakrishnan
656f3fcc13
add system.du
2022-10-11 23:06:54 +02:00
Johannes Zellner
d92f4c2d2b
Ensure a whole test run succeeds for me on archlinux
2021-09-16 15:20:26 +02:00
Girish Ramakrishnan
42774eac8c
docker.js and services.js: async'ify
2021-08-26 18:23:31 -07:00
Girish Ramakrishnan
a8760f6c2c
tests: cleanup common variables
2021-08-13 11:34:05 -07:00
Girish Ramakrishnan
8da4eaf4a3
fix tests
2021-06-03 16:08:39 -07:00
Girish Ramakrishnan
fc52cd7e0c
volumes: async'ify
2021-05-12 11:46:04 -07:00
Johannes Zellner
5268d3f57d
Fix test for systems without swap
2020-06-15 16:06:54 +02:00
Girish Ramakrishnan
a98551f99c
rename disks to system
2019-11-21 13:01:08 -08:00