Commit Graph

62 Commits (master)

Author SHA1 Message Date
Moe 882f0bccc0 undo update to singleCamera.js 2025-06-04 11:57:03 +06:00
Moe 7ede7ef208 Emperor Claudius
### Changelog

#### May 2025

- Update Drop In Events (FTP)
  - Allow API Key ending only in @
  - Clean up file and folder processing for trigger
  - Better Uploaded content cleanup
- Fix memory leak possibility in camera thread
- Add extender for onOnvifEventTrigger (not enabled)
- Fix timelapse frame path builder in cron
- Fix too long column insertion on Videos table objects column
- Remove fps changer in simple mode changer api endpoint
- Update actCheck.js

#### April 2025

- Fix default object detection dimensions at 1280x720
- Merge branch 'dev' into 'dev'
  - Added pl language (translated by an LLM)
- Clean up central connector, prevents connecting multiple times at start
- Added pl language (translated by an LLM)
- Fix some npm vulnerabilities
- Fix event filters getting broken in cleanStringsInObject
  - Make Event Filters disable submit on save
  - Change region editor to use configureMonitor function
- Add some debugging code to createEventBasedRecording
- Fix refactored Central Connector when lost connection
- General fixes on monitor startup
- Add missing Custom Settings table creation
- Make central connector only get IPv4 and ignore internal
- Cleanup some logging and spacing
- Add bad cseq log drop to prevent browser log flooding
- Fix failing input_map parse on some monitors, modernize some details
- Update pairServer.js
- Allow Central Connection without SSH
- Refactor central management connector
- Make Max Storage Amount a human inputable/readable value
- Fix broken monitor utils
- Allow Commas in cleanStringsInObject function
- Add "Alarms" logging/actions and PTZ Updates
  - Fix Alarms tab preview video link
  - Update alarmPopup.ejs
  - Make form dark on Alarm Popup
  - Clean up Alarm gamepad
  - Add height to Alarm popup
  - Add download button to Alarm Popup video
  - Add details from first event to alarm
  - Use normal form instead of save on change in alarm popup
  - Remove console.log from getEventBasedRecordingUponCompletion
  - Make Alarms use normal Videos instead of Notification video + Gamepad PTZ
  - Add multiple monitors logged to Alarm and updating Alarm
  - Fix timezone in alarm popup, add limit query option to Alarms listing
  - Alarms and Event-Based PTZ (Working 80%)
  - Alarms (Framework only) and Event-Based PTZ and Utility updates
- Add Max Days for Cloud Video Uploaders
- Make fetch ptz command provide response data
- Change color of status progress bar
- Central SSH reconnect with delay
- Add SSH Proxy Capability to Central Management

#### March 2025

- Fix libs/ffmpeg in gitignore
- Add option to periodically reset management connection
- Add offline activator
- Remove language loaded from account settings
- Add WireGuard VPN scripts (server uses docker)
- Key manages camera count
- Allow "&" in monitor config strings
- Allow "?" in monitor config strings
- Add server ip parse for Central Connect
- Fix Branding by removing User-Level language selection
- Reverse Videos list when merging to ensure proper order
- Save Frame from FTP Trigger in Timelapse
- Reapply "Fix Cross-site scripting vulnerability in Monitor Edit" (Fixed)
- Revert "Fix Cross-site scripting vulnerability in Monitor Edit"
- Update getVideoSearchRequestQueries to have operators
- Clean up Videos Table Search Execution
- Fix Cross-site scripting vulnerability in Monitor Edit
- Remove DB_DISABLE_INCLUDED from Docker image

#### February 2025

- Make Monitor Settings post with websocket instead of ajax
- Clean up websocket callback on complete
- Ignore ffmpeg folder within Shinobi folder (ffbinaries download)
- Add a cmd tool to mass modify monitor configs with a template
- Update removeSenstiveInfoFromMonitorConfig
- Allow Connecting Multiple Central Servers
- API Key Management Upgrades
  - Add API Endpoint for getting a single row
  - Update Central API Key Creation
  - Fix Central API Key acquisition
  - Upgrade API Key Management: Edit User Settings and Permission Sets
  - Upgrade API Key Management: Permission to allow managing API
  - Upgrade API Key Management: Permissions and Editing
- Add Custom Settings API
- Clean up getMonitors API and add websocket method
- Permission Groups + Websocket API for Editing Monitor
  - Add or Edit Monitor over Websocket with callback
  - Add method to add/edit Monitors with websocket
  - Fix applyPermissionsToUser in createSession for API Keys
  - Void failed proc.stdin.write("q\\r\\n")
  - Allow API Key Management of Sub-Accounts by Admin
  - Clean up selecting Monitors in Permission Groups
  - Add User Permission Management by Group
  - Fix permissions to view and edit Permission Groups
  - Change Sub-Account Monitor select to Table
- Load Recent Videos once on Dashboard Ready
2025-06-03 13:19:41 +06:00
Moe e08931e441 pass dataPort to detector engine 2023-12-13 16:59:52 -08:00
Moe 1ca8edd78b auto close snapshot worker after 10 seconds if left hanging 2023-04-11 13:02:43 -07:00
Moe 0a45954a1b fix and simplify Motion Detection Accuracy Mode 2023-01-09 08:07:01 -08:00
Moe 37fab5f635 minor cleanup 2022-12-06 22:45:35 -08:00
Moe a028f8684b Fix Input Type JPEG snap grabber 2022-12-03 17:33:29 -08:00
Moe b73732ff64 catch for snapshot.js inode block 2022-12-03 09:37:23 -08:00
Moe 17e7fdc15a Add Accuracy Mode for Motion Detection 2022-07-17 23:48:10 -07:00
Moe 4fe690075a Update detectorUtils.js 2022-05-24 21:56:14 -07:00
Moe 51cb2294ba Merge branch 'update-dependencies' into 'dashboard-v3'
Critical Update to Dependencies, Replace request with fetch

See merge request Shinobi-Systems/Shinobi!357
2022-05-05 18:16:15 +00:00
Moe d5f85ec7b3 make monitor process log to original stderr instead of dataPort 2022-05-02 13:23:56 -07:00
Moe 504781df3a Critical Update to Dependencies, Replace request with fetch
+ Replaced all uses of `request` with `node-fetch`
+ Update WebDAV
+ Add pushover-notifications
+ Update CWS
+ Update discord.js
+ Fix authentication for HLS stream API endpoint
+ Last Update to P2P v1 to remove request module

Requires further testing.
2022-03-31 21:58:27 -07:00
Moe 440939483b cleanup cameraThread/dataPortConnection 2021-11-24 13:02:38 -08:00
Moe 993636746c dataPort is now bridge for detector events from cameraThread 2021-11-24 12:30:50 -08:00
Moe 8240933437 almost functional dataPort 2021-11-17 12:10:25 -08:00
Moe 20aaf85725 Data Port for ease in transferring info between processes 2021-11-16 18:04:35 -08:00
Moe dc3f94e37c allow swapping pam-diff engine 2021-10-15 13:43:00 -07:00
Moe 15954f8b76 remove null matrices from end result 2021-09-15 13:52:34 -07:00
Moe dfc747d6ce clean up and better performance 2021-08-28 19:39:11 -07:00
Moe 99a3b1aeed add config.monitorDetectorDaemonPath to change cameraThread/detector.js 2021-08-28 11:21:44 -07:00
Moe cdfe5b4643 move all functions and parameters to detectorUtils.js
- this change will make it easier to make modified engines around the motion detector
2021-08-28 11:05:59 -07:00
Moe 4defe6e26b rewrite cameraThread/detector.js : cleanup 2021-08-26 21:37:10 -07:00
Moe d1a469f5ad Update detector.js 2021-08-26 18:48:03 -07:00
Moe 8f7b6d54ba 99% complete rewrite to cameraThread/detector.js 2021-08-26 18:46:31 -07:00
Moe 38807bf3c9 partial rewrite to cameraThread/detector.js 2021-08-26 12:50:35 -07:00
Moe 695301cbfd minor cleaning and catcher for monitor spawn failure 2021-05-23 13:40:29 -07:00
Moe 8ccd07cf06 Update Face Plugin Installer 2021-05-22 09:22:44 -07:00
Moe 6666db6364 Dashboard 3 adjustments + cleanup 2021-05-18 23:09:04 -07:00
Moe 268baf371d Update detector.js 2021-05-18 00:03:41 -07:00
Moe 7dbcaa0443 add minimum confidence check when receiving trigger from pam 2021-05-18 00:02:13 -07:00
Moe 6987ca20f4 make motion detection show pam-diff bounding boxes 2021-04-09 14:18:56 -07:00
Moe 3401a6bec9 Fix Monitor Config Field Updater, Fix duplicated flags in detector output 2021-04-05 12:41:56 -07:00
Moe Alam 102aaaa7c7 PTZ : Fix Turn Speed 2021-01-30 11:02:13 -08:00
Moe Alam 80a4a9dcd0 fix motion mask use 2021-01-30 10:38:50 -08:00
Moe Alam 06231dde61 Add Inverse Triggering for Regions (Motion Detection only) 2021-01-25 16:11:37 -08:00
Moe Alam ffbc25c62e Fixes for PTZ and ONVIF controls 2020-12-16 09:28:16 -08:00
Moe Alam 88a60a50aa fix Stream Channel output 2020-12-16 09:01:54 -08:00
Moe Alam a2bc27335a ffmpeg.js : rewrite Continuous Recording output flags builder
+ add some Error checking and bypass for 453 occurence
2020-11-01 00:36:41 -07:00
Moe Alam 702be4c927 fix hanging process with motion enabled (coProcessor junk removed) 2020-10-18 18:53:20 -07:00
Moe b14ef3cda6 fix caching for snapshot icon 2020-08-15 22:06:22 -07:00
Moe cf91cf85ea Update Dashcam (Shinobi Streamer) data Input 2020-07-22 21:19:16 -07:00
Moe ded730197c Fix Event Counts table (missing time column) 2020-06-18 20:22:44 -07:00
Moe f07fe1968f JPEG Input Type capture from Camera Thread (Fix JPEG Input Stream) 2020-06-18 00:51:06 -07:00
Moe 6282860b64 add windows taskkill in snapshot.js 2020-02-24 20:34:09 -08:00
Moe 3684ff2cb2 add windows taskkill in singleCamera.js 2020-02-24 20:25:20 -08:00
Moe 2f44953188 Fix zombie process created by cameraThread/snapshot.js 2020-01-26 23:14:44 -08:00
Moe 5f0ed0a486 fix zombie process with SIGTERM event 2020-01-20 12:39:17 -08:00
Moe 74f0565b81 add ffmpeg process kill on cameraThread exit 2020-01-03 23:31:19 -08:00
Moe 06b65f2cf5 move isAtleastOneMatrixInRegion to events.js 2019-12-17 17:05:22 +06:00