Commit Graph

60 Commits

Author SHA1 Message Date
9e4d2e031d Experimenting with chart.js 2025-09-04 08:18:26 +02:00
e355999c53 Disabled auto decompression for security reasons 2025-09-03 19:47:52 +02:00
39b4ee7a00 Polling of services is done based on services in DB 2025-09-03 18:32:02 +02:00
5ddafd3b98 First big step in moving towards DB storage instead of memory storage 2025-09-03 18:28:08 +02:00
5a7aa44d6c Creates logs when services are pinged 2025-09-03 17:11:02 +02:00
dea5278731 Migrate db to connect logs to service. Deleted any previous logs as they are useless 2025-09-03 16:44:27 +02:00
9908683e45 Added a function that turns a service instance into a dictionary. 2025-09-03 16:05:01 +02:00
96c8c2d5c8 Update requirements.txt 2025-09-03 15:43:44 +02:00
87aacaa08a Add services to db if they don't exist 2025-09-03 15:43:28 +02:00
bb8f3e6c71 Removed packages that aren't used and assed a script to generate db upgrade 2025-09-03 15:20:49 +02:00
bf43999d36 aiohttp seems to have fixed an issue with Plex HEAD requests 2025-09-03 09:01:18 +02:00
3f4dc83929 Forgot to update requirements.txt 2025-09-03 08:19:36 +02:00
5b1b43f9ad Switched from httpx to aiohttp. Hopefully fixes some SSL handshake issues 2025-09-03 08:17:07 +02:00
324f75d100 Fixed margin and padding top 2025-09-02 22:09:52 +02:00
a63e313036 Increased wait bar size and fixed mobile viewing 2025-09-02 22:01:55 +02:00
0c580bc9f1 Improved the progress bar / waiting bar 2025-09-02 21:43:20 +02:00
5a42d998d6 Scuffed progress bar 2025-09-02 20:26:32 +02:00
7ad601fc14 Increased timeout to 4s and runs every 5s. Added a 5s wait in parralel with the pings to set it to a minimum of 5s but allows it to go longer. 2025-09-02 20:26:23 +02:00
446f36fc5b Another small mistake 2025-09-02 10:25:44 +02:00
07325125f1 Fixed build error where permissions were being applied to a deleted file 2025-09-02 10:22:18 +02:00
7d8b5df046 Creates db and assumes it's up to date. This replaces init() 2025-09-02 10:00:12 +02:00
3eb066922d Removed entrypoint as migration is handled by app 2025-09-02 09:43:45 +02:00
1f88bcf396 Added logs for each ping. Contains no data yet and estimates 15.7 mil rows a year. Considering adding log aggregation. Moved some folders and files into mem folder due to circular import. 2025-09-02 09:34:46 +02:00
28493e5790 Moved basic db class/model to models.py 2025-09-01 10:12:50 +02:00
826cf6a26a Update requirements.txt 2025-09-01 10:10:58 +02:00
7ee6ed88c1 Added an SQLite database that will host ping logs. DB file is automatically created and upgraded 2025-09-01 10:05:39 +02:00
f685e2b705 Change Plex from HEAD ping to GET ping, hopefully fixes random disconnect issue 2025-08-31 17:21:02 +02:00
16c61fa482 Added two services 2025-08-31 17:11:05 +02:00
93bc1d7f04 Added option to ping with a different method (HEAD and GET) 2025-08-31 16:28:38 +02:00
b8c5114335 Added a little padding to fix text issues 2025-08-31 15:53:21 +02:00
9c7f6e9a01 Changed page title and added a favicon 2025-08-31 15:45:49 +02:00
b7f32c2bce Hide ping when offline 2025-08-31 15:36:24 +02:00
36c0758b6e Changed icon size and text size 2025-08-31 15:32:20 +02:00
3cf32d9296 Potential mobile text size fix 2025-08-31 15:16:44 +02:00
ea827e1366 Change the frontend to update every 5 seconds 2025-08-31 15:13:42 +02:00
e136c8d605 Displays ping provided by api 2025-08-31 15:07:00 +02:00
6848aab1e1 Added a lock icon to the "private" URLs 2025-08-31 14:54:45 +02:00
903fb525c0 Made the blocks on the dashboard clickable 2025-08-31 14:24:36 +02:00
6103a34ae1 Switched from browser refresh to update webpage with API fetch
Added an ID field to the API. Added a fetch script that updates the webpage every second.
2025-08-31 14:06:55 +02:00
f2a006b397 Updated frontend and changed a little backend
Added svg icons to the applications. Frontend will display the icon by name of [id].[icon_filetype] which defaults to svg. Able to set to other filetypes. Changed the frontend to center the application
2025-08-31 13:31:15 +02:00
7cb07691bb Added icon filetype so icons can be saved as [id].[icon_filetype] 2025-08-31 13:06:07 +02:00
3e8ecf7565 Added labels to each service 2025-08-31 13:00:23 +02:00
4876f16760 Run on all addresses 2025-08-31 12:36:53 +02:00
67cad7f8a9 Set port to 80 and disable the reloader 2025-08-31 12:34:38 +02:00
9323605b48 Renamed DockerFile to Dockerfile 2025-08-31 12:24:52 +02:00
0431ccbec4 Rename DockerFile to Dockerfile 2025-08-31 12:24:28 +02:00
363196c0db Added requirements.txt, removed an unused package 2025-08-31 12:21:34 +02:00
aadcc81d02 Merge branch 'main' of https://github.com/StefBuwalda/dashboard_test 2025-08-31 12:18:09 +02:00
e0349ab058 Set up docker auto build, copied from another project 2025-08-31 12:18:08 +02:00
Stef
f841afa105 Create main.yml 2025-08-31 12:14:56 +02:00