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

Merge dev back to main in advance of release #1524

Merged
merged 281 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
1a4d38e
Fix init/select out of sync issues.
dermotduffy Sep 6, 2023
7173743
Fix test after carousel controller changes.
dermotduffy Sep 6, 2023
88563b5
Fix thumbnail fade issue.
dermotduffy Sep 6, 2023
1c27bc5
Add screenshot.
dermotduffy Sep 6, 2023
4cd0778
Fix editor label.
dermotduffy Sep 6, 2023
97dac53
Merge pull request #1251 from dermotduffy/grid
dermotduffy Sep 7, 2023
568a5ce
Accept `.` as a query string delimiter.
dermotduffy Sep 7, 2023
4cf13b1
Merge pull request #1265 from dermotduffy/qs-delimiter
dermotduffy Sep 7, 2023
bfdbe70
Refactor `card.ts` substantially and test.
dermotduffy Oct 2, 2023
a3b1e5f
Fix trigger scan config issue.
dermotduffy Oct 3, 2023
d23f87a
Fix message on initialization rendering.
dermotduffy Oct 3, 2023
c2145ef
Only import `screenfull` in a single place.
dermotduffy Oct 3, 2023
5ebd85e
Remove unnecessary error handling parameter.
dermotduffy Oct 3, 2023
9b72dd8
Refactor main `types.ts` .
dermotduffy Oct 3, 2023
27c3343
Fix duplicate import.
dermotduffy Oct 3, 2023
6bba16c
Clear camera store when cameras are initialized.
dermotduffy Oct 3, 2023
913355a
Do not require all title popup options be specified.
dermotduffy Oct 4, 2023
ed91c87
Move `card-controller` out of `utils`.
dermotduffy Oct 4, 2023
f2e230f
Add mixxing part of prior commit.
dermotduffy Oct 4, 2023
5d2fb22
Merge pull request #1279 from dermotduffy/card.ts-refactor
dermotduffy Oct 4, 2023
c817601
Fix query string handling for navigation calls.
dermotduffy Oct 6, 2023
be74a04
Merge pull request #1281 from dermotduffy/query-string-functions
dermotduffy Oct 6, 2023
ee8f9e3
Handle (invalid) null hass objects.
dermotduffy Oct 6, 2023
95e42ab
Merge pull request #1282 from dermotduffy/null-hass
dermotduffy Oct 6, 2023
d895c43
Treat camera unavailability in a more friendly way.
dermotduffy Oct 6, 2023
63d90a8
Clean up message content.
dermotduffy Oct 6, 2023
4140bde
Merge pull request #1283 from dermotduffy/camera-availability
dermotduffy Oct 6, 2023
f0627e1
Clarify installation instructions.
dermotduffy Oct 6, 2023
fc51bfa
Tweaks.
dermotduffy Oct 6, 2023
b0a8ad3
Merge pull request #1284 from dermotduffy/install-clarify
dermotduffy Oct 6, 2023
cf8935d
Fix issue causing carousel to not correctly scroll.
dermotduffy Oct 7, 2023
04aef8a
Merge pull request #1287 from dermotduffy/fix-disconnection-embla
dermotduffy Oct 7, 2023
db50e36
Add support for custom go2rtc URLs.
dermotduffy Oct 8, 2023
b43389e
Add support for go2rtc for non-Frigate cameras
dermotduffy Oct 8, 2023
de7d412
Add watermark to temporary image on live view.
dermotduffy Oct 8, 2023
f352097
Merge pull request #1290 from dermotduffy/image-watermark
dermotduffy Oct 8, 2023
89395b6
Merge pull request #1291 from dermotduffy/custom-go2rtc
dermotduffy Oct 8, 2023
5777b5b
Minor README improvement for go2rtc `url` parameter.
dermotduffy Oct 8, 2023
fb5fbe4
Merge pull request #1292 from dermotduffy/minor-README-fix
dermotduffy Oct 8, 2023
7a33f75
Improve engine identification and id generation.
dermotduffy Oct 8, 2023
972029f
Merge pull request #1293 from dermotduffy/engine-detection
dermotduffy Oct 8, 2023
9a2eb24
Rename `service_data` to `data` to maintain HA compatibility.
dermotduffy Oct 9, 2023
f11c751
Missed one.
dermotduffy Oct 9, 2023
aa9d061
Merge pull request #1294 from dermotduffy/data-rename
dermotduffy Oct 9, 2023
bc71709
Add new method of casting live cameras based on dashboards.
dermotduffy Oct 10, 2023
50a979b
Update README.
dermotduffy Oct 10, 2023
ac0eab4
Add editor support.
dermotduffy Oct 11, 2023
fa43d2e
Merge pull request #1296 from dermotduffy/new-way-of-casting
dermotduffy Oct 11, 2023
e12912f
Add out-of-the-box Frigate PTZ support.
dermotduffy Oct 29, 2023
984e60f
Remove old TODO.
dermotduffy Oct 30, 2023
45d2e64
Merge pull request #1312 from dermotduffy/ptz-revamp
dermotduffy Oct 30, 2023
f67511c
Enforce coverage %.
dermotduffy Oct 31, 2023
ad1c323
Merge pull request #1313 from dermotduffy/tests
dermotduffy Oct 31, 2023
278f4f3
Initial version of more advanced scan mode control.
dermotduffy Jan 18, 2024
64a909e
Add editor and migration support.
dermotduffy Jan 21, 2024
06f2151
Allow per-camera trigger borders.
dermotduffy Jan 24, 2024
5e72070
Add interaction and triggered conditions.
dermotduffy Jan 26, 2024
2d38171
Add warning message for loading stream.
dermotduffy Jan 26, 2024
53fa1e0
Minor fixes.
dermotduffy Jan 26, 2024
055d184
Merge pull request #1351 from dermotduffy/advanced-scan
dermotduffy Jan 28, 2024
b99628d
Fix minor seeking issue in unreleased code.
dermotduffy Jan 28, 2024
1f70866
Add test.
dermotduffy Jan 28, 2024
94ade5b
Adjust branch coverage.
dermotduffy Jan 28, 2024
a0dc1a1
Merge pull request #1352 from dermotduffy/seek-merge
dermotduffy Jan 28, 2024
d3260d5
Allow the inbound audio to unmute when the microphone is unmuted.
dermotduffy Jan 29, 2024
dd01c00
Minor fixes.
dermotduffy Jan 29, 2024
8583696
Merge pull request #1353 from dermotduffy/microphone-muting
dermotduffy Jan 29, 2024
7ddafa0
Fix issue with menu closing too early on microphone unmute.
dermotduffy Jan 29, 2024
8a6640a
Refactor menu code and add tests.
dermotduffy Feb 3, 2024
2295304
Fix StyleInfo typing.
dermotduffy Feb 3, 2024
25e08ca
Merge pull request #1358 from dermotduffy/menu
dermotduffy Feb 3, 2024
a4108b7
Allow microphone state to be used in conditions.
dermotduffy Feb 3, 2024
3398670
Merge pull request #1359 from dermotduffy/unmuted_trigger
dermotduffy Feb 3, 2024
93a475c
Allow live thumbnails to load recordings .
dermotduffy Feb 3, 2024
e35a449
Fix non-en languages.
dermotduffy Feb 3, 2024
cf7d379
Merge pull request #1360 from dermotduffy/recordings-thumbnails
dermotduffy Feb 3, 2024
220b4b9
Process range changes correctly when the date picker is used.
dermotduffy Feb 3, 2024
8d34f78
Merge pull request #1361 from dermotduffy/timeline-bugs
dermotduffy Feb 3, 2024
3ffcebf
Fix issues with 2-way audio for cameras that support only a single st…
dermotduffy Feb 4, 2024
ee2bb25
Merge pull request #1362 from dermotduffy/mic-mandatory
dermotduffy Feb 4, 2024
2c8a416
Change datepicker library to fix iOS users.
dermotduffy Feb 4, 2024
cdf347c
Lint fixes.
dermotduffy Feb 4, 2024
88a87e8
Merge pull request #1364 from dermotduffy/new-date-picker
dermotduffy Feb 4, 2024
e217568
Add custom date/time media filtering.
dermotduffy Feb 8, 2024
559f836
Fix test coverage target.
dermotduffy Feb 8, 2024
305a2db
Merge pull request #1366 from dermotduffy/gallery-range
dermotduffy Feb 8, 2024
88bea0a
Allow camera engines to signal events to the card.
dermotduffy Mar 3, 2024
8f3c6af
Update test thresholds.
dermotduffy Mar 3, 2024
89ddea6
Fix obscure config merge bug.
dermotduffy Mar 4, 2024
73e3c9d
Merge pull request #1390 from dermotduffy/refresh-fidelity
dermotduffy Mar 4, 2024
2b9b237
Prevent test coverage backsliding for 100% coverage files.
dermotduffy Mar 4, 2024
84c9f3f
Merge pull request #1391 from dermotduffy/test-thresholds
dermotduffy Mar 4, 2024
7d1260d
Remove remnants of old PTZ `auto` mode.
dermotduffy Mar 4, 2024
b8e2b32
Merge pull request #1392 from dermotduffy/auto-ptz
dermotduffy Mar 4, 2024
72eae2b
Update dimensions and media layout options to be per camera.
dermotduffy Mar 7, 2024
b08a8f5
Fix minor type errors.
dermotduffy Mar 7, 2024
e261c17
Merge pull request #1394 from dermotduffy/layout-live
dermotduffy Mar 8, 2024
ecdd02c
Always render a view even if default is unsupported.
dermotduffy Mar 9, 2024
e478368
Merge pull request #1395 from dermotduffy/init-unsupported
dermotduffy Mar 9, 2024
6ed1c90
Ensure timeline menu buttons shows up when it should.
dermotduffy Mar 10, 2024
219191e
Merge pull request #1396 from dermotduffy/better-button-accuracy
dermotduffy Mar 10, 2024
ff78cc5
Add support for users and numeric_conditions.
dermotduffy Mar 10, 2024
829f411
Convert conditions to HA style.
dermotduffy Mar 11, 2024
b96872f
Merge pull request #1398 from dermotduffy/conditions
dermotduffy Mar 11, 2024
463f4bf
Add ability to set timeline pan mode via config.
dermotduffy Mar 11, 2024
3475e1b
Merge pull request #1399 from dermotduffy/timeline-pan-or-seek
dermotduffy Mar 11, 2024
a0df7b7
Add catalan translations
edurenye Mar 22, 2024
0c7260d
Merge pull request #1409 from edurenye/add_catalan
dermotduffy Mar 24, 2024
95c44ad
Allow camera capabilities to be configured.
dermotduffy Mar 27, 2024
572c6b8
Fix CA language.
dermotduffy Mar 27, 2024
7aa9dcc
Merge pull request #1414 from dermotduffy/capabilities
dermotduffy Mar 27, 2024
888fe00
Merge branch 'main' into merge-main-back-in2
dermotduffy Mar 27, 2024
53bb18d
Merge pull request #1415 from dermotduffy/merge-main-back-in2
dermotduffy Mar 27, 2024
b23cea4
Add French language.
dermotduffy Mar 28, 2024
0b9935d
Merge pull request #1417 from dermotduffy/languages
dermotduffy Mar 28, 2024
bde4e6c
Add support for configuration profiles.
dermotduffy Mar 29, 2024
9d62a5c
Merge pull request #1418 from dermotduffy/profiles
dermotduffy Mar 29, 2024
955bcb3
Complete documentation overhaul.
dermotduffy Apr 2, 2024
aea2e87
Merge pull request #1421 from dermotduffy/doc-quick-start
dermotduffy Apr 2, 2024
20ad5e5
Add link to deployed documentation.
dermotduffy Apr 2, 2024
ca11cd5
Merge pull request #1422 from dermotduffy/link-to-new-docs
dermotduffy Apr 2, 2024
71eac1b
Add the word 'DEV' to the coverpage for now.
dermotduffy Apr 2, 2024
696671a
Merge pull request #1423 from dermotduffy/dev-on-cover
dermotduffy Apr 2, 2024
0b09bd6
Add documentation favicon.
dermotduffy Apr 2, 2024
d22cc07
Merge pull request #1424 from dermotduffy/favicon
dermotduffy Apr 2, 2024
02a469f
Only show download button in media viewer.
dermotduffy Apr 2, 2024
6aab73b
Merge pull request #1425 from dermotduffy/no-download-in-live
dermotduffy Apr 2, 2024
7d2dd74
Refactor menu buttons controller into different functions.
dermotduffy Apr 4, 2024
14a4f89
Merge pull request #1428 from dermotduffy/menu-refactor
dermotduffy Apr 4, 2024
f676203
Set timeline to now not to most recent event.
dermotduffy Apr 8, 2024
d191e9e
Fix typo.
dermotduffy Apr 8, 2024
43406b2
Merge pull request #1432 from dermotduffy/timeline-last-event
dermotduffy Apr 8, 2024
9c9548a
Fix card-wide actions.
dermotduffy Apr 8, 2024
25d080f
Remove unnecessary comment.
dermotduffy Apr 8, 2024
18bbe3a
Fix element tests.
dermotduffy Apr 8, 2024
e0bdc1c
Merge pull request #1433 from dermotduffy/actions-fix
dermotduffy Apr 8, 2024
6a55e2d
Improve favicon constrast.
dermotduffy Apr 8, 2024
0eca5d7
Merge pull request #1434 from dermotduffy/favicon-contrast
dermotduffy Apr 8, 2024
3239251
Add support for more advanced forms of overriding
dermotduffy Apr 14, 2024
4630d79
Merge pull request #1438 from dermotduffy/override-redo
dermotduffy Apr 14, 2024
8422400
Fix media autoplay.
dermotduffy Apr 15, 2024
e13a7be
Merge pull request #1440 from dermotduffy/fix-autoplay2
dermotduffy Apr 15, 2024
b4ed40e
Fix controls and seeking bugs.
dermotduffy Apr 15, 2024
ad1f305
Merge pull request #1441 from dermotduffy/fix-control-hiding
dermotduffy Apr 15, 2024
c7c85d1
Add support for precise layout cropping options.
dermotduffy Apr 15, 2024
5f4943e
Add tests.
dermotduffy Apr 15, 2024
b75e2f5
Merge pull request #1442 from dermotduffy/object-view-box
dermotduffy Apr 15, 2024
c630b9f
Fix menu hide bug causing menu background to stay even when hidden.
dermotduffy Apr 15, 2024
246dd7f
Merge pull request #1443 from dermotduffy/menu-fix2
dermotduffy Apr 15, 2024
f96a122
Create CNAME
dermotduffy Apr 25, 2024
7917e5c
Add support for pre-defined zoom/pan settings.
dermotduffy Apr 27, 2024
b70e315
Add example to documentation.
dermotduffy Apr 28, 2024
7d831f9
Ensure automations check for HA conditions.
dermotduffy Apr 28, 2024
63797ea
Check links as part of the github build.
dermotduffy Apr 28, 2024
dc9ea6d
Merge pull request #1448 from dermotduffy/predefined-zoom
dermotduffy Apr 28, 2024
d154904
Add waiting label.
dermotduffy Apr 28, 2024
52a2dcf
Merge pull request #1449 from dermotduffy/add-waiting
dermotduffy Apr 28, 2024
9acb99a
Add Google Analytics to docs.
dermotduffy May 1, 2024
c789e76
Merge pull request #1451 from dermotduffy/analytics
dermotduffy May 1, 2024
fa84b3e
Update Node.js from 18 to 20 LTS
felipecrs May 1, 2024
1a36ce0
Update date-fns and date-fns-tz to v3
felipecrs Jun 6, 2024
c407206
Merge pull request #1462 from felipecrs/date-fns-v3
dermotduffy Jun 6, 2024
3d6115a
Merge pull request #1452 from felipecrs/node-20
dermotduffy Jun 6, 2024
289618d
Update typescript to v5, as well as eslint and typescript-eslint
felipecrs Jun 6, 2024
4b93452
Merge pull request #1463 from felipecrs/typescript-v5
dermotduffy Jun 6, 2024
8a93457
Merge pull request #1213 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 6, 2024
462dc4c
Merge pull request #1237 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 6, 2024
9279e11
Merge pull request #1264 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 6, 2024
027e13d
Bump crazy-max/ghaction-github-labeler from 4.1.0 to 5.0.0
dependabot[bot] Jun 6, 2024
904f6d8
Merge pull request #1266 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 6, 2024
7ab5457
Add initial keyboard shortcut support.
dermotduffy Jun 6, 2024
71c8a3c
Fix package order.
dermotduffy Jun 6, 2024
08ba2ee
Hide the ptz_home button. Likely not important enough for most users.
dermotduffy Jun 6, 2024
7069cfc
Bump svenstaro/upload-release-action from 2.7.0 to 2.9.0
dependabot[bot] Jun 6, 2024
623b23d
Bump thedoctor0/zip-release from 0.7.1 to 0.7.6
dependabot[bot] Jun 6, 2024
78838a2
Bump actions/upload-artifact from 3 to 4
dependabot[bot] Jun 6, 2024
6c1f644
Bump release-drafter/release-drafter from 5.24.0 to 6.0.0
dependabot[bot] Jun 6, 2024
d196587
Merge pull request #1465 from dermotduffy/keyboard
dermotduffy Jun 7, 2024
2174098
Merge pull request #1466 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 7, 2024
ba3a6e5
Merge pull request #1467 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 7, 2024
5fdd7ef
Merge pull request #1468 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 7, 2024
9e7b553
Merge pull request #1469 from dermotduffy/dependabot/github_actions/d…
dermotduffy Jun 7, 2024
fca040c
Convert docs dependencies to be locally served.
dermotduffy Jun 7, 2024
2a637d9
Merge pull request #1470 from dermotduffy/hermetic-docs
dermotduffy Jun 7, 2024
fccb4c9
Bump prettier to v3 and format all files
felipecrs Jun 10, 2024
91b0909
Fix some broken formatting in the docs
felipecrs Jun 10, 2024
38d3fa3
Merge pull request #1472 from felipecrs/prettier
dermotduffy Jun 11, 2024
321bb6f
Update all non-major dependencies
felipecrs Jun 6, 2024
5442512
Merge pull request #1464 from felipecrs/update-non-major
dermotduffy Jun 12, 2024
7356044
Update rollup to v3 and also its plugins
felipecrs Jun 11, 2024
4c73c8f
Merge pull request #1474 from felipecrs/update-rollup-v3
dermotduffy Jun 12, 2024
f193f99
Add `update` trigger action.
dermotduffy Jun 8, 2024
afb9af5
Rename several view variables for clarity.
dermotduffy Jun 11, 2024
8c7c2c8
Use an automation to change view to default.
dermotduffy Jun 12, 2024
33dee47
Tiny fixes.
dermotduffy Jun 15, 2024
d5c4e56
Refactor views to support dynamic updates.
dermotduffy Jul 27, 2024
73e7e6c
Bind to correct object.
dermotduffy Jul 29, 2024
d171aac
Make description more intuitive.
dermotduffy Jul 29, 2024
f2ca808
Update docs.
dermotduffy Jul 29, 2024
67c90aa
Minor docs example updates.
dermotduffy Jul 30, 2024
8823e76
Remove unnecessary sentence.
dermotduffy Jul 30, 2024
ef7b4b0
Formatting pass.
dermotduffy Jul 30, 2024
db9303c
Merge pull request #1488 from dermotduffy/update-trigger-action
dermotduffy Jul 30, 2024
e503f0e
Initial version of status bar.
dermotduffy Aug 17, 2024
869c2f9
Minor pointer fixes.
dermotduffy Aug 17, 2024
dc3ff62
Formatting fixes.
dermotduffy Aug 17, 2024
5a1d08f
Merge pull request #1498 from dermotduffy/status-bar
dermotduffy Aug 17, 2024
429dd90
Use custom websocket to avoid needing admin privileges.
dermotduffy Aug 25, 2024
800259d
Merge pull request #1501 from dermotduffy/admin-trigger
dermotduffy Aug 25, 2024
ca405e9
Fix query adopt bug.
dermotduffy Aug 26, 2024
2412cc5
Merge pull request #1503 from dermotduffy/adoption
dermotduffy Aug 26, 2024
09a15ab
Fix recording timezone issue.
dermotduffy Aug 26, 2024
2a31d96
Merge pull request #1504 from dermotduffy/timezone-in-requests
dermotduffy Aug 26, 2024
91ffe06
Don't run automations prior to initialization .
dermotduffy Aug 26, 2024
e94f550
Merge pull request #1505 from dermotduffy/automations-init
dermotduffy Aug 26, 2024
4712a32
Fix auto media action problem .
dermotduffy Aug 26, 2024
5844a03
Merge pull request #1506 from dermotduffy/autoplay-intersection-issue
dermotduffy Aug 26, 2024
0403441
Add max_simultaneous_engine_requests parameter
dermotduffy Aug 27, 2024
76a750f
Small test fixes.
dermotduffy Aug 27, 2024
5ad957f
Merge pull request #1507 from dermotduffy/engine-max-requests
dermotduffy Aug 27, 2024
8344734
Remove optimization that caused scrubbing misbehavior
dermotduffy Aug 27, 2024
8117747
Merge pull request #1509 from dermotduffy/scrub-error
dermotduffy Aug 31, 2024
1a0e219
Move automatic media actions out of carousels
dermotduffy Sep 7, 2024
e0dda84
Small formatting fix.
dermotduffy Sep 7, 2024
9706da7
Merge pull request #1512 from dermotduffy/media-actions-remove-from-c…
dermotduffy Sep 7, 2024
c735918
Fix overlay z-index for menu .
dermotduffy Sep 7, 2024
9141cec
Add status bar screenshot
dermotduffy Sep 7, 2024
bab4961
Merge pull request #1514 from dermotduffy/status-bar-screenshot
dermotduffy Sep 7, 2024
51dd8aa
Remove dev warnings from docs .
dermotduffy Sep 7, 2024
1c1fcf5
Merge pull request #1515 from dermotduffy/status-bar-screenshot
dermotduffy Sep 7, 2024
1a38152
Bump version to v6.0.0-beta.1 .
dermotduffy Sep 7, 2024
de216d0
Merge pull request #1516 from dermotduffy/bump-version-v6-beta.1
dermotduffy Sep 7, 2024
6d27a24
Merge pull request #1513 from dermotduffy/overlay-z-index
dermotduffy Sep 7, 2024
e233ac3
Add French translations
dermotduffy Sep 8, 2024
35ff8cd
Merge pull request #1517 from dermotduffy/redo-fr
dermotduffy Sep 8, 2024
0416563
Add support for arbitrary image entities
dermotduffy Sep 8, 2024
120eca1
Remove superfluous whitespace.
dermotduffy Sep 8, 2024
c77e0ad
Merge pull request #1518 from dermotduffy/entity-picture
dermotduffy Sep 9, 2024
6fc4900
Block noisy console spam on build.
dermotduffy Sep 9, 2024
edb6531
Fix styling issues.
dermotduffy Sep 9, 2024
804aa97
Merge pull request #1519 from dermotduffy/patch-sass
dermotduffy Sep 9, 2024
a0283c3
Add support for `perform-action` calls.
dermotduffy Sep 10, 2024
22de42b
Fix devcontainer
felipecrs Sep 12, 2024
49924fc
Switch to devcontainer:@
felipecrs Sep 12, 2024
e45b281
Switch back to original container
felipecrs Sep 12, 2024
ed307eb
Add YAML ---
felipecrs Sep 12, 2024
270921d
Update integration submodule
felipecrs Sep 13, 2024
b2e8bfe
Merge pull request #1523 from felipecrs/fix-devcontainer
dermotduffy Sep 13, 2024
d3754b0
Fix test name typo
dermotduffy Sep 13, 2024
c7c134b
Merge pull request #1520 from dermotduffy/perform-action
dermotduffy Sep 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ ARG HOME="/home/vscode"
ENV VOLTA_HOME="${HOME}/.volta"
ENV PATH="${VOLTA_HOME}/bin:${PATH}"
RUN bash -c "$(curl -fsSL https://get.volta.sh)" -- --skip-setup

CMD ["sleep", "infinity"]
14 changes: 8 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"dockerComposeFile": "../docker-compose.yml",
"service": "dev",
"service": "devcontainer",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false,
"dockerDashComposeVersion": "v2"
"moby": false
}
},
"updateRemoteUserUID": true,
"workspaceFolder": "${localWorkspaceFolder}",
"shutdownAction": "stopCompose",
"initializeCommand": [".devcontainer/initialize.sh"],
"postCreateCommand": ["yarn", "install"],
"forwardPorts": [10001, "hass:8123", "frigate:5000"],
"portsAttributes": {
"10001": {
Expand All @@ -25,8 +26,6 @@
"onAutoForward": "silent"
}
},
"initializeCommand": ".devcontainer/initialize.sh",
"postCreateCommand": "yarn install",
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -39,9 +38,12 @@
"davidanson.vscode-markdownlint",
"redhat.vscode-yaml",
"lokalise.i18n-ally",
"vitest.explorer",
"inlang.vs-code-extension",
"ms-azuretools.vscode-docker"
],
"settings": {
"task.allowAutomaticTasks": "on",
"files.eol": "\n",
"editor.tabSize": 2,
"editor.formatOnPaste": false,
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/frigate-hass-integration
Submodule frigate-hass-integration updated 56 files
+1 −10 .devcontainer/Dockerfile
+1 −9 .devcontainer/config/configuration.yaml
+50 −42 .devcontainer/devcontainer.json
+9 −12 .devcontainer/frigate.yml
+15 −0 .devcontainer/preconfig/.storage/core.config_entries
+13 −0 .devcontainer/preconfig/.storage/lovelace.frigate
+18 −0 .devcontainer/preconfig/.storage/lovelace_dashboards
+7 −7 .github/workflows/build.yaml
+2 −2 .github/workflows/labeler.yml
+1 −1 .github/workflows/release-drafter.yml
+32 −0 .github/workflows/stale.yml
+1 −1 README.md
+49 −11 custom_components/frigate/__init__.py
+32 −0 custom_components/frigate/api.py
+92 −1 custom_components/frigate/binary_sensor.py
+109 −102 custom_components/frigate/camera.py
+11 −2 custom_components/frigate/config_flow.py
+20 −5 custom_components/frigate/const.py
+5 −3 custom_components/frigate/diagnostics.py
+10 −0 custom_components/frigate/icons.py
+123 −0 custom_components/frigate/image.py
+2 −2 custom_components/frigate/manifest.json
+24 −37 custom_components/frigate/media_source.py
+112 −10 custom_components/frigate/sensor.py
+71 −0 custom_components/frigate/services.yaml
+34 −2 custom_components/frigate/switch.py
+36 −0 custom_components/frigate/translations/ca.json
+35 −0 custom_components/frigate/translations/de.json
+31 −30 custom_components/frigate/translations/en.json
+36 −0 custom_components/frigate/translations/fr.json
+30 −28 custom_components/frigate/translations/pt-BR.json
+30 −28 custom_components/frigate/translations/pt_br.json
+36 −0 custom_components/frigate/translations/ru.json
+1 −1 custom_components/frigate/update.py
+8 −0 custom_components/frigate/views.py
+108 −2 custom_components/frigate/ws_api.py
+95 −0 custom_components/frigate/ws_event_proxy.py
+2 −5 docker-compose.yml
+14 −0 project.inlang.json
+3 −4 pyproject.toml
+1 −1 requirements.txt
+3 −3 requirements_dev.txt
+37 −11 tests/__init__.py
+150 −50 tests/fixtures/events_front_door.json
+65 −2 tests/test_api.py
+33 −0 tests/test_binary_sensor.py
+200 −42 tests/test_camera.py
+3 −0 tests/test_config_flow.py
+1 −0 tests/test_icons.py
+86 −0 tests/test_image.py
+62 −2 tests/test_init.py
+10 −9 tests/test_media_source.py
+54 −6 tests/test_sensor.py
+26 −0 tests/test_switch.py
+30 −0 tests/test_views.py
+252 −0 tests/test_ws_api.py
27 changes: 14 additions & 13 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
module.exports = {
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: "module" // Allows for the use of imports
},
extends: [
"plugin:@typescript-eslint/recommended" // Uses the recommended rules from the @typescript-eslint/eslint-plugin
],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
}
};
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
extends: [
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
},
};
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
target-branch: "dev"
version: 2

updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
target-branch: 'dev'
7 changes: 5 additions & 2 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
color: a2eeef
- name: github_actions
description: Pull requests that update Github_actions code
color: "000000"
color: '000000'
- name: good first issue
description: Good for newcomers
color: 7057ff
Expand All @@ -42,7 +42,7 @@
color: e4e669
- name: performance
description: Performance
color: "016175"
color: '016175'
- name: python
description: Pull requests that update Python code
color: 2b67c6
Expand All @@ -67,3 +67,6 @@
- name: votes needed
description: Vote for this feature to encourage prioritization!
color: e2ed82
- name: waiting
description: Waiting for something
color: daa036
46 changes: 23 additions & 23 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
---
categories:
- title: ":boom: Breaking Changes"
label: "breaking"
- title: ":rocket: Features"
label: "enhancement"
- title: ":fire: Removals and Deprecations"
label: "removal"
- title: ":bug: Fixes"
label: "bug"
- title: ":racehorse: Performance"
label: "performance"
- title: ":rotating_light: Testing"
label: "testing"
- title: ":construction_worker: Continuous Integration"
label: "ci"
- title: ":books: Documentation"
label: "documentation"
- title: ":hammer: Refactoring"
label: "refactoring"
- title: ":lipstick: Style"
label: "style"
- title: ":package: Dependencies"
- title: ':boom: Breaking Changes'
label: 'breaking'
- title: ':rocket: Features'
label: 'enhancement'
- title: ':fire: Removals and Deprecations'
label: 'removal'
- title: ':bug: Fixes'
label: 'bug'
- title: ':racehorse: Performance'
label: 'performance'
- title: ':rotating_light: Testing'
label: 'testing'
- title: ':construction_worker: Continuous Integration'
label: 'ci'
- title: ':books: Documentation'
label: 'documentation'
- title: ':hammer: Refactoring'
label: 'refactoring'
- title: ':lipstick: Style'
label: 'style'
- title: ':package: Dependencies'
labels:
- "dependencies"
- "build"
- 'dependencies'
- 'build'
template: |
## Changes

Expand Down
37 changes: 27 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- dev
pull_request:
schedule:
- cron: "17 6 * * *"
- cron: '17 6 * * *'
workflow_dispatch:

jobs:
Expand All @@ -17,31 +17,48 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node and Yarn
uses: volta-cli/action@v4

- name: Install dependencies
run: yarn install --immutable

- name: Lint
run: yarn run lint

- name: Check formatting
run: yarn run format-check

- name: Test & Coverage
run: yarn run coverage

- name: Build
run: yarn run build

- name: Test
run: yarn run test

- name: HACS build validation
uses: "hacs/[email protected]"
uses: 'hacs/[email protected]'
with:
category: "plugin"
category: 'plugin'

# Don't attempt to load into HACS (as it loads the release, not the
# build).
ignore: "hacs"
ignore: 'hacs'

- name: Verify docs links
run: yarn run docs-check-links

- name: Upload artifact
uses: actions/upload-artifact@v3
- name: Upload javascript
uses: actions/upload-artifact@v4
with:
name: frigate-hass-card
path: dist/*.js

# When this issue is fixed, it would be useful to upload visualizations:
# https://github.com/actions/upload-artifact/issues/14
# - name: Upload visualizations
# uses: actions/upload-artifact@v4
# with:
# name: frigate-hass-card
# path: visualizations/*.html
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v4.1.0
uses: crazy-max/ghaction-github-labeler@v5.0.0
with:
skip-delete: true
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run release-drafter
uses: release-drafter/release-drafter@v5.23.0
uses: release-drafter/release-drafter@v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node and Yarn
uses: volta-cli/action@v4
Expand All @@ -24,14 +24,14 @@ jobs:
run: yarn run build

- name: Zip the files
uses: thedoctor0/[email protected].1
uses: thedoctor0/[email protected].6
with:
type: zip
path: dist
filename: frigate-hass-card.zip

- name: Upload JS files to release
uses: svenstaro/upload-release-action@2.6.1
uses: svenstaro/upload-release-action@2.9.0

with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -41,7 +41,7 @@ jobs:
overwrite: true

- name: Upload Zip file to release
uses: svenstaro/upload-release-action@2.6.1
uses: svenstaro/upload-release-action@2.9.0

with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package-lock.json
.env
.envrc

stats.html
/visualizations/
/coverage/

# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
docs/js/
.devcontainer/
8 changes: 0 additions & 8 deletions .prettierrc.cjs

This file was deleted.

6 changes: 3 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"runem.lit-plugin",
"davidanson.vscode-markdownlint",
"redhat.vscode-yaml",
// "lokalise.i18n-ally",
"zixuanchen.vitest-explorer",
"inlang.vs-code-extension" // improved i18n DX
"lokalise.i18n-ally",
"vitest.explorer",
"inlang.vs-code-extension"
]
}
2 changes: 0 additions & 2 deletions .vscode/i18n-ally-custom-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ usageMatchRegex:
# you can ignore it and use your own matching rules as well
- "[^\\w\\d]localize\\(['\"`]({key})['\"`]"


# An array of strings containing refactor templates.
# The "$1" will be replaced by the keypath specified.
# Optional: uncomment the following two lines to use

# refactorTemplates:
# - i18n.get("$1")


# If set to true, only enables this custom framework (will disable all built-in frameworks)
monopoly: true
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
"i18n-ally.sortKeys": true,
"i18n-ally.keepFulfilled": true,
"i18n-ally.editor.preferEditor": true,
"i18n-ally.translate.saveAsCandidates": true,
"vitest.commandLine": "npx vitest --root ."
"i18n-ally.translate.saveAsCandidates": true
}
5 changes: 4 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"endsPattern": "^created"
}
},
"isBackground": true
"isBackground": true,
"runOptions": {
"runOn": "folderOpen"
}
}
]
}
7 changes: 7 additions & 0 deletions .yarn/patches/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Patches

## `sass`

`sass` is patched to avoid printing out a noisy deprecation notice on every
build. `sass` is imported by `rollup-plugin-styler`, in a way that triggers this
message. The patch simply prevents this console spam.
13 changes: 13 additions & 0 deletions .yarn/patches/sass-npm-1.77.4-13b6910aea.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/sass.node.mjs b/sass.node.mjs
index f59a3d8987162a3cbc9787c34f67186fb0f09186..b154f46118ccc03989b9a1c11309954c85515539 100644
--- a/sass.node.mjs
+++ b/sass.node.mjs
@@ -40,7 +40,7 @@ export const NodePackageImporter = cjs.NodePackageImporter;
export const deprecations = cjs.deprecations;
export const Version = cjs.Version;

-let printedDefaultExportDeprecation = false;
+let printedDefaultExportDeprecation = true;
function defaultExportDeprecation() {
if (printedDefaultExportDeprecation) return;
printedDefaultExportDeprecation = true;
Loading
Loading