Commit Graph

16588 Commits

Author SHA1 Message Date
Andrew Bauer ba82088b99 make all the data-on-xxx js bindings functions 2020-10-14 08:51:44 -05:00
Isaac Connor ff14d11fef Don't output the filter, just log it! 2020-10-13 10:07:27 -04:00
Isaac Connor e8c9845e08 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-10-13 09:02:47 -04:00
Isaac Connor e4fec8c5ea code style cleanups, most defaulting to 'Id' as the term attr so that we can use an empty filter as a quick jump to event feature 2020-10-13 09:02:38 -04:00
Andrew Bauer 031b41f78a remove the english word popup from lang files 2020-10-13 07:59:34 -05:00
Isaac Connor cd2e96eaec Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-10-13 08:42:28 -04:00
Isaac Connor 908c20e959 add ZM prefix to Warning 2020-10-13 08:42:22 -04:00
Andrew Bauer 89c76ec140 no need to clare $view as global 2020-10-12 14:52:57 -05:00
Andrew Bauer c4ea27db8d fix buttons in shutdown modal 2020-10-12 14:51:33 -05:00
Andrew Bauer 49fec5142c remove popup code form skin.js 2020-10-12 13:34:40 -05:00
Andrew Bauer e5e1455f7a replace embedded popuplinks in watch view 2020-10-12 13:26:20 -05:00
Andrew Bauer 332ec2032a replace createPopup with location.assign 2020-10-12 12:37:23 -05:00
Andrew Bauer 1db31ba574 remove makePopupLink function. Use makeLink instead 2020-10-12 12:20:21 -05:00
Andrew Bauer ed5f6b2625 convert shutdown popup to modal 2020-10-12 12:16:52 -05:00
Andrew Bauer 0f263407a5 make redirect conditional on previous view 2020-10-12 10:32:25 -05:00
Isaac Connor 66a8d3876d add caching of users by username to improve performance 2020-10-12 11:25:20 -04:00
Isaac Connor 3646a66168 translate unquoted literal Filter 2020-10-12 11:20:22 -04:00
Isaac Connor 8227de8642 bump version to 1.35.10 to pick up Filter AutoUnarchive column 2020-10-12 11:04:16 -04:00
Isaac Connor 1ffa1cc33b Add button update checks for AutoUnarchive 2020-10-12 10:56:01 -04:00
Isaac Connor 1854e02ab3 Accept both Id and filter[Id] when loading filters. 2020-10-12 10:55:42 -04:00
Isaac Connor 3fa0ef25f6 Add a link to the filter representing the events list 2020-10-12 10:55:03 -04:00
Isaac Connor 637551b7e7 Add english for FilterUnarchiveEvents 2020-10-12 10:54:38 -04:00
Isaac Connor 046124fe0e Add AutoUnarchive column, also add Id to querystring if this is a saved Filter 2020-10-12 10:54:22 -04:00
Isaac Connor 4f5948cba0 Implement Unarchive action 2020-10-12 10:53:53 -04:00
Isaac Connor 1b2ab6cce9 Add AutoUnarchive column to Filters 2020-10-12 10:53:19 -04:00
Isaac Connor bf83cf9346 Add AutoUnarchive column to Filters 2020-10-12 10:53:00 -04:00
Isaac Connor 03c8e86908 update some quotes 2020-10-10 11:09:51 -04:00
Isaac Connor 9e6db17e68 Fix getting next event due to case of asc 2020-10-10 11:09:39 -04:00
Isaac Connor 630d9011f3 Fix redirect when saving users 2020-10-10 09:48:09 -04:00
Isaac Connor 9768f081e4 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2020-10-09 10:21:33 -04:00
Isaac Connor 268e364cfd handle the paused case 2020-10-09 10:21:00 -04:00
Isaac Connor 9bfe8c28e4 Merge branch 'gcc_cpuid' 2020-10-09 08:48:01 -04:00
Isaac Connor 7d1598ae50 Merge branch 'master' into gcc_cpuid 2020-10-09 08:47:30 -04:00
Isaac Connor cb38242917 use nullptr when appropriate 2020-10-08 16:46:47 -04:00
Isaac Connor 2f2562a876 init shared_data in the purpose=QUERY case to prevent crash. Also don't load zones if we don't need them 2020-10-08 16:46:30 -04:00
Isaac Connor 1aadeb2206 free the context as well. 2020-10-08 16:46:03 -04:00
Isaac Connor 871c556ac0 rename a variable to be more readable 2020-10-08 16:45:45 -04:00
Isaac Connor 1173f618ec turn off negative pts detection... I have cameras that generate them all the time, they might actually be valid 2020-10-08 15:50:52 -04:00
Isaac Connor 71686fc1f2 fix case in mocord where cause would not contain motion 2020-10-08 15:50:12 -04:00
Isaac Connor 4afae7b738 More accurate seeking, remove debug and duplicated code. Correct type of curr_frame_id to match frame_count. 2020-10-08 11:13:18 -04:00
Isaac Connor 9cc7f0d360 Merge branch 'release-1.34' 2020-10-08 09:28:25 -04:00
Isaac Connor 86e744777c Put back return on error 2020-10-08 09:12:37 -04:00
Isaac Connor c28ff1f2b4 Include loading EndTime when loading Events data so that we can determine if an event is in-progress
Keep track of last_id which is the last frame id that we have info for. Use it instead of Frame Count to prevent
accessing non-existent frame records
close ffmpeg_input on event change
include duration in status messages because it may change when playing an in-progress event.
when we hit the end of our frame data if it is an in-progress event, reload the event data instead of moving to the next event.
Include X-Timestamp in http headers to match live stream behaviour
Only send time to next event when mode=ALL
Fix scale behaviour on event view
2020-10-08 09:06:56 -04:00
Isaac Connor 7cc023c1ec Update Event details when writing Frame Data. Write Frame Details when inserting a Bulk Frame 2020-10-07 18:37:38 -04:00
Isaac Connor 624006022c Use a redirect to get rid of post on reload 2020-10-07 11:59:11 -04:00
Isaac Connor 95b09ad182 Add samesite=strict to all Cookie setting 2020-10-07 11:26:18 -04:00
Isaac Connor b683d5326a Test for empty array in htmlOPtions when notifying about not selecting a value 2020-10-07 11:22:42 -04:00
Isaac Connor efd56a2e09 spacing 2020-10-07 11:16:02 -04:00
Isaac Connor 7f67d09749 test for monitorIds value before calling explode because explode will return an array with an empty first element instead of an empty array 2020-10-07 11:14:57 -04:00
Isaac Connor faade3ea15 Enable dependencies for vnc monitor type in buster/focal and newer 2020-10-07 10:52:59 -04:00