Nicolas Mowen
dcafcc1320
Fix Config success message ( #8121 )
...
* Fix saved message
* Fix save mask
2023-10-10 08:23:18 -05:00
Blake Blackshear
14d2b79c72
Security fixes ( #8081 )
...
* use safeloader
* use json responses wherever possible
* remove CORS and add CSRF token
* formatting fixes
* add envjs back
* fix baseurl test
2023-10-06 22:20:30 -05:00
Nicolas Mowen
d30a738960
Show status when mask is saved ( #7212 )
2023-07-21 07:30:22 -05:00
Sergey Krashevich
f48dd8c1ab
Feature: camera debug/config enhancements ( #6920 )
...
* Add functionality to update YAML config file with PUT request in HTTP endpoint
* Refactor copying of text to clipboard with Clipboard API and fallback to document.execCommand('copy') in CameraMap.jsx file
* Update YAML file from URL query parameters in frigate/http.py and add functionality to save motion masks, zones, and object masks in CameraMap.jsx
* formatting
* fix merging fuckup
* Refactor camera zone coordinate saving to use single query parameter per zone in CameraMap.jsx
* remove unnecessary print statements in util.py
* Refactor update_yaml_file function to separate the logic for updating YAML data into a new function update_yaml().
* fix merge errors
* Refactor code to improve error handling and add dependencies to useEffect hooks
2023-07-06 13:54:26 -05:00
Blake Blackshear
cc27c94e03
Merge remote-tracking branch 'origin/master' into dev
2022-11-17 07:11:03 -06:00
Nicolas Mowen
e718d09c79
Fix new lines for instructions ( #4371 )
...
* Fix new lines for instructions
* Use correct formatting for list
* Fix formatting
2022-11-13 12:49:08 -06:00
Blake Blackshear
9c9220979e
Update web deps ( #4383 )
...
* Bump jest from 27.5.1 to 29.3.1 in /web
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 27.5.1 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump msw from 0.38.2 to 0.48.0 in /web
Bumps [msw](https://github.com/mswjs/msw ) from 0.38.2 to 0.48.0.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v0.38.2...v0.48.0 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump idb-keyval from 6.1.0 to 6.2.0 in /web
Bumps [idb-keyval](https://github.com/jakearchibald/idb-keyval ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/jakearchibald/idb-keyval/releases )
- [Changelog](https://github.com/jakearchibald/idb-keyval/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jakearchibald/idb-keyval/compare/v6.1.0...v6.2.0 )
---
updated-dependencies:
- dependency-name: idb-keyval
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @babel/preset-typescript from 7.16.7 to 7.18.6 in /web
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.16.7 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump typescript from 4.6.2 to 4.8.4 in /web
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.6.2 to 4.8.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.8.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @testing-library/user-event from 13.5.0 to 14.4.3 in /web
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.5.0 to 14.4.3.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.4.3 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump preact-router from 4.0.1 to 4.1.0 in /web
Bumps [preact-router](https://github.com/preactjs/preact-router ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/preactjs/preact-router/releases )
- [Commits](https://github.com/preactjs/preact-router/compare/4.0.1...4.1.0 )
---
updated-dependencies:
- dependency-name: preact-router
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump axios from 0.26.0 to 1.1.3 in /web
Bumps [axios](https://github.com/axios/axios ) from 0.26.0 to 1.1.3.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.26.0...v1.1.3 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @preact/preset-vite from 2.1.7 to 2.4.0 in /web
Bumps [@preact/preset-vite](https://github.com/preactjs/preset-vite ) from 2.1.7 to 2.4.0.
- [Release notes](https://github.com/preactjs/preset-vite/releases )
- [Commits](https://github.com/preactjs/preset-vite/compare/v2.1.7...v2.4.0 )
---
updated-dependencies:
- dependency-name: "@preact/preset-vite"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @testing-library/jest-dom from 5.16.2 to 5.16.5 in /web
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.2 to 5.16.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.2...v5.16.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* revamp frontend
* disable broken tests
* disable a few more tests
* update typescript
* couple docs updates
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-13 10:31:36 -06:00
Nicolas Mowen
42bc372d6e
Update mask editor to have instructions ( #4324 )
2022-11-10 06:31:19 -06:00
Blake Blackshear
1c9ba11e07
swr events refactor
2022-03-11 07:49:06 -06:00
JohnMark Sill
3e07d4eddb
feat: Timeline UI ( #2830 )
2022-02-27 08:04:12 -06:00
Blake Blackshear
f3a1c1de0a
move width/height/fps under detect and make required
...
also resizes the output from ffmpeg to specified size
2021-08-14 14:18:35 -05:00
Paul Armstrong
52a29ed00a
test(web): routes/Camera
2021-02-20 08:20:17 -06:00
Paul Armstrong
5eaf8a5448
test(web): Switch (and add label back in)
2021-02-20 08:20:17 -06:00
Paul Armstrong
1aa9a7a093
test(web): CameraImage (basic)
...
Testing Image and Canvas calls requires a lot of heavy dependencies, so this skips that part of the tests
2021-02-20 08:20:17 -06:00
Paul Armstrong
daa759cc55
test(web): add eslint and PR lint validation
2021-02-20 08:20:17 -06:00
Patrick Decat
07bd376649
fix(web): fix CameraMap.jsx import of api after move to routes/
2021-02-20 08:20:17 -06:00
Paul Armstrong
7aee28d080
refactor(web): async routing
2021-02-20 08:20:17 -06:00