Isaac Connor
6c4e423a8b
Spacing
2021-03-30 18:20:31 -04:00
Isaac Connor
3d01008510
use json_encode($User) instead of specific elements. For some reason $user['Id'] isn't defined for me atm.
2021-03-30 18:20:23 -04:00
Isaac Connor
cbd8b22efb
Fix setting value when not empty
2021-03-30 14:28:17 -04:00
Isaac Connor
78c5531357
Increase width of LabelFormat to fit our default. Incrase various number inputs to fit up/down arrows
2021-03-30 13:32:02 -04:00
Isaac Connor
8582c1a652
Once again fix saving string value to '' so that we can empty LabelFormat
2021-03-30 13:31:26 -04:00
Isaac Connor
beb7a75d5a
Implement canView for Monitors
2021-03-30 11:52:04 -04:00
Isaac Connor
aeb98ec790
Implement canView for Groups. Implement Monitors() and Children() functions. Use canView when populating Group dropdown
2021-03-30 11:51:52 -04:00
Isaac Connor
e9641938f0
Fix eslint
2021-03-27 18:25:04 -04:00
Isaac Connor
96e641b381
handle if error message doesn't exist
2021-03-27 13:42:00 -04:00
Isaac Connor
4ee3380e3a
If auth is not turned on, redirect to console
2021-03-27 13:41:49 -04:00
Isaac Connor
4e9a5cff8e
Style MaxImageBufferCount
2021-03-26 17:02:38 -04:00
Isaac Connor
8e1b2ccbc7
Add MaxImageBufferCount
2021-03-26 17:02:17 -04:00
Isaac Connor
617264432e
Add help for ImageBUfferCount and MaxImageBUfferCount
2021-03-26 17:02:03 -04:00
Isaac Connor
2e675a338b
remove estimated ram use stuff as it is no longer possible
2021-03-26 14:31:18 -04:00
Isaac Connor
badb1c6131
Add MaxImageBufferCount, remove estimated ram us
2021-03-26 14:31:04 -04:00
Isaac Connor
c78e6a7cc7
Fix scroll bars on options view
2021-03-26 08:16:15 -04:00
Isaac Connor
4fab9fe458
fix error due to missing columns
2021-03-25 17:29:35 -04:00
Isaac Connor
1c8a850acf
Handle stream having something other than an img as it's display
2021-03-23 13:53:45 -04:00
Isaac Connor
37a8f007c8
remove unised function
2021-03-23 13:53:25 -04:00
Isaac Connor
7743445323
Handle when there isn't a server Id
2021-03-22 21:30:56 -04:00
Isaac Connor
16b33536ed
Turn off second Log in header
2021-03-22 17:49:59 -04:00
Isaac Connor
f306febb5f
use find_one when loading Server which can use caching
2021-03-22 17:49:59 -04:00
Isaac Connor
1dc32a0eed
Use getBodyTopHTML so that we get error reporting
2021-03-22 13:00:08 -04:00
Isaac Connor
be0841832e
enable reporting saving errors back to web ui.
2021-03-22 12:59:41 -04:00
Isaac Connor
3fdd2bff7f
Have to use === because apparently null == NOW() according to php.
2021-03-22 12:59:18 -04:00
Isaac Connor
c7b22dae81
get rid of nextId entirely. Don't want to use it anywhere other than setting the name
2021-03-22 12:07:23 -04:00
Isaac Connor
613ed1faf2
Update estimated ram use when we use the dropdown to change resolution
2021-03-22 12:06:48 -04:00
Isaac Connor
fa08240a4d
Fix set() and __call to use the default value when set value is ''. Fixes issues in monitor view when changing type
2021-03-22 12:06:25 -04:00
Isaac Connor
c347261e19
Change default of ImageBufferCount to 3
2021-03-22 12:05:36 -04:00
Isaac Connor
be653980f3
fix eslint
2021-03-21 18:17:13 -04:00
Isaac Connor
858ae8b11f
fix alignment and min width of datetime column in logs view
2021-03-21 18:17:13 -04:00
Peter Keresztes Schmidt
7f9c9c6624
web: make eslint happy
2021-03-21 21:40:41 +01:00
Isaac Connor
8a1284e2fa
Can't use a decimal step. Has to be any because browsers suck.
2021-03-21 12:30:56 -04:00
Isaac Connor
a57473a146
remove debug
2021-03-21 09:19:31 -04:00
Isaac Connor
284837d536
quotes, spaces. Also move setting redirect to to where we actually do the redirect so that actions can remove the redirect if there was an error to report.
2021-03-21 09:19:21 -04:00
Isaac Connor
cc455e5d74
fix require=>require_once for User.php. Use getBodyTopHTML so that we get the error reporting
2021-03-21 09:18:47 -04:00
Isaac Connor
d0adaeaabe
rework user saving action to use User object. Implement a duplicate username check. Deprecate php < 5.3 due to lack of bcrypt password hashing functions. Hence deprecate the use of mysql PASSWORD()
2021-03-21 09:18:12 -04:00
Isaac Connor
68f9c7c9e6
introduce a _last_error member to the object for reporting errors saving.
2021-03-20 19:27:53 -04:00
Isaac Connor
70e61740d3
Fix eslint
2021-03-18 16:48:26 -04:00
Isaac Connor
e39c293a77
fix eslint
2021-03-18 16:48:26 -04:00
Isaac Connor
4cb38a119e
Fix saving Filters and other objects. Apparently comparing 0 to NOW() doesn't work.
2021-03-18 14:09:15 -04:00
Isaac Connor
1b876f24f9
Must have Id as well in order to know which monitor to control
2021-03-17 17:15:04 -04:00
Isaac Connor
28700fd56b
Implement saving DecodingEnabled from function view
2021-03-16 12:09:14 -04:00
Isaac Connor
feec631ca5
Only save updated DiskSpace if event is finished
2021-03-15 15:02:43 -04:00
Isaac Connor
2a6621959c
We CANNOT specify nextId for the next mid to use. If we do that then we can overwrite existing db entries
2021-03-13 12:47:05 -05:00
Isaac Connor
478d11e6f2
Update the auth in streamCmdParams on every request. It wasn't picking up updates
2021-03-13 12:12:20 -05:00
Isaac Connor
0bb4afa0bc
The test for xmlhttprequest is bogus. chrome jquery JSON requests don't send it. Replace with a test for instead. So now only redirect on proper html views.
2021-03-13 12:11:55 -05:00
Isaac Connor
5eae1c0a9f
spacing, add code comment
2021-03-13 12:10:55 -05:00
Isaac Connor
587cebecbb
navbar requests don't pass an auth token so we never send an auth update. Just always send it.
2021-03-13 12:10:35 -05:00
Isaac Connor
9d33688f89
Honour various permissions on what's in the navbar.
2021-03-12 11:40:46 -05:00
Isaac Connor
e5f9654e50
honour Groups:View permission in monitor filters
2021-03-12 11:33:16 -05:00
Isaac Connor
62cfdd8d61
fix searching in snapshots
2021-03-12 10:52:23 -05:00
Isaac Connor
b50916e02a
Allow unknown columns in filters. Allow specifying the table name in FilterTerm.
2021-03-12 10:52:10 -05:00
Isaac Connor
9504d8be61
event_ids => snapshot_ids
2021-03-12 10:40:23 -05:00
Isaac Connor
1ae1a89abf
Only allow show zones for System::View permission
2021-03-12 10:29:13 -05:00
Isaac Connor
ba00bee4b8
fix header alignment
2021-03-12 10:07:33 -05:00
Isaac Connor
70073ea017
Add thumbnails to snapshots list
2021-03-12 10:07:17 -05:00
Isaac Connor
11c2318a05
Rough in the ui for Snapshots
2021-03-12 09:28:05 -05:00
Isaac Connor
6682ec7da5
Add Snapshots and Snapshot_Events Tables. Add HomeView to Users.
2021-03-12 09:26:23 -05:00
Isaac Connor
de0bbf7e04
Instead of fatal error triggering, turn off file logging and log the error elsewhere
2021-03-03 14:31:43 -05:00
Isaac Connor
8aebcf7337
Fix ['mid'] not being defined. Use instead
2021-03-03 12:51:27 -05:00
Isaac Connor
ce4e133c94
Add loading SecondPath in monitor
2021-03-03 09:56:33 -05:00
Isaac Connor
95fe689d58
WIP, rabbit hole too deep
2021-03-03 09:55:57 -05:00
Isaac Connor
849d71efff
Add filtering to groups
2021-03-02 15:10:15 -05:00
Isaac Connor
7d02c68938
silence warning when cookies not used
2021-03-02 15:10:02 -05:00
Isaac Connor
4cfe777e93
Fix path to Monitor.php
2021-02-16 11:16:06 -05:00
Isaac Connor
bb747bfc6d
Add RTSPStreamName fields
2021-03-01 16:46:48 -05:00
Isaac Connor
445d815071
fix eslint
2021-02-25 20:35:45 -05:00
Isaac Connor
550d302316
Fix Crud version back to origin
2021-02-25 14:18:51 -05:00
Isaac Connor
d106c2fcc3
Add 4MP and 6MP resoolutions
2021-02-24 15:03:11 -05:00
Isaac Connor
0d2febc958
Make monitor column open the event instead of monitor edit
2021-02-24 12:38:12 -05:00
Andrew Bauer
c8be0d58d5
eslint - fix whitespace
2021-02-22 19:02:24 -06:00
Isaac Connor
82c4a1a417
put third refresh button back for now
2021-02-22 11:57:27 -05:00
Isaac Connor
3a8e2ff869
Hide duplicated refresh button
2021-02-22 11:25:00 -05:00
Isaac Connor
9aad09a735
Refresh bootstrap table if the ajax fails.
2021-02-22 11:24:30 -05:00
Isaac Connor
9fec32fdc5
We now support audio when doing video encoding
2021-02-22 09:55:40 -05:00
Isaac Connor
5d826fd558
Don't try to addup/update DIskSpace used by incomplete events.
2021-02-20 17:11:20 -05:00
Isaac Connor
4d739f35ef
Fix parseTree when using iS or ISNOT. Add strtoupper comparisons for NULL values.
2021-02-20 17:07:07 -05:00
Isaac Connor
0fc4b00ac1
Allow null as well as NULL infilter values
2021-02-20 12:32:38 -05:00
Andrew Bauer
3fb1054093
bstable export requires tableExport plugin
2021-02-18 20:22:19 -06:00
Isaac Connor
c99f43205d
add parenthesis for safety
2021-02-18 13:47:27 -05:00
Isaac Connor
ba6797a143
make definitionPanel have height to fix jumping around as scroll bar appears/disappears
2021-02-18 10:25:05 -05:00
Isaac Connor
f0d8a654f8
Remove debug, use fewer lines
2021-02-17 13:11:55 -05:00
Isaac Connor
c608af4df7
Correct timeline when using Weekday
2021-02-17 13:11:02 -05:00
Isaac Connor
b58ecca040
Allow RTSPServer to be unselected
2021-02-17 12:07:55 -05:00
Isaac Connor
aa94795b96
When auth is not turned on, show an error instead of login fields.
2021-02-16 16:09:23 -05:00
Isaac Connor
317274248b
Allow mid= and dupId= in monitor view to allow mid reuse. Alphabetically sort Monitors in LinkedMonitors by name
2021-02-16 14:16:59 -05:00
Isaac Connor
71183a6002
fix case of vidWidth. Fixes #3162
2021-02-14 16:28:08 -05:00
Isaac Connor
231c9303fd
Handle null vidWidth
2021-02-11 11:50:05 -05:00
Peter Keresztes Schmidt
687ba03eb4
Drop relicts of zma
2021-02-10 13:26:25 +01:00
Isaac Connor
470739e1d5
Add debugging if streamStatus.status doesn't exist
2021-02-09 14:24:09 -05:00
Isaac Connor
79ac92c76d
spacing
2021-02-09 14:23:47 -05:00
Isaac Connor
c2ac171811
truncate file when logging to 255 chars so it gets into the db
2021-02-09 14:23:15 -05:00
Peter Keresztes Schmidt
6c9983155c
Build: Reindent the CMakeLists
...
Indent with 2 spaces
Also remove expressions form closing tags. They have been made optional a while ago since they make reading rather more difficult.
2021-02-04 22:00:56 +01:00
Isaac Connor
d4e83620b2
Split actions and options columns into 50%
2021-02-03 12:57:17 -05:00
Isaac Connor
a7365323dd
Split actions and options in filters to fit more horizontally
2021-02-03 12:57:17 -05:00
Isaac Connor
c35869fd30
Use jquery offset() to get image position
2021-02-02 23:19:53 -05:00
Isaac Connor
c8af90fd24
Add RTSP Server checkbox
2021-02-02 23:19:52 -05:00
Isaac Connor
2fa0fbe448
Upgrade cakephp to 2.10.24
2021-02-02 23:19:52 -05:00
Isaac Connor
2996fe3da7
fix hiding cloneBtn
2021-02-02 23:19:52 -05:00