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
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
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
d5dbebefe5
Merge branch 'master' of github.com:/ZoneMinder/zoneminder
2020-07-21 19:06:38 -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
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