Commit Graph

35 Commits (dev)

Author SHA1 Message Date
Moe 2b38328b71 database errors post time 2026-02-27 11:34:42 +06:00
Moe cd4c95b06f Suggested Fixes to clear up possible Memory leaks 2026-02-22 17:38:04 +06:00
Moe cdc8bdccc7 infinitely attempt SQL request when failed 2026-02-05 00:47:53 +06:00
Moe 5c53d86385 make sql queries try 3 times before resolving to failure 2025-11-13 12:56:58 +06:00
Moe 7bb5f2f546 Make SQL Queries use queue 2025-10-23 22:59:19 +06:00
Moe 0e0236abff Add type to database search function 2025-09-21 15:03:38 +06:00
Moe 8102463e7b Add type column to Files table 2025-09-21 15:03:21 +06:00
Moe 1a34936099 Add Line (Crossing) Counter 2025-06-03 13:57:18 +06:00
Moe 41702836dd add missing Custom Settings table creation 2025-04-15 22:09:22 +06:00
Moe f8dd2deb14 Add "Alarms" logging/actions and PTZ Updates
commit 8153ee3b6c
Author: Moe <github@m03.ca>
Date:   Wed Mar 12 11:36:45 2025 -0700

    fix Alarms tab preview video link

commit ae14d07d5e
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 21:34:16 2025 -0800

    Update alarmPopup.ejs

commit 3a226bbff0
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 15:04:04 2025 -0800

    make form dark on Alarm Popup

commit 813c5bd03f
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 15:03:53 2025 -0800

    clean up Alarm gamepad

commit 0c677eba5e
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 15:03:40 2025 -0800

    add height to Alarm popup

commit feaf5d1040
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 15:03:21 2025 -0800

    add download button to Alarm Popup video

commit 9b05600405
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 14:50:37 2025 -0800

    add details from first event to alarm

commit 03de7575e8
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 14:50:19 2025 -0800

    user normal form instead of save on change in alarm popup

commit 89d846dfcf
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 14:40:59 2025 -0800

    remove console.log from getEventBasedRecordingUponCompletion

commit ec624231c0
Author: Moe <github@m03.ca>
Date:   Fri Mar 7 14:32:26 2025 -0800

    Make Alarms use normal Videos instead of Notification video + Gamepad PTZ

commit 3a9582ba3d
Author: Moe <github@m03.ca>
Date:   Wed Mar 5 18:26:03 2025 -0800

    Add multiple monitors logged to Alarm and updating Alarm+

commit b62d1c79fc
Author: Moe <github@m03.ca>
Date:   Wed Mar 5 18:16:08 2025 -0800

    Add multiple monitors logged to Alarm and updating Alarm

    + better table in Alarms tab

commit 2677fc421d
Author: Moe <github@m03.ca>
Date:   Wed Mar 5 12:26:33 2025 -0800

    Fix timezone in alarm popup, add limit query option to Alarms listing

commit 57dc47c68a
Author: Moe <github@m03.ca>
Date:   Tue Mar 4 22:34:30 2025 -0800

    Alarms and Event-Based PTZ (Working 80%)

commit b7813311d0
Author: Moe <github@m03.ca>
Date:   Sun Mar 2 20:23:44 2025 -0800

    Alarms (Framework only) and Event-Based PTZ and Utility updates

    - Alarms : new table created to keep track of events in a single entry
    - Alarms : saves entries on an event and updates 10 seconds after last trigger of Monitor
    - Alarms : page added to view a list of Alarms
    - Alarms : Popup page added to display Live Stream, Live Stream of PTZ'd camera(s) and Notification Video. Can update an Alarm here as well.
    - Event-Based PTZ : Move camera to a preset based on the event of a different camera
    - Permissions : Added "Can View Alarm" and "Can Edit Alarm"
    - ONVIF Slightly updated ONVIF utility library
    - Moved Monitor Settings Definition to separate file (Page Layout)

commit dfdfd0527f
Author: Moe <github@m03.ca>
Date:   Mon Feb 17 22:02:39 2025 -0800

    Make PTZ Presets autofill token padding

commit a3e134a0a0
Author: Moe <github@m03.ca>
Date:   Mon Feb 17 16:20:10 2025 -0800

    isolate Region Editor from base.js

commit 397fda263a
Author: Moe <github@m03.ca>
Date:   Mon Feb 17 16:17:05 2025 -0800

    make patrol default time to 20 seconds per view

commit 51d9e52d92
Merge: ccbb02a0 cd8d3d4a
Author: Moe <github@m03.ca>
Date:   Sun Feb 16 19:37:27 2025 -0800

    PTZ Presets and Patrol

commit ccbb02a05a
Author: Moe <github@m03.ca>
Date:   Sun Feb 16 19:34:06 2025 -0800

    fix reading event base recording for event notify

commit 70d4ca76e0
Author: Moe <github@m03.ca>
Date:   Thu Feb 13 12:28:53 2025 -0800

    Save Notification Video to FileBin and send info to MQTT

commit cd8d3d4ab2
Author: Moe <github@m03.ca>
Date:   Thu Dec 26 01:27:53 2024 -0800

    Add PTZ Preset Patrol with Generic Gamepad
2025-04-06 17:43:50 +06:00
Moe d7a830104e Add Custom Settings API 2025-02-07 15:58:48 -08:00
Moe b5386e89d4 Permission Groups + Websocket API for Editing Monitor
commit 09a549a1fc
Author: Moe <github@m03.ca>
Date:   Wed Feb 5 18:49:29 2025 -0800

    Add or Edit Monitor over Websocket with callback

commit a4b93afb90
Author: Moe <github@m03.ca>
Date:   Sun Feb 2 20:53:40 2025 -0800

    Add method to add/edit Monitors with websocket

    - used by Central Management Panel

commit 5e1aff081a
Author: Moe <github@m03.ca>
Date:   Sun Feb 2 12:59:56 2025 -0800

    fix applyPermissionsToUser in createSession for API Keys

commit 4d0cd8f02c
Author: Moe <github@m03.ca>
Date:   Sat Feb 1 22:55:42 2025 -0800

    void failed proc.stdin.write("q\r\n")

commit 259c0204aa
Author: Moe <github@m03.ca>
Date:   Sat Feb 1 22:53:54 2025 -0800

    Allow API Key Management of Sub-Accounts by Admin

commit 34fc45a2be
Author: Moe <github@m03.ca>
Date:   Sat Feb 1 14:21:18 2025 -0800

    clean up selecting Monitors in Permission Groups

commit aa1d87767d
Author: Moe <github@m03.ca>
Date:   Sat Feb 1 13:22:02 2025 -0800

    Add User Permission Management by Group+

    Fix permissions to view and edit Permission Groups

commit 10deb7128d
Author: Moe <github@m03.ca>
Date:   Fri Jan 31 21:41:53 2025 -0800

    Add User Permission Management by Group

    + change Sub-Account Monitor select to Table
2025-02-05 19:43:11 -08:00
Moe 5b1ddf0692 add some functions to database/utils.js
done to accommodate new modules being made available in the Module Market
2024-08-20 12:24:48 -07:00
大饼 c589df31e0 Update preQueries.js
Add logs first .
because it has some error  when something is done and it will write to logs but table logs is no exist now as Shinobi run at an empty db.
2023-08-09 06:14:24 +00:00
Moe d00fe997cf Update utils.js 2023-07-22 12:14:35 -07:00
Moe a0d280e9fe Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev 2023-03-17 08:41:59 -07:00
Moe 2e65403317 make size (Cloud Videos and Files) columns longer 2023-03-17 08:41:48 -07:00
Mike Hurley 7be60707c8 Adjust all integer column types to bigint 2023-03-17 15:39:14 +00:00
Moe 2a45650628 make path (Monitors) and size (Videos) columns longer 2023-03-17 08:37:48 -07:00
Moe 7883da689b fix column default 2023-01-31 11:03:32 -08:00
Moe 3bedce02fb raise default length for host and path to 255 2023-01-07 18:29:51 -08:00
Moe c548692754 Update Cloud Uploaders 2022-12-21 19:26:45 +00:00
Moe 7b31b387aa Add Tags to Monitors for quick grouping
The current Monitor Groups method is now set for deprecation by end of this year.
2022-12-18 12:34:11 -08:00
Moe 69db95f8d4 Update SQL Queries on Startup 2022-12-17 00:07:23 +00:00
Moe 48d7d6a99b Upgrade permission check function
fixes videos appearing in Videos Table but cannot be played.
2022-09-28 13:39:25 -07:00
Moe 178762c6d1 update permission check for ke/mid queries 2022-08-31 12:21:38 -07:00
Moe e5c35a7b4d Video Recording Archive Controls 2022-08-19 17:38:24 -07:00
Moe 4e8300f3f9 Refactor Permission check for Sub-Accounts and API Keys 2022-08-05 23:20:08 -07:00
Moe 12e7a921b2 allow noLimit queries on videos, events, and timelapse frames 2021-12-17 09:50:35 -08:00
Moe 80f5225191 remove frame limit on timelapse frame retrieval 2021-12-03 10:20:56 -08:00
Moe 5abcbcb3b4 fix SQL query limit when set to "0" (no limit) 2021-10-27 10:15:32 -07:00
Moe 880f8e6350 error catching parse for db row details parsing 2021-03-27 06:56:00 -07:00
Moe Alam f18b184dca Sub-Account Manager : saving, editing, and create new working 2021-02-07 12:03:17 -08:00
Moe Alam 44d4b56b04 fix stringToSqlTime declaration 2020-11-20 18:57:54 -08:00
Moe Alam 9f3d74bbfa cleanup sql.js 2020-11-18 11:26:38 -08:00