root
6110c59a84
Fix not being able to sort by EndDateTime Fixes #4190
2024-11-30 18:35:44 -05:00
Isaac Connor
78badcbd07
Allow deselecting of all Monitor IDS
2024-11-27 12:58:31 -05:00
Isaac Connor
4e14320978
Remove the modal content so that when choosing another group or new we get that instead of the first content
2024-11-06 13:18:47 -05:00
Isaac Connor
ade3a01902
destroying then re-applying chosen for some reason auto-selects all options. Fix the problem by fixing the table width with css so that the underlying select is already 100%.
2024-11-06 12:44:14 -05:00
Isaac Connor
60b9f3e16a
Set any tables in a modal to 100% so that they fill the modal.
2024-11-06 12:31:11 -05:00
Isaac Connor
3113f7ca04
If no group id don't do sql lookup
2024-11-06 12:30:54 -05:00
Isaac Connor
d53eec168a
Give an id to the newGroup[MonitorIds] select can look it up more efficiently when applying chosen rules
2024-11-06 12:28:52 -05:00
Isaac Connor
8b6e4038c4
Don't warn about no locale set, that is normal
2024-10-25 11:01:59 -04:00
Isaac Connor
ebeb01a40a
Clean out duplicated datetimeformatter stuff that happens in config.php
2024-10-25 10:51:01 -04:00
Isaac Connor
824ae0e60f
Check for validity of locale. Handle fatal crash when setting datetiemformatter when an invalid locale is used. Fixes #4179
2024-10-25 10:44:16 -04:00
Isaac Connor
c7975f11ed
Add missing n
2024-10-23 09:04:17 -04:00
Isaac Connor
ca24b43f36
Fix typo
2024-10-16 10:23:37 -04:00
Isaac Connor
962f91e22c
Add No sort field as an option
2024-10-16 10:23:21 -04:00
Isaac Connor
a89160ff2d
Fix zone edit image jumping around when status is alert
2024-10-15 16:36:31 -04:00
Isaac Connor
d04153b06b
Only show location tab when GEOLOCATION is turned on
2024-10-15 13:53:00 -04:00
Isaac Connor
f12d7a2184
Fix labelling for defaultCodec, as it is used for event viewing, not live view.
2024-10-15 13:38:44 -04:00
Isaac Connor
4ea68c59d5
Add End Date Time as an option for sorting in filters
2024-10-15 13:22:50 -04:00
Isaac Connor
fcebe4bcdc
Fix ISE when auth is turned off.
2024-10-01 10:10:42 -04:00
Isaac Connor
36c6b8872f
Use htmlspecialchars on Message to prevent Stored Cross-Site Scripting. Fixes GHSA-rqxv-447h-g7jx
2024-09-30 08:27:46 -04:00
Isaac Connor
120e13a769
Add support for DateTime and Server advsearch filters
2024-09-25 09:31:20 -04:00
Isaac Connor
01526f4bf5
Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36
2024-09-12 14:06:35 -04:00
Isaac Connor
248625c676
Handle more than one level of output buffering when cleaning and ending them so we can send the video file so we don't run out of ram. Fixes #4110
2024-08-11 09:22:08 -04:00
Isaac Connor
8a5d008b28
Don't log error when ignoring action if it is an ajax request
2024-08-08 17:05:39 -04:00
Isaac Connor
52b191d258
If the css in cookie is invalid, clear it so that the logs don't fill up with the warnings
2024-08-08 17:04:07 -04:00
Isaac Connor
2fad7c160a
Change log to a debug
2024-08-08 08:00:54 -04:00
Shobu UMEMURA
f7a8d5b46d
Update charset header in ja_jp.php from Shift_JIS to UTF-8
...
Given that most Japanese servers now use UTF-8, it makes sense to set UTF-8 as the default charset.
2024-07-04 09:21:10 -04:00
Isaac Connor
aae2a9b48c
Limit scale to 1.1 to prevent requesting images larger than 100%
2024-05-30 12:19:11 -04:00
Isaac Connor
062cf568a3
Sanitise filter[Id] when parsing filter. Fixes GHSA-6rrw-66rf-6g5f
2024-05-30 10:05:15 -04:00
Isaac Connor
6cc64dddff
Sanitise displayinterval,speed and scale parameters. Fixes GHSA-pjjm-3qxp-6hj8
2024-05-30 10:05:15 -04:00
Isaac Connor
90ec23b410
Sanitise filter[Id]
2024-05-30 10:05:15 -04:00
Isaac Connor
8f774a0030
Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36
2024-05-25 09:27:35 -04:00
Isaac Connor
43bcd2ee4b
Use parseInt to make MaxImageBufferCount and PreEventCount comparison work.
2024-05-22 09:14:55 -04:00
Isaac Connor
2fa8ae4db1
Change save button to a regular button that calls validateForm and don't set form.subit to validateForm. ValidateForm will now alert and switch tabs to better inform what the incorrect value is. Built-in validation doesn't work due to tabs and the invalid input not being focusable
2024-05-22 09:14:55 -04:00
Isaac Connor
efcf5f6cec
Merge pull request #4025 from IgorA100/patch-108
...
When save cookies via PHP >= 7.3.0, add handling of the "path" value in the options (session.php)
2024-05-22 08:59:13 -04:00
Isaac Connor
101bf62a29
Set default value for rows per page using WEB_EVENTS_PER_PAGE. Fixes #3728
2024-05-21 09:41:07 -04:00
Isaac Connor
b4e29f45b5
When editing buffer settings, ensure that MaxImageBuffers > PreEventCount.
2024-05-14 10:05:42 -04:00
Isaac Connor
cbd8b1f40f
Make view does not exist an error instead of fatal
2024-05-08 16:24:45 -04:00
Isaac Connor
7fdb318e49
Don't assume findByEventidAndType actually returns a frame. If we are only recoridng, then there will be no alarm frames in the db
2024-01-16 09:51:58 -05:00
Isaac Connor
c2b6e884c0
When ZM_AUTH_HASH_IPS is off, don't use remote ip in storing auth hash in session. If ips are constantly changing it breaks.
2024-01-15 19:25:23 -05:00
Isaac Connor
ab898fa4a8
WHen AUTH turned off, return an empty array in login as the result.
2024-01-15 18:30:46 -05:00
Isaac Connor
e1d2e0981c
Don't try to do auth if auth is turned off
2024-01-15 18:30:46 -05:00
Isaac Connor
72162b6ea0
Always return an array in getCredentialsDeprecated
2024-01-15 18:30:46 -05:00
Joe
78c28a50ac
Fix usage of unset variable
...
If daemon or args are unset the preg_replace is never called which can
result in count not having a value when referenced in the if statement.
This generates a warning in error.log.
2024-01-15 18:30:46 -05:00
Isaac Connor
c1a8c75575
Info to Debug for login.
2024-01-15 18:30:46 -05:00
Isaac Connor
71ff19a1ba
Revert change to cookie and cookie expire to fix loss of bootstrap table preferences. Add samesite
2024-01-15 18:30:46 -05:00
Isaac Connor
cc0d04b57c
Only show groups that we can view
2024-01-15 18:30:46 -05:00
Isaac Connor
e76d90e9e8
If group is empty, return false for canview so that it doesn't appear in dropdowns etc.
2024-01-15 18:30:45 -05:00
Isaac Connor
29197dbe1c
define count. Fixes #3799
2023-12-29 11:05:37 -05:00
Isaac Connor
0ee1b6476b
Fix Auto Unarchive not deselecting
2023-10-31 10:13:17 -04:00
Isaac Connor
0967a54dda
Ensure that group_id is defined
2023-09-15 09:26:27 -04:00