#zoneminder

/

      • rob_h has quit
      • MillerBoss has quit
      • MillerBoss joined the channel
      • ^MillerBoss joined the channel
      • MrBismuth joined the channel
      • barjac has quit
      • barjac joined the channel
      • bsaggy_ has quit
      • jthornton has quit
      • JT-Shop has quit
      • JT-Shop joined the channel
      • jthornton joined the channel
      • Catatronic joined the channel
      • xcm joined the channel
      • bsaggy joined the channel
      • bsaggy has quit
      • Schrottie joined the channel
      • e-anima joined the channel
      • Catatronic has quit
      • imox joined the channel
      • sic_ is now known as _sic_
      • nullaffinity joined the channel
      • asker joined the channel
      • digital-gnome
        ic0n: Fresh install of storageareas has problems with the new cache busting. It's looking for a folder that doesn't exist.
      • ic0n
        yeah wokring on that now.. among other thigns. Not sure why it isn't creating the dir.
      • digital-gnome
        Is it meant to go /web/cache?
      • ic0n
        /usr/share/zoneminder/www/cache
      • digital-gnome
        Because if I manually create that it still doesn't work.
      • ic0n
        just create the dir and make it writeable by web user
      • digital-gnome
        It will write and stop complaining but no css loads on any page.
      • Missing /zm in the url. I guess that's ZM_PATH_WEB
      • ic0n
        right...
      • MalakymR
        digital-gnome: permissions for the new folder ?
      • digital-gnome
        www-data:www-data
      • ic0n
        check current code
      • just pushed a fix
      • MalakymR
        I dont use /zm/ now if I can
      • ugly default imo, suits multi use servers
      • digital-gnome
        I don't think that worked. It's linking to http://server/cache/blah.css and it needs to be http://server/zm/cache/blah.css
      • ic0n
        there shouldn't be a leading / anymore....
      • digital-gnome
        is cache_bust called to create the file or just to load?
      • Grabbed the wrong commit, still doesn't work. Removing the slash doesn't fix the write errors. Css/js loads now but it's not the cache buster file, just the original. And it complains of failed linking for every css/js
      • Schrottie has quit
      • ic0n
        k, how bout now
      • Schrottie joined the channel
      • bsaggy joined the channel
      • MrBusiness3 joined the channel
      • digital-gnome
        looks like that got it
      • tony1 has quit
      • ic0n: One more. On the 25th you added some bits to web/includes/functions.php for DiskSpace and EndTime. DateTime used to change $_REQUEST['sort_field'] to StartTime, now it directly returns E.StartTime. This breaks getNearEvents in web/ajax/status.php because $event doesn't have a DateTime field.
      • tony1 joined the channel
      • adding $event[$_REQUEST['sort_field'] == 'DateTime' ? 'StartTime' : $_REQUEST['sort_field']] to getNearEvents fixes it but I'm not sure if the functions.php change breaks anything else.
      • the_k has quit
      • ic0n
        The problem is that DateTime doesn't specify which one, start or endtime. Events have both. SO we need to find all cases of DateTime and make them more specific. While also providing backwards compatibility for old stored Filters.
      • Hey digital-gnome where are you located? What do you do for a living? What is motivating you to work on ZM?
      • digital-gnome
        ic0n: Live in Kentucky, USA. I run a small tech support business. Got working on ZM because a client wanted something cheap that doesn't require a subscription or report to some third party.
      • ic0n
        Excellent. Guess what, you are now our official ZM Support rep in Kentucky. :)
      • digital-gnome
        Wheee
      • Does it include dental?
      • ic0n
        Not at this time, but you never know.
      • digital-gnome
        because I grit my teeth a lot when I'm troubleshooting
      • ic0n
        hah, me too.
      • the_k joined the channel
      • digital-gnome
        For nearEvents it works if a sort is actually chosen in Events. It's just that the default no longer redirects to StartTime. I think that's the only case where it's a problem. I can do a PR for that if you'd like.
      • ic0n
        We should default to sorting by Id..should be slightly more efficient and result in the same ordering.
      • delsol joined the channel
      • roasted has quit
      • roasted joined the channel
      • imox has quit
      • Catatronic joined the channel
      • delsol has quit
      • Haxxa joined the channel
      • Haxxa joined the channel
      • e-anima has quit
      • e-anima joined the channel
      • digital-gnome
        ic0n: Turns out that sorting is configurable in WEB_EVENT_SORT_FIELD under options>web. We can change the default to ID but people can still set it to DateTime which will kill nearEvents and thus navigation. I still say fix nearEvents since it seems to be the only thing affected by this. Everything else has a high chance for side effects.
      • Gerard_ joined the channel
      • Gerard_
        i'm a newbie, so i'll apologize in advance. i've purchased your zmNinja for android product (GREAT), and i'd love to run it on my windows desktop... but... i see where it says [It also works on Linux, Windows and Mac desktops.], but... i can't find where to download/install the windows version. [a very meek] help me.
      • zmNinjaBot
        hey asker - wake up, please. Someone asked about zmN
      • asker
      • Gerard_
        well... don't i feel pretty dumb. thanks.
      • asker
        no problem, thanks for using zmninja
      • simonpatapon
        cowabunga
      • messerting joined the channel
      • rob_h joined the channel
      • ic0n
        digital-gnome: I don't understand how this ever worked... what if we were sorting by something OTHER than StartTime or Id?
      • digital-gnome
        ic0n: Every other sort works as far as I can tell. I think I have it figured--->
      • ic0n
        I just pushed a change to convert the DateTime sort_field to StartTime
      • digital-gnome
        Sorting by any of the other options works. The only thing that breaks nearEvents is specifically DateTime in the field. Previously we intercepted DateTime and called it StartTime then inserted it into the flow. I think only nearevents needs that so it's not showing up anywhere else.
      • That should work. I'll check here.
      • ic0n
        I added a LIMIT 2 to the sql for next and prev which should reduce mysql load...
      • GerhardSchr joined the channel
      • digital-gnome
        ic0n: Did I make sense in the PR there? Or am I missing an option? Because I think the video export you're talking about is under the export link and it already does support videojs. If I click the export link and tell it to download everything it gets it all.
      • ic0n
        possibly. Havn't had a chance to look closely. I feel like you are right about that.
      • asker has quit
      • Catatronic joined the channel
      • roasted has quit
      • roasted joined the channel
      • the_k has quit
      • the_k joined the channel
      • the_k has quit
      • the_k joined the channel
      • Schrottie has quit
      • rob_h has quit
      • the_k has quit
      • jackjames has quit
      • the_k joined the channel
      • the_k has quit
      • the_k joined the channel
      • the_k has quit
      • jackjames joined the channel
      • nullaffinity has quit
      • the_k joined the channel
      • the_k has quit
      • e-anima has quit
      • the_k joined the channel
      • the_k has quit
      • the_k joined the channel
      • messerting has quit