Andrew Bauer
2852d14ca6
use data-on-change-this instead of inline js
2020-10-04 08:04:11 -05:00
Andrew Bauer
2e6efbb349
replace inlince onchange event in control view
2020-10-03 21:44:24 -05:00
Andrew Bauer
d9b8a7ceb2
remove unused view
2020-10-03 21:35:38 -05:00
Andrew Bauer
adb715c42c
fix typo
2020-10-03 21:32:07 -05:00
Andrew Bauer
a0ad52bac9
replace another inline onchange event
2020-10-03 21:30:48 -05:00
Andrew Bauer
b4d2fa5e75
replace inline onchange event
2020-10-03 21:14:24 -05:00
Andrew Bauer
65b6dad48c
eslint
2020-10-03 17:38:56 -05:00
Andrew Bauer
8d19cee811
unpopup the addnewuser button
2020-10-03 17:12:44 -05:00
Andrew Bauer
aee5430bc8
only load preset and settings modals when needed
2020-10-03 17:00:20 -05:00
Andrew Bauer
1643fb686b
convert settings popup to modal
2020-10-03 16:51:25 -05:00
Andrew Bauer
1ef1b48c71
remove warnings used for testing
2020-10-03 07:08:04 -05:00
Andrew Bauer
391ce88f05
eslint
2020-10-02 21:11:54 -05:00
Andrew Bauer
a97e526298
fix save button in controlpreset modal
2020-10-02 16:10:32 -05:00
Andrew Bauer
802e439cb5
convert controlpreset view to a modal
2020-10-02 15:46:28 -05:00
Isaac Connor
311ba4ef69
use bootstrap styles on logged in user table. Include ip address
2020-10-02 16:04:56 -04:00
Isaac Connor
7261a7b1dd
Merge branch 'sessions_in_db'
2020-10-02 15:57:11 -04:00
Isaac Connor
e9d120f032
remove debug
2020-10-02 15:56:56 -04:00
Isaac Connor
bc5002515e
remove debug
2020-10-02 15:56:50 -04:00
Isaac Connor
d97f8af215
Finish showing logged in users
2020-10-02 15:56:39 -04:00
Isaac Connor
23f2c1468f
rough in a table of the logged in users
2020-10-02 15:21:58 -04:00
Isaac Connor
5d20dde85c
Implement a Session class that takes over session functions and stores in the database
2020-10-02 14:50:22 -04:00
Andrew Bauer
7b5090ceab
move newlog view to log view
2020-10-02 13:26:35 -05:00
Andrew Bauer
c5f69b9441
eslint
2020-10-02 13:24:30 -05:00
Andrew Bauer
950b04c659
convert popuplink
2020-10-02 12:51:17 -05:00
Andrew Bauer
6c0f61ebbd
rework devices view, remove inline onclick
2020-10-02 12:39:05 -05:00
Andrew Bauer
1691e4321b
don't log ajax response text if it is empty
2020-10-02 10:28:50 -05:00
Andrew Bauer
a80b4b91fb
fix x10 device edit
2020-10-01 16:03:58 -05:00
Andrew Bauer
186b8ac947
convert x10 device view to a modal
2020-10-01 15:52:33 -05:00
Andrew Bauer
c61c111d9e
modernize devices view
2020-10-01 12:52:20 -05:00
Andrew Bauer
ef958b1649
enable mgmt of x10 device permissions
2020-10-01 10:51:59 -05:00
Andrew Bauer
928fa67fce
redirect to previous view after user perm changes
2020-10-01 10:45:44 -05:00
Andrew Bauer
b8d95dfa05
fix array to string php warning
2020-10-01 09:13:50 -05:00
Andrew Bauer
e26e36606f
update version check logic in navbar
2020-10-01 08:46:58 -05:00
Andrew Bauer
c4cf52c2bc
new version notice is now part of the navbar
2020-10-01 08:15:20 -05:00
Andrew Bauer
591a30f1fe
fix typo
2020-09-30 13:33:11 -05:00
Andrew Bauer
4bc373105d
fix typo
2020-09-30 13:12:58 -05:00
Andrew Bauer
9b9138f113
replace popup calls in montagereview
2020-09-30 12:20:24 -05:00
Andrew Bauer
d77b55d1d6
replace popup code in add_monitor
2020-09-30 10:40:13 -05:00
Andrew Bauer
9bb82f6e9a
whitespace
2020-09-30 09:25:52 -05:00
Andrew Bauer
2d30d7aafa
convert download view to modal
2020-09-30 09:12:54 -05:00
Isaac Connor
aa7ba44ed9
Use ->zmaControl instead of invalid zmaControl(). the old zmaControl takes a mid, not a monitor object
2020-09-29 16:48:22 -04:00
Isaac Connor
24d8b99eea
test for property_exists to quiet errors
2020-09-29 16:47:49 -04:00
Isaac Connor
3024c46dbb
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-09-29 14:50:13 -04:00
Andrew Bauer
6eaa8aa211
whitespace
2020-09-29 13:05:00 -05:00
Andrew Bauer
4694ce59bb
export event function does not need element
2020-09-29 12:55:57 -05:00
Andrew Bauer
a12a870e2c
download.js - replace mootools with jquery
2020-09-29 12:51:01 -05:00
Andrew Bauer
953a6e0785
more fixes to download view
2020-09-29 10:15:58 -05:00
Isaac Connor
a39a656373
Merge branch 'master' into zma_to_thread
2020-09-29 11:02:40 -04:00
Andrew Bauer
5200af8206
add missing return to download view
2020-09-29 09:50:15 -05:00
Isaac Connor
1af20cea6a
Fix unarchive. The reload was killing the getJSON. Should only do that on success
2020-09-29 09:42:31 -04:00
Andrew Bauer
fc366aa503
add missing echo
2020-09-28 15:41:07 -05:00
Andrew Bauer
1361f0936c
clean up download view
2020-09-28 15:38:56 -05:00
Isaac Connor
3531b8a854
Merge branch 'master' of github.com:/ZoneMinder/zoneminder
2020-09-28 16:14:07 -04:00
Isaac Connor
26636e1172
calculate thumb height based on ratio for frames
2020-09-28 16:13:56 -04:00
Isaac Connor
a118e52f30
Add 2>&1 to ffmpeg command line to get stderr as well
2020-09-28 16:13:06 -04:00
Isaac Connor
58902c70d6
use output_script_if_exists to cache_bust most of the js
2020-09-28 09:49:07 -04:00
Isaac Connor
ecac5e051a
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-09-28 09:34:14 -04:00
Isaac Connor
0a4a144bbc
Merge branch 'location'
2020-09-28 09:33:28 -04:00
Andrew Bauer
699cbed6af
add back and refresh buttons to export view
2020-09-27 12:43:12 -05:00
Andrew Bauer
3b46ebacae
remove warning used for testing
2020-09-27 12:20:09 -05:00
Andrew Bauer
9ea58dc4a1
eslint
2020-09-27 12:16:04 -05:00
Andrew Bauer
c1a0afef95
make group view into a modal
2020-09-27 12:12:01 -05:00
Andrew Bauer
784533ac07
clean up group view
2020-09-27 08:11:45 -05:00
Andrew Bauer
47e5a26da4
eslint
2020-09-27 07:41:05 -05:00
Andrew Bauer
a6413ccd7f
call modal when edit btn is clicked on event view
2020-09-27 07:12:32 -05:00
Andrew Bauer
2655118cbd
change call to popup -> view in event.js
2020-09-26 21:21:29 -05:00
Andrew Bauer
9d2450d55d
load export view, rather than popup
2020-09-26 21:15:50 -05:00
Andrew Bauer
b2cf48a645
remove unused call to filter popup
2020-09-26 21:06:57 -05:00
Andrew Bauer
1260d7bbb2
convert controlcap tabs to pills
2020-09-26 17:05:13 -05:00
Andrew Bauer
935f73ad33
reconfig controlcap cancel button
2020-09-26 16:39:31 -05:00
Andrew Bauer
2d8349073d
redirect to controlcaps after saving a control
2020-09-26 14:31:59 -05:00
Andrew Bauer
dc08319037
add navbar to error view
2020-09-26 14:29:02 -05:00
Andrew Bauer
112003f9de
eslint
2020-09-26 13:55:56 -05:00
Andrew Bauer
0c4fcbbe97
convert controlcaps view to bstable
2020-09-26 12:09:41 -05:00
Andrew Bauer
e2fb5ae9ea
use br html tag to break the text
2020-09-26 09:24:17 -05:00
Andrew Bauer
9d1c24234b
add ConfirmDeleteControl to lang
2020-09-26 08:58:26 -05:00
Andrew Bauer
c831f16d92
add EditControl to lang
2020-09-26 08:05:00 -05:00
Andrew Bauer
5b1d6331e4
make the delconfirm modal generic
2020-09-26 07:53:22 -05:00
Andrew Bauer
48a649a132
extend pill list bkgnd vertically in options
2020-09-26 07:30:15 -05:00
Andrew Bauer
df5192a6b4
link to controlcaps from options view
2020-09-25 21:46:54 -05:00
Andrew Bauer
b7efdebf9a
dynamically find the Level col index
2020-09-25 21:26:22 -05:00
Andrew Bauer
f4e7e264f0
fix makelink
2020-09-25 16:18:44 -05:00
Andrew Bauer
582d85f083
unpopup the controlcaps views
2020-09-25 16:12:05 -05:00
Andrew Bauer
eedf18073f
add navbar to controlcap views
2020-09-25 16:05:16 -05:00
Andrew Bauer
6a5610e404
add back and refresh buttons to user view
2020-09-25 15:49:18 -05:00
Andrew Bauer
ea99bc173e
add navbar to monitor probe views
2020-09-25 14:49:14 -05:00
Andrew Bauer
2b0badfebe
add back and refresh buttons to zones
2020-09-25 13:44:55 -05:00
Andrew Bauer
8018bd4ed9
add back & refresh buttons to zone view
2020-09-25 13:37:06 -05:00
Andrew Bauer
d66b0be1bb
fix scalecontrol on frame view
2020-09-25 13:08:55 -05:00
Andrew Bauer
c73dbc480f
unpopup the svg ploygon in zones
2020-09-25 12:34:04 -05:00
Andrew Bauer
ae9139b00c
unpopup zone view
2020-09-25 10:52:13 -05:00
Andrew Bauer
1ac5572d59
unpopup the zones view
2020-09-25 07:56:09 -05:00
Andrew Bauer
493b9d0ef7
revert newlog row colors back to former
2020-09-25 07:21:14 -05:00
Isaac Connor
f9d28ddabe
stick a map on the location tab
2020-09-24 20:31:22 -04:00
Isaac Connor
a3f4837186
Use config options for tile datam access tokens and turning geolocation on/off
2020-09-24 20:30:57 -04:00
Isaac Connor
a109d7bba0
leaflet can't be cache busted so update output_link_if_exists and output_script_if_exists to take a cache_bust flag
2020-09-24 20:21:38 -04:00
Isaac Connor
386f991364
Merge branch 'master' into location
2020-09-24 19:28:57 -04:00
Isaac Connor
bcb430d393
copy log.css to newlog and add a style for bg-danger
2020-09-24 16:03:26 -04:00
Andrew Bauer
310e52840d
remove under construction banner
2020-09-24 12:29:28 -05:00
Andrew Bauer
89fddf3555
decrease refresh timing
2020-09-24 12:27:03 -05:00
Isaac Connor
d58f776d9d
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-09-24 12:13:01 -04:00
Isaac Connor
e6d7a528d8
Use newer Filter object methods
2020-09-24 12:12:49 -04:00
Isaac Connor
cdc07715b7
remove parseFilterToTre and fix filter['query'] to filter['querystring']
2020-09-24 12:12:37 -04:00
Isaac Connor
8bd958e91c
pass querySep to querystring
2020-09-24 12:12:06 -04:00
Isaac Connor
e47fa48a8e
move parseFilterToTree from timeline_functions to Filter->tree(). Fix passing separator in querystring
2020-09-24 12:11:45 -04:00
Andrew Bauer
e4a1bacbbf
get adv search working in newlog view
2020-09-24 11:05:34 -05:00
Andrew Bauer
88f1dcca13
centralize bstable icon var, change table refresh icon
2020-09-24 08:25:39 -05:00
Isaac Connor
e4bbbce161
fix eslint
2020-09-24 09:13:44 -04:00
Isaac Connor
9c7bbd4aa7
introduce output_script_if_exists, use it to link leaflet.js if it exists
2020-09-24 09:13:25 -04:00
Isaac Connor
624bcdcde0
Add Latitude and Longitude to Monitors and monitor edit as well as using the geolocation api to auto-populate them
2020-09-24 09:01:30 -04:00
Andrew Bauer
b4450fecec
init bootstrap-table only once
2020-09-23 14:32:40 -05:00
Andrew Bauer
16a593e904
eslint
2020-09-23 13:56:41 -05:00
Andrew Bauer
3f2f7359f0
rough in new log view - very rough
2020-09-23 13:09:19 -05:00
Isaac Connor
f416ab96c5
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-09-22 16:22:07 -04:00
Isaac Connor
70be6bc84c
Add an estimated ram use to buffer tabs
2020-09-22 16:21:59 -04:00
Andrew Bauer
5771e74a6f
eslint
2020-09-22 15:16:42 -05:00
Isaac Connor
eb736df405
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-09-22 15:51:49 -04:00
Isaac Connor
fbc15c8109
Fix FPS Report Interval label
2020-09-22 15:51:44 -04:00
Andrew Bauer
d2ba9c5234
load bs-table toolbar & autorefresh
2020-09-22 14:23:25 -05:00
Andrew Bauer
2bdbb48692
update to bootstrap-table 1.18.0 and more extensions
2020-09-22 14:09:02 -05:00
Isaac Connor
ed6d5a55a5
put an onchange on the monitorType causing a form submit so that Source and Storage tabs update. Rename action to save and put it on the submit button
2020-09-22 14:33:26 -04:00
Isaac Connor
0aa0452b7e
Use a redirect instead of just changing the view on monitor save. This fixes the reload issue
2020-09-22 14:05:37 -04:00
Isaac Connor
b1dd42dd8b
Use bootstrap nav pills to just hide/show the tab instead of doing form submits in monitor editing
2020-09-22 14:05:11 -04:00
Isaac Connor
7196eaf0d0
Minimum value for label position is 0, not 1.
2020-09-22 13:14:25 -04:00
Isaac Connor
2457dcb16f
Minimum value for label position is 0, not 1.
2020-09-22 13:12:39 -04:00
Isaac Connor
a43cbc05af
Fix case on Servers. Turn off error reporting so that mkdir(ZM_DIR_EXPORTS) doesn't generate a warning. Fix server column in xml output
2020-09-21 13:03:03 -04:00
Isaac Connor
b6541aa1ff
Move log export to a generic modal
2020-09-21 13:01:58 -04:00
Isaac Connor
cbbdfdbd43
Introduce generic getModal and manageModalBtns
2020-09-21 13:00:55 -04:00
Isaac Connor
2ff2fbecd9
Remove fieldset styling. We were conflicting with bootstrap
2020-09-21 13:00:29 -04:00
Isaac Connor
96474a7d94
Fix case on Servers. Turn off error reporting so that mkdir(ZM_DIR_EXPORTS) doesn't generate a warning. Fix server column in xml output
2020-09-21 13:00:03 -04:00
Isaac Connor
3e3af0bca5
Fix zmcontrol.pl command line to not use = to match with usage elsewhere
2020-09-21 11:24:17 -04:00
Isaac Connor
b16d4045ee
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-09-21 11:15:41 -04:00
Isaac Connor
861ebedcae
Implement a crude view for a failed db connection with a 30 second reload interval.
2020-09-21 11:15:34 -04:00
Andrew Bauer
1d1b0e58d2
consolidate getJson fail callbacks to one function
2020-09-20 08:41:16 -05:00
Andrew Bauer
c75f5c68c1
unpopup the log view
2020-09-19 12:59:15 -05:00
Andrew Bauer
0a7848d9d2
remove uneeded state php and js files
2020-09-19 12:36:55 -05:00
Andrew Bauer
a3c0e160a2
convert state modal to ajax request
2020-09-19 12:36:04 -05:00
Isaac Connor
bf29357455
Merge branch 'release-1.34'
2020-09-19 12:01:21 -04:00
Isaac Connor
3492582b98
add missing css for settings popup
2020-09-19 12:00:32 -04:00
Andrew Bauer
7c1ec4f957
convert logout modal to ajax request
2020-09-19 10:44:05 -05:00
Andrew Bauer
03a0e849b8
remove unneeded js from console.js
2020-09-19 10:24:28 -05:00
Andrew Bauer
ec20fdf3ad
convert function modal to ajax request
2020-09-19 10:18:59 -05:00
Andrew Bauer
d2963fe28f
convert donate modal to ajax request
2020-09-19 08:55:08 -05:00
Andrew Bauer
467e75a11c
convert eventdetail function to php file
2020-09-18 11:03:20 -05:00
Andrew Bauer
2757b74957
convert servermodal function to php file
2020-09-18 10:34:33 -05:00
Andrew Bauer
a058d077bb
fix typo
2020-09-18 10:11:58 -05:00
Andrew Bauer
10119dc609
convert storage function to php file
2020-09-18 10:02:02 -05:00
Andrew Bauer
1b2f0514b9
convert delconfirm function to php file
2020-09-18 09:43:29 -05:00
Andrew Bauer
6e6b9a464b
convert enoperm function to php file
2020-09-18 09:24:23 -05:00
Andrew Bauer
416de4a068
fix git screwup
2020-09-18 08:56:17 -05:00
Andrew Bauer
bc7cadcc73
convert optionhelp function to php file
2020-09-18 08:35:21 -05:00
Isaac Connor
e491f2ee76
Add id's to dropdowns to fix zone edit behaviour. Remove CSP violations
2020-09-17 20:58:53 -04:00
Isaac Connor
8f3b3466af
setup onblur function for presetSelector
2020-09-17 20:58:18 -04:00
Isaac Connor
29880cdab3
handle width options['width'] and options['height'] aren't set
2020-09-17 20:57:14 -04:00
Isaac Connor
006cc079c4
Rework action to use Zone class and just take a list of Zid's so that technically we can delete zones from multiple monitors at once.
2020-09-17 20:56:56 -04:00
Isaac Connor
1701089211
Add MonitorId to Zone fields and add Monitor() method
2020-09-17 20:56:21 -04:00
Isaac Connor
42dc4e46b1
add canEdit method to Monitor object
2020-09-17 20:56:04 -04:00
Isaac Connor
f61a21fec4
Add modals dir with filterdebug modal
2020-09-17 15:17:53 -04:00
Isaac Connor
6aa4302fe0
Add EventDiskSpace as a term and add a Debug modal button
2020-09-17 15:17:29 -04:00
Isaac Connor
bb4bd935d6
use getBodyTopHTML as it include an error message div. Show db errors with the error message
2020-09-17 15:17:06 -04:00
Isaac Connor
6a77591237
Add lang for Event DiskSpace and FileSystem ISKSpace
2020-09-17 15:15:28 -04:00
Isaac Connor
4a6743be3f
turn off debug
2020-09-17 15:15:13 -04:00
Isaac Connor
123b2a4747
Change Event Diskspace case to not interfere with Filesystem DiskSpace
2020-09-17 15:14:54 -04:00
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
Isaac Connor
73cdb510b2
Rough in an events ajax request for deleting events
2020-08-31 10:37:22 -04:00
Isaac Connor
0995708b5b
Use ajax request instead of webui to delete events. The reason is that the web ui will spit out the events view after performing the action. Without a filter it will try to list every event.
2020-08-31 10:37:03 -04:00
Isaac Connor
cce0ab1464
pass params when loading Objects_Indexed_By_Id
2020-08-31 10:16:35 -04:00
Isaac Connor
4fcece6b69
Fixes to generating SQL for postSQL conditions. Now we will add the AND with a value of TRUE and a comment with the attr
2020-08-31 10:16:10 -04:00
Isaac Connor
0b493cd85a
add svg circles for the points
2020-08-31 10:15:14 -04:00
Isaac Connor
3d5ad4902a
zones can now list multiple monitors
2020-08-31 10:14:53 -04:00
Isaac Connor
3f4f28f322
Move monitor class into js/MonitorStream for use elsewhere
2020-08-31 10:13:58 -04:00
Isaac Connor
fa18887f5c
zones can now list multiple monitors so populate a listof monitors with json data
2020-08-31 10:13:30 -04:00
Isaac Connor
f00f9ead79
Move monitor class into js/MonitorStream for use elsewhere
2020-08-31 10:12:47 -04:00
Isaac Connor
f5e659f395
Change #zones into .zones because we may list zones for multiple monitors now
2020-08-31 10:10:50 -04:00
Isaac Connor
af8d7fc3fa
Style svg circle point
2020-08-31 10:10:21 -04:00
Isaac Connor
3e09840995
Merge branch 'master' into improve_zone_editing
2020-08-28 17:43:07 -04:00
Andrew Bauer
990b5bd9dc
monitor view - convert links to buttons
2020-08-28 15:22:57 -05:00
Andrew Bauer
9c56cd223f
move header right to shift pill list up
2020-08-28 13:32:46 -05:00
Andrew Bauer
47732e2469
right align monitor item names
2020-08-28 13:18:01 -05:00
Andrew Bauer
a919be7b2d
replace tabs with vert pills
2020-08-28 13:09:49 -05:00
Andrew Bauer
d69b3e7f43
make cancel go back to console
2020-08-28 10:56:09 -05:00
Isaac Connor
d0f1a2af80
Since monitor edit is no longer a popup, we need to redirect to console instead of none.
2020-08-28 10:22:28 -04:00
Isaac Connor
079d1be3b3
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-28 09:52:34 -04:00
Isaac Connor
04b3f5d294
Merge branch 'master' into improve_zone_editing
2020-08-28 09:43:48 -04:00
Andrew Bauer
2b6090d8c6
console.js - change all createPopup to window.location.assign
2020-08-28 07:58:42 -05:00
Andrew Bauer
a288a54fbe
make form id unique on logout view
2020-08-28 07:42:33 -05:00
Andrew Bauer
1e78307735
add navigation buttons to monitor view
2020-08-27 16:30:49 -05:00
Isaac Connor
b458a7c893
Redirect after save so that a reload doesn't redo the post
2020-08-27 17:20:24 -04:00
Isaac Connor
f294d099c9
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-27 17:16:18 -04:00
Isaac Connor
3d9557c5a4
Implement limit on returned events. Free ram in cache if post_condition fails
2020-08-27 17:16:10 -04:00
Isaac Connor
10d0ccf0ce
fix use of ->value instead of ->val. Return 1 for the sql for a post-condition term
2020-08-27 17:15:33 -04:00
Isaac Connor
d0f6f8755c
Implement a remove_from_cache function so we can free mem for objects we are not interested in
2020-08-27 17:14:47 -04:00
Isaac Connor
a5cef3e6d1
Need to put a 1 in the sql for post-sql conditions due to the cnj term
2020-08-27 17:14:16 -04:00
Andrew Bauer
1f5f964ae3
add navbar to monitor view
2020-08-27 15:53:24 -05:00
Andrew Bauer
948836ed96
enable jump-to feature on frames
2020-08-27 14:58:21 -05:00
Isaac Connor
9fef228636
remove debug Warning
2020-08-27 13:38:13 -04:00
Isaac Connor
e9cef72d9f
Use ViewWdith/ViewHeight to get rotated dimensions when calculating thumbnail size
2020-08-27 12:44:56 -04:00
Isaac Connor
103004ac34
Remove these functions. Superseded by more recent work
2020-08-27 12:16:11 -04:00
Isaac Connor
1ad084c052
Remove parse
2020-08-27 12:14:17 -04:00
Isaac Connor
69be26213a
Merge branch 'master' of github.com:zoneminder/ZoneMinder
2020-08-27 11:55:26 -04:00
Isaac Connor
dc15663030
Fix scales after applying layout
2020-08-27 10:55:14 -04:00
Isaac Connor
ccaea26928
Fix logic on MonitorFlip Cookie value
2020-08-27 10:54:54 -04:00
Isaac Connor
6173890a45
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-27 10:34:00 -04:00
Isaac Connor
702ea365c2
Remove cruft and fix the filter bar toggle
2020-08-27 10:33:52 -04:00
Isaac Connor
4c1446d856
Fixes to scale selection and remove code that altered width&height in zms url. zms doesn't honour them. Calculate new scale and alter that parameter.
2020-08-27 10:33:08 -04:00
Isaac Connor
62eddfdf2b
reorganize code a bit for better logical grouping
2020-08-27 10:31:27 -04:00
Isaac Connor
c0d543cd47
Add code to handle monitorsfilterbar on montage
2020-08-27 10:31:06 -04:00
Isaac Connor
dd3d315964
A a.flip float right and put a clear:both after the contents of #header so that it has space after content has been toggled
2020-08-27 10:30:27 -04:00
Isaac Connor
11f165a99f
remove width and height from zms url. zms doesn't support them and having them in the url is confusing
2020-08-27 10:29:50 -04:00
Andrew Bauer
4bacb136c9
enable page-jump-to table extension
2020-08-27 07:46:52 -05:00
Andrew Bauer
e8a2bbf6e0
continue to fix corrupted merge conflict
2020-08-27 07:42:39 -05:00
Andrew Bauer
9b69eb5762
fix corrupted merge conflict
2020-08-27 07:35:05 -05:00
Isaac Connor
b451c323e9
remove debug code at Warning level
2020-08-26 18:40:31 -04:00
Andrew Bauer
367c060790
remove unwanted patch files
2020-08-26 17:07:58 -05:00
Andrew Bauer
280964f33f
reapply commit d3cc4d5
2020-08-26 17:06:01 -05:00
Andrew Bauer
8ba91db1fb
make logout view a modal
2020-08-26 16:28:11 -05:00
Andrew Bauer
8d202aeef0
eslint
2020-08-26 15:36:38 -05:00
Isaac Connor
ab68bef39a
Merge branch 'master' into filter_pre_post
2020-08-26 15:28:48 -04:00
Isaac Connor
99472242af
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-26 15:16:36 -04:00
Isaac Connor
0ced21dda7
Persist video volume in a cookie so that subsequent events remember the volume level.
...
Fixes #3013
2020-08-26 15:15:57 -04:00
Isaac Connor
74d2ba56db
Persist video volume in a cookie so that subsequent events remember the volume level.
2020-08-26 15:15:10 -04:00
Andrew Bauer
67fe9d0cb4
un-popup the users views
2020-08-26 13:52:10 -05:00
Andrew Bauer
8c4f89c099
requested dark skin changes
2020-08-26 13:31:58 -05:00
Isaac Connor
24d1ba3a00
fix eslint
2020-08-26 13:41:40 -04:00
Andrew Bauer
1c7bddf96e
monitor config no longer a popup
2020-08-26 12:22:19 -05:00
Andrew Bauer
ac7867eab3
make function view a modal
2020-08-26 11:39:48 -05:00
Isaac Connor
06942746d6
Merge branch 'release-1.34'
2020-08-25 12:41:33 -04:00
Isaac Connor
b5ef7b08b9
settings popup has to come from the server hosting the v4l device, so use monitor->UrlToIndex and include auth.
2020-08-25 12:40:22 -04:00
Isaac Connor
6587cdd3de
Handle failure to get v4l settings. Fix assignment of values to monitor object.
2020-08-25 12:39:44 -04:00
Isaac Connor
b0f5f3617a
Always set auth_hash and always set auth_relay, using our handy new get_auth_relay function
2020-08-25 12:39:14 -04:00
Isaac Connor
f1fab6361f
fix dimensions of v4l settings popup
2020-08-25 12:38:46 -04:00
Isaac Connor
98dce06d6b
Introduce get_auth_relay to return an auth string to use in urls.
2020-08-25 12:38:31 -04:00
Isaac Connor
e3a48c2db4
Handle the case where the layout has invalid json
2020-08-25 12:07:45 -04:00
Isaac Connor
6fbe7457ff
Add missing globals
2020-08-25 11:47:49 -04:00
Isaac Connor
626e892b33
add global
2020-08-25 11:43:55 -04:00
Isaac Connor
3d3dde22c4
Use zm_session_start
2020-08-25 11:31:06 -04:00
Isaac Connor
278be59c86
Use zm_session_start
2020-08-25 11:30:51 -04:00
Isaac Connor
3c29228df5
Use zm_session_start
2020-08-25 11:30:22 -04:00
Isaac Connor
586f9f3e52
Use zm_session_start
2020-08-25 11:27:25 -04:00
Isaac Connor
981439cbd9
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-24 17:42:37 -04:00
Isaac Connor
fe5e005d8e
Calculate scale to pass to getStreamSrc for thumbnail still and stream
2020-08-24 17:42:23 -04:00
Andrew Bauer
0879ecf9a5
update timeline header
2020-08-24 14:33:01 -05:00
Isaac Connor
2d05fbda8d
simplify debug line
2020-08-24 14:36:36 -04:00
Isaac Connor
3c1651d98f
in getStreamSrc if scale isn't set figure it out from width and height if passed
2020-08-24 14:35:59 -04:00
Andrew Bauer
8c32511c83
whitespace
2020-08-24 12:05:31 -05:00
Isaac Connor
bce38ae2c6
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-24 12:05:25 -04:00
Isaac Connor
56e2ac5baa
add scale to query params because zms doesn't wupport width&height
2020-08-24 12:05:14 -04:00
Andrew Bauer
e5e2c3b347
fix stats off by 1 frame, don't alert on score 0
2020-08-24 10:57:54 -05:00
Andrew Bauer
c6e3107a50
make donate view a modal
2020-08-24 09:31:21 -05:00
Isaac Connor
67f2e3c1a0
Merge branch 'master' into filter_pre_post
2020-08-24 10:30:01 -04:00
Isaac Connor
b5cdc5c32d
Set width and height on image tag so browser knows how to lay them out. Fixes flickering.
2020-08-24 10:26:07 -04:00
Isaac Connor
0e9c8a35e6
fix thumbnail height style. Make thumbnail clickable.
2020-08-24 09:32:49 -04:00
Isaac Connor
0f27243007
Merge branch 'master' into filter_pre_post
2020-08-24 09:23:24 -04:00
Andrew Bauer
8ea806e264
eslint
2020-08-23 18:40:58 -05:00
Andrew Bauer
699b20b961
whitespace
2020-08-23 17:54:57 -05:00
Andrew Bauer
65181c84ee
update frame top toolbar
2020-08-23 17:53:47 -05:00
Andrew Bauer
773557ee8a
set view to stats rather than popup
2020-08-23 13:25:09 -05:00
Andrew Bauer
86f0d41d8e
autoinit changeScale in frame view
2020-08-23 13:17:03 -05:00
Andrew Bauer
63fc59568f
pad frames cells to account for detail view
2020-08-23 13:12:54 -05:00
Andrew Bauer
4b144dea74
whitespace
2020-08-23 13:02:35 -05:00
Andrew Bauer
f06bfe7cbb
use bootstrap-table on stats view
2020-08-23 12:23:58 -05:00
Andrew Bauer
69ba9e6d0e
eslint
2020-08-23 12:14:09 -05:00
Isaac Connor
2a7ea52330
Merge branch 'release-1.34'
2020-08-23 11:51:54 -04:00
Andrew Bauer
4cbac47d6d
add navbar to stats view
2020-08-22 21:09:58 -05:00
Andrew Bauer
de1d1c2ac6
change close link to back link
2020-08-22 14:43:53 -05:00
Andrew Bauer
ad67f74ba4
add formatting to stats table
2020-08-22 14:12:11 -05:00
Andrew Bauer
afc3d2c548
fix horizontal scroll issues events
2020-08-22 13:00:53 -05:00
Andrew Bauer
e69e767878
fix horizontal scroll nonsense
2020-08-22 12:56:31 -05:00
Andrew Bauer
61f89e3306
rough in frames detail view
2020-08-22 12:45:19 -05:00
Andrew Bauer
5d09ae91ab
move div tag into $imgHTML
2020-08-22 07:14:47 -05:00
Andrew Bauer
8ea7b783b5
generate thumbnails when monitor is connected
2020-08-21 21:18:55 -05:00
Andrew Bauer
c8e40eb5b3
don't generate tumbnails when not running
2020-08-21 21:14:16 -05:00
Andrew Bauer
39d538d5cf
add missig }
2020-08-21 20:57:05 -05:00
Andrew Bauer
73a01855f8
rough in thumbnail animation
2020-08-21 20:44:20 -05:00
Andrew Bauer
79fa257a4a
rough in tumbnail animation to web console
2020-08-21 20:43:36 -05:00
Isaac Connor
ac0976324f
Fix case of filterQuery. Fixes #3017
2020-08-21 11:22:47 -04:00
Isaac Connor
fe425302ad
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-21 10:46:13 -04:00
Isaac Connor
63ef15d247
spacing and quotes
2020-08-21 10:46:10 -04:00
Isaac Connor
80a6608733
Make values in conf.d files override values in db. Also handle the fact that they would already be defined in this case.
2020-08-21 10:36:49 -04:00
Andrew Bauer
9357017a39
add export fx to tables
2020-08-21 07:11:57 -05:00
Isaac Connor
519bfae1da
Merge branch 'master' of github.com:zoneminder/ZoneMinder
2020-08-20 17:12:41 -04:00
Andrew Bauer
bec77c9ce3
change pointer when over frames table
2020-08-20 10:39:55 -05:00
Andrew Bauer
de4d144cd4
fix scale dropdown in frame view
2020-08-20 10:16:28 -05:00
Andrew Bauer
72d95275c3
add navbar for frame view
2020-08-20 09:19:04 -05:00
Andrew Bauer
247ace7fa2
process clicks per cell in frames
2020-08-20 09:13:11 -05:00
Andrew Bauer
7175fa3d86
no padding on frames outermost div
2020-08-20 08:19:53 -05:00
Andrew Bauer
c9de30d427
click any row to load frame
2020-08-19 17:54:39 -05:00
Andrew Bauer
b2a632a3f8
reinit thumbnail ani on click events
2020-08-19 16:16:27 -05:00
Andrew Bauer
8f70ae192d
enable thumbnail zoom on frames view
2020-08-19 15:42:35 -05:00
Andrew Bauer
a903a885b6
whitepsace
2020-08-19 14:07:00 -05:00
Isaac Connor
c2d6b8f493
revert code that passed the div hightlightOn/Off. Better to pass index. Fixes js errors.
2020-08-19 14:39:15 -04:00
Isaac Connor
d0c21995cd
Fixes to function converting from pixels to percent. Adjust to 100 if > 100.
2020-08-19 14:14:32 -04:00
Isaac Connor
efec1e7d4f
remove debug
2020-08-19 14:13:48 -04:00
Isaac Connor
177df46113
Apply min=0 to filterX and Y so that we don't get negative values
2020-08-19 14:11:16 -04:00
Isaac Connor
d366d41297
Update parseFilter to Filter::parse
2020-08-19 14:07:51 -04:00
Andrew Bauer
842efc1574
remove <a> tags from col headers
2020-08-19 12:31:13 -05:00
Andrew Bauer
74b0ad2cb3
get rid of horizontal scrollbar in frames
2020-08-19 12:20:57 -05:00
Andrew Bauer
f317bf1722
fix copy/paste typo
2020-08-19 12:07:31 -05:00
Andrew Bauer
e38a532b78
rough new frames view
2020-08-19 12:04:08 -05:00
Andrew Bauer
ad9b9d91cc
disable the back button when new page
2020-08-18 16:57:03 -05:00
Isaac Connor
b38c5e98a8
Merge branch 'master' into filter_pre_post
2020-08-18 16:33:04 -04:00
Andrew Bauer
3664a9b42c
set the pagination list
2020-08-18 15:12:07 -05:00
Andrew Bauer
1e41bd0823
whitespace
2020-08-18 13:48:18 -05:00
Andrew Bauer
6eb7b6d51c
set the right toolbar btn class to match
2020-08-18 13:13:32 -05:00
Andrew Bauer
df02d84a56
don't go back if not referred
2020-08-18 13:08:17 -05:00
Andrew Bauer
2c9caeb348
whitespace
2020-08-18 12:40:27 -05:00
Isaac Connor
2d5522df14
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-18 13:25:21 -04:00
Isaac Connor
c837a17aea
Add a warning about missing EndTime term on UpdateDiskSpace
2020-08-18 13:25:18 -04:00
Andrew Bauer
bf63500b08
fix thumbnail animation after user event
2020-08-18 12:00:20 -05:00
Isaac Connor
e6d6ee1b67
Merge branch 'filter_warnings'
2020-08-18 11:17:46 -04:00
Isaac Connor
16efa9dbb2
Add extra checks for Deleting without an Archived State term and Running in the background without any actions.
2020-08-18 11:17:22 -04:00
Andrew Bauer
1627b1d0d1
privacy view page formatting
2020-08-18 09:08:26 -05:00
Andrew Bauer
287c585d3d
use translated text for delete confirmation
2020-08-18 08:26:45 -05:00
Andrew Bauer
b32bcab91f
add a delete confirmation modal
2020-08-18 08:06:58 -05:00
Isaac Connor
a92a16f13e
Merge branch 'update_users_controller' into release-1.34
2020-08-17 19:33:31 -04:00
Isaac Connor
7e679809f2
Merge branch 'update_users_controller'
2020-08-17 19:31:30 -04:00
Isaac Connor
610f73a835
Merge branch 'release-1.34'
2020-08-17 19:30:32 -04:00
Isaac Connor
0a3ad719cd
Merge branch 'master' into filter_pre_post
2020-08-17 18:30:44 -04:00
Andrew Bauer
1dd0b44334
eslint nanny strikes again
2020-08-17 16:59:57 -05:00
Isaac Connor
dc451cbc85
Use filter class
2020-08-17 17:42:22 -04:00
Isaac Connor
e3fe75f21b
fix case on filterQuery
2020-08-17 17:42:03 -04:00
Isaac Connor
e5dd10fc04
use filter class instead of parseFilter
2020-08-17 17:41:50 -04:00
Isaac Connor
0f90b999c0
use filter class instead of parseFilter
2020-08-17 17:41:38 -04:00
Isaac Connor
6649a30bbb
Use querystring instead of query
2020-08-17 17:41:13 -04:00
Isaac Connor
5078a69c81
move pre and post condition testing into the Filter class so we can use it everywhere
2020-08-17 17:40:58 -04:00
Andrew Bauer
80b92573b8
set the icons used in bstable toolbar
2020-08-17 16:18:18 -05:00
Isaac Connor
f4594f06d1
Add in pre_condition checks.
2020-08-17 16:58:37 -04:00
Isaac Connor
479768a2a4
implement disk_used_blocks in Storage. Also use Type() instead of ->{Type} to get default value.
2020-08-17 16:57:53 -04:00
Isaac Connor
72cad5f6d6
Move more code from parseFilter to Filter object.
2020-08-17 16:57:14 -04:00
Isaac Connor
e9b0c4fbf5
add ->filter to FilterTerm so that we can access other terms in testing pre and post conditions. rename hidden_fields_string to hidden_fields. Add in DiskPercent DiskBlocks, SystemLoad Pre and Post conditions
2020-08-17 16:56:54 -04:00
Isaac Connor
d2b7aa3e90
Populate Scheme of default Storage Area when event Storage is not valid
2020-08-17 16:55:29 -04:00
Isaac Connor
ae91e9c58f
add functions to Filter class to build up the sql, hidden_fields and query_string from the list of terms
2020-08-17 16:55:05 -04:00
Andrew Bauer
3e5bfc445f
fix checkbox column disappearing
2020-08-17 12:10:35 -05:00
Isaac Connor
e452c23c4d
Merge branch 'master' into filter_pre_post
2020-08-17 12:56:43 -04:00
Isaac Connor
e4425d7565
Merge branch 'master' into filter_pre_post
2020-08-17 12:56:20 -04:00
Andrew Bauer
11afad5c92
add pagination on/off toggle
2020-08-17 11:02:25 -05:00
Andrew Bauer
9bc1b6a34e
change icon color on hover
2020-08-17 08:37:03 -05:00
Andrew Bauer
e19d1f507e
fix bootstrap-table-cookie correctly
2020-08-17 08:05:50 -05:00
Andrew Bauer
7fed6f9c29
shift thumbnail animation away from edge
2020-08-16 21:08:07 -05:00
Isaac Connor
1a6154752a
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-16 20:08:49 -04:00
Isaac Connor
a8455d4ecf
Add necessary globals
2020-08-16 20:08:42 -04:00
Isaac Connor
2021f561fa
Import as a global
2020-08-16 20:08:26 -04:00
Isaac Connor
ea4edcbc94
Make a global so tht we can use it in export_functions
2020-08-16 20:08:14 -04:00
Andrew Bauer
de0a4a18ee
fix checkbox column
2020-08-16 18:00:11 -05:00
Andrew Bauer
5468c0322e
appease the eslint nanny
2020-08-16 16:30:35 -05:00
Andrew Bauer
0cbf559821
only hide cols if cookie not exist
2020-08-16 16:02:43 -05:00
Andrew Bauer
7c72e1fa08
fix cookie issue with bootstrap-table
2020-08-16 15:39:20 -05:00
Andrew Bauer
33ea9de8cf
better spacing archived & emailed tinytext
2020-08-16 15:19:08 -05:00
Andrew Bauer
f27f6e6394
fix archive buttons, remove asterisk from event name
2020-08-16 14:46:56 -05:00
Andrew Bauer
94d666b296
tiny text under event name, add emailed column
2020-08-16 14:41:50 -05:00
Andrew Bauer
ee31761627
cleanup & consolidate events view buttons
2020-08-16 13:44:18 -05:00
Isaac Connor
77c391fcae
Add booleanvalues for operators support
2020-08-16 13:07:42 -04:00
Isaac Connor
77f9f4bffb
Add ExistsInFileSystem support in Filters. This also includes limiting operators to IS/IS NOT
2020-08-16 13:07:21 -04:00
Isaac Connor
303154c690
Remove countSQL code that ran the sql query once to get the # of entries returned to be used in pagination. Now that we support POSTSQL Conditions it is no longer useful. Pagination has to happen later. Implement POSTSQLConditions in filtering results.
2020-08-16 13:06:37 -04:00
Isaac Connor
d3cc4d589f
Remove the parseFilter etc calls from getNavBarHTML code which was used to populate the filter link with the currently viewed events list. I think we can do this better with saving it to the sesssion or similar.
2020-08-16 13:04:42 -04:00
Isaac Connor
344f586f19
Add language entry for ExistsInFileSystem
2020-08-16 13:03:18 -04:00
Isaac Connor
d1126b3007
Move term logic from parseFilter to FilterTerm class
2020-08-16 13:02:34 -04:00
Andrew Bauer
9be63f1d99
reorganize and init eventTable
2020-08-16 11:34:37 -05:00
Isaac Connor
82a1670d80
Rough in FilterTerm class, stealing code from functions.php and adapting it.
2020-08-15 17:49:59 -04:00
Isaac Connor
8a170f2841
Remove Debug
2020-08-15 17:49:26 -04:00
Andrew Bauer
93475bef7e
eslint nanny
2020-08-15 16:08:53 -05:00
Andrew Bauer
252bf7995a
eslint nannt
2020-08-15 15:54:58 -05:00
Andrew Bauer
1c558b66e7
add font-awesome stylesheet
2020-08-15 15:44:54 -05:00
Andrew Bauer
50a1ceb48a
add bootstrap-table.min.css
2020-08-15 15:37:02 -05:00
Andrew Bauer
45fde13535
rough in new events view
2020-08-15 15:27:58 -05:00
Isaac Connor
c87886f5a5
Fix v4l2 channel and palette dropdowns allowing the saving of local monitors.
2020-08-15 12:31:30 -04:00
Isaac Connor
dbb2535a6b
Merge branch 'master' of github.com:zoneminder/ZoneMinder
2020-08-14 13:08:04 -04:00
Andrew Bauer
7225281771
enlarge event thumbs on hover
2020-08-13 12:50:59 -05:00
Andrew Bauer
b45c4fac1f
tighten up event column spacing
2020-08-13 12:33:13 -05:00
Isaac Connor
6550876a92
fix css so that the background colour of the dropdown divs is set
2020-08-13 12:40:11 -04:00
Isaac Connor
c674cb7b55
Move the dropdown id's to the a element where they should be. Remove duplicated id on storage_dropdown.
2020-08-13 12:39:51 -04:00
Isaac Connor
4fee59208d
Use str_replace and ltrim instead of preg_replace for efficiency
2020-08-13 12:14:18 -04:00
Isaac Connor
047d69ace7
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-13 11:28:00 -04:00
Andrew Bauer
c4ee4fb307
split start & end times into sep cols & wrap
2020-08-13 09:24:42 -05:00
Andrew Bauer
27c80cedac
set small screen breakpoint on table-responsive
...
This gets rid of the ugly horizontal scroll bars on the table on larger screens
2020-08-12 10:10:55 -05:00
Isaac Connor
6cbc54ef87
When storage area has been deleted, say so
2020-08-11 14:11:48 -04:00
Isaac Connor
5f0da93c6e
turn off debug
2020-08-11 13:47:48 -04:00
Isaac Connor
303cec92f6
Add globals, fixing timeline view
2020-08-11 13:47:37 -04:00
Isaac Connor
0a7df075ae
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-11 11:41:15 -04:00
Isaac Connor
d42424d6d8
Merge branch 'release-1.34'
2020-08-11 11:41:11 -04:00
Isaac Connor
355428e93e
direct settings view to the monitor that is actually recording the stream
2020-08-10 21:32:23 -04:00
Isaac Connor
e8bf2aa386
Update settings view. Were assigning to a function. More work to be done.
2020-08-10 21:20:23 -04:00
Isaac Connor
81296bbe31
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-10 17:31:08 -04:00
Andrew Bauer
4a31ebe045
Update options.php
2020-08-10 15:48:20 -05:00
Andrew Bauer
b5553c968b
expand options to full width
2020-08-10 15:41:25 -05:00
Andrew Bauer
4097693b38
appease the eslint nanny
2020-08-10 13:38:53 -05:00
Andrew Bauer
3fa97f2bc1
reogranize state.php
2020-08-10 13:35:12 -05:00
Isaac Connor
63da7f0074
Fix unsetting scale, width and height when generating url to zms. width and height are normally pixels but maybe someday could be percent.
2020-08-10 14:02:25 -04:00
Isaac Connor
81b55589db
Fix unsetting scale, width and height when generating url to zms. width and height are normally pixels but maybe someday could be percent.
2020-08-10 13:59:47 -04:00
Isaac Connor
bafffdb486
Test for configuration of ZM_PATH_SHUTDOWN and provide useul error message
2020-08-10 12:26:37 -04:00
Isaac Connor
5ee086bbfe
Test for configuration of ZM_PATH_SHUTDOWN and provide useul error message
2020-08-10 12:25:44 -04:00
Isaac Connor
e64e786c5b
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-09 22:20:08 -04:00
Isaac Connor
f04e1a0ba7
Apply min=0 to filterX and Y so that we don't get negative values
2020-08-09 22:20:06 -04:00
Isaac Connor
ec707acdd1
Fixes to function converting from pixels to percent. Adjust to 100 if > 100.
2020-08-09 22:19:43 -04:00
Isaac Connor
25426d5fdd
Don't add 442 for https and 80 for http. Just cleaner
2020-08-09 22:18:35 -04:00
Isaac Connor
b4a3ccdfed
only put the hostname in the CSP headers so that we accept as source either http or https or any port. Useful for multiport.
2020-08-09 22:18:07 -04:00
Andrew Bauer
42fe024681
Update skin.js
2020-08-09 17:43:39 -05:00
Andrew Bauer
9a03a2c7d4
Update skin.js
2020-08-09 17:43:07 -05:00
Andrew Bauer
15005a2f17
fix typo
2020-08-09 14:25:11 -05:00
Andrew Bauer
d0e7443a3c
rough in update reminder dropdown
2020-08-09 14:18:44 -05:00
Andrew Bauer
b22f12dadb
rough in new zmversion widget
2020-08-09 12:20:11 -05:00
Isaac Connor
6c831be61f
remove extra ,
2020-08-08 14:27:37 -04:00
Andrew Bauer
a6ae4aee01
eslint nanny
2020-08-08 12:26:42 -05:00
Andrew Bauer
fd4b9ba4f4
move jquery in functions.php to skin.js
2020-08-08 12:06:57 -05:00
Andrew Bauer
b626e0de1c
eslint nanny strikes again
2020-08-08 11:19:29 -05:00
Isaac Connor
a001c93321
fix zone editing globals and inputs being too big
2020-08-08 11:41:24 -04:00
Andrew Bauer
96bd6397c6
eslint nanny
2020-08-08 10:38:58 -05:00
Isaac Connor
8533ce7018
fix CSP on polygons
2020-08-08 11:38:54 -04:00
Isaac Connor
82357a0675
reapply click function to bandwidth dropdown entries after getNavBar
2020-08-08 11:17:26 -04:00
Andrew Bauer
3792043707
implement bw widget as dropdown
2020-08-08 10:07:26 -05:00
Isaac Connor
bf7aa3f5c2
this version of set_cookie_params was introduced in 7.3. So put back code for previous versions of php which unfortunately do not support the samesite parameter. Fixes #3009
2020-08-08 09:58:18 -04:00
Isaac Connor
c0ab8bf90d
Merge branch 'master' into zma_to_thread
2020-08-07 17:53:32 -04:00
Isaac Connor
5fb56c9f57
Merge branch 'master' into zma_to_thread
2020-08-07 17:52:43 -04:00
Isaac Connor
da757d075b
Only save the DiskSpace on completed events. Fixes #3007
2020-08-07 09:53:35 -04:00
Isaac Connor
eff96c5fa3
Only save the DiskSpace on completed events. Fixes #3007
2020-08-07 09:53:15 -04:00
Isaac Connor
fc5fabf1c5
fix zone editing globals and inputs being too big
2020-08-06 12:24:51 -04:00
Isaac Connor
a19990f4d7
Merge branch 'release-1.34'
2020-08-06 11:57:35 -04:00
Isaac Connor
3242ce6ec9
Handle backticks in matches sort fields. Fixes regression in 1.34.17
2020-08-06 10:37:56 -04:00
Isaac Connor
ef2ad12846
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-05 20:00:45 -04:00
Isaac Connor
ddeef6f031
Fix globals and a Fatal without ZM\ prefix
2020-08-05 20:00:39 -04:00
Isaac Connor
76e0d155d3
declare globals
2020-08-05 19:15:01 -04:00
Isaac Connor
90671cd4e5
Add missing globals
2020-08-04 18:07:01 -04:00
Isaac Connor
97096d87f9
Add mx-2 classes to be consistent
2020-08-04 18:06:49 -04:00
Isaac Connor
5b8ff10a34
style the storage dropdown better using css. rename it from dropdown01 to dropdown_storage. Put the text-warning class on the a content in the dropdown instead of the dropdown nav-item so that it takes effect. Rename Stor to Storage
2020-08-04 17:53:39 -04:00
Isaac Connor
1ab828c110
Add globals
2020-08-04 17:35:52 -04:00
Isaac Connor
dd627d9234
Update cycle monitorlist sidebar to bootstrap4
2020-08-04 17:35:41 -04:00
Isaac Connor
e5513bc7a4
Add setting Name and Path
2020-08-04 17:35:16 -04:00
Isaac Connor
ba4d6dff64
Add globals definitions
2020-08-04 17:05:58 -04:00
Isaac Connor
9a06d6cab6
Fix some spacing
2020-08-04 17:05:44 -04:00
Isaac Connor
79c9671ef2
Use & instead of & in urls
2020-08-04 17:05:33 -04:00
Isaac Connor
c0f21ab55d
Fix globals
2020-08-04 16:36:24 -04:00
Isaac Connor
d7de4768d7
Fix use of is_callable
2020-08-04 16:36:04 -04:00
Isaac Connor
82542c569c
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-08-04 10:47:41 -04:00
Isaac Connor
6e9559df53
Put xhtmlHeaders in an ob_start ob_get_clean section so that calls to open session in view js php files don't cause a problem. Basically delay output. Fixes problems with logging in redirect. Also need to global cspNonce since we use it.
2020-08-04 10:47:37 -04:00
Andrew Bauer
a575b16278
set a target to about menu items
2020-08-03 15:45:27 -05:00
Andrew Bauer
9d88f8ee73
implement zm about menu
2020-08-03 15:22:46 -05:00
Andrew Bauer
ab9a135759
fix inability to stop zm from the web console
2020-08-03 12:10:34 -05:00
Isaac Connor
283d8557e6
remove the extra(globals). There are a LOT of globals. WE don't seem to actually use any in this function.
2020-08-03 12:50:36 -04:00
Andrew Bauer
a3e6fe5522
make the eslint nanny happy
2020-08-03 11:47:31 -05:00
Andrew Bauer
ce810320a2
bump right margin on storage widget
2020-08-03 11:02:30 -05:00
Andrew Bauer
8a711245f6
fix previous corrupted commit
2020-08-03 10:49:45 -05:00
Andrew Bauer
c1f37192b9
implement storage widget as dropdown
2020-08-03 10:43:24 -05:00
Isaac Connor
ece625e376
Remove the code that cleans the log on each page request. it was moved to zm_stats.pl. Accessing the log is kinda heavy, so should be done in background tasks, not interactively
2020-08-03 11:16:01 -04:00
Isaac Connor
eb1d94345f
remove crud
2020-08-03 11:05:58 -04:00
Isaac Connor
9acbd9d1b2
fix typos prevent array based regexp from working. Fixes saving Storage
2020-08-03 11:05:16 -04:00
Isaac Connor
a2958fe288
Spacing, and don't output mootools for postlogin. Don't use mootools in postlogin
2020-08-03 10:57:08 -04:00
Isaac Connor
56bf181dc4
set SameSite on session cookie.
2020-08-03 10:55:54 -04:00
Isaac Connor
325178a556
convert log filters to responsive bootstrap divs.
2020-08-02 20:25:24 -04:00
Isaac Connor
6f9947b583
Switch to jquery in login.js. We no longer include mootool for login view.
2020-08-02 19:12:07 -04:00
Andrew Bauer
3351a4de56
fix eslint
2020-08-02 15:33:10 -05:00
Andrew Bauer
0ecb1621ce
add colorized log icon to widget bar
2020-08-02 14:49:19 -05:00
Andrew Bauer
a937e14899
put the optional banner in its own navbar
2020-08-02 13:48:15 -05:00
Andrew Bauer
d6999f5628
iterate through keys in data
2020-08-02 13:33:25 -05:00
Andrew Bauer
2b29a7983a
clean up navbar background refresh
2020-08-02 13:01:20 -05:00
Andrew Bauer
b746cf6a56
add id and output html string rather than echo
...
This sets up all the items on the navbar as reconfigurable, via javascript replaceWith
2020-08-02 11:31:36 -05:00
Isaac Connor
cfa2d13948
set samesite=Strict in session cookie
2020-08-02 12:06:13 -04:00
Isaac Connor
037b696be0
Fix duplicate class attributes on navbar links
2020-08-02 12:05:52 -04:00
Isaac Connor
68b7277784
Fix sizing of option name by removing the non-semantic elements and just specifying the styles
...
in css/base/views/option.css. Alsoo apply h-100 to columns to that nav bar fills the vertical space.
2020-08-02 11:20:18 -04:00
Andrew Bauer
e768beaef2
fix whitespace
2020-08-01 16:20:51 -05:00
Andrew Bauer
ad3b5a5aa3
call ob_start and ob_get_clean correctly
2020-08-01 16:16:23 -05:00
Andrew Bauer
81c4bfa7c2
stop Chrome complaining about bootstrap.min.css.map
2020-08-01 12:22:47 -05:00
Andrew Bauer
b746901ee7
close the dropmenu on any click
2020-08-01 10:57:13 -05:00
Andrew Bauer
4851f1f940
remove errant text
2020-08-01 09:50:25 -05:00
Andrew Bauer
889b08519a
Set a small breakpoint on table-responsive
...
This fixes (ugly) horizontal scroll bars appearing at the bottom of the monitor table on larger screens, without breaking functionality on mobile devices. @roddone please test this on your mobile device
2020-08-01 09:49:27 -05:00
Isaac Connor
b46d3b81d6
Update user view to use User class
2020-08-01 10:27:54 -04:00
Andrew Bauer
8b3917d707
reapply navbar reload logic
2020-08-01 09:07:21 -05:00
Andrew Bauer
b6c0274b2c
implement collapsed navbar
2020-07-31 16:03:37 -05:00
Andrew Bauer
cd96994a56
update getZMVersionHTML
2020-07-31 07:31:40 -05:00
Isaac Connor
366ce5b3eb
Add 100% width to LabelFormat
2020-07-30 19:36:27 -04:00
Isaac Connor
3df58fc9db
handle array args in daemonStatus
2020-07-30 19:36:05 -04:00
Andrew Bauer
2699fa0313
force menubar to the top of the navbar
2020-07-30 16:56:38 -05:00
Andrew Bauer
8bb30bb6d4
add framework for new navbar selection
2020-07-30 16:44:58 -05:00
Andrew Bauer
561c44ece2
add runtimeStatus function
2020-07-30 16:14:41 -05:00
Isaac Connor
0a782814a7
Don't start filter if the command was execute
2020-07-30 17:13:30 -04:00
Isaac Connor
204086a56d
spacing and quotes
2020-07-30 17:12:00 -04:00
Isaac Connor
c2ac7ed4a9
spacing and escape sql fields
2020-07-30 17:07:43 -04:00
Isaac Connor
2cfa5fde98
Add missing view tempplates for zone add/edit. Fixes #2986
2020-07-30 16:54:00 -04:00
Isaac Connor
d8cd4386cf
rename GetOptEncoderParams to GetOptEncoderParams to GetOptEncoderParamsVec so that we can get at the std::string if we want to.
...
Use EncoderParams when setting movflags in VideoStore.
Move the content of this option to a help popup so that we can remove the comments from it. av_dict_parse doesn't handle the hash tag as a comment.
2020-07-30 15:06:05 -04:00
Andrew Bauer
23596b142d
fix how we finish up getNavBarHTML
2020-07-30 11:55:54 -05:00
Isaac Connor
6a4ce29bce
eslint fixes
2020-07-30 12:15:05 -04:00
Isaac Connor
bf163beedb
Update permissions checking when viewing/editing users. Fixes #2982 . Also add a beforeFind that will remove the Password field from the query so that we don't return passwords
2020-07-30 11:03:24 -04:00
Andrew Bauer
68dcc05cce
force the options labels small
...
seems backwards, but the bootstrap 4 docs have <small> and <strong> tags rather than a css class
2020-07-30 09:11:39 -05:00
Andrew Bauer
6b303b67d0
continued adjustment of options view fields
2020-07-30 09:03:03 -05:00
Andrew Bauer
484051a191
adjust column widths on options
2020-07-30 08:23:25 -05:00
Isaac Connor
aa3b48e7c0
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-29 18:59:50 -04:00
Isaac Connor
5ac4677c02
Add missing view tempplates for zone add/edit. Fixes #2986
2020-07-29 18:59:44 -04:00
Isaac Connor
b42eb44a79
handle when [fid] = 0; Fixes #2994
2020-07-29 18:51:11 -04:00
Isaac Connor
8e37efaa7a
handle when [fid] = 0; Fixes #2994
2020-07-29 18:50:14 -04:00
Andrew Bauer
4bf7093ff1
align account circle with status button
2020-07-29 15:47:46 -05:00
Isaac Connor
c4d4a73c2a
json decoding errors shouldnt' be fatal
2020-07-29 16:41:37 -04:00
Isaac Connor
0139d06fcd
Fix data-on-input-this using onchange instead of oninput
2020-07-29 16:41:27 -04:00
Isaac Connor
1508b82754
Fix data-on-input-this using onchange instead of oninput
2020-07-29 16:40:57 -04:00
Isaac Connor
4c5a88a822
json decoding errors shouldnt' be fatal
2020-07-29 16:40:31 -04:00
Andrew Bauer
1119923c38
Update functions.php
2020-07-29 15:26:07 -05:00
Andrew Bauer
695da2221f
Update functions.php
2020-07-29 15:20:44 -05:00
Andrew Bauer
4c242ef973
what a difference a single space makes
2020-07-29 15:09:47 -05:00
Andrew Bauer
9f1901e413
fix typo
2020-07-29 14:42:06 -05:00
Andrew Bauer
d285f2f998
adjust class name
2020-07-29 14:38:00 -05:00
Andrew Bauer
ded0dbc4ae
shrink the vert nav items further
2020-07-29 14:00:44 -05:00
Andrew Bauer
32bbeb556f
set the vert navbar bg color in base.css
2020-07-29 13:51:36 -05:00
Andrew Bauer
907063e385
use smaller font in form control item
2020-07-29 13:25:40 -05:00
Andrew Bauer
fd5adc6623
remove blockquote from options.php
...
It makes the vertical navbar font unnaturally large
2020-07-29 12:49:32 -05:00
Andrew Bauer
a6005f0b0d
fix clor of options nav-pill active
2020-07-28 13:09:54 -05:00
Andrew Bauer
52d88e15fd
let options span the full column
2020-07-28 12:45:25 -05:00
Andrew Bauer
cf9eb405ee
don't wrap the rows on small screens
2020-07-28 12:43:51 -05:00
Andrew Bauer
853a5728f8
align navbar logo and run status vertically
2020-07-28 12:20:18 -05:00
Andrew Bauer
aa8662f311
fix copy/paste typo
2020-07-28 10:37:10 -05:00
Andrew Bauer
b88f0c3991
display user:port@ip when controladdress is empty
2020-07-28 10:08:24 -05:00
Andrew Bauer
45f88ee04a
float web console statusBreakdown left then down
2020-07-28 08:59:28 -05:00
Andrew Bauer
85dec6194d
when maxmimize, rebuild jqeury chosen fields
2020-07-28 08:38:06 -05:00
Andrew Bauer
47b35e97fb
implement minimize chevron for filterbar
2020-07-27 16:14:15 -05:00
Isaac Connor
767f5ebb03
navbar closes the form, and doesn't need to be in the form.
2020-07-27 12:40:46 -04:00
Isaac Connor
5d883d696b
give a better error message when submitThisForm fails
2020-07-27 12:40:25 -04:00
Isaac Connor
ca07602414
fix html structure when not logged in. Move version class down to where we use it. add parenthesis to quiet php deprecation errors
2020-07-27 12:15:37 -04:00
Andrew Bauer
cec5d7ea06
w-100 class not needed
2020-07-27 10:22:23 -05:00
Andrew Bauer
ffa3415318
when collapsed, force the menu button to the right
2020-07-27 10:13:02 -05:00
Andrew Bauer
bc19ae604a
fix alignment of top navbar
2020-07-27 09:18:02 -05:00
Isaac Connor
1e76679820
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-26 22:33:34 -04:00
Isaac Connor
5f9c62f266
spacing and slightly improve nav item code in options
2020-07-26 22:33:29 -04:00
Isaac Connor
31cbfc35b1
fix use of is_callable so that we fix filter saving
2020-07-26 22:32:55 -04:00
Isaac Connor
003abfea29
Update class so that Submit button is hidden under new bootstrap
2020-07-26 22:32:36 -04:00
Andrew Bauer
941c074a8e
add carriage returns to generated html for readability
2020-07-26 10:50:32 -05:00
Andrew Bauer
6486f59383
fix colorization of navbar widgets
2020-07-26 10:41:05 -05:00
Andrew Bauer
eaed5abcd3
add missing bootstrap.bundle.js.map
2020-07-25 16:56:17 -05:00
Isaac Connor
3ec7952c31
apply cache_busting to bootstrap, overlay anda reset
2020-07-25 15:05:12 -04:00
Isaac Connor
c81e4a3bca
fix
2020-07-25 14:32:30 -04:00
Isaac Connor
99d7aa0da0
fix
2020-07-25 14:31:57 -04:00
Isaac Connor
4af343e833
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-25 14:28:32 -04:00
Isaac Connor
e3b339e72e
add missing globals
2020-07-25 14:28:26 -04:00
Isaac Connor
e90efa7a7e
spacing
2020-07-25 14:28:08 -04:00
Isaac Connor
4c8f96b786
Update saving action to use our ORM methods
2020-07-25 14:28:01 -04:00
Isaac Connor
dda630f522
fix filter_regexp to remove trailing /
2020-07-25 14:27:09 -04:00
Isaac Connor
522dfecebe
Fix setting values by checking is_callable. Remove debug. Fix filter_regexp
2020-07-25 14:26:49 -04:00
Andrew Bauer
c48fa83c6d
upgrade to bootstrap 4.5
2020-07-25 13:18:09 -05:00
Isaac Connor
fe9db4cfa2
add filtering to Storage->Path()
2020-07-25 13:51:13 -04:00
Isaac Connor
a819b73e18
allow filter_regexp to be an array
2020-07-25 13:50:59 -04:00
Andrew Bauer
bda7e1a2b7
minor cleanup of getNavBarHTML
2020-07-23 12:52:21 -05:00
Andrew Bauer
e9323f96a5
additional cleanup of getNavBarHTML
2020-07-23 10:52:12 -05:00
Isaac Connor
1416bc547e
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-22 17:37:52 -04:00
Isaac Connor
e746f0babe
Use 0 instead of the word auto for scale
2020-07-22 17:28:41 -04:00
Isaac Connor
7fd038d99b
spacing and quotes
2020-07-22 17:28:12 -04:00
Andrew Bauer
062ae675c8
partial cleanup of getNavBarHTML
2020-07-22 13:12:59 -05:00
Isaac Connor
3641797500
Merge branch 'master' into zma_to_thread
2020-07-22 13:14:40 -04:00
Isaac Connor
d5dbebefe5
Merge branch 'master' of github.com:/ZoneMinder/zoneminder
2020-07-21 19:06:38 -04:00
Isaac Connor
869860bb26
Merge branch 'master' into zma_to_thread
2020-07-21 17:49:39 -04:00
Isaac Connor
7575afc8d5
Merge branch 'master' into zma_to_thread
2020-07-21 17:38:32 -04:00
Isaac Connor
495cd56b8b
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-21 14:39:51 -04:00
Isaac Connor
64e4363302
update code populating DeviceChannel, DeviceFormat, CapturePalette
2020-07-21 13:40:04 -04:00
Isaac Connor
a70b329ce3
Merge branch 'master' of github.com:/ZoneMinder/zoneminder
2020-07-20 18:40:59 -04:00
Isaac Connor
e23c6de373
populate monitors with monitor array which will be json-encoded. Fixes failed population of monitor names dropdown
2020-07-20 17:42:25 -04:00
Isaac Connor
03195a8786
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-20 16:25:59 -04:00
Isaac Connor
d716d1d686
Merge branch 'release-1.34'
2020-07-20 16:25:41 -04:00
Isaac Connor
4e2633d22b
Update code to make calls to api on remote servers
2020-07-20 16:25:29 -04:00
Isaac Connor
e839919b5e
Add foreign key MonitorId validation
2020-07-20 16:25:08 -04:00
Isaac Connor
955fc00b87
Fix Zone add api. Restart zmc when adding a zone. Use validation. Fixes #2983
2020-07-20 16:24:49 -04:00
Isaac Connor
bbee6b4f58
Whitespace, delete dead code
2020-07-20 16:23:55 -04:00
Isaac Connor
cb0e54d3be
consider Monitor->Controllable as well in stopping zmtrack. Don't complain about ControlCommand being told to start/stop
2020-07-20 10:23:26 -04:00
Isaac Connor
135bbb4190
remove unneeded config loading, just use defines. Spacing, remove commented out dead code
2020-07-19 17:51:28 -04:00
Andrea Vezzali
1becd21df0
Update it_it.php
...
Italian translation updates
2020-07-19 00:01:14 +02:00
Isaac Connor
9d6e0fc3af
Merge pull request #2977 from roddone/fix_events_table_responsive
...
make events table (events view) responsive
2020-07-16 15:49:01 -04:00
Isaac Connor
855efd57fd
Merge pull request #2977 from roddone/fix_events_table_responsive
...
make events table (events view) responsive
2020-07-15 10:44:34 -04:00
Isaac Connor
f22f3e9262
use a scaled svg and replace inline js
2020-07-13 14:51:07 -04:00
Isaac Connor
dcd67a1acf
Remove args with non-sensical values from cgi params as a micro-opt
2020-07-13 14:50:21 -04:00
Romain ODDONE
785ab58a80
make events table (events view) responsive
2020-07-13 11:33:26 +02:00
Andrew Bauer
cfd57a851f
fix eslint
2020-07-08 20:53:12 -05:00
Isaac Connor
880219bb0f
Merge branch 'release-1.34'
2020-07-07 18:58:32 -04:00
Isaac Connor
6469300af5
fix some csp violations
...
y
2020-07-07 18:57:11 -04:00
Isaac Connor
89f975e646
remove code to play a sound on alarm. Not going to support that when editing a zone.
2020-07-07 16:40:33 -04:00
Isaac Connor
33d4680f02
Apply input limits when switching between percent and pixels. pixels must be integer, percent can be decimal.
2020-07-07 16:35:37 -04:00
Isaac Connor
209cbe1000
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-07-07 09:23:46 -04:00
Andrew Bauer
dcab218a2e
remove global config item CREATE_ANALYSIS_IMAGES
2020-07-06 12:22:41 -05:00
Isaac Connor
2db65d3821
Merge branch 'release-1.34'
2020-07-04 09:09:24 -04:00
Isaac Connor
8a35ae2daf
Merge branch 'release-1.34' of github.com:ZoneMinder/zoneminder into release-1.34
2020-07-04 09:04:38 -04:00
Isaac Connor
d6d70ab06d
Put a list of cameras to cycle through on the left
2020-07-04 09:04:26 -04:00
Isaac Connor
ff265d2f17
replace buildSelect with htmlSelect. Update number inputs to take floats. Remove fixed sizes on various text inputs
2020-07-04 09:00:30 -04:00
Isaac Connor
e2a38268a0
replace buildSelect with htmlSelect. Update number inputs to take floats. Remove fixed sizes on various text inputs
2020-07-04 08:59:41 -04:00
Isaac Connor
fd10f545bd
if width/height don't evaluate to an integer, set to auto.
2020-07-04 08:58:09 -04:00
Isaac Connor
cc0624eb3f
Don't allow viewing of monitor setting if monitor permissions are set to View
2020-07-03 19:19:13 -04:00
Isaac Connor
1860ad188b
Don't allow viewing of zones or zone if Monitor permissions are view
2020-07-03 19:18:36 -04:00
Isaac Connor
343d8d832e
handle scale values of '' and 'auto'
2020-07-03 19:18:05 -04:00
Isaac Connor
2026788e7a
Turn close link into a button
2020-07-03 19:17:26 -04:00
Isaac Connor
66b155008c
Fix scale defaulting to monitor default Scale
2020-07-03 19:17:11 -04:00
Isaac Connor
9f821c74f6
Add tooltip on Add Monitor button explaining that the user doesn't have permission to add a monitor
2020-07-03 19:16:41 -04:00
Isaac Connor
697f117ecd
Make width of content 100% instead of 96%.
2020-07-02 17:22:34 -04:00
Isaac Connor
346fe63ef0
Add styles for inputs on monitor view
2020-06-30 19:19:17 -04:00
Isaac Connor
c47a348fea
Handle empty string version of scale
2020-06-30 19:18:45 -04:00
Isaac Connor
b060e0835c
Merge branch 'master' of github.com:/ZoneMinder/zoneminder
2020-06-25 16:07:22 -04:00
Isaac Connor
13130a844e
handle array args in daemonStatus
2020-06-25 16:07:16 -04:00
Isaac Connor
0a383c02c4
Better debugging of REQUEST/POST vars
2020-06-23 22:20:07 -04:00
Isaac Connor
4d8d926c89
minor code updates. Use user_row instead of generic row variable name.
2020-06-23 22:19:46 -04:00
Isaac Connor
e778ea0918
Update saving Users. Don't allow restrictions on admin user. Fix CSP violations.
2020-06-23 22:19:04 -04:00
Isaac Connor
93b0552ed7
Update saving Users. Don't allow restrictions on admin user. Fix CSP violations.
2020-06-23 22:18:45 -04:00
Isaac Connor
f73cb3bebe
Don't start filter if the command was execute
2020-06-17 13:36:28 -04:00
Isaac Connor
e68bf13a6b
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-06-17 12:50:42 -04:00
Isaac Connor
d3c474fc8b
use translate on Show/Hide Zones
2020-06-17 12:50:36 -04:00
Isaac Connor
8efe00157d
add a User object
2020-06-17 12:50:22 -04:00
Romain ODDONE
dcb77cdaea
apply stream scale in zoom coordinates
2020-06-17 14:46:10 +02:00
Isaac Connor
aba403e3f2
Correct handling of Transport in onvif results
2020-06-16 16:48:17 -04:00
Isaac Connor
30072cf9e1
Apply input limits when switching between percent and pixels. pixels must be integer, percent can be decimal.
2020-06-15 16:06:51 -04:00
Isaac Connor
a719565bf3
Merge branch 'master' into add_user_to_filters
2020-06-05 19:03:23 -04:00
Isaac Connor
198790796d
Merge branch 'release-1.34'
...
plus cleanups in dbConnect
2020-06-05 19:02:43 -04:00
Isaac Connor
0905655377
Merge branch 'master' into add_user_to_filters
2020-06-05 17:08:14 -04:00
Isaac Connor
30f90dbae4
Merge branch 'master' of github.com:zoneminder/ZoneMinder
2020-06-05 13:04:22 -04:00
Isaac Connor
f71926c736
Merge branch 'release-1.34'
2020-06-05 10:09:07 -04:00
Isaac Connor
910d4b51c9
Escape table names for mysql-8
2020-06-04 11:44:59 -04:00
Isaac Connor
8802447b10
Handle no DB_HOST specifed so default to localhost
2020-06-04 11:36:10 -04:00
Isaac Connor
ef3fc758cb
in getDiskPercent we have calls to Error without the ZM namespace. Fixes #2954
2020-06-04 11:34:48 -04:00
Isaac Connor
c4b2aa4a85
Handle no DB_HOST specifed so default to localhost
2020-06-04 11:34:16 -04:00
Isaac Connor
87078dfc31
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2020-06-03 17:41:09 -04:00
Isaac Connor
0644358d0a
in getDiskPercent we have calls to Error without the ZM namespace. Fixes #2954
2020-06-03 17:41:03 -04:00
Isaac Connor
14f7e01c00
Merge pull request #2942 from roddone/fix_monitors_table_responsive
...
make monitors table (console view) responsive
2020-06-03 15:44:38 -04:00
Isaac Connor
02bf85bb34
Merge pull request #2950 from roddone/scale_to_fit_watchview
...
Fix the scale to fit option that is not persisted on page refresh
2020-06-02 12:53:50 -04:00
Romain ODDONE
a9c52a21ec
call to changeScale() on page init when "scale to fit" is selected
2020-06-02 17:25:07 +02:00
Isaac Connor
20870e22fa
fix eslint errors
2020-05-29 13:28:33 -04:00
Romain ODDONE
8121787ee6
make monitors table (console view) responsive
2020-05-27 10:08:08 +02:00
Isaac Connor
eb41e4fb39
Fix the array for the de-interlacing options
2020-05-24 11:09:13 -04:00
Isaac Connor
85e1dcadf4
Fix the array for the de-interlacing options
2020-05-24 11:07:52 -04:00
Isaac Connor
e72c357fd0
Unable to probe should not be fatal
2020-05-23 16:13:48 -04:00
Isaac Connor
a9cec3ebbd
spacing
2020-05-23 16:13:29 -04:00
Isaac Connor
d7680e1a44
Spacing
2020-05-23 10:15:48 -04:00
Isaac Connor
46a13237b5
fix eslint errors
2020-05-22 09:28:15 -04:00
Isaac Connor
23900cbf01
fix
2020-05-21 13:34:09 -04:00
Isaac Connor
59c08410c1
Put the size of SHM in the title of the shm space used element
2020-05-21 13:32:33 -04:00
Isaac Connor
ce15e1c921
remove debug, don't pass element through event handler anymore on layout ddm
2020-05-20 09:42:29 -04:00
Isaac Connor
cc04ced406
load zmMontageLayout ddm explicitly instead of passing event element
2020-05-20 09:42:06 -04:00
Isaac Connor
3faf20516f
add changeInterface handler
2020-05-19 16:58:45 -04:00
Isaac Connor
074e270e79
populate network interfaces list, rescan on change.
2020-05-19 16:58:26 -04:00
Isaac Connor
cc01a04efc
remove debug, don't pass element through event handler anymore on layout ddm
2020-05-19 16:57:45 -04:00
Isaac Connor
270ab36ff4
load zmMontageLayout ddm explicitly instead of passing event element
2020-05-19 16:56:58 -04:00
Isaac Connor
3c2e26ac32
Merge branch 'release-1.34'
2020-05-15 16:02:29 -04:00
Isaac Connor
4dc693022e
Failure to parse output shouldn't be fatal. Just skp to the next instead. Use json_encode instead of serialize
2020-05-15 16:02:19 -04:00
Isaac Connor
6bb2c09a72
Merge branch 'release-1.34'
2020-05-15 11:41:34 -04:00
Isaac Connor
c4c4c5bcbf
fix Crud submodule version
2020-05-15 11:34:34 -04:00
Isaac Connor
424a4ed0b1
add onclick to div.zoom
2020-05-15 11:34:23 -04:00
Isaac Connor
0dd426d64c
handle range being set to an empty value. Fixes zoom out on timeline. Fix on-click to data-on-click
2020-05-15 11:33:10 -04:00
Isaac Connor
94b29c6c7a
replace inline javascript in timeline zoom
2020-05-15 10:44:48 -04:00
Isaac Connor
992ac144a9
Fix ONVIF_User => ONVIF_Username
2020-05-13 16:04:26 -04:00
Isaac Connor
880b456d93
Rrename MetaConfig to ONVIF
2020-05-13 15:30:56 -04:00
Isaac Connor
88a910793c
Spacing
2020-05-13 08:06:55 -04:00
Isaac Connor
edd718afd2
xtell and ytell are data-xtell and data-ytell fixes #2932
2020-05-13 08:02:49 -04:00
Isaac Connor
807efde523
xtell and ytell are data-xtell and data-ytell fixes #2932
2020-05-13 08:01:04 -04:00
Isaac Connor
6e90f10a1d
Merge branch 'master' of github.com:zoneminder/ZoneMinder
2020-05-13 07:28:14 -04:00
Isaac Connor
69e5feb28b
Add ONVIF* to Monitor object
2020-05-12 15:47:00 -04:00
Isaac Connor
c83621822f
Rename Config* to ONVIF_*
2020-05-12 15:46:07 -04:00
Isaac Connor
1f3cf266a2
Merge branch 'master' of github.com:zoneminder/ZoneMinder into onvif_updated_to_upstream
2020-05-12 11:20:49 -04:00
Isaac Connor
89939efc9b
Fixup my updates to the MetaConfig tab of monitor view
2020-05-12 11:15:29 -04:00
Isaac Connor
3f50277e1c
Revert effort to escape column names. Not smart enough.
2020-05-12 09:21:05 -04:00
Isaac Connor
eadff23465
Fix missing )
2020-05-12 09:16:37 -04:00
Isaac Connor
c5f082e7ac
fix escaping column names
2020-05-12 09:06:57 -04:00
Isaac Connor
92ba017328
Spacing
2020-05-11 09:19:33 -04:00
Isaac Connor
582102c2c6
Fix use of backticks for newer mysql
2020-05-11 09:19:16 -04:00
Isaac Connor
81cd338545
Merge branch 'master' of github.com:zoneminder/ZoneMinder
2020-05-11 08:34:19 -04:00
Isaac Connor
d23258cb23
Allow for backticks in sort column
2020-05-11 08:34:07 -04:00
Isaac Connor
75082064fd
Merge branch 'master' of github.com:zoneminder/ZoneMinder into onvif_updated_to_upstream
2020-05-09 16:40:17 -04:00
Isaac Connor
732bb5416f
Merge branch 'master' into onvif_updated
2020-05-09 16:26:29 -04:00
Isaac Connor
408da1be27
Merge branch 'release-1.34'
2020-05-08 18:46:19 -04:00
Isaac Connor
24c09a8207
Accept 0 as a value for scale meaning scale to fit
2020-05-08 17:55:12 -04:00
Isaac Connor
8195223a86
merge some php
2020-05-08 17:54:51 -04:00
Isaac Connor
f1d794c11b
spacing and escape sql fields
2020-05-07 13:57:37 -04:00
Isaac Connor
d71de221ae
If auth is turned on, add a UserId dropdown to filters
2020-05-07 11:00:50 -04:00
Isaac Connor
e01538419f
Add FilterUser to language
2020-05-07 10:59:50 -04:00
Isaac Connor
a9a490126a
Add UserId to Filter object
2020-05-07 10:59:32 -04:00
Isaac Connor
5a15701873
remove annoying ()
2020-05-05 18:07:28 -04:00
Pliable Pixels
dadcea4884
remove recursive from index
2020-05-05 16:35:14 -04:00
Pliable Pixels
0817ea3bfb
added association method to GroupsController to get Monitor Id/Name of monitors that belong to the group
2020-05-05 16:32:54 -04:00
Isaac Connor
4ff341a0f5
Merge branch 'master' into zma_to_thread
2020-05-02 18:03:42 -04:00
Isaac Connor
28a3691b9c
Merge branch 'release-1.34'
2020-05-01 19:46:38 -04:00
Isaac Connor
c99db3a03f
Remove some hard coded sizes, spacing and typos. Convert inputs to number inputs as appropriate
2020-05-01 18:47:10 -04:00
Isaac Connor
0085e3d34f
Don't warn about image for WebSite Monitors
2020-05-01 18:15:19 -04:00
Isaac Connor
683bf3f982
Handle no default set for array defaults. Fixes Warning when saving WebSite type Monitors
2020-05-01 15:32:54 -04:00
Isaac Connor
9dbeaa2c7b
Add default for Orientation. Fixes saving WebSite type monitors
2020-05-01 15:32:26 -04:00
Isaac Connor
1bd340d602
spacing in watch.php
2020-05-01 13:30:00 -04:00
Isaac Connor
6dbc917215
Don't include mootools on login view. It isn't needed and apparently breaks google recaptcha
2020-05-01 13:24:47 -04:00
Isaac Connor
82188c266e
Fixup Monitor->sendControlCommand. start/stop/quit should be run through zmdc.pl now instead of talking directly to zmcontrol.
2020-05-01 13:23:39 -04:00
Isaac Connor
45a445ac48
sync up index.php to master, where is a global
2020-05-01 13:21:02 -04:00
Isaac Connor
ad373a5549
add Zone.php from master
2020-05-01 13:20:42 -04:00
Isaac Connor
ebfae1f855
turn off debug
2020-05-01 13:17:39 -04:00
Isaac Connor
e960e638b3
Remove extra value='s from PTZ buttons. Fix remaining on-click-this on numbered presets
2020-05-01 13:07:29 -04:00
Isaac Connor
bd7475a450
use on-click instead of on-click-this. We can get the button from event.target. The palemoon browser doesn't have a global event object so this wasn't working
2020-05-01 13:06:15 -04:00
Isaac Connor
e29c426f04
Pass event object to data-on-click events
2020-05-01 13:04:55 -04:00
Isaac Connor
89245e0d46
Add auth relay information when auth_relay is something other than hashed.
2020-05-01 13:04:37 -04:00
Isaac Connor
2da88be307
Use auth_relay instead of auth_hash if AUTH_RELAY==plain or none.
2020-05-01 13:04:16 -04:00
Isaac Connor
4c9f67eb5a
Fix no redirect on login with palemoon browser
2020-05-01 13:03:56 -04:00
Isaac Connor
289045500b
Don't use event as a variable name unless we are talking about window evnt. Change controlCmd to take the event and get the button from event.target
2020-05-01 13:03:35 -04:00
Isaac Connor
daa08e8740
Always just default to scale from monitor
2020-05-01 13:03:17 -04:00
Isaac Connor
62ddc02d52
quotes to match master
2020-05-01 13:01:34 -04:00
Isaac Connor
830929a85f
Remove extra value='s from PTZ buttons. Fix remaining on-click-this on numbered presets
2020-05-01 12:53:47 -04:00
Isaac Connor
0ed6cb7875
Remove extra value='s from PTZ buttons. Fix remaining on-click-this on numbered presets
2020-05-01 10:06:41 -04:00
Isaac Connor
8d8d37c648
fix eslint
2020-05-01 09:57:46 -04:00
Dvanderploeg
1d618136c0
Merge branch 'master' into camera_control_preset_correction
2020-04-30 22:10:54 -06:00
David van der Ploeg
a952984e1c
Removed value causing preset not to work
...
The first value field would not permit the presetGoto
command to be added as a value. The value would then use
the number as the command. Removing it allows the presets to
call the correct command.
2020-04-30 22:05:48 -06:00
Isaac Connor
4466bd9b16
Always just default to scale from monitor
2020-04-29 16:35:20 -04:00
Isaac Connor
74ab2e2e12
Don't use event as a variable name unless we are talking about window evnt. Change controlCmd to take the event and get the button from event.target
2020-04-29 16:35:04 -04:00
Isaac Connor
eebd0a274d
Fix no redirect on login with palemoon browser
2020-04-29 16:34:27 -04:00
Isaac Connor
8b0f88a707
Use auth_relay instead of auth_hash if AUTH_RELAY==plain or none.
2020-04-29 16:34:07 -04:00
Isaac Connor
9ec89f20d3
Add auth relay information when auth_relay is something other than hashed.
2020-04-29 16:33:41 -04:00
Isaac Connor
5e88181380
Pass event object to data-on-click events
2020-04-29 16:32:55 -04:00
Isaac Connor
e78b718168
use on-click instead of on-click-this. We can get the button from event.target. The palemoon browser doesn't have a global event object so this wasn't working
2020-04-29 16:32:26 -04:00
Isaac Connor
cb44f2c5de
Fixup Monitor->sendControlCommand. start/stop/quit should be run through zmdc.pl now instead of talking directly to zmcontrol.
2020-04-29 16:30:59 -04:00
David van der Ploeg
83b4b6b4db
Corrected zoom out button call
...
The zoom out button wasn't calling the correct function
of "data-on-click-this" causing the request to be ignored.
2020-04-27 21:14:58 -06:00
Isaac Connor
cf3785aebf
Don't include mootools on login view. It isn't needed and apparently breaks google recaptcha
2020-04-24 12:23:48 -04:00