Isaac Connor
8c923aa0be
Put back zm_create.sql
2023-04-10 15:48:20 -04:00
Isaac Connor
c30a40912e
Remove reference to MonitorIds column of users table. Fixes #3679
2023-03-23 11:20:30 -04:00
Isaac Connor
821bfa9625
Fix typo
2023-03-22 13:28:35 -04:00
Isaac Connor
c8802623e4
Install all sql instead of naming individual files
2023-03-22 13:28:27 -04:00
Isaac Connor
5d63d4f375
Rough in User_Preferences table in db
2023-03-21 10:03:57 -04:00
Isaac Connor
fa9a0e45b7
Add CpuUserPercent and CpuSystemPercent to System_Stats
2023-03-01 13:42:21 -05:00
Isaac Connor
75f0ee82e5
Add Name, Email, Phone to Users
2023-02-28 14:01:28 -05:00
Isaac Connor
defba5d53e
Add Name, Email, Phone to Users
2023-02-28 14:01:22 -05:00
Isaac Connor
dc2df16328
Add column Decoder to Monitors
2023-02-26 15:52:13 -05:00
Isaac Connor
b0413f330e
Merge branch 'map'
2023-02-25 12:44:28 -05:00
Isaac Connor
25a7159393
Allow ServerId to be NULL, which is the case in a non-multi-server install
2023-02-18 18:02:15 -05:00
Isaac Connor
0879252d13
Add Server Stats table and insert into it in zmstats.pl
2023-02-18 18:02:15 -05:00
Isaac Connor
d9862bb18e
Remove FOREIGN KEYS on Events table for performance/reliability
2023-02-02 10:40:57 -05:00
Isaac Connor
4f59644f49
Default API to enabled for admin user
2023-01-31 10:07:16 -05:00
baudneo
7590cf8691
SQL: Add base and provide upgrade file
...
Signed-off-by: baudneo <86508179+baudneo@users.noreply.github.com >
2023-01-09 17:57:25 -07:00
Isaac Connor
7a122f7367
Add SectionLengthWarn to Monitors table
2023-01-07 12:34:30 -05:00
Isaac Connor
873213559d
Fix logic inversion
2022-12-24 09:18:04 -05:00
Isaac Connor
5d87ffeac2
Fix missing `
2022-12-24 09:16:49 -05:00
Isaac Connor
5fc37c050a
Add Latitude and Longitude to Servers and Events
2022-12-22 10:00:23 -05:00
Isaac Connor
8fe28a5cc2
Fix errors due to '
2022-12-15 16:03:48 -05:00
Isaac Connor
2f7551769a
Add 1.37.28 db update file to rename Snapshot_Events to Snapshots_Events
2022-12-14 08:29:51 -05:00
Isaac Connor
83b6ae37a9
Deal with missing monitors by dropping the foreign key and adding it back after creating Monitor Permissions
2022-11-19 07:47:09 -05:00
Isaac Connor
6f8ce1343f
Fix Monitor Permission updating. If monitors are specified, they default to View even if MOnitors is set to None.
2022-11-15 15:00:27 -05:00
Isaac Connor
f37786bb2a
Remove quotes from line inserting values into Monitor_Permissions
2022-11-03 16:57:16 -04:00
Isaac Connor
12d5748c1c
Fi test for Groups_Permissions_GroupId_UserId_idx
2022-11-03 11:14:23 -04:00
Isaac Connor
20f01b6953
Remove command to drop Groups_Permissions
2022-11-03 09:30:07 -04:00
Isaac Connor
5106d2aaa4
Move db updates for Groups and Monitor Permissions into place, and bump version it gets picked up
2022-11-03 07:49:44 -04:00
Isaac Connor
6265a1ca41
Move from MonitorIds to Monitor_Permissions and Group_Permissions.
2022-11-02 13:25:43 -04:00
Isaac Connor
7ff928dcf8
Make the primary index on Groups_Permissions a unique index to ensure that the GroupId/UserId mapping is unique. Add Monitor_Permissions
2022-11-02 13:24:26 -04:00
Isaac Connor
893b86ee96
Make the primary index on Monitors_Permissions a unique index to ensure that the MOnitorId/UserId mapping is unique.
2022-11-02 13:24:26 -04:00
Isaac Connor
76f804dadd
Add Permission enum to Groups_Permissions
2022-11-02 12:37:16 -04:00
Isaac Connor
3775be599e
Add Groups_Permissions table
2022-11-02 12:36:42 -04:00
Isaac Connor
cd4a9fbb98
Merge ../ZoneMinder.connortechnology
2022-10-31 18:01:04 -04:00
Isaac Connor
1c38e79c1b
Add Reports table. Also set ENGINE for other tables that were hard coded to InnoDb. Fixes #3615
2022-10-31 09:29:50 -04:00
Isaac Connor
f0a1a1b0ee
Merge branch 'master' into add_event_data
2022-10-27 17:08:12 -04:00
Isaac Connor
a25436369f
Add db update to create Event_Data table
2022-10-27 14:17:24 -04:00
Isaac Connor
ac55528f8f
Untested change to use TIMESTAMP instead of DATETIME for Monitor_Status/UpdatedOn. This is for mysql 5.5.
2022-10-27 10:56:11 -04:00
Isaac Connor
196ae7cf89
Add UpdatedOn field to Monitor_Status
2022-10-12 19:12:36 -04:00
Isaac Connor
d1cd7d3f91
Merge branch 'master' into add_janus_rtsp_user
2022-09-14 18:34:07 -04:00
Isaac Connor
f5ad68143c
Add Janus_RTSP_USer to Monitors
2022-09-12 10:33:51 -04:00
Isaac Connor
e24432ee4d
Merge branch 'master' into reports
2022-08-30 19:40:14 +02:00
Isaac Connor
85e897f211
move generic update script to version specific
2022-08-25 20:33:58 -04:00
Isaac Connor
29750a56e7
Merge branch 'master' into add_mqtt
2022-08-25 18:37:54 -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
Isaac Connor
5405ebdaa8
Replace the Event index with an eventId,ZoneId index, which mysql will actually use to speed up the subquery for AlarmedZone
2022-08-05 10:53:25 -04:00
Isaac Connor
b4000ef0c7
Add Reports table creation
2022-08-04 09:34:06 -04:00
Doug Nazar
a34db8bc38
Don't hardcode db in upgrade script.
2022-07-27 12:25:57 -04:00
Isaac Connor
a3395df49f
Rename ONVIF_Alarm_Txt to ONVIF_Alarm_Text
2022-07-23 16:07:45 -04:00
Isaac Connor
d2d5b6e489
Add ONVIF_Alarm_text to zm_create.sql
2022-07-23 16:07:13 -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