Commit Graph

  • 7242392233 Added an on hover history button to display history chart. main Stef 2025-09-06 10:52:21 +02:00
  • 55e8356b1b Added TODO notes Stef 2025-09-05 21:17:47 +02:00
  • 8023978307 Changed timeout to 1s which will make it ping every 2s. This is to test Stef 2025-09-05 21:12:31 +02:00
  • 5617440013 Did some chart stuff (ugly) Stef 2025-09-05 21:09:31 +02:00
  • 7c5e15af99 gets all logs from past hour rather than past 300 logs Stef 2025-09-05 21:00:05 +02:00
  • 89f5c4ef0b MAJOR REFACTOR P4 FINAL Stef 2025-09-05 20:47:11 +02:00
  • e7cf9edde9 Update routes.py Stef 2025-09-05 20:45:00 +02:00
  • a2b13f3d32 MAJOR REFACTOR P3 Stef 2025-09-05 20:44:41 +02:00
  • 12af4e7bbe MAJOR REFACTOR P2 Stef 2025-09-05 20:41:37 +02:00
  • 4cfd5b2dbe MAJOR REFACTOR P1 Stef 2025-09-05 20:39:42 +02:00
  • 3b87da9292 log.dateCreated didn't contain any UTC metadata so now log.dateCreatedUTC() return the datetime object with correct metadata Stef 2025-09-05 18:57:21 +02:00
  • 2ab46f1994 Switched from manual tming to using trace request context. Stef 2025-09-05 18:05:50 +02:00
  • afd6383daa Added a global config.py Stef 2025-09-05 12:27:01 +02:00
  • 8a5ff68f23 Renamed split_graph() to prepare_chart_data() Stef 2025-09-05 12:11:03 +02:00
  • 05d9ea1104 Fixed graph not being split when over threshold. Added route arg so services can be charted by id. Stef 2025-09-05 12:08:35 +02:00
  • 139be129ee Added a bool timeout to logs. This indicated whether or not the request timed out. Preparing data for the frontend graph is put into it's own function. When data is more than 6 s apart it is considered a break in connectivity and a None point is added. Stef 2025-09-05 11:57:34 +02:00
  • e1b0ab4dc5 Refactor check_service, split the different ping types to a function called ping Stef 2025-09-05 09:19:04 +02:00
  • cab5c3b7ec More chart experimentation. Managed to make a chart of ping history display Stef 2025-09-05 08:25:51 +02:00
  • 9e4d2e031d Experimenting with chart.js Stef 2025-09-04 08:18:26 +02:00
  • e355999c53 Disabled auto decompression for security reasons Stef 2025-09-03 19:47:52 +02:00
  • 39b4ee7a00 Polling of services is done based on services in DB Stef 2025-09-03 18:32:02 +02:00
  • 5ddafd3b98 First big step in moving towards DB storage instead of memory storage Stef 2025-09-03 18:28:08 +02:00
  • 5a7aa44d6c Creates logs when services are pinged Stef 2025-09-03 17:11:02 +02:00
  • dea5278731 Migrate db to connect logs to service. Deleted any previous logs as they are useless Stef 2025-09-03 16:44:27 +02:00
  • 9908683e45 Added a function that turns a service instance into a dictionary. Stef 2025-09-03 16:05:01 +02:00
  • 96c8c2d5c8 Update requirements.txt Stef 2025-09-03 15:43:44 +02:00
  • 87aacaa08a Add services to db if they don't exist Stef 2025-09-03 15:43:28 +02:00
  • bb8f3e6c71 Removed packages that aren't used and assed a script to generate db upgrade Stef 2025-09-03 15:20:49 +02:00
  • bf43999d36 aiohttp seems to have fixed an issue with Plex HEAD requests Stef 2025-09-03 09:01:18 +02:00
  • 3f4dc83929 Forgot to update requirements.txt Stef 2025-09-03 08:19:36 +02:00
  • 5b1b43f9ad Switched from httpx to aiohttp. Hopefully fixes some SSL handshake issues Stef 2025-09-03 08:17:07 +02:00
  • 324f75d100 Fixed margin and padding top Stef 2025-09-02 22:09:52 +02:00
  • a63e313036 Increased wait bar size and fixed mobile viewing Stef 2025-09-02 22:01:55 +02:00
  • 0c580bc9f1 Improved the progress bar / waiting bar Stef 2025-09-02 21:43:20 +02:00
  • 5a42d998d6 Scuffed progress bar Stef 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. Stef 2025-09-02 20:26:23 +02:00
  • 446f36fc5b Another small mistake Stef 2025-09-02 10:25:44 +02:00
  • 07325125f1 Fixed build error where permissions were being applied to a deleted file Stef 2025-09-02 10:22:18 +02:00
  • 7d8b5df046 Creates db and assumes it's up to date. This replaces init() Stef 2025-09-02 10:00:12 +02:00
  • 3eb066922d Removed entrypoint as migration is handled by app Stef 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. Stef 2025-09-02 09:34:46 +02:00
  • 28493e5790 Moved basic db class/model to models.py Stef 2025-09-01 10:12:50 +02:00
  • 826cf6a26a Update requirements.txt Stef 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 Stef 2025-09-01 10:05:39 +02:00
  • f685e2b705 Change Plex from HEAD ping to GET ping, hopefully fixes random disconnect issue Stef 2025-08-31 17:21:02 +02:00
  • 16c61fa482 Added two services Stef 2025-08-31 17:11:05 +02:00
  • 93bc1d7f04 Added option to ping with a different method (HEAD and GET) Stef 2025-08-31 16:28:38 +02:00
  • b8c5114335 Added a little padding to fix text issues Stef 2025-08-31 15:53:21 +02:00
  • 9c7f6e9a01 Changed page title and added a favicon Stef 2025-08-31 15:45:49 +02:00
  • b7f32c2bce Hide ping when offline Stef 2025-08-31 15:36:24 +02:00
  • 36c0758b6e Changed icon size and text size Stef 2025-08-31 15:32:20 +02:00
  • 3cf32d9296 Potential mobile text size fix Stef 2025-08-31 15:16:44 +02:00
  • ea827e1366 Change the frontend to update every 5 seconds Stef 2025-08-31 15:13:42 +02:00
  • e136c8d605 Displays ping provided by api Stef 2025-08-31 15:07:00 +02:00
  • 6848aab1e1 Added a lock icon to the "private" URLs Stef 2025-08-31 14:54:45 +02:00
  • 903fb525c0 Made the blocks on the dashboard clickable Stef 2025-08-31 14:24:36 +02:00
  • 6103a34ae1 Switched from browser refresh to update webpage with API fetch Stef 2025-08-31 14:06:55 +02:00
  • f2a006b397 Updated frontend and changed a little backend Stef 2025-08-31 13:31:15 +02:00
  • 7cb07691bb Added icon filetype so icons can be saved as [id].[icon_filetype] Stef 2025-08-31 13:06:07 +02:00
  • 3e8ecf7565 Added labels to each service Stef 2025-08-31 13:00:23 +02:00
  • 4876f16760 Run on all addresses Stef 2025-08-31 12:36:53 +02:00
  • 67cad7f8a9 Set port to 80 and disable the reloader Stef 2025-08-31 12:34:38 +02:00
  • 9323605b48 Renamed DockerFile to Dockerfile Stef 2025-08-31 12:24:52 +02:00
  • 0431ccbec4 Rename DockerFile to Dockerfile Stef 2025-08-31 12:24:28 +02:00
  • 363196c0db Added requirements.txt, removed an unused package Stef 2025-08-31 12:21:34 +02:00
  • aadcc81d02 Merge branch 'main' of https://github.com/StefBuwalda/dashboard_test Stef 2025-08-31 12:18:09 +02:00
  • e0349ab058 Set up docker auto build, copied from another project Stef 2025-08-31 12:18:08 +02:00
  • f841afa105 Create main.yml Stef 2025-08-31 12:14:56 +02:00
  • 071c15f40d Dynamically build the page. Automatically update by refreshing page Stef 2025-08-31 12:12:49 +02:00
  • fd0cb02615 Two colors of borders Stef 2025-08-31 11:59:08 +02:00
  • 3b3c49d8df Added a first version of the dashboard Stef 2025-08-31 11:49:11 +02:00
  • 877fce9b7a Added a questionable ping and changed HTTP head to get Stef 2025-08-29 23:18:36 +02:00
  • 8e794ec7f5 Added error information to api Stef 2025-08-29 22:55:20 +02:00
  • d8dd7c2c5e Made polling services async Stef 2025-08-29 22:36:35 +02:00
  • d7a118931b Split up the updating of service status and serving requests into two threads. Stef 2025-08-29 21:39:04 +02:00
  • ce811eae7e Creating my own system because down with AI Stef 2025-08-29 21:03:06 +02:00
  • 90566154ec AI generated muck Stef 2025-08-29 12:49:28 +02:00
  • 789d539307 Initial commit Stef 2025-08-29 11:12:45 +02:00