Isaac Connor
|
1caaf01502
|
Add code to the default case to include a file in ajax/modals/.php so that the modals template can be kept out of functions.php. We don't need the auth stuff. Also turn off error reporting as we should only return json.
|
2020-09-17 15:14:09 -04:00 |
Isaac Connor
|
ef8fb774df
|
Handle no data in setNavBar
|
2020-09-17 13:51:31 -04:00 |
Andrew Bauer
|
b64bd97a64
|
whitespace
|
2020-09-16 18:22:37 -05:00 |
Andrew Bauer
|
c8c3b75e33
|
Reload the page after table refresh
This wasn't needed on my machine, but might be on others
|
2020-09-16 18:21:06 -05:00 |
Isaac Connor
|
6b2773ad8c
|
Handle invalid eid more gracefully.
|
2020-09-16 14:21:03 -04:00 |
Isaac Connor
|
9268db14a7
|
Fix xss reported by Noccolo Picca relating to not sanitizing connkey
|
2020-09-16 14:14:31 -04:00 |
Isaac Connor
|
147238027c
|
Merge branch 'release-1.34' of github.com:ZoneMinder/zoneminder into release-1.34
|
2020-09-16 09:59:28 -04:00 |
Isaac Connor
|
bea23e2241
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-09-16 09:58:49 -04:00 |
Isaac Connor
|
c1f872c9aa
|
Reinit chosen on log filters after updating them
|
2020-09-16 09:58:15 -04:00 |
Andrew Bauer
|
e5cf74c3d8
|
remove unused and potentially conflicting id's
|
2020-09-16 08:54:13 -05:00 |
Andrew Bauer
|
afdd4702a2
|
add server modal
|
2020-09-16 08:30:45 -05:00 |
Isaac Connor
|
4fa9237048
|
Fix eslint
|
2020-09-16 08:57:44 -04:00 |
Isaac Connor
|
a430fe1f7a
|
correct EndTime to End Date/Time. EndTime and EndDate terms are also effective
|
2020-09-15 21:19:10 -04:00 |
Isaac Connor
|
32f60631b3
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-09-15 18:53:42 -04:00 |
Isaac Connor
|
81306928b8
|
Fix scale width and height dropdown actions on cycle
|
2020-09-15 18:53:39 -04:00 |
Andrew Bauer
|
21d4773da9
|
fix badly formatted line
|
2020-09-15 13:08:44 -05:00 |
Andrew Bauer
|
da73ecee08
|
delete commented line
|
2020-09-15 13:05:05 -05:00 |
Andrew Bauer
|
5f361094bb
|
unpopup frames and alarmframes in export view
|
2020-09-15 13:01:35 -05:00 |
Andrew Bauer
|
40eb60f644
|
unpopup monitor config from export view
|
2020-09-15 12:52:13 -05:00 |
Andrew Bauer
|
fd7d5317af
|
create getCSRFinputHTML function
|
2020-09-15 11:06:16 -05:00 |
Andrew Bauer
|
798557604f
|
remove old pagination var from events.php
|
2020-09-15 10:58:42 -05:00 |
Andrew Bauer
|
845815b566
|
unpopup call to image view
|
2020-09-15 10:51:45 -05:00 |
Andrew Bauer
|
be150479a1
|
unpopup Max Score link in events view
|
2020-09-15 10:37:05 -05:00 |
Andrew Bauer
|
df443326ea
|
unpopup monitor link in events view
|
2020-09-15 10:31:14 -05:00 |
Andrew Bauer
|
b9d95f0833
|
fix typo
|
2020-09-15 09:50:53 -05:00 |
Andrew Bauer
|
33ef700dda
|
Cause links in events use eventdetail modal
|
2020-09-15 09:49:03 -05:00 |
Isaac Connor
|
d39beb5714
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-09-15 10:22:36 -04:00 |
Andrew Bauer
|
accfd1191f
|
update eventdetail modal
|
2020-09-15 09:20:38 -05:00 |
Isaac Connor
|
fa1ade6b7b
|
Fix obr getting cbr value
|
2020-09-15 10:11:07 -04:00 |
Isaac Connor
|
9e12090348
|
Merge branch 'master' of github.com:zoneminder/ZoneMinder
|
2020-09-15 10:00:24 -04:00 |
Andrew Bauer
|
121671327c
|
call eventdetail modal rather than popup
|
2020-09-15 08:55:32 -05:00 |
Andrew Bauer
|
1d3ce1c916
|
must define sortQuery as a global in export view
|
2020-09-15 08:27:44 -05:00 |
Isaac Connor
|
ad0f8d674d
|
sort_asc is a boolean. ZM_WEB_EVENT_SORT_ORDER is asc|desc
|
2020-09-14 15:13:41 -04:00 |
Andrew Bauer
|
ba900dd9dc
|
change table type to increase row padding
|
2020-09-14 14:07:49 -05:00 |
Andrew Bauer
|
508967ffe9
|
fix typo on modal.php
|
2020-09-14 13:51:24 -05:00 |
Andrew Bauer
|
fb85d6f79c
|
rough in eventdetail modal
|
2020-09-14 13:47:09 -05:00 |
Isaac Connor
|
691be74304
|
fix th text-align on tables in options
|
2020-09-14 14:09:41 -04:00 |
Isaac Connor
|
ab8e2d2e6c
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-09-14 14:05:02 -04:00 |
Isaac Connor
|
77fb533e48
|
Fix default value for AutoExecuteCmd
|
2020-09-14 14:04:36 -04:00 |
Isaac Connor
|
d02a61e715
|
change will to might
|
2020-09-14 14:03:55 -04:00 |
Andrew Bauer
|
cc7b65e8aa
|
eslint
|
2020-09-14 10:31:44 -05:00 |
Andrew Bauer
|
d2bc39f65f
|
replace storage popup with modal
|
2020-09-14 09:50:04 -05:00 |
Pliable Pixels
|
8ad62b8905
|
another try at fixing Eventcontroller
|
2020-09-13 16:43:49 -04:00 |
Andrew Bauer
|
0a0b555c4c
|
refresh table after archive or unarchive
|
2020-09-13 11:32:28 -05:00 |
Andrew Bauer
|
29710f67ac
|
fix table refresh after delete
|
2020-09-13 11:25:31 -05:00 |
Andrew Bauer
|
c4c4551436
|
replace no permission alerts with enoperm()
|
2020-09-13 11:09:15 -05:00 |
Andrew Bauer
|
54e8d1352a
|
add enoperm js function
|
2020-09-13 11:04:04 -05:00 |
Andrew Bauer
|
096f4a446f
|
Use Ajax to load delete confirm modal
|
2020-09-13 10:39:51 -05:00 |
Andrew Bauer
|
7e55dd14a2
|
eslint
|
2020-09-13 08:52:52 -05:00 |
Andrew Bauer
|
951afc669f
|
eslint
|
2020-09-13 08:33:47 -05:00 |
Andrew Bauer
|
1599bc4c14
|
load stats on deman via ajax
|
2020-09-13 07:32:49 -05:00 |
Andrew Bauer
|
56aa906dd8
|
call getStatsTableHTML in frames view
|
2020-09-12 11:55:24 -05:00 |
Andrew Bauer
|
5d914d8b01
|
convert stats table to a function
|
2020-09-12 11:53:53 -05:00 |
Andrew Bauer
|
f31b3bfc59
|
add xhtmlFooter to stats view
|
2020-09-12 11:48:33 -05:00 |
Andrew Bauer
|
0ad41fc8d4
|
rough in error no permisson modal
|
2020-09-12 08:37:57 -05:00 |
Andrew Bauer
|
547e1d6cc4
|
rough in error no permisson modal
|
2020-09-12 08:36:19 -05:00 |
Andrew Bauer
|
0557d847f0
|
fix ajax archive/unarchive
|
2020-09-11 17:01:56 -05:00 |
Andrew Bauer
|
0c8bb25889
|
eslint
|
2020-09-11 16:49:36 -05:00 |
Andrew Bauer
|
2ee70442c0
|
use done() and fail() callbacks for getJSON
|
2020-09-11 14:30:36 -05:00 |
Andrew Bauer
|
26cefda712
|
deploy optionhelp to option view
|
2020-09-11 13:23:14 -05:00 |
Andrew Bauer
|
d2b2291721
|
deploy optionhelp to monitor view
|
2020-09-11 13:10:18 -05:00 |
Andrew Bauer
|
aa6bf31cbd
|
pass OLANG as a function parm
|
2020-09-11 07:51:00 -05:00 |
Andrew Bauer
|
4f94c63102
|
pass OLANG as a function parm
|
2020-09-11 07:50:03 -05:00 |
Isaac Connor
|
3fb62b7904
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-09-10 19:26:23 -04:00 |
Andrew Bauer
|
25df968f10
|
remove erroneous file
|
2020-09-10 17:29:59 -05:00 |
Andrew Bauer
|
da46ab0882
|
eslint nanny strikes again
|
2020-09-10 17:11:31 -05:00 |
Isaac Connor
|
3b7bde755e
|
Merge pull request #3041 from mnoorenberghe/unsafe_inline_backcompat
Drop support for CSP 1 browsers (with no nonce-* support)
|
2020-09-10 18:09:44 -04:00 |
Andrew Bauer
|
46d4f55b80
|
add makeHelpLink helper function
|
2020-09-10 17:06:27 -05:00 |
Andrew Bauer
|
cd09ec8fef
|
rough in Modal Ajax framework
|
2020-09-10 16:56:58 -05:00 |
Matthew Noorenberghe
|
f031ce9934
|
Drop support for CSP 1 browsers (with no nonce-* support)
This gets rid of console spew in modern browsers.
|
2020-09-10 16:25:43 -04:00 |
Matthew Noorenberghe
|
46e69f8c27
|
Show correct enabled/disabled status in the function dialog
monitor.Enabled is a string and 0 is truthy in JS
|
2020-09-10 15:12:31 -04:00 |
Isaac Connor
|
2cd9c8e232
|
Update api Zone Saving. Fixes #3037
|
2020-09-10 13:32:15 -04:00 |
Isaac Connor
|
7dbbb24db4
|
Update api Zone Saving. Fixes #3037
|
2020-09-10 13:31:39 -04:00 |
Isaac Connor
|
2e5a897355
|
Merge pull request #3038 from mnoorenberghe/fix_function_save
Fix saving function changes
|
2020-09-10 11:52:38 -04:00 |
Isaac Connor
|
e37c5ac385
|
Use FrameId instead of FramesId
|
2020-09-10 11:10:19 -04:00 |
Isaac Connor
|
4dc00ebe09
|
spacing, only add extra sort by Id column if we aren't already sorting by Id
|
2020-09-10 11:05:22 -04:00 |
Isaac Connor
|
1f837c1718
|
Hide eventId not FrameId
|
2020-09-10 11:04:18 -04:00 |
Matthew Noorenberghe
|
f046b565c6
|
Fix saving function changes
Wait for the request to complete before reloading.
|
2020-09-10 11:01:44 -04:00 |
Isaac Connor
|
013e007141
|
run parseRows on init so that datetime fields get their popups etc
|
2020-09-09 15:40:44 -04:00 |
Isaac Connor
|
b34c6dcfc2
|
correct log, code docs
|
2020-09-07 13:29:36 -04:00 |
Isaac Connor
|
74dc8af76f
|
add global
|
2020-09-07 13:29:21 -04:00 |
Isaac Connor
|
fc06b440ad
|
remove debug
|
2020-09-07 13:28:55 -04:00 |
Isaac Connor
|
1659bb2116
|
Add id to scale dropdown
|
2020-09-06 12:12:26 -04:00 |
Isaac Connor
|
034bee9bb2
|
fix errors due to selects no longer having an id by default
|
2020-09-05 17:33:17 -04:00 |
Isaac Connor
|
c5e4a964cd
|
quotes, spacing fix some functions that clearly no one uses
|
2020-09-05 12:49:14 -04:00 |
Isaac Connor
|
23505159da
|
put scale code together with itself. Get rid of unneeded generateConnKey
|
2020-09-05 12:23:00 -04:00 |
Isaac Connor
|
d1dc3d6864
|
remove Error debug
|
2020-09-05 09:45:44 -04:00 |
Isaac Connor
|
b3b6445d60
|
Fix application of scales to montage streams
|
2020-09-05 09:15:33 -04:00 |
Isaac Connor
|
bf895f8f12
|
Make Zones a link to view/edit all zones
|
2020-09-05 09:15:09 -04:00 |
Isaac Connor
|
778fdb9ab0
|
fix lack of id's on width,height,scale dropdowns making their selection break
|
2020-09-05 08:56:00 -04:00 |
Isaac Connor
|
7e6fbe1ab4
|
Fix ControlTypes dropdown.
|
2020-09-05 08:46:18 -04:00 |
Isaac Connor
|
62f78bfeb7
|
Merge branch 'master' of github.com:ZoneMinder/zoneminder
|
2020-09-04 14:58:48 -04:00 |
Isaac Connor
|
ae56a1f363
|
Turn off output buffering in view_video
|
2020-09-04 14:58:43 -04:00 |
Matthew Noorenberghe
|
bd829f8aa1
|
Specify a function name for data-on-click to fix the Back/Close button for Events. Fixes #3033
|
2020-09-04 10:25:05 -04:00 |
Matthew Noorenberghe
|
77cca7efac
|
eslint --fix
|
2020-09-04 10:02:43 -04:00 |
Isaac Connor
|
46790bf401
|
Add monitor json data
|
2020-09-03 18:25:00 -04:00 |
Isaac Connor
|
1f810c8947
|
Populate the function modal from the javascript monitors array before viewing.
|
2020-09-03 18:24:45 -04:00 |
Isaac Connor
|
1e4d80ee7b
|
Make the function modal monitor-agnostic . It will get populated before being made visisble
|
2020-09-03 18:24:09 -04:00 |
Isaac Connor
|
ea5d19412c
|
Only include the function modal once at the end as it will get populated with data before being made visible
|
2020-09-03 18:23:26 -04:00 |
Isaac Connor
|
240f4ceabd
|
Fix code warning if no value is selected in htmlSelect
|
2020-09-03 18:21:38 -04:00 |
Isaac Connor
|
47971bb8f5
|
Update function action to use Monitor object
|
2020-09-03 18:21:08 -04:00 |
Isaac Connor
|
6f5acece66
|
FIx Record Entry
|
2020-09-03 18:20:51 -04:00 |
Isaac Connor
|
98874cb6d1
|
provide error message when trying to delete Archived events.
|
2020-09-03 17:04:52 -04:00 |
Isaac Connor
|
c934dee233
|
Do not allow the deleting of Archived Events
|
2020-09-03 17:02:48 -04:00 |
Isaac Connor
|
94c7708df5
|
Warn when the specified selected value isn't in the passed options. Don't default to adding id in htmlSelect. Shouldbe passed in behaviours
|
2020-09-03 10:42:33 -04:00 |
Isaac Connor
|
fb9129a4d3
|
Add missing Mocord option
|
2020-09-03 10:40:10 -04:00 |
Isaac Connor
|
d4d0a971d1
|
get rid of errant fo
|
2020-09-03 10:19:59 -04:00 |
Isaac Connor
|
dd5e342196
|
use xhtmlFooter
|
2020-09-02 18:17:12 -04:00 |
Isaac Connor
|
b0eacba0ee
|
use xhtmlFooter
|
2020-09-02 18:14:45 -04:00 |
Isaac Connor
|
22a40edd71
|
spacing
|
2020-09-02 18:12:35 -04:00 |
Isaac Connor
|
6abad06db2
|
increase width of frames view
|
2020-09-02 18:12:26 -04:00 |
Isaac Connor
|
70b73048cc
|
add csrf checks to frames view
|
2020-09-02 18:11:53 -04:00 |
Isaac Connor
|
18671b7c19
|
use xhtmlFooter instead of html since it now contains all the javascript
|
2020-09-02 17:57:32 -04:00 |
Isaac Connor
|
69bee20ef5
|
use xhtmlFooter instead of html since it now contains all the javascript
|
2020-09-02 17:56:30 -04:00 |
Isaac Connor
|
5b53289fee
|
fix html structure
|
2020-09-02 17:55:34 -04:00 |
Isaac Connor
|
7623733840
|
use xhtmlFooter and fix spacing
|
2020-09-02 17:55:23 -04:00 |
Isaac Connor
|
b1d4115df8
|
Handle case where IN operator is used with 1 value
|
2020-09-02 17:55:06 -04:00 |
Isaac Connor
|
aa4e9600eb
|
Update to use MonitorStream
|
2020-09-02 17:36:01 -04:00 |
Isaac Connor
|
e25708ce99
|
use getBodyTopHTML and xhtmlFooter
|
2020-09-02 17:35:46 -04:00 |
Isaac Connor
|
fa780c5020
|
use xhtmlFooter instead of html since it now contains all the javascript
|
2020-09-02 17:35:24 -04:00 |
Isaac Connor
|
f38692795e
|
use xhtmlFooter instead of html since it now contains all the javascript
|
2020-09-02 17:35:13 -04:00 |
Isaac Connor
|
cf1f408e96
|
Don't need pauseString and playStream anymore
|
2020-09-02 17:34:09 -04:00 |
Isaac Connor
|
c6bc6704b3
|
use xhtmlFooter instead of html since it now contains all the javascript
|
2020-09-02 17:33:56 -04:00 |
Isaac Connor
|
bc710bc826
|
use xhtmlFooter instead of html since it now contains all the javascript
|
2020-09-02 17:33:09 -04:00 |
Isaac Connor
|
a6ad57b393
|
fix html validation errors
|
2020-09-02 17:32:24 -04:00 |
Isaac Connor
|
c2760ef768
|
add needed js stuff for streaming
|
2020-09-02 17:28:08 -04:00 |
Isaac Connor
|
d243d798ff
|
add needed js stuff for streaming
|
2020-09-02 17:27:59 -04:00 |
Isaac Connor
|
5b0123e710
|
Not necessary to specify type=text/css
|
2020-09-02 17:27:31 -04:00 |
Isaac Connor
|
0d07f93cd7
|
fix layout of svg
|
2020-09-02 16:37:39 -04:00 |
Isaac Connor
|
0cd35518c3
|
Fix id on nav
|
2020-09-02 14:47:07 -04:00 |
Isaac Connor
|
ab116a1a6f
|
use xhtmlFooter as it now contains the javascript instead of xhtmlHeader
|
2020-09-02 14:47:00 -04:00 |
Isaac Connor
|
84bed1b16a
|
include MonitorStream, fix layout of image stream. Update buttons. start with a static image, MonitorStream will start the streaming
|
2020-09-02 14:46:45 -04:00 |
Isaac Connor
|
7b4569392c
|
use xhtmlFooter as it now contains the javascript instead of xhtmlHeader
|
2020-09-02 14:46:08 -04:00 |
Isaac Connor
|
3d3966b1ea
|
use xhtmlFooter as it now contains the javascript instead of xhtmlHeader
|
2020-09-02 14:45:40 -04:00 |
Isaac Connor
|
5aef5e2312
|
populate monitorData for MonitorStream use
|
2020-09-02 14:45:10 -04:00 |
Isaac Connor
|
02d056b277
|
Fix left column positioning
|
2020-09-02 14:44:52 -04:00 |
Isaac Connor
|
8d2ced0fbb
|
use MonitorStream to handle the video streaming. update buttons. Add onload event to streaming image so that we redraw the points where they should be. Handle padding in locating points.
|
2020-09-02 14:44:11 -04:00 |
Isaac Connor
|
4f90f37f0e
|
add back request queue
|
2020-09-02 14:42:47 -04:00 |
Isaac Connor
|
9d84b8bd83
|
remove datetimepickers from static html. They get added later by javascript
|
2020-09-02 14:42:23 -04:00 |
Isaac Connor
|
e32d3ba05a
|
Move javascript includes to xhtmlFooter so they don't delay content loading
|
2020-09-02 14:38:38 -04:00 |
Isaac Connor
|
5d11644664
|
Fix various sizes and paddings to make zone editing work perfectly
|
2020-09-02 14:38:13 -04:00 |
Isaac Connor
|
a88dcfe78c
|
During start, switch from mode=single if required. Add play/stop/pause
|
2020-09-02 14:37:48 -04:00 |
Isaac Connor
|
31e8270470
|
Do not set width and height of stream based on monitor size
|
2020-09-02 14:37:28 -04:00 |
Isaac Connor
|
29ab186a7e
|
put generating the view html into an ob_start/ob_end_flush so that we can do things like re-open sessions in the middle of generating content. Only send CSP headers on html content.
|
2020-09-02 13:58:24 -04:00 |
Isaac Connor
|
c0b54ee790
|
introduce connKey method. Use it to generate a connKey if one hasn't been assigned yet.
|
2020-09-02 13:56:55 -04:00 |
Isaac Connor
|
5544057a8d
|
Merge branch 'master' into improve_zone_editing
|
2020-08-31 18:47:24 -04:00 |
Isaac Connor
|
762bea0761
|
Bulk load monitor/Group relationships. Instead of using DESCRIBE Monitors Function, use a new function getMonitorFUnctionTypes to get this data for dropdown purposeses. Reduces db hits a lot.
|
2020-08-31 18:30:05 -04:00 |
Isaac Connor
|
9b36b68ccc
|
Introduce a Group_Monitor class to ease loading this relationship
|
2020-08-31 18:28:53 -04:00 |
Isaac Connor
|
5a9cbdaa3f
|
Merge branch 'master' of github.com:zoneminder/ZoneMinder
|
2020-08-31 16:43:41 -04:00 |
Isaac Connor
|
e120e21b11
|
fix off-by 1 in limiting results
|
2020-08-31 10:37:35 -04:00 |