Isaac Connor
0705bfa293
Check for term being null in FilterTerm constructor
2022-12-07 12:39:41 -05:00
Isaac Connor
fc7a6601f6
Check for validity of filterterm when building the parse tree
2022-12-07 12:39:26 -05:00
Isaac Connor
5d36739d0d
Add Monitor as an acceptable FilterTerm
2022-12-07 12:39:12 -05:00
Isaac Connor
2efed0418c
Move a bunch more filter widget stuff into Filter
2022-12-07 12:37:38 -05:00
Isaac Connor
6cd3e64bb8
Add NOW as a valid value for DateTime, rough in valid test function
2022-12-07 12:36:41 -05:00
Isaac Connor
07e188a25f
Add datetimepicker class to DateTime widgets and only include the sql if the term is valid
2022-12-07 12:36:23 -05:00
Isaac Connor
ff756591c9
Rough in html_input
2022-12-07 12:34:59 -05:00
Isaac Connor
1134954166
Add Monitor as a Filter Term
2022-12-07 12:34:31 -05:00
Isaac Connor
638e6b0e3b
Move attrTypes and opTypes into Filter and rough in a widget and simple_width functions
2022-12-07 12:34:18 -05:00
Martin Tiernan
68283c01eb
Added length and frames getters
2022-11-21 09:06:38 -06:00
Isaac Connor
22df344880
Merge branch 'master' of ../imouse
2022-11-16 09:23:05 -05:00
Isaac Connor
97e464b342
Comment out debugging
2022-11-15 14:17:30 -05:00
Isaac Connor
a6856c4f94
Merge pull request #3630 from mispdev/fix_db_utf8_connection
...
Set web backend DB connection to UTF8
2022-11-12 15:34:03 -05:00
Isaac Connor
a712ad0605
Merge ../ZoneMinder.connortechnology
2022-11-10 18:10:08 -05:00
Isaac Connor
3e95134448
Remove Debug
2022-11-10 18:07:40 -05:00
Isaac Connor
7ac8a47f3e
Fix 500 on saving user due to incorrect scope of g. Fixes #3629
2022-11-10 17:15:39 -05:00
Michael
0d6b8d1de3
Set web backend db connection to utf8
2022-11-10 18:57:35 +01:00
Isaac Connor
4d3dfd84f4
add includes/Monitor_Permission.php
2022-11-03 12:24:14 -04:00
Isaac Connor
24ac383f97
spacing
2022-11-02 17:44:42 -04:00
Isaac Connor
ea6d999654
Must use false === when using array_search because first element returns 0
2022-11-02 17:42:32 -04:00
Isaac Connor
135c52f3ec
Fix Group_Permissions()
2022-11-02 15:53:13 -04:00
Isaac Connor
ab3e1811d3
fix canEdit, rough in effectPermission
2022-11-02 15:52:37 -04:00
Isaac Connor
63769a2082
Fix missing )
2022-11-02 13:26:34 -04:00
Isaac Connor
3c36233dd8
Put in all the new logic for visibleMonitor and editableMonitor referencing Monitor_Permissions and Group_Permissions
2022-11-02 13:25:53 -04:00
Isaac Connor
68bf964eec
Add saving of Monitor_Permissions
2022-11-02 13:25:53 -04:00
Isaac Connor
b7490c754b
Rough in Group_Permission and Monitor Permissions loading functions.
2022-11-02 13:25:44 -04:00
Isaac Connor
24a83efa79
Improve Monitor canView and canEdit. If the user is not specified, use the cached auth routines in includs/auth.php. Otherwise replicate the logic for the specfied user.
2022-11-02 13:25:44 -04:00
Isaac Connor
16b5551a4a
Always return a Group_Permission in Permission()
2022-11-02 13:25:44 -04:00
Isaac Connor
121e864dde
Continue roughing in Group_Permission logic
2022-11-02 13:25:44 -04:00
Isaac Connor
a891b528d1
Use Monitor::canView in Event::canView
2022-11-02 13:25:44 -04:00
Isaac Connor
2ee142813e
start to rough in an editable monitor function
2022-11-02 12:37:47 -04:00
Isaac Connor
79f5d77fab
Add Permission saving to user view
2022-11-02 12:37:47 -04:00
Isaac Connor
3157510f23
Add Permission property
2022-11-02 12:37:47 -04:00
Isaac Connor
9df7283358
Rough in the boilerplate for retrieving Permissions on Groups
2022-11-02 12:37:46 -04:00
Isaac Connor
dd4869fb47
Add object for Group_Permission
2022-11-02 12:36:42 -04:00
Isaac Connor
a67f89ff9e
We renamed newUser to user in form elements
2022-11-02 12:36:42 -04:00
Isaac Connor
5734e38f52
Add group permission checking to visibleMonitor
2022-11-02 12:36:42 -04:00
Isaac Connor
d00536915e
Move getting time into the scope where it is used
2022-11-02 10:07:01 -04:00
Isaac Connor
52c865cfeb
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-11-01 12:40:51 -04:00
Isaac Connor
5bd50fe575
Add Access-Control-Allow-Credentials: true so that we can pass cookies along with xhr requests.
2022-11-01 08:21:59 -04:00
Isaac Connor
cd4a9fbb98
Merge ../ZoneMinder.connortechnology
2022-10-31 18:01:04 -04:00
Isaac Connor
25100cd592
Fix missed references to oldW and oldH
2022-10-31 09:27:53 -04:00
Isaac Connor
2fb631fa6e
Clean up debug. Clone the entire monitor object into oldMonitor instead of cherry-picking properties. Fixes use of new name when deleting old symlink. Always check for existence of monitor dir and symlink after done saving.
2022-10-31 09:27:53 -04:00
Isaac Connor
33455cbad2
Remove left over references to REQUEST['newMonitor']. Add error reporting to creating monitor directory and symlinking when adding a new monitor
2022-10-31 09:27:53 -04:00
Isaac Connor
6b3768fdf6
When saving monitor, only turn off error reporting for symlink. Don't delete old symlink unless the name has changed.
2022-10-31 09:27:53 -04:00
Isaac Connor
586d43798f
Rough in model and controller for Event_Data
2022-10-27 14:47:21 -04:00
Isaac Connor
d11bb88f94
rough in array_to_hash_by_key function to generate hashes of Id => Object
2022-10-25 12:56:38 -04:00
Isaac Connor
2e03d91ef7
Fix selecting 0 values in htmlSelect. Fixes not showing ZM_LOG_DATABASE_LEVEL==Info
2022-10-21 16:29:26 -04:00
Isaac Connor
bce8c6195a
Don't display errors in Server.php
2022-10-20 16:45:52 -04:00
Isaac Connor
f1843528d0
Put back width and height setting on img tag. Needed for event viewing
2022-10-20 16:45:37 -04:00
Isaac Connor
082ffdf76e
Fix SQL for when passing an empty array to find. Return false instead of trying weird sql.
2022-10-20 10:22:56 -04:00
Isaac Connor
84fd4b42d5
Fix test for null in Object::find
2022-10-20 10:22:56 -04:00
Isaac Connor
ff01d4d394
IN () being false could still result in a true result of used in an OR, so instead of just returning, use an always false sql equivalent
2022-10-20 10:22:56 -04:00
Isaac Connor
837d0ece7f
return empty array when passing empty as SQLvalue
2022-10-20 10:22:56 -04:00
Isaac Connor
c40d251009
Add setting remoteAddr in session after regenerating
2022-10-17 19:09:24 -04:00
Isaac Connor
9adf5f662f
Use REQUEST instead of SESSION to store the post login redirect because we clear the session on login. Fixes #3517
2022-10-17 17:25:56 -04:00
Isaac Connor
22a059d3bc
Remove debug
2022-10-17 17:25:46 -04:00
Isaac Connor
9e257def8a
Add debug, add validateId function to session handler. Change it to be a a subclass of SessionHandlerInterface so that we don't have to provide createId. Fixes session breakage in php8.2
2022-10-17 17:24:52 -04:00
Isaac Connor
5c8343f737
remoteAddr is set when session is opened. So no need to do it in auth. session_clear closes the session so no need to close it first
2022-10-17 17:23:45 -04:00
Isaac Connor
20ebbc3c58
Fix saving from the function modal. Put action in the post variables and change the action to save instead of function.
2022-10-14 14:10:46 -04:00
Isaac Connor
2329dda323
Merge pull request #3609 from connortechnology/fix_non_post_auth
...
Move relevant code out of includes/actions/auth.php into includs/auth…
2022-10-14 14:09:09 -04:00
Isaac Connor
e116c9ee48
Fix unable to unset LockRows on Filter
2022-10-12 16:57:53 -04:00
Isaac Connor
d64868a44b
Fix downloads due to chunkSize not being defined
2022-10-11 16:45:03 -04:00
Isaac Connor
f8eef392d3
Add output_file to includes/functions.php
2022-10-11 16:45:03 -04:00
Isaac Connor
371f1adbe7
update storage modal to fix buttons not being in form. Also remove duplicate view field and make button action be save instead of Save. Fixes #3605
2022-10-07 15:56:15 -04:00
Isaac Connor
072e94385b
Make the ajaxError logging be debug level. If the error was actually critical, we will have to log that separately. Most of the errors reported by ajaxError are transient.
2022-10-05 09:31:39 -04:00
Isaac Connor
2f295a2f55
Make Monitor::Server always return a Server object so we don't have to test for null
2022-09-30 09:57:21 -04:00
Isaac Connor
340ed19c71
Handle filter[query] not being defined
2022-09-29 14:29:36 -04:00
Isaac Connor
e4fad02b43
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-09-28 18:37:20 -04:00
Isaac Connor
8d56949800
Deal with structure of json response from API when getting Janus_Pin
2022-09-28 18:36:47 -04:00
Isaac Connor
9fc0d26d32
If we don't have session, we can still generate an auth hash. We kinda need this for zmu calls from API
2022-09-28 18:35:59 -04:00
Isaac Connor
59db9c2d90
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-09-28 17:42:16 -04:00
Isaac Connor
f5bdbcf0bd
Use new Server::SendToApi to reduce duplicated code. If Janus Not enabled, then don't both with Janus_Pin. If Server is remote, use API to get Janus_Pin. Implementing the API side is left as an exercise.
2022-09-28 17:41:46 -04:00
Isaac Connor
2a9576371b
Introduce Server::SendToApi to reduce duplicated code.
2022-09-28 17:40:08 -04:00
Isaac Connor
0b37df3782
Fix scroll to top on option help modals by not having an href=#. Fix css so that the ? still is blue.
2022-09-23 09:34:29 -04:00
megasaturnv
8fb6477820
Case insensitive login - Fix spacing ZoneMinder/zoneminder#3516
2022-09-21 16:47:16 +01:00
Isaac Connor
7d9771e41c
Merge branch 'master' into add_janus_rtsp_user
2022-09-16 18:33:52 -04:00
Isaac Connor
62b6171934
Only try to set TIMEZONE when loading dateTimeFormatter if it is set. Handle the exception when any of TIMEZONE or LOCALE are invalid.
2022-09-15 14:04:31 -04:00
Isaac Connor
d1cd7d3f91
Merge branch 'master' into add_janus_rtsp_user
2022-09-14 18:34:07 -04:00
Isaac Connor
419a44f8ed
Merge branch 'iiot'
2022-09-13 18:23:44 -04:00
Isaac Connor
b4fc5abe95
Failure to auth by hash is common, the end result is a redirect to login page. Change the log level to INF
2022-09-13 17:59:53 -04:00
megasaturnv
8fc60fef12
Moved case-insensitive username checks to SQL
2022-09-12 13:44:18 -04:00
megasaturnv
143a00cccc
Fix typo
2022-09-12 13:44:18 -04:00
megasaturnv
c90e2f7898
Renamed ZM_AUTH_CASE_INSENSITIVE_USERNAMES to ZM_CASE_INSENSITIVE_USERNAMES as name was too long ZoneMinder/zoneminder#3516
2022-09-12 13:44:18 -04:00
megasaturnv
e9ab7f2f26
Added option ZM_AUTH_CASE_INSENSITIVE_USERNAMES to match mixed case usernames to lower case usernames in database ZoneMinder/zoneminder#3516
2022-09-12 13:44:18 -04:00
Isaac Connor
dbcf320808
For mp4, use video tag, with videojs instead of embed
2022-09-12 13:44:18 -04:00
Isaac Connor
4d2f956827
Move createVideo from functions to Event
2022-09-12 13:44:18 -04:00
Isaac Connor
eb9ac11d21
fix updating donation reminder. I would always be a month or more
2022-09-12 13:44:18 -04:00
Isaac Connor
813434e0f4
Fix saving monitor due to MQTT being empty
2022-09-12 13:44:18 -04:00
Isaac Connor
ce4dd065ff
Use y instead of Y for path generation when using Deep scheme. Fixes #3583
2022-09-12 13:44:18 -04:00
Isaac Connor
d32fe1cf55
Add Janus_RTSP_User and related UI code
2022-09-12 10:34:26 -04:00
Isaac Connor
8ba1bbc63c
Set new defaults: Only analysis jpegs, and passthrough on. Label Size => Default. Fix warnings when creating a new MOnitor because Path, User, Pass are unset.
2022-09-09 11:29:32 -04:00
Isaac Connor
9276ae7d67
calling trim on null is deprecated
2022-09-08 15:11:53 -04:00
Jonathan Bennett
c35bbc8c30
Adds the Janus_pin to shared_memory, and a -j to zmu to fetch it
2022-09-07 15:49:47 -05:00
Isaac Connor
8aaa5e52b3
Merge pull request #3582 from megasaturnv/3516-CaseInsensitiveLogin
...
Issue #3516 case insensitive login
2022-09-06 16:39:53 -04:00
Isaac Connor
7059e5a1ea
For mp4, use video tag, with videojs instead of embed
2022-09-06 15:41:42 -04:00
Isaac Connor
3079438038
Move createVideo from functions to Event
2022-09-06 13:46:41 -04:00
Isaac Connor
ce2aea9615
fix updating donation reminder. I would always be a month or more
2022-09-06 11:22:47 -04:00
Isaac Connor
1f20b18100
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-09-06 11:22:28 -04:00
Isaac Connor
d76c425057
Fix saving monitor due to MQTT being empty
2022-09-06 11:22:04 -04:00
megasaturnv
6c4fb3e2cd
Moved case-insensitive username checks to SQL
2022-09-05 15:43:53 +01:00
megasaturnv
d80026cab1
Fix typo
2022-09-05 15:29:23 +01:00
Isaac Connor
b611a4fc08
Use y instead of Y for path generation when using Deep scheme. Fixes #3583
2022-09-04 13:53:19 -04:00
megasaturnv
6c0f40f570
Renamed ZM_AUTH_CASE_INSENSITIVE_USERNAMES to ZM_CASE_INSENSITIVE_USERNAMES as name was too long ZoneMinder/zoneminder#3516
2022-09-02 12:03:47 +01:00
megasaturnv
63e5b63eec
Added option ZM_AUTH_CASE_INSENSITIVE_USERNAMES to match mixed case usernames to lower case usernames in database ZoneMinder/zoneminder#3516
2022-09-02 11:58:02 +01:00
Isaac Connor
4c90bd0ac6
Add a title to the zone polygon
2022-09-01 07:08:39 -04:00
Isaac Connor
6c8819977e
Cache Group Monitors Ids so we don't query the database multiple times for them.
2022-09-01 07:08:04 -04:00
Isaac Connor
980e49b547
Don't query for Monitors if there are no Monitors in the Group.
2022-09-01 07:07:55 -04:00
Isaac Connor
3d1a9c5b2d
Add LIMIT 1 when filtering by AlarmZoneId to speed up
2022-09-01 07:06:46 -04:00
Isaac Connor
606fb108d5
Fix use of filter instead of this
2022-09-01 07:06:10 -04:00
Isaac Connor
4eeb49d09a
Merge branch 'master' into reports
2022-08-31 18:38:08 +02:00
Isaac Connor
1038e2d069
Cache Group Monitors Ids so we don't query the database multiple times for them.
2022-08-31 18:36:57 +02:00
Isaac Connor
683acbbc1d
Clear Manufacturer and Model so that they don't list as changes
2022-08-31 10:05:52 -04:00
Isaac Connor
e24432ee4d
Merge branch 'master' into reports
2022-08-30 19:40:14 +02:00
Isaac Connor
85c59970a6
Add a title to the zone polygon
2022-08-30 19:36:07 +02:00
Isaac Connor
4668534bf9
Don't query for Monitors if there are no Monitors in the Group.
2022-08-30 19:35:47 +02:00
Isaac Connor
54f87aa4cf
Add LIMIT 1 when filtering by AlarmZoneId to speed up
2022-08-30 19:34:51 +02:00
Isaac Connor
d6fea1c740
Don't specify return type as old php doesn't support it. maybe Fixes #3579
2022-08-30 10:40:00 -04:00
Isaac Connor
855dd6ac93
Use HTTP_X_FORWARDED_HOST or HTTP_X_FORWARDED_SERVER if present to get correct hostname to use when behind a reverse proxy.
2022-08-26 14:12:25 -04:00
Isaac Connor
29750a56e7
Merge branch 'master' into add_mqtt
2022-08-25 18:37:54 -04:00
Isaac Connor
6ae05d7009
Rework to not use strlen and strlen now complains if you pass it null
2022-08-22 11:46:57 -04:00
Isaac Connor
d51a2eb8a5
Merge pull request #3537 from parvit/issue-695
...
Added configuring of authentication for rstp cameras
2022-08-21 18:08:00 -04:00
parvit (Vittorio Parrella)
442d7b1c89
integrated dynamic client and server update of path, user and password values
2022-08-18 05:05:18 -04:00
Isaac Connor
4bd7fc8fcf
Clear out width=auto and height=auto to prevent warnings in logs
2022-08-17 15:34:39 -04:00
Isaac Connor
9501da8a41
Remove debug
2022-08-15 17:59:25 -04:00
Isaac Connor
0078a6f639
Log entire backtrace when invalid value for width
2022-08-10 09:18:39 -04:00
Jonathan Bennett
d41792ae00
Adds Janus options Profile-ID Override and Use RTSP Restream to work around camera issues
2022-08-09 00:54:41 -05:00
ovargasp
b01c75ab76
Modify config.php.in
...
Modifies config.php to use ZM_TIMEZONE if defined by user
2022-08-05 06:40:23 -06:00
Isaac Connor
6bc0ec6aab
Add Report ORM
2022-08-04 09:35:25 -04:00
Isaac Connor
ad764ca0bb
rough in major actions for reports
2022-08-04 09:11:24 -04:00
Isaac Connor
ca1ad2e2e4
Fix use of filter instead of this
2022-08-04 09:07:33 -04:00
Isaac Connor
e27e1c0991
Add backtrace to invalid value for width
2022-08-03 14:30:18 -04:00
Isaac Connor
f4b8066d00
Add backtrace to invalid value for width
2022-08-03 12:28:39 -04:00
Isaac Connor
45697c7da9
Merge branch 'master' into reports
2022-08-03 11:57:07 -04:00
Isaac Connor
cf3c194e21
Handle when there are no servers and hence no defined ServerId in newMonitor
2022-08-03 11:55:44 -04:00
Isaac Connor
5776a766e1
fixup logic inversion on test_post_sql_conditions. condense code.
2022-07-29 13:59:21 -04:00
Isaac Connor
c937169a6b
Fix logic inversion on test_pre_sql_conditions
2022-07-29 13:50:40 -04:00
Isaac Connor
d8dea37c88
When selecting AlarmedZone, must check for SCore > 0.
2022-07-28 16:33:38 -04:00
Isaac Connor
2ba7d4d0b5
Rough in a function Events() to return Event objects from a Filter.
2022-07-24 20:37:32 -04:00
Isaac Connor
bfeee1ed09
rename Onvif_Alarm_Txt to ONVIF_Alarm_Text
2022-07-23 16:08:27 -04:00
ovargasp
981769b9db
Allows users to set an specific "Onvif alarm text" for each monitor ( #3535 )
...
* Allows users to set an specific "Onvif alarm text" for each monitor
With this personalization the cameras that use strings different to "MotionAlarm"
such as Dahua, will be able to process their Onvif alarms. To make it easier, the change
sets a default "Alarm Text" value for it to work out of the box and then allows to
modify it according to the particular necessities of each brand. It consists of
a new column on table Monitors, changes on Monitors.h, Monitors.cpp and a change
on UI to manage the value of Alarm Text per camera.
Updated es_la.php language file.
Co-authored-by: ovargasp <ovargasp@hoitmail.com>
2022-07-20 12:51:13 -05:00
Isaac Connor
e84a1477ff
put back ?>
2022-07-14 13:19:10 -04:00
Isaac Connor
9ad7ce3823
Remove remaining locale stuff from language files
2022-07-14 13:16:49 -04:00
Isaac Connor
56828f4d48
Add Id=0 for default user
2022-07-12 17:31:41 -04:00
Isaac Connor
2988d49454
When saving a layout, check for System[edit] or ownership of the layout.
2022-07-12 17:31:30 -04:00
Isaac Connor
64ed7370b6
Add UserId field to MontageLayouts
2022-07-12 17:30:54 -04:00
Isaac Connor
4dbe66779a
Implement CMD_ZOOMSTOP
2022-06-17 15:11:27 -04:00
Isaac Connor
2141a5dd1c
Don't include 0 width in janus video tag
2022-06-15 13:08:48 -04:00
Isaac Connor
cf88497c77
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-06-15 12:42:07 -04:00
Isaac Connor
c189250a61
Add AnalysisImage and options to MOnitor object
2022-06-15 11:27:48 -04:00
Isaac Connor
a578370970
Add filter terms for snapshots
2022-06-09 12:13:58 -04:00
Isaac Connor
866ad4f5e2
Don't turn '0' into ''
2022-06-07 09:44:37 -04:00
Ingemārs
af2f1cc6e6
Update config.php.in
2022-06-07 12:33:41 +03:00
Isaac Connor
4a6ad1f880
move dateFormatters to config. This is so that they get setup even if not using index.php. Like cakephp for example.
2022-06-02 20:13:37 -04:00
Isaac Connor
beec86fda2
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-06-02 20:09:33 -04:00
Isaac Connor
73977c518d
use zm_setcookie function with will set required cookie fields so that cookie actually gets set
2022-06-02 15:11:47 -04:00
Isaac Connor
7b5a0bc775
Use dateTimeFOrmatter to format the date/time on log entries
2022-06-01 15:49:09 -04:00
Isaac Connor
eaa94ce370
update format string to date() format instead of strftime format
2022-06-01 15:48:50 -04:00
Isaac Connor
eb5c1372c7
convert from strftime() to date() when forming sql
2022-06-01 15:47:19 -04:00
Isaac Connor
907cdcd952
convert from strftime() to date() when forming the event path
2022-06-01 15:46:53 -04:00
Isaac Connor
7c0dcfcefc
handle various functions no longer dealing with null
2022-06-01 13:01:40 -04:00
Isaac Connor
553c79d8f9
Put back ctype_digit and quoting of the sql to fix loading object in new
2022-06-01 12:59:09 -04:00
Isaac Connor
976de0606f
Add default value for Storage Path
2022-06-01 11:20:28 -04:00
Isaac Connor
c00fd25c30
Add default value for Username
2022-06-01 11:20:16 -04:00
Isaac Connor
7ef965c100
Test for values being trueish as passing null to strcmp is deprecated
2022-06-01 10:41:07 -04:00
Isaac Connor
8f2b8bf478
Test for is_array first, get rid of ctype_digit test as passing a null to it is deprecated
2022-06-01 10:40:31 -04:00
Isaac Connor
b47d036b89
Use date() instead of strftime() for date formatting now that strftime is deprecated
2022-06-01 10:37:04 -04:00
Isaac Connor
d97ef46b57
Add defaults for RecordingSource and AnalysisSource to prevent warnings when creating new monitor
2022-05-30 14:28:38 -04:00
Isaac Connor
e11030095c
Add mode=single option
2022-05-30 13:35:36 -04:00
Isaac Connor
1314295020
Don't update DiskSpace with a 0 value when listing events. This generally happens with missing events and causes too much contention on the Events and summaries tables
2022-05-30 10:26:04 -04:00
tftadmin Appleton
8254e12fa6
Fix password_type test on REQUEST['password'] instead of user['Password'] causing password migrations to not happen
2022-05-18 18:59:56 -04:00
Isaac Connor
acd63ee0d8
Don't assuming we want to communicate with zms if streaming.
2022-05-11 10:21:44 -04:00
Isaac Connor
e26aa6d0ae
Set samesite for session ZMSESSID cookie for php < 7.3
2022-05-10 20:22:44 -04:00
Isaac Connor
997c1197cf
Implement decoding=Keyframes + OnDemand
2022-05-10 14:25:34 -04:00
Isaac Connor
76f01647f1
define CMD_GET_IMAGE for completeness
2022-05-07 19:39:01 -04:00
Isaac Connor
2f25421cf0
Spacing
2022-05-07 19:39:01 -04:00
Isaac Connor
dff60e5a0b
Need a ; before report-uri
2022-05-04 13:02:34 -04:00
Isaac Connor
e3787d05e1
Use Content-Security-Policy: for all views instead of Report-Only
2022-05-04 12:08:17 -04:00
Isaac Connor
74fd90cfdd
Remove loading=lazy, it breaks ajax
2022-04-28 17:14:06 -04:00
Isaac Connor
84ae91fe24
Comment out width and height setting on the imageFrame
2022-04-28 15:45:35 -04:00
Isaac Connor
2a7217ec0d
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-04-27 15:55:12 -04:00
Isaac Connor
0cb15d3418
Remove extra { breaking ptz
2022-04-23 19:29:04 -04:00
Isaac Connor
07e6ae931f
Add mid and zid to zone polygon so that we can use them in atached onclicks
2022-04-22 15:50:00 -04:00
Isaac Connor
91a5642edc
merge
2022-04-19 17:07:20 -04:00
Isaac Connor
1eaeccc564
Handle zones not being set in options
2022-04-19 12:31:43 -04:00
Isaac Connor
7b5ee86ee8
Move svg zone display into Monitor->getStreamHTML. Remove most of it because scaling is now automatic. Move styling to css
2022-04-10 18:54:01 -04:00
Isaac Connor
e8391ad0be
Move collapsed status to Monitor.php and put back setting width and height on the monitorStream container.
2022-04-10 17:28:38 -04:00
Isaac Connor
906951e450
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2022-04-06 10:37:10 -04:00
Isaac Connor
0e337cd8bf
Remove support for Cambozola which no longer works or is needed.
2022-04-06 10:37:02 -04:00
Isaac Connor
4fd027fbcc
Fix test for chrome version 7 by not including periods. We only care about the major and php is confused.
2022-04-04 17:03:36 -04:00
Isaac Connor
ed7c139fb3
Add backtrace to ajaxError
2022-04-04 15:00:33 -04:00
Isaac Connor
d0ee8dc6fd
remove duplicated factor code, define speed so that it doesn't generate an error if not HasSpeed in Control.
2022-03-29 17:19:31 -04:00
Isaac Connor
723c10ca19
Cleanup options, add DecodingOptions
2022-03-28 17:45:01 -04:00
Isaac Connor
0397c4f7e8
Add MQTT_Enabled and MQTT_Subscriptions to Monitor object
2022-03-21 16:08:13 -04:00
Isaac Connor
531793276f
Fix auth'd user information being saved to session before switching session id's leaving bogus authenticated user in previous session.
2022-03-21 15:31:44 -04:00
Isaac Connor
23aa41091f
Add Trigger/etc to onMotion recording option
2022-03-20 19:13:46 -04:00
Isaac Connor
f49601a173
Add filtering to Username to prevent XSS
2022-03-10 14:09:41 -05:00
Isaac Connor
0c31e35b4e
Add classes to fields of monitor status so we can style them as needed
2022-03-04 12:06:49 -05:00
Isaac Connor
e33b41745d
Merge branch 'master' into replace_function_concept
2022-02-27 14:04:01 -05:00
Isaac Connor
13251b133a
Make getMonitorCapturingOptions a member of the class, so can call it getCapturingOptions. Same with Analysing and Recording options
2022-02-27 14:03:37 -05:00