Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.12.0 Release #4055

Merged
merged 295 commits into from
Apr 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
3cb6d43
Fix recordings set name (#4543)
NickM-27 Nov 29, 2022
aaedd24
Add GPU stats to the /stats API and debug screen (#3931)
NickM-27 Nov 29, 2022
69560c8
Replace green screen with error message and force camera_fps to 0 (#4…
NickM-27 Nov 29, 2022
87144cd
FEAT: Support for ffmpeg presets (#3840)
NickM-27 Nov 29, 2022
25a7c4e
Fix gpu stats for ffmpeg presets (#4554)
NickM-27 Nov 30, 2022
5ad3919
FEAT: Storage API & Frontend (#3409)
NickM-27 Nov 30, 2022
4523c9b
Set User Agent for FFmpeg calls (#4555)
felipecrs Nov 30, 2022
e5fe323
Add OpenVino Detector (#3768)
NateMeyer Dec 3, 2022
94a2b6b
Upgrade s6-overlay from 2.2.0.3 to 3.1.2.1 (#4584)
felipecrs Dec 3, 2022
007fa75
Fix intel gpu stats (#4581)
NickM-27 Dec 3, 2022
87e2810
Do not apply -user_agent for rtmp streams (#4596)
felipecrs Dec 4, 2022
2651bc1
Set max height so vainfo doesn't overflow (#4598)
NickM-27 Dec 7, 2022
9716131
Update go2rtc version (#4616)
NickM-27 Dec 7, 2022
7888059
Add config editor to webUI (#4608)
NickM-27 Dec 7, 2022
6abc0ce
Cleanup names in webUI (#4607)
NickM-27 Dec 7, 2022
2a5ab77
Log all services to memory (#4587)
felipecrs Dec 7, 2022
fee3418
Update advanced.md (#4634)
NickM-27 Dec 8, 2022
bc52fc1
Fix end events for mqtt (#4647)
NickM-27 Dec 9, 2022
4f79ca1
Fix ffprobe with special characters (#4646)
NickM-27 Dec 9, 2022
964bcc0
Logs in UI (#4562)
NickM-27 Dec 9, 2022
cd9f6b0
Restart record process if segments stop being written. (#4604)
NickM-27 Dec 9, 2022
ba3fbc9
Update method of aquiring signing keys for packages (#4649)
NateMeyer Dec 9, 2022
739a267
Don't catch presets (#4653)
NickM-27 Dec 9, 2022
037f376
Use UTC for recordings (#4656)
NickM-27 Dec 11, 2022
45c43d7
UI Cleanup & Optimization (#4673)
NickM-27 Dec 12, 2022
b1ec56d
Add multiselect filtering to events view (#3367)
NickM-27 Dec 12, 2022
43c2761
System page improvements (#4707)
NickM-27 Dec 14, 2022
420bcd7
Convert detectors to factory pattern, ability to set different model …
dennispg Dec 15, 2022
9b99ba8
Use presets by default (#4597)
felipecrs Dec 16, 2022
3692993
Optimize nginx & recordings (#4688)
NickM-27 Dec 17, 2022
c6f0abf
Show All and Solo selection buttons for MultiSelect. (#4723)
spacebares Dec 17, 2022
7953d13
Fix monaco editor issues (#4724)
NickM-27 Dec 17, 2022
c85df9c
Fix MSE Issues (#4725)
NickM-27 Dec 17, 2022
161991d
update contributing docs (#4727)
blakeblackshear Dec 18, 2022
06bc9bb
Merge remote-tracking branch 'origin/master' into dev
blakeblackshear Dec 18, 2022
d999575
force upgrade certs (#4728)
blakeblackshear Dec 18, 2022
368c07c
Update certs (#4729)
blakeblackshear Dec 18, 2022
f3e0ced
Frontend Player Fixes (#4778)
NickM-27 Dec 29, 2022
6e519e0
Fix error when saving the config unsuccessfully (#4780)
NickM-27 Dec 29, 2022
ffd637c
fix: handle multi-word timezones (#4816)
singingtelegram Dec 30, 2022
6326011
Frontend deps (#4824)
blakeblackshear Dec 30, 2022
e3ec292
Fix config missing (#4825)
NickM-27 Dec 30, 2022
3f05f74
Nvidia TensorRT detector (#4718)
NateMeyer Dec 30, 2022
d6731b1
Add hardware accelerated scaling when using ffmpeg hwaccel presets (#…
NickM-27 Dec 30, 2022
59b52f3
Update max operations for stalebot (#4828)
NickM-27 Dec 30, 2022
fee48e5
easier python deps (#4827)
blakeblackshear Dec 30, 2022
a8e81a2
Bump actions/setup-python from 4.3.0 to 4.4.0 (#4786)
dependabot[bot] Dec 30, 2022
76bbd83
Merge remote-tracking branch 'origin/master' into dev
blakeblackshear Dec 30, 2022
da1b7c2
Fix handling of timezones (#4831)
NickM-27 Dec 30, 2022
ff56262
Add ability to restream birdseye (#4761)
NickM-27 Dec 31, 2022
ecc7b93
Bump json5 from 2.2.1 to 2.2.2 in /docs (#4826)
dependabot[bot] Dec 31, 2022
f4991b4
[API] filter for favorite events (#4737)
spacebares Dec 31, 2022
b6ad287
[API] filter for favorite events (#4737)
spacebares Dec 31, 2022
5eac767
Remove duplicate "GET /vod/event/<event-id>/index.m3u8" (#4836)
tvdelgado Dec 31, 2022
e4a79b1
set env vars needed for nvidia support (#4837)
blakeblackshear Dec 31, 2022
9c6193b
Update recommended hardware page to reflect multiple detectors (#4746)
NickM-27 Dec 31, 2022
cee52e9
Remove vaapi interlace which caused fps to be higher than specified (…
NickM-27 Jan 1, 2023
53d39a1
Fix schema url (#4855)
NickM-27 Jan 2, 2023
dc738e9
Upgrade go2rtc from v0.1-rc.5 to v0.1-rc.6 (#4860)
felipecrs Jan 2, 2023
abc40f2
only return stderr if return code is not 0 (#4863)
NickM-27 Jan 2, 2023
ceab294
Catch case where args are a string but not preset (#4864)
NickM-27 Jan 3, 2023
760d65b
Don't fail to load when cameras stats are not available (#4877)
NickM-27 Jan 4, 2023
ea7d1aa
Ability to set different codec for restream and use go2rtc hardware (…
NickM-27 Jan 4, 2023
bc5aa11
Set host as blank by default (#4880)
NickM-27 Jan 4, 2023
d547680
Only replace topic (#4884)
NickM-27 Jan 4, 2023
b6592c6
Add None option to zones & sub labels (#4886)
NickM-27 Jan 4, 2023
ebef38e
Fix href for cameras direct link (#4875)
NickM-27 Jan 4, 2023
9fd13aa
check stream specific hwaccel_args for gpu stats (#4869)
Rob-Powell Jan 4, 2023
5e71d95
Docs updates (#4903)
NickM-27 Jan 5, 2023
ffa98a1
Don't keep attempting gpu usage stats after failure (#4904)
NickM-27 Jan 5, 2023
0a3295a
Rewrite encoding logic and cleanup vaapi presets (#4898)
NickM-27 Jan 5, 2023
64ab658
Send blank hwaccel-error cache so logs will show when loading the sta…
NickM-27 Jan 5, 2023
ba5cffa
Update index.md (#4915)
yayitazale Jan 5, 2023
12235ac
Build nginx with tmpfs (#4933)
blakeblackshear Jan 6, 2023
8410788
add information about frigate plus to docs (#4919)
blakeblackshear Jan 6, 2023
9ee367d
Fix Other Stats Access Too (#4917)
NickM-27 Jan 6, 2023
e645c8e
Update TensorRT Docs (#4920)
NateMeyer Jan 6, 2023
740d932
Add ffmpeg presets docs and update nvidia-smi docs (#4928)
NickM-27 Jan 6, 2023
8ac3114
Cleanup Detector labelmap (#4932)
NateMeyer Jan 6, 2023
417a42b
Update installation.md (#4871)
AML225 Jan 6, 2023
d9c45a7
Don't recheck erroring hwaccel in http either (#4935)
NickM-27 Jan 7, 2023
543cad5
Only set colors for enabled objects (#4936)
NickM-27 Jan 7, 2023
bee965d
Fix integration link in the installation docs (#4937)
ersatzryan Jan 7, 2023
ec7aaa1
try and avoid caching extra large tensorrt layers (#4942)
blakeblackshear Jan 7, 2023
47ac5ed
fix: preset-http-jpeg-generic reference (#4946)
rfvermut Jan 7, 2023
0dbf909
try and further improve caching (#4947)
blakeblackshear Jan 7, 2023
57dce4e
Make label colors consistent (#4951)
NickM-27 Jan 7, 2023
bcbf006
Support for dynamic MQTT user configuration #4883 (#4956)
baylanger Jan 7, 2023
1f963ec
Fix raspberry pi hwaccel (#4955)
blakeblackshear Jan 8, 2023
5f4c439
Fix btbn pulling wrong build (#4961)
NickM-27 Jan 8, 2023
61243ad
Make error messages for gpu stats more clear (#4962)
NickM-27 Jan 8, 2023
fdd2cc9
Update record.md (#4964)
NickM-27 Jan 8, 2023
3cb9609
update before install (#4966)
blakeblackshear Jan 8, 2023
5b7cd9c
Update go2rtc to rc7 (#4965)
NickM-27 Jan 8, 2023
e79eab7
Fix RPi preset (#4968)
NickM-27 Jan 9, 2023
d49359e
Fix None filter for sub labels (#4981)
NickM-27 Jan 10, 2023
581c259
Use library to handle copying to clipboard (#4989)
NickM-27 Jan 10, 2023
3edbb8d
Camera WebUI fixes (#5010)
NickM-27 Jan 11, 2023
ddde477
Use scale_qsv and don't apply deinterlacing (#4997)
NickM-27 Jan 11, 2023
acd1fb9
System page: various minor UI tweaks (#4985)
leccelecce Jan 11, 2023
1643b4d
Clean up go2rtc logs to not show color text unicode (#5027)
NickM-27 Jan 11, 2023
cb0c5c2
Disable backchannel audio since it is not used (#5021)
NickM-27 Jan 11, 2023
731db8f
Add in_progress parameter to /api/events to filter the results. (#5013)
sergeknystautas Jan 11, 2023
ddcae2d
Fix mem usage reporting when using docker limits (#5011)
leccelecce Jan 11, 2023
6b12367
System page: add detector process mem% (#5028)
leccelecce Jan 12, 2023
cf2466c
Fix recordings storage (#5031)
NickM-27 Jan 12, 2023
95596b3
Capitalize the Frigate word (#5044)
felipecrs Jan 13, 2023
ab44a65
Make live docs more clear (#5050)
NickM-27 Jan 13, 2023
b4fb608
Clarify docs about rtmp (#5052)
NickM-27 Jan 13, 2023
3c708d7
Update docs to point to ghcr (#5053)
NickM-27 Jan 13, 2023
54bfa46
Simplify hwaccel filter args and fix qsv bugs (#5054)
NickM-27 Jan 13, 2023
2d76363
Catch FileNotFoundError when getting file system stats (#5056)
NickM-27 Jan 13, 2023
e0a0d12
Bump actions/setup-python from 4.4.0 to 4.5.0 (#5064)
dependabot[bot] Jan 13, 2023
7fbfdb3
Replace localhost with explicit address (#5070)
NickM-27 Jan 13, 2023
dafc7ed
Show recording and snapshot storage separately if different sizes (#5…
NickM-27 Jan 13, 2023
2031c31
System page: make clear if detect disabled (#5075)
leccelecce Jan 13, 2023
170899b
Update to Go2rtc rc8 (#5078)
NickM-27 Jan 13, 2023
e0b3b27
Add option for live mode & timezone config, fix MSE check for iPad (#…
NickM-27 Jan 13, 2023
2441084
Revisit FAQs (#5084)
felipecrs Jan 14, 2023
19d17c8
Use memo for recordings timezone (#5086)
NickM-27 Jan 14, 2023
60b2315
Update library loading for tensorrt (#5087)
NateMeyer Jan 14, 2023
daadd20
Update live view documentation to match newest go2rtc (#5083)
felipecrs Jan 15, 2023
01b9d4d
Rework audio encoding for restream (#5092)
NickM-27 Jan 15, 2023
65bc644
Rework storage page to show sizes with relevant units (#5093)
sinamics Jan 15, 2023
99577a5
Add specific presets for restream and record with audio (#5094)
NickM-27 Jan 15, 2023
367ac28
Fix qsv h265 (#5095)
NickM-27 Jan 15, 2023
621aa0c
Rework events page to include timeago (#5097)
sinamics Jan 15, 2023
e39fb51
Add Save Only button to config editor (#5090)
yeahme49 Jan 15, 2023
0de1da5
Upgrade go2rtc from v0.1-rc.8 to v0.1-rc.9 (#5104)
felipecrs Jan 16, 2023
30f520f
Patch nginx-vod-module to ignore RBSP trailing bits (#5114)
rmounce Jan 16, 2023
81b3fdb
Pre clear retained messagse (#5117)
NickM-27 Jan 16, 2023
3bec28f
handle timezones with partial hour offsets (#5115)
blakeblackshear Jan 16, 2023
a7751f2
Add dependabot auto merge workflow (#5105)
felipecrs Jan 16, 2023
19afb03
Rewrite restream (#5106)
NickM-27 Jan 16, 2023
ef9338f
Remove rpi warning about not working hwaccel (#5145)
NickM-27 Jan 18, 2023
2631a4c
Fix not using custom set stream name (#5134)
NickM-27 Jan 18, 2023
f546642
Fix go2rtc error when not set (#5133)
NickM-27 Jan 18, 2023
89513e4
Fix shm size calculation (#5123)
felipecrs Jan 18, 2023
02df2a8
Refactor s6 scripts to the new format (#5135)
felipecrs Jan 18, 2023
6620236
Catch case where go2rtc streams is not defined (#5150)
NickM-27 Jan 18, 2023
e2239d3
Auto discover internal WebRTC candidate for add-on (#5089)
felipecrs Jan 18, 2023
b2a2a9d
only run the latest commit to avoid cache overwrites (#5154)
blakeblackshear Jan 18, 2023
fb85c8c
Optimize restream docs (#5132)
NickM-27 Jan 18, 2023
d36ab05
Do not wait forever for services to exit (#5149)
felipecrs Jan 18, 2023
5fa1fba
Use frigate env var substitution (#5153)
NickM-27 Jan 18, 2023
12d51d3
System page: fix 0 FPS for disabled camera (#5155)
leccelecce Jan 19, 2023
d22e250
Fix reolink docs and add example of manual ffmpeg restream (#5165)
NickM-27 Jan 19, 2023
924f946
Fix birdseye snapshot (#5171)
NickM-27 Jan 21, 2023
36c6ee7
Update Nvidia Hwaccel Docs (#5172)
NickM-27 Jan 21, 2023
4bb5785
Update go2rtc to 1.0.0 (#5173)
NickM-27 Jan 21, 2023
edbdbb7
Update NVIDIA hwdecode docs (#5182)
sevmonster Jan 22, 2023
2f3e046
Fix HA IP address and WebRTC port inferring (#5209)
felipecrs Jan 24, 2023
f52de32
Set hard frame rate limit (#5210)
NickM-27 Jan 24, 2023
feeb710
Fix Frigate stuck at finishing when restarting from UI (#5216)
felipecrs Jan 24, 2023
e50cccc
Upgrade go2rtc from 1.0.0 to 1.0.1 (#5235)
felipecrs Jan 26, 2023
6ed8977
Update flv docs (#5238)
NickM-27 Jan 26, 2023
07c635d
Add config option to disable version check (#5208)
leccelecce Jan 26, 2023
9ddcf7b
Add exec docs (#5230)
NickM-27 Jan 26, 2023
f54b223
Print webrtc info to stderr (#5227)
NickM-27 Jan 26, 2023
a63dd9b
Add low delay args to restream input args (#5231)
NickM-27 Jan 26, 2023
fd3688a
Upgrade s6-overlay from 3.1.2.1 to 3.1.3.0 (#5239)
felipecrs Jan 26, 2023
93f2316
Update live.md (#5254)
NickM-27 Jan 27, 2023
7926ddd
Clear file before unlinking (#5259)
NickM-27 Jan 27, 2023
11054da
System page: add last updated time ago (#5195)
leccelecce Jan 27, 2023
7130d93
warn if unable to keep up with moving segments (#5264)
blakeblackshear Jan 27, 2023
116edce
Set jsmpeg manually when restream is disabled (#5265)
NickM-27 Jan 28, 2023
88b903b
Restart ffmpeg if process exceeds detect fps by 10 (#5280)
NickM-27 Jan 29, 2023
a0697b8
Replace hardcoded package name in CI workflow (#5281)
Sammy1Am Jan 29, 2023
77876bd
Add docs for adding authentication to rtsp restream (#5289)
NickM-27 Jan 29, 2023
a5078b8
rework - ts, interval (#5291)
sinamics Jan 29, 2023
78dc75a
Add "" to go2rtc docs examples (#5292)
CZonin Jan 29, 2023
7a7e30e
Bump ASzc/change-string-case-action from 1 to 5 (#5308)
dependabot[bot] Jan 30, 2023
7edeaa3
Add warning for below suggested SHM calculation (#5312)
NickM-27 Jan 30, 2023
f06e8b4
Docs updates, fix recording warnings, default log level for ws4py (#5…
blakeblackshear Jan 30, 2023
ea8ec23
Upgrade go2rtc from v1.0.1 to v1.1.0 (#5320)
felipecrs Feb 1, 2023
8d21c95
Name capture processes (#5340)
leccelecce Feb 1, 2023
ad60f48
Update go2rtc to 1.1.1 (#5333)
NickM-27 Feb 2, 2023
66881eb
Add examples of intel inference times from survey answers (#5332)
NickM-27 Feb 2, 2023
74d6ab0
Fix copying logs (#5373)
NickM-27 Feb 4, 2023
db131d4
Add Low latency preset (#5367)
NickM-27 Feb 4, 2023
7083a5c
Try to limit nvidia GPU queries to included GPUs (#5356)
jvrobert Feb 4, 2023
b330942
YOLOX support for OpenVINO Detector (#5285)
aeozyalcin Feb 4, 2023
624c314
Fast restart (#5378)
blakeblackshear Feb 4, 2023
e8cd25d
Docs tweaks (#5379)
blakeblackshear Feb 4, 2023
e10ddb3
additional shutdown optimizations (#5380)
blakeblackshear Feb 4, 2023
3b9bcb3
update presets docs (#5386)
blakeblackshear Feb 5, 2023
4a45089
Scrollbar juddering (#5383)
NickM-27 Feb 5, 2023
b6b10e7
Update docs for H265 (#5398)
NickM-27 Feb 6, 2023
c0bf69b
add note about go2rtc webui (#5430)
NickM-27 Feb 9, 2023
88252e0
Update ffmpeg_presets.py (#5433)
NickM-27 Feb 9, 2023
748815b
Fix logging IP instead of WebRTC port (#5417)
felipecrs Feb 9, 2023
babd976
Bump go2rtc from 1.1.1 to 1.1.2 (#5440)
felipecrs Feb 9, 2023
562e262
Auto select gpu for hwaccel presets (#5406)
NickM-27 Feb 11, 2023
27a31e7
install i965-va-driver-shaders (#5451)
blakeblackshear Feb 11, 2023
c74c9ff
Add nvidia detector inference times from survey (#5456)
NickM-27 Feb 12, 2023
3d90366
Fix Webui Default Stream (#5455)
NickM-27 Feb 12, 2023
08ab9de
Update ffmpeg_presets.py (#5462)
NickM-27 Feb 12, 2023
1ef109e
Remove restream role mention (#5468)
NickM-27 Feb 12, 2023
56d2978
Remove more outdated restream from docs (#5497)
NickM-27 Feb 14, 2023
b69c0da
Add docs for required_zones (#5499)
NickM-27 Feb 15, 2023
1715e2e
Init birdseye restream command in S6 (#5494)
NickM-27 Feb 15, 2023
c9cd810
reposition the modal when close to bottom (#5507)
sinamics Feb 16, 2023
7b26935
Ensure birdseye restream is not left with partially read frames (#5504)
NickM-27 Feb 16, 2023
6cfa73a
Add link to go2rtc in system page (#5478)
NickM-27 Feb 16, 2023
52459bf
Update ffmpeg args with low risk improvements (#5519)
NickM-27 Feb 16, 2023
27d3676
Fix rpi birdseye encode (#5522)
NickM-27 Feb 17, 2023
c901707
Docs & WebUI Cleanup (#5527)
NickM-27 Feb 17, 2023
2b685ac
Plus upload in progress (#5521)
NickM-27 Feb 19, 2023
0592c8b
YOLOv5 & YOLOv8 support for the OpenVINO Detector (#5523)
aeozyalcin Feb 19, 2023
2797a60
Don't fail if openvino fails to import (#5532)
NickM-27 Feb 19, 2023
c2b13fd
Add new models to docs (#5533)
yeahme49 Feb 19, 2023
8013534
Update Go2rtc to 1.2.0 (#5528)
NickM-27 Feb 19, 2023
a8c567d
Add healthcheck for go2rtc service (#5545)
felipecrs Feb 19, 2023
3524d1a
Fix go2rtc dashboard link (#5546)
NickM-27 Feb 21, 2023
c13dd13
Clean up camera specific docs (#5556)
NickM-27 Feb 21, 2023
fbf2966
Upgrade s6-overlay from 3.1.4.0 to 3.1.4.1 (#5558)
felipecrs Feb 21, 2023
3611e87
Events Page: Added option to override browser time format and style (…
sinamics Feb 22, 2023
9621b4b
Add tips for debugging playback issues (#5574)
NickM-27 Feb 24, 2023
d97fa99
Fix logging for corrupt segments (#5582)
NickM-27 Feb 25, 2023
34bdf2f
Clean up output for vainfo and ffprobe (#5586)
NickM-27 Feb 26, 2023
318240c
Add docs for time / date styling (#5572)
NickM-27 Feb 26, 2023
17c26c9
Sub label filter fixes (#5602)
NickM-27 Mar 3, 2023
42eaa13
Enable CORS for go2rtc by default (#5610)
NickM-27 Mar 3, 2023
161e7b3
Allow using full tensorflow in cpu/edgetpu detector plugins (#5611)
mweinelt Mar 3, 2023
7ed715b
Make note of other supervised limitations (#5627)
NickM-27 Mar 3, 2023
c4ebafe
Fix plus menu not showing (#5606)
NickM-27 Mar 3, 2023
a5e561c
Restrict menu height to ensure it does not overflow (#5601)
NickM-27 Mar 3, 2023
962bdc7
Update detector support to be more generic (#5638)
NickM-27 Mar 5, 2023
c20c982
free up some disk space (#5644)
blakeblackshear Mar 5, 2023
e8d8cc4
Return sub_labels in event summary information. (#5642)
dermotduffy Mar 5, 2023
f7e9507
Fix typo (#5655)
NickM-27 Mar 7, 2023
4dc6c93
docs: adds note about dynamic config (#4882)
jritsema Mar 7, 2023
750bf0e
Revert "Update ffmpeg args with low risk improvements (#5519)" (#5715)
blakeblackshear Mar 14, 2023
ce2d589
fix config (#5721)
blakeblackshear Mar 14, 2023
e82f72a
clarify that mqtt is required in frigate config for home assistant (#…
blakeblackshear Mar 15, 2023
2d9556f
set threads to 2 (#5747)
blakeblackshear Mar 17, 2023
b44e6cd
typo in live config documentation (#5760)
luzik Mar 17, 2023
732e527
RTSP instead of RTMP in HA integration docs (#5761)
luzik Mar 18, 2023
e454daf
Fix timezone issues with strftime (#5762)
NickM-27 Mar 18, 2023
3f17f87
Fix cleaning logs with rtsp in middle (#5800)
NickM-27 Mar 21, 2023
ac339d4
Make note that snapshots are required for Frigate+ (#5807)
NickM-27 Mar 23, 2023
b61b6f4
Update ha integration instructions to reflect new settings names (#5806)
NickM-27 Mar 23, 2023
1bf3b83
Fixed extension of config file (#5803)
renaissance-design Mar 23, 2023
7d589bd
Point go2rtc links in docs to 1.2.0 specifically (#5816)
NickM-27 Mar 23, 2023
4c5cd02
Fix confusing storage display when calculating per camera usage (#5835)
pdecat Mar 25, 2023
83c80c5
Cleanup docs based on RC feedback (#5864)
NickM-27 Mar 30, 2023
1b8cd10
Allow to override go2rtc binary in add-on (#5876)
felipecrs Mar 30, 2023
bc16ad1
Fix small warning not appearing in go2rtc logs in UI (#5882)
felipecrs Mar 31, 2023
f855b1a
Update Unifi specific configuration (#5927)
mrmorganmurphy Apr 8, 2023
0e61ea7
cleanup hardware recommendations
blakeblackshear Apr 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 42 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,68 @@
{
"name": "Frigate Dev",
"name": "Frigate Devcontainer",
"dockerComposeFile": "../docker-compose.yml",
"service": "dev",
"workspaceFolder": "/lab/frigate",
"service": "devcontainer",
"workspaceFolder": "/workspace/frigate",
"initializeCommand": ".devcontainer/initialize.sh",
"postCreateCommand": ".devcontainer/post_create.sh",
"overrideCommand": false,
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/common-utils:1": {}
},
"forwardPorts": [5000, 5001, 5173, 1935, 8554, 8555],
"portsAttributes": {
"5000": {
"label": "NGINX",
"onAutoForward": "silent"
},
"5001": {
"label": "Frigate API",
"onAutoForward": "silent"
},
"5173": {
"label": "Vite Server",
"onAutoForward": "silent"
},
"1935": {
"label": "RTMP",
"onAutoForward": "silent"
},
"8554": {
"label": "gortc RTSP",
"onAutoForward": "silent"
},
"8555": {
"label": "go2rtc WebRTC",
"onAutoForward": "silent"
}
},
"extensions": [
"ms-python.vscode-pylance",
"ms-python.python",
"visualstudioexptteam.vscodeintellicode",
"mhutchie.git-graph",
"ms-azuretools.vscode-docker",
"streetsidesoftware.code-spell-checker",
"esbenp.prettier-vscode",
"ms-python.vscode-pylance",
"dbaeumer.vscode-eslint",
"mikestead.dotenv",
"csstools.postcss",
"blanu.vscode-styled-jsx",
"bradlc.vscode-tailwindcss"
],
"settings": {
"remote.autoForwardPorts": false,
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true,
"python.testing.unittestArgs": ["-v", "-s", "./frigate/test"],
"files.trimTrailingWhitespace": true,
"eslint.workingDirectories": ["./web"],
"[json][jsonc]": {
Expand Down
13 changes: 13 additions & 0 deletions .devcontainer/initialize.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -euo pipefail

# These folders needs to be created and owned by the host user
mkdir -p debug web/dist

if [[ -f "config/config.yml" ]]; then
echo "config/config.yml already exists, skipping initialization" >&2
else
echo "initializing config/config.yml" >&2
cp -fv config/config.yml.example config/config.yml
fi
17 changes: 17 additions & 0 deletions .devcontainer/post_create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

set -euxo pipefail

# Frigate normal container runs as root, so it have permission to create
# the folders. But the devcontainer runs as the host user, so we need to
# create the folders and give the host user permission to write to them.
sudo mkdir -p /media/frigate
sudo chown -R "$(id -u):$(id -g)" /media/frigate

make version

cd web

npm install

npm run build
6 changes: 5 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ core
*.mp4
*.jpg
*.db
*.ts
*.ts

web/dist/
web/node_modules/
web/.npm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: EdgeTpu Support Request
description: Support for setting up EdgeTPU in Frigate
title: "[EdgeTPU Support]: "
name: Detector Support Request
description: Support for setting up object detector in Frigate (Coral, OpenVINO, TensorRT, etc.)
title: "[Detector Support]: "
labels: ["support", "triage"]
assignees: []
body:
Expand Down
32 changes: 32 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
- package-ecosystem: "docker"
directory: "/docker"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
- package-ecosystem: "npm"
directory: "/web"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
- package-ecosystem: "npm"
directory: "/docs"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
67 changes: 67 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: CI

on:
push:
branches:
- dev
- master

# only run the latest commit to avoid cache overwrites
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

env:
PYTHON_VERSION: 3.9

jobs:
multi_arch_build:
runs-on: ubuntu-latest
name: Image Build
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
- id: lowercaseRepo
uses: ASzc/change-string-case-action@v5
with:
string: ${{ github.repository }}
- name: Check out code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create version file
run: make version
- name: Create short sha
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
target: frigate
tags: |
ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and push TensorRT
uses: docker/build-push-action@v3
with:
context: .
push: true
platforms: linux/amd64
target: frigate-tensorrt
tags: |
ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-tensorrt
cache-from: type=gha
22 changes: 22 additions & 0 deletions .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: dependabot-auto-merge
on: pull_request

permissions:
contents: write

jobs:
dependabot-auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Get Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.dependency-type == 'direct:development' && (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch')
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42 changes: 32 additions & 10 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,35 @@ env:
DEFAULT_PYTHON: 3.9

jobs:
build_devcontainer:
runs-on: ubuntu-latest
name: Build Devcontainer
# The Dockerfile contains features that requires buildkit, and since the
# devcontainer cli uses docker-compose to build the image, the only way to
# ensure docker-compose uses buildkit is to explicitly enable it.
env:
DOCKER_BUILDKIT: "1"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@master
with:
node-version: 16.x
- name: Install devcontainer cli
run: npm install --global @devcontainers/cli
- name: Build devcontainer
run: devcontainer build --workspace-folder .
# It would be nice to also test the following commands, but for some
# reason they don't work even though in VS Code devcontainer works.
# - name: Start devcontainer
# run: devcontainer up --workspace-folder .
# - name: Run devcontainer scripts
# run: devcontainer run-user-commands --workspace-folder .

web_lint:
name: Web - Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: actions/setup-node@master
with:
node-version: 16.x
Expand All @@ -24,7 +48,7 @@ jobs:
name: Web - Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: actions/setup-node@master
with:
node-version: 16.x
Expand All @@ -36,12 +60,12 @@ jobs:

python_checks:
runs-on: ubuntu-latest
name: Python checks
name: Python Checks
steps:
- name: Check out the repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v3
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v4.5.0
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Install requirements
Expand All @@ -57,7 +81,7 @@ jobs:
name: Python Tests
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/setup-node@master
with:
node-version: 16.x
Expand All @@ -67,11 +91,9 @@ jobs:
run: npm run build
working-directory: ./web
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Create Version Module
run: make version
uses: docker/setup-buildx-action@v2
- name: Build
run: make
- name: Run mypy
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ name: "Stalebot"
on:
schedule:
- cron: "0 0 * * *" # run stalebot once a day

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
id: stale
with:
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
close-issue-message: ''
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions."
close-issue-message: ""
days-before-stale: 30
days-before-close: 3
exempt-draft-pr: true
exempt-issue-labels: 'pinned,security'
exempt-pr-labels: 'pinned,security'
exempt-issue-labels: "pinned,security"
exempt-pr-labels: "pinned,security,dependencies"
operations-per-run: 120
- name: Print outputs
run: echo ${{ join(steps.stale.outputs.*, ',') }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
*.pyc
*.swp
debug
.vscode
.vscode/*
!.vscode/launch.json
config/config.yml
models
*.mp4
Expand Down
12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Launch Frigate",
"type": "python",
"request": "launch",
"module": "frigate",
"justMyCode": true
}
]
}
Loading