connortechnology / ZoneMinder

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
http://www.zoneminder.com/
GNU General Public License v2.0
9 stars 9 forks source link

Ajax navigation and resizing #40

Closed digital-gnome closed 6 years ago

digital-gnome commented 6 years ago

Nav nav more nav.
Fixed a few edge cases with alarmCues overflowing and simplified it. Revamped videojs replay and end of events messages to overlay the streams.

Which allowed me to converge zms style and videojs style navigation a bit. videojs streams now use ajax. It's faster and feels smoother. Added a watch for zms crashing so we can't get stuck. Address bar stays synced with current event so if I'm wrong about that we can still refresh and move on.

Scale to Fit is now a thing in event view. Navigating through events of different dimensions was awful. Now it can be set to fit the event to the page. Once selected the setting applies to all events until any event turns it off. Previous scale settings are preserved and it shouldn't affect anywhere else that scale is used.

There's also a fix for deleting an event not refreshing the parent Events window. It looks like a fix that mentions filter window broke this. refreshParentWindow is used in several places. This fix just forces event to use true for itself and nothing else.