Commit Graph

36 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 a028f8684b Fix Input Type JPEG snap grabber 2022-12-03 17:33:29 -08: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 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 8f7b6d54ba 99% complete rewrite to cameraThread/detector.js 2021-08-26 18:46:31 -07:00
Moe 695301cbfd minor cleaning and catcher for monitor spawn failure 2021-05-23 13:40:29 -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 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 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 3684ff2cb2 add windows taskkill in singleCamera.js 2020-02-24 20:25:20 -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 3320f7b958 comment out logger used for debug 2019-12-11 15:39:40 +06:00
Moe 712c2a0419 light cleanup, still broken
still blacks on monitor restart with pipe 3 enabeld
2019-12-11 13:23:01 +06:00
Moe 0637e32d38 add more logging to thread handling
+minor cleanup
2019-12-08 21:49:27 +06:00
Moe 891294281d Monitor black on start fix 2019-12-08 14:00:56 +06:00
Moe 332f6185ff show threaded process logs in UI log stream 2019-12-08 11:53:17 +06:00
Moe 2e03111043 Fix Steam Handler Memory Leak
+ minor function name cleanup, remove some globals
2019-12-07 10:09:09 +06:00
Moe 4a98480aef differentiate pam pipe and regular pipe 2019-12-06 09:45:24 +06:00
Moe feb6c12eb3 Update singleCamera.js 2019-12-05 20:12:29 +06:00
Moe 55f82969be reorder functions 2019-12-05 18:41:36 +06:00
Moe 577190c657 disable loggers in added threads, need better solution 2019-12-05 18:38:52 +06:00
Moe f18a4ed4fc put snapshot/icon creation in separate thread 2019-12-05 18:23:46 +06:00
Moe da53108ba9 Multi Threaded Camera Spawn (Alpha) 2019-12-05 13:25:13 +06:00