Commit graph

121 commits

Author SHA1 Message Date
BroodjeAap
3c727ffd66 added goreport badge 2020-10-25 11:47:22 +01:00
BroodjeAap
af35dd44c9 fixed two ineffassign warnings 2020-10-25 11:45:47 +01:00
BroodjeAap
f8c6d7fc4d ran gofmt -s 2020-10-25 11:42:56 +01:00
BroodjeAap
1697cbf1c7 added Dockerfile (that doesn't build) 2020-08-18 19:06:27 +00:00
BroodjeAap
fc6c54c834 removed some unused functions from util 2020-08-18 19:05:57 +00:00
BroodjeAap
62ac74c782 added some more comments to stream.go 2020-08-18 19:02:41 +00:00
BroodjeAap
31aaa3db30 removed base64 field from Stream struct because it was unused 2020-08-18 18:40:21 +00:00
BroodjeAap
e1e4df6ad5 fixed a bug where the last moment wasn't added to the moment list 2020-08-18 18:39:26 +00:00
BroodjeAap
0c7a34db51 removed filelock field from Stream 2020-08-18 18:25:26 +00:00
BroodjeAap
8c29d47eeb added some comments to main.go 2020-08-18 18:23:08 +00:00
BroodjeAap
bbb4392783 added go.mod again, but with pinned 0.23.0 gocv 2020-08-18 17:46:58 +00:00
BroodjeAap
54e514a4c1 added starting message 2020-08-15 14:54:37 +00:00
BroodjeAap
2d6634db29 removed go.mod, messes eeeverything up, don't want to figure that out... 2020-08-13 18:46:25 +00:00
BroodjeAap
d046454654 added go.mod 2020-08-13 18:18:18 +00:00
BroodjeAap
1e29266836 switched to time.RFC3339Nano for timeformat, does something weird on disk, but works otherwise and better accuracy for sub second motionIntervals 2020-08-13 18:00:58 +00:00
BroodjeAap
054ec0e56b changed submit method of the addWatchArea form to POST 2020-08-13 17:55:51 +00:00
BroodjeAap
8b001243c5 switched to 'input' update for motionInterval on add_stream page 2020-08-13 17:44:46 +00:00
BroodjeAap
c19812a181 removed some left over debug prints 2020-08-09 15:39:17 +00:00
BroodjeAap
7900aed983 added nulling of _watchArea to save some memory 2020-08-09 15:26:40 +00:00
BroodjeAap
82031fbce9 also switched to json.Marshal at backend for watchAreas on stream page 2020-08-09 15:25:50 +00:00
BroodjeAap
5978e560f0 creating moments json in backend with json.Marshal instead of looping in template 2020-08-09 15:12:03 +00:00
BroodjeAap
5b26865959 fancied up the slider a bit 2020-08-09 14:50:10 +00:00
BroodjeAap
c9edab1d7d stop the interval when the slider has been used 2020-08-09 14:39:04 +00:00
BroodjeAap
0f19dddb30 working 'play' functionality for a moment 2020-08-06 18:26:20 +00:00
BroodjeAap
5059efb3c9 working interface for selecting different moments 2020-08-06 18:15:11 +00:00
BroodjeAap
e4102dccb9 added basic 'scrolling' through a moment with a range input 2020-08-04 19:53:41 +00:00
BroodjeAap
b6dcd6a93b got basic 'moments' page working, showing the moments when motion was detected 2020-08-04 19:26:29 +00:00
BroodjeAap
ee0f8815fc only accept POSTed watchareas 2020-08-04 19:09:01 +00:00
BroodjeAap
fe23fd2355 in between commit for the 'moments' page 2020-08-02 15:53:24 +00:00
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