Commit Graph

46 Commits (dev2)

Author SHA1 Message Date
Moe cd4c95b06f Suggested Fixes to clear up possible Memory leaks 2026-02-22 17:38:04 +06:00
Moe c916d77e4c remove language loaded from account settings
- this feature was causing many issues and now language settings can only be changed in system configuration of Shinobi.
2025-03-21 14:30:30 -07:00
Moe 481e6e1d8d API Key Management Upgrades
commit 6fabbee05b
Author: Moe <github@m03.ca>
Date:   Wed Feb 12 21:07:39 2025 -0800

    add API Endpoint for getting a single row

commit 936f14cad9
Author: Moe <github@m03.ca>
Date:   Mon Feb 10 16:04:16 2025 -0800

    Update Central API Key Creation

commit 1883f8f2e9
Author: Moe <github@m03.ca>
Date:   Mon Feb 10 13:50:22 2025 -0800

    Fix Central API Key acquisition

commit 3a2d13894d
Author: Moe <github@m03.ca>
Date:   Mon Feb 10 13:41:10 2025 -0800

    Upgrade API Key Management : Edit User Settings and Permission Sets

    + Refactor Sub-Account API
    + Change Monitor States Permission Requirement to "Edit Monitors" instead of "Control Monitors"
    + Fix "Passwords Don't Match" lang text
    + Require Permission to edit Account Settings
    + Condense subAccountManager and monitorStates into their own modules for webPaths

commit bae9254079
Author: Moe <github@m03.ca>
Date:   Sun Feb 9 22:35:53 2025 -0800

    Upgrade API Key Management : Permission to allow managing API

commit 95d66f99e0
Author: Moe <github@m03.ca>
Date:   Sun Feb 9 20:41:07 2025 -0800

    Upgrade API Key Management : Permissions and Editing
2025-02-12 21:10:50 -08: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 234d3ab764 Revert "Allow Editing configureMonitor with Partial Config Posted"
This reverts commit 75828f4e38.
2025-01-22 10:27:37 -08:00
Moe 75828f4e38 Allow Editing configureMonitor with Partial Config Posted 2025-01-18 19:51:22 -08:00
Moe 88b57e456d Add "Can Edit Monitors" to API restrictions instead of re-using "Can Control" 2024-05-15 15:56:15 -07:00
Moe 621e13f100 Update Monitor Delete function in API 2022-12-28 13:29:51 -08:00
Moe 42ee884819 Revert "Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev"
This reverts commit 0a35c99af5, reversing
changes made to 7bc9f754e8.
2022-12-13 20:38:25 -08:00
Elad Bar 300624f61f Face manager is full working 2022-12-07 23:26:16 +02:00
Moe 428d17cf87 add some UI fixes for displaying Unauthorized features for Sub-Acc 2022-08-07 16:27:03 -07:00
Moe 4e8300f3f9 Refactor Permission check for Sub-Accounts and API Keys 2022-08-05 23:20:08 -07:00
Moe 575db0f054 fix file deletion when monitor is deleted 2022-07-29 21:22:40 -07:00
Moe 304e3d0280 fix updating Email address for Sub-Account 2022-05-16 13:40:42 -07:00
Moe bc6d446cf7 more package updates
+ googleapis
+ ldapauth-fork
2022-03-31 22:04:16 -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 2084b0b8c8 fix Sub Account Manager Edit new account before page refresh and delete 2021-11-29 17:46:55 -08:00
Moe df74cef008 get snapshot from ONVIF if initialized
+ minor cleaning
2021-10-17 22:04:21 -07:00
Moe 9238679119 Fix Sub-Account being created as Admin account 2021-04-17 10:04:27 -07:00
Moe Alam a425701e29 API Keys Manager : clean up interface layout 2021-02-08 20:45:35 -08:00
Moe Alam 4ac4c60d18 API Key Manager : clean up code and some fixes 2021-02-08 09:43:46 -08:00
Moe Alam 94a51ad17b Sub-Account Manager : cleanup 2021-02-07 13:34:48 -08:00
Moe Alam f18b184dca Sub-Account Manager : saving, editing, and create new working 2021-02-07 12:03:17 -08:00
Moe Alam 7277e802b6 Sub-Account Manager : begin rewrite (the move from /admin to /) 2021-02-06 20:45:26 -08:00
Moe Alam e791a9895e fix deleting monitorStates 2020-09-06 09:41:51 -07:00
Moe 38ce2cdcff update some more array-based conditons to object 2020-08-07 16:37:27 -07:00
Moe c56fbc1d93 sqlQuery Conversion : Fix syntax errors 2020-08-05 18:15:10 -07:00
Moe 69f038a477 sqlQuery Conversion : webServerAdminPaths.js 2020-07-11 11:14:30 -07:00
Moe e2ea8c03fe Allow creating Presets from inside Monitor Settings window 2020-05-25 20:49:12 -07:00
Moe f2918cb09b rename `.mon` and `.mon_conf`
- now labelled `.activeMonitors` and `.rawMonitorConfigurations`
2019-07-07 20:39:41 -07:00
Moe 3093345e19 Fix Sub-Account Delete API method 2019-03-22 15:26:56 -07:00
Moe 1078960db2 CORS added to all web routes through `app.use` 2019-02-19 19:14:11 -08:00
Moe afdc0cf568 Audio Detector, Detect Object in Region, and API Methods for Scheduling System
- Audio Detector measures decibels (dB). Section can be found under Motion Detection.
- Regions can now be used with Object detection alone, find the option the Object Detection section.
- Scheduling System will allow automatically activating Monitor States based on time. GUI will be posted in the next commit.
+ Update Installers
+ Update framework.sql
+ `npm test` will run the test
+ Minor Bug Fixes
2018-12-29 11:32:12 -08:00
Moe f57250e25e Add "codeTester" module (Not Complete)
- Merge test functions into main app and invoke based on 1 of 2 Methods.
- Method 1 : Add `"testMode":true` to conf.json to start Shinobi in Test Mode.
- Method 2 : run `node camera.js test` in the Shinobi folder.
- CTRL+C to exit process and cleanup test files.
+ Code cleanup and bug fixes (found while testing the codeTester module)
+ Update "Entire System Export"
+ Additional Extenders
+ Make Input Map default "0" instead of "0:0"
+ Remove extra Whitespace from LICENSE and update the "Modification of this Software Product.".
2018-12-16 16:54:06 -08:00
Moe 5f4f580c41 API call for getting Monitor State Presets 2018-11-14 19:24:34 -08:00
Moe a0ec9afc87 Allow Mass Config Changes by API (monitorStates) and more
- Unlike /configureMonitor/ this method, /monitorSates/, can take single veriables for a monitor edit.
+ clean /configureMonitor/'s addEdit portion and make it a separate function
+ add "raw" catch. if "raw" not found another database init will be requested
+ fix "undefined" monitor status for Disabled monitors on Shinobi start
+ fix color threshold save for region editor
+add fallback for snapBuffer failure
2018-11-10 19:59:02 -08:00
Moe f3d60ca674 Additions and Cleanup
+ Allow global designation for Backblaze B2, Amazon S3, and WebDAV
+ allow frame transfer to plugin by "File in RAM" (experimental and currently only works with yolo and dlib)
+ API method for account save/edit
+ Add C++ based Dlib plugin (face-recognition)
+ allow choosing tiny or regular weights for yolo
- remove old python-dlib plugin because it is just bad (yucky python)
2018-11-02 16:44:53 -07:00
Moe e67c819954 Update libs/webServerAdminPaths.js 2018-10-27 10:36:15 -07:00
Moe b5132dd279 Cleanup for Super and Admin panel user management functions+ 2018-10-24 17:00:45 -07:00
Moe 2edb408702 Cleanup for Super and Admin panel user management functions
+ added sample JSONs for docs and test scripts
2018-10-24 16:41:02 -07:00
Moe d6e7f628f0 Add API methods to manage API keys
- Add, Delete, List are the methods added
+ light cleanup
2018-10-15 19:39:50 -07:00
Moe 5fcdd860e0 humanize some variable names
+ some minor adjustments
2018-10-07 11:45:38 -07:00
Moe 656849ae8a add some comments in webServerPath libs 2018-10-06 09:46:48 -07:00
Moe b80ebb6bcd move configureMonitor to admin 2018-10-05 21:16:21 -07:00
Moe f4e24005e8 RESTful APIs for Admin functions
- Create Sub-Account
- Update Sub-Account
- Delete Sub-Account
2018-10-05 19:52:02 -07:00