Commit Graph

45 Commits

Author SHA1 Message Date
Jan Zípek e6438ad0f1 Fix validation, add sensor last contact field, add alert status formatting 2024-04-01 17:03:45 +02:00
Jan Zípek 0fc4eb2f8c
Display empty messages when there's nothing 2024-04-01 13:10:08 +02:00
Jan Zípek 71b1b3ad0b
Proper validation, always show menu in management pages 2024-04-01 12:41:04 +02:00
Jan Zípek 74a4019dc5
Data retention 2024-04-01 10:33:20 +02:00
Jan Zípek 160764380b
Also close database gracefully 2024-04-01 08:38:33 +02:00
Jan Zípek 699e8aa959
Working on better styling, added graceful shutdown 2024-04-01 08:37:57 +02:00
Jan Zípek 39f79a8f51
Small improvements, add migration to fix invalid alert states 2024-03-31 20:55:35 +02:00
Jan Zípek badde4a20e
Improved sensors page 2024-03-31 20:47:43 +02:00
Jan Zípek 4c19e89c1c
Better alert status flow, add resolved message 2024-03-31 20:04:48 +02:00
Jan Zípek f1cb72ccc8
Use WAL mode 2024-03-31 18:48:28 +02:00
Jan Zípek aca2e8778c
Allow auth-less 2024-03-31 18:33:56 +02:00
Jan Zípek 7e9625ecf3 Finish alerts implementation 2024-03-31 09:50:09 +02:00
Jan Zípek 6c96ef1b23
Proper implementation of contact points REST 2024-03-29 21:05:21 +01:00
Jan Zípek c9967b2e3d
Migration 2024-03-29 20:53:47 +01:00
Jan Zípek 3b0c3fff64
Continued work on alerts 2024-03-29 20:49:08 +01:00
Jan Zípek bdeb82441d
Working on alerts 2024-03-29 09:55:51 +01:00
Jan Zípek 9206f7f2e1
Proper error for empty sensors 2022-09-04 09:54:22 +02:00
Jan Zípek 9d172a41b6
Use sql query to leverage sqlite speed 2022-09-04 09:42:12 +02:00
Jan Zípek 3f163309ad
Experiment with value batching 2022-09-04 09:22:38 +02:00
Jan Zípek 79c7bf3851
Return empty array when there're no rows 2022-09-03 22:54:53 +02:00
Jan Zípek c7d430805a
Pick first dashboard if there's any, dashboards are now deletable 2022-09-03 21:59:37 +02:00
Jan Zípek 4173629693
Use auto generated ids for dashboards 2022-09-03 21:35:36 +02:00
Jan Zípek bb08f31e6b
Run migrations in transactions 2022-09-03 21:35:15 +02:00
Jan Zípek 7846a09668
Sensors table should use auto-increment 2022-08-28 22:52:43 +02:00
Jan Zípek fd170185e0
Added support for deleting sensors 2022-08-28 21:47:36 +02:00
Jan Zípek 3c96bfa73e
Modals and forms improvements 2022-08-28 19:09:48 +02:00
Jan Zípek 0e202c0850 Added sensor form 2022-08-28 12:30:37 +02:00
Jan Zípek c56a678925 Working on sensors page 2022-08-28 11:56:03 +02:00
Jan Zípek 85201e254e Merge remote-tracking branch 'origin/master' into feature/editable-dashboard 2022-08-28 08:39:39 +02:00
Jan Zípek f767610f22 Fixed cookie not being properly extended 2022-08-28 08:38:22 +02:00
Jan Zípek f50b8f1d2e
Fixed issue with secure cookie 2022-08-25 08:33:39 +02:00
Jan Zípek dddcfa7154
Fixed typo 2022-08-24 19:32:33 +02:00
Jan Zípek 009332dccf
Added support for dial box 2022-08-24 12:50:00 +02:00
Jan Zípek 39b7d5e73a
Added endpoint for fetching the latest values 2022-08-24 09:46:14 +02:00
Jan Zípek 1d46147979
Started working on editable dashboards 2022-08-23 23:35:36 +02:00
Jan Zípek d381528db1
Added proper db migrations 2022-08-23 21:26:42 +02:00
Jan Zípek 3f9e3ecee5
Working docker build 2022-08-22 09:41:09 +02:00
Jan Zípek 88fff43b90
Updated for new client 2022-08-21 23:28:29 +02:00
Jan Zípek d0e52760d9
Expect bearer prefix in authorization header 2022-08-21 22:48:18 +02:00
Jan Zípek f330279e05
Moved cookies to auth module, added sessions cleanup 2022-08-21 22:48:00 +02:00
Jan Zípek a26e81f22d
Added DEV cors config 2022-08-21 22:27:21 +02:00
Jan Zípek 73b9024884
Fixed session creation not working properly 2022-08-21 22:27:09 +02:00
Jan Zípek a704140a56
Added missing sessions table 2022-08-21 22:26:54 +02:00
Jan Zípek fc9ad06afb
Working on auth rework 2022-08-21 20:51:14 +02:00
Jan Zípek f2d1de9b31
Move server to sub-folder 2022-08-21 19:33:55 +02:00