Isaac Connor
caccc6def0
Revert "Introducing a new ZM_DB_SSL_VERIFY_SERVER_CERT configuration option t…"
2024-02-07 09:58:49 -05:00
Juan Manuel Palacios
595723d551
Introducing a new ZM_DB_SSL_VERIFY_SERVER_CERT configuration option to allow
...
deployments to specify whether they wish to verify their database server's
certificate or not, mapped to PHP's PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
attribute.
2024-02-06 03:23:36 -05:00
Isaac Connor
57e9cc2b16
In the case where locale = System... properly set locale for the Date*FOrmatter classes
2024-02-05 19:06:16 -05:00
Isaac Connor
5a866aee0e
Add id's to selects to appease label for= attributes
2024-02-05 18:42:25 -05:00
Isaac Connor
4107058000
FIx units on warning about timeout
2024-02-05 18:42:05 -05:00
Isaac Connor
43c3937b87
Fix image proxy broken due to imagecreatefromstream=>imagecreatefromstring
2024-02-02 11:50:03 -05:00
Isaac Connor
48015e6efd
Remove extra / and urlencode password for Amcrest
2024-02-02 11:49:44 -05:00
Isaac Connor
aa67e5f6f3
Add range limits to lat&long and don't do anything if empty
2024-02-01 18:01:26 -05:00
Isaac Connor
314236dea8
Add inputs and code to display and convert to and from decimal degress and dhms for lat&long. Update marker on map when values change.
2024-02-01 17:58:20 -05:00
Isaac Connor
4987ea1b21
Define user before using for viewableMonitorIds
2024-02-01 11:39:09 -05:00
Isaac Connor
d47f78b354
Fix for use strict defining monitor_ids
2024-02-01 11:38:38 -05:00
Isaac Connor
da2744749d
fix vertical alignment and stretching of images on snapshot
2024-02-01 11:38:24 -05:00
Isaac Connor
9bb9f733a4
Reference the tab that the bad Path or Port is on
2024-01-31 18:24:22 -05:00
Isaac Connor
8e035f61ac
Use viewableMonitorsIds instead of canView(Monitors) when deciding to show the Console or Montage Links
2024-01-31 16:09:33 -05:00
Isaac Connor
05d605fe55
change Map to zmMap to prevent name collision with luxor. Add a haversine function to get distance between two lat&long. Start to rough in grouping locations into 1 pin.
2024-01-30 19:57:18 -05:00
Isaac Connor
18606e78ad
Remove width on p element on monitors view as it is too short for Recording and doesn't seem to be needed
2024-01-30 14:29:41 -05:00
Isaac Connor
0e88d764f0
Use object methods to load montiors
2024-01-28 16:53:30 -05:00
Isaac Connor
2c7c928fa6
Use object methods when loading monitors and zones and filter them by Deleted status
2024-01-28 16:53:06 -05:00
Isaac Connor
b7bc7cef7e
Only load non deleted Monitors
2024-01-28 16:52:36 -05:00
Isaac Connor
c84e7d4563
Include Monitor.php
2024-01-28 16:52:16 -05:00
Isaac Connor
512b1ec76d
Only list viewable monitors and zones
2024-01-28 16:51:49 -05:00
Isaac Connor
ac2cfa5ccb
Add children groups to MonitorIds
2024-01-28 16:32:31 -05:00
Isaac Connor
648bd77b21
Apply validCardinal to all eids. Remove dead delete code
2024-01-27 18:33:19 -05:00
Isaac Connor
a5916f01d1
Protect against XSS in server db values
2024-01-25 19:34:46 -05:00
Isaac Connor
39b2014c2d
Prevent XSS from COOKIE poisoning
2024-01-25 19:31:28 -05:00
Isaac Connor
b1aeb319f7
Prevent XSS from COOKIE poisoning
2024-01-25 19:27:18 -05:00
Isaac Connor
35396aad55
Prevent XSS from COOKIE poisoning
2024-01-25 19:25:15 -05:00
Isaac Connor
d8f36e4ef9
Prevent XSS from COOKIE poisoning
2024-01-25 19:23:28 -05:00
Isaac Connor
bf32bd6926
Prevent XSS throu mids
2024-01-25 19:12:37 -05:00
Isaac Connor
f1a26b90b6
Prevent against CSS in dupId
2024-01-25 19:05:59 -05:00
Isaac Connor
bc1fb8eef2
Protect against XSS from User field
2024-01-25 19:04:15 -05:00
Isaac Connor
9505910847
Prevent XSS via uid and prev
2024-01-25 19:01:44 -05:00
Isaac Connor
59b77df7f1
Prevent XSS through scale parameter
2024-01-25 18:57:01 -05:00
Isaac Connor
6f595385d7
Protect filter loading from injection
2024-01-25 18:56:42 -05:00
Isaac Connor
d45b05ec8a
XSS protect from server id and storage id
2024-01-25 18:50:35 -05:00
Isaac Connor
bac2705051
XSS protect from monitor id and name
2024-01-25 18:49:22 -05:00
Isaac Connor
c138984fc9
XSS prevent on sort_asc and eid. Still need to protect filter
2024-01-25 18:48:39 -05:00
Isaac Connor
b5757a2d05
Use validCardinal on Id's cuz we don't trust the db or Object
2024-01-25 18:38:44 -05:00
Isaac Connor
559d6edc70
Don't apply timezone when formatting datetimes
2024-01-25 11:57:29 -05:00
Isaac Connor
cfd8e3418e
Don't apply timezone when formatting datetimes
2024-01-25 11:57:19 -05:00
Isaac Connor
ee13034384
Use validInt on DefaultScale coming from Monitor object. Database shouldn't be trusted either.
2024-01-25 11:24:13 -05:00
Isaac Connor
5a498878b8
Protect mid with validCardinal. Return early if it is invalid or monitor is not found
2024-01-24 19:28:59 -05:00
Isaac Connor
914f7e0ae2
APply validCardinal to sid so that arrays don't get passed to new Server() which then prevents XSS
2024-01-24 19:25:15 -05:00
Isaac Connor
9669f1e3ef
Sanitize entity before outputting it preventing XSS
2024-01-24 19:22:47 -05:00
Isaac Connor
f62f1529f5
Try to prevent XSS by verifying valid image data
2024-01-24 19:18:22 -05:00
Isaac Connor
0fb71e35f2
Add luxor.js and use it to format datetimes
2024-01-24 16:10:20 -05:00
Isaac Connor
fb8b4af3f8
Revert "Remove unneeded bootstrap classes"
...
This reverts commit 00f52704a5
.
2024-01-24 13:17:52 -05:00
Isaac Connor
00f52704a5
Remove unneeded bootstrap classes
2024-01-24 13:00:31 -05:00
Isaac Connor
1255ae4bc7
Change Tags to be concated and add GROUP BY to fix SQL. Populate event object with db row instead of reloading by Id. Remove datetime formatting as it is screwing up and formatting should happen in js
2024-01-24 13:00:31 -05:00
Isaac Connor
8ca1436224
If img has a fix width set, clear it when we change scale
2024-01-24 12:54:13 -05:00