Commit graph

92 commits

Author SHA1 Message Date
BroodjeAap
65ce667185 cleaned up stream urls in menu a bit 2020-08-02 14:33:07 +00:00
BroodjeAap
8d8853800c added streams to template execution for side menu list 2020-08-02 14:19:08 +00:00
BroodjeAap
506c4d6a15 more css 2020-08-02 13:26:58 +00:00
BroodjeAap
40de52babd some more css changes 2020-08-02 13:14:29 +00:00
BroodjeAap
21a7441b46 moved canvas resizing to seperate function 2020-07-30 18:36:33 +00:00
BroodjeAap
70ff965170 got canvas resizing working with the watcharea coordinates 2020-07-30 18:34:14 +00:00
BroodjeAap
87b50bdeb2 added proper sizing/resizing of stream images with new layout 2020-07-30 18:14:26 +00:00
BroodjeAap
b3959ee720 added content class to base.html 2020-07-28 19:56:58 +00:00
BroodjeAap
e028e90e96 added content class to base.html 2020-07-28 19:37:36 +00:00
BroodjeAap
f6f52673ea started work moving to flexbox layout 2020-07-28 19:32:57 +00:00
BroodjeAap
c871bb564f some css stuff 2020-07-27 20:00:47 +00:00
BroodjeAap
0a2f7ddc61 added js file missing from previous commit 2020-07-26 20:47:22 +00:00
BroodjeAap
63aae590d5 added inputs for interval/motion interval on the addStream page 2020-07-25 13:19:17 +00:00
BroodjeAap
f8b13dc3ef added 'MotionInterval' that is used instead of 'Interval' when motion is detected on a Stream 2020-07-25 12:39:19 +00:00
BroodjeAap
3e2e9a8182 removed some commented out code 2020-07-25 12:16:33 +00:00
BroodjeAap
b0a900f36f added exponential sleep time if there is a timeout for a stream 2020-07-25 12:08:52 +00:00
BroodjeAap
ddf6ffb4c8 removed most 'Fatal' usage, so that things keep going when something goes wrong 2020-07-25 11:24:33 +00:00
BroodjeAap
fd287d7ab8 removed filelock from json 2020-07-25 11:18:58 +00:00
BroodjeAap
27d0297c80 moved loading Streams from json to a function 2020-07-25 11:16:40 +00:00
BroodjeAap
3579788727 Switching to map[string]*Stream and making all Stream methods (s * Stream) worked 2020-07-14 19:57:11 +00:00
BroodjeAap
f9a6c37350 mostly working addWatchArea system, somehow wont actually add the watcharea to the WatchAreas list in a Strea, goroutine problem? 2020-07-12 19:54:05 +00:00
BroodjeAap
a88837f90f watcharea rows match color of watcharea 2020-07-12 18:48:27 +00:00
BroodjeAap
a6864c1928 added existing watchareas to canvas 2020-07-12 18:43:59 +00:00
BroodjeAap
7206c087d5 renamed 'rectangles' class and variables to WatchArea 2020-07-12 18:32:19 +00:00
BroodjeAap
b159278efe switched a Rectangle class in javascript 2020-07-12 18:27:59 +00:00
BroodjeAap
d4d0ba593d frontend of watchareas mostly done 2020-07-12 18:17:46 +00:00
BroodjeAap
cef301d7f4 added 'head' section to add_stream.html 2020-07-12 17:04:44 +00:00
BroodjeAap
e774c1d21d refactored a bunch of http endpoints to static file access (previous/debug/next etc) 2020-07-12 15:11:50 +00:00
BroodjeAap
9707f46259 added 'head' tag to base.html, moved stream.js import there for stream.html 2020-07-12 14:44:58 +00:00
BroodjeAap
1a4f3e8227 refactored to single area per WatchArea 2020-07-12 14:43:32 +00:00
BroodjeAap
eb11a50d08 display watches on stream page 2020-07-12 14:07:22 +00:00
BroodjeAap
91f042e1bb can draw rects on the canvas 2020-07-12 13:53:23 +00:00
BroodjeAap
8a8285240a currentColor stream display is now in a canvas 2020-07-12 13:38:04 +00:00
BroodjeAap
664fe5c22d updated to name based ID for streams instead of url 2020-07-12 12:33:14 +00:00
BroodjeAap
5d99649696 added 'addStream' page 2020-07-12 12:04:44 +00:00
BroodjeAap
97bbceea8a got watch areas working with current frames being copied to directories 2020-07-11 20:07:33 +00:00
BroodjeAap
f4099dc4f5 moved areas to a seperate Watch struct 2020-07-11 15:30:38 +00:00
BroodjeAap
1582a4714d UpdateInterval called instead of Update on first stream run 2020-07-11 14:46:06 +00:00
BroodjeAap
30d693d0fe added motion detection in areas, move to Area structs probably 2020-07-11 14:38:17 +00:00
broodjeaap
308b966119 debug IMReadColor 2020-07-11 16:06:44 +02:00
BroodjeAap
f71fb6a14a added a map of area name -> area list to Stream 2020-07-11 13:15:00 +00:00
BroodjeAap
409556604e fixed a bug in first start where CurrentColor was IMRead when it didn't exist yet 2020-07-11 12:59:47 +00:00
BroodjeAap
35d1a75eda got a area display working with overlapping contours highlighted 2020-07-11 12:53:20 +00:00
BroodjeAap
c383046fa2 rearranged stream page layout 2020-07-11 11:32:30 +00:00
BroodjeAap
0d7faa4397 added debug endpoint that gets a debug.jpg 2020-07-11 11:27:53 +00:00
BroodjeAap
dd86398394 removed instant update stuff from stream 2020-07-11 11:15:07 +00:00
BroodjeAap
280b3327bf grey scale is now properly saved to disk as current 2020-07-11 11:06:08 +00:00
BroodjeAap
a0ae04c494 updated Update() doc 2020-07-09 19:59:39 +00:00
BroodjeAap
0583189645 added http endpoints for previous/current/currentColor from disk 2020-07-09 19:57:30 +00:00
BroodjeAap
79273b2c0d added base html template 2020-07-09 19:55:42 +00:00