| Author |
Message |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
These are the changes since rc1. A couple of these were also in rc2
FEATURE - Added event progress and navigation bar (currently not on IE)
FEATURE - Added --with-libarch for 64 bit builds
FEATURE - Made zmaudit optional and with configurable delay
FEATURE - Added PTZ control script for Neu-Fusion NCS360
FEATURE - All logging now done via Debug.pm
FEATURE - Language selection now a dropdown showing available languages.
FIX - Changed a bunch of Info calls to Debug
FIX - Logs created by root are chowned to web user to prevent permission issues
FIX - Problems with different type sizes when accessing shared memory on 64 bit systems have been fixed
FIX - Shared memory handling from scripts in general now much improved
FIX - The zmvideo script now quotes filenames and so won't barf if they have funny characters in them
FIX - Fixed issue with streaming events with out of sequence frames causing immense timeouts
FIX - Fixed namespace clash with mysql.h in zmu
FIX - Fixed issue with default zone being triangular!
FIX - Removed error_reporting code from zone edit view which was messing up form
_________________ Phil
|
| Thu Jan 12, 2006 6:33 pm |
|
|
|
 |
|
seb3s
Joined: Wed Aug 31, 2005 11:27 am Posts: 27 Location: Paris, France
|
 zms authentication
Hi Phil,
I did post this on another thread (dealing about 1.21.4) but it seems you have not seen it as the code is the same in 1.22.rc3.
In the file zms.cpp, two lines were commented to allow for plain auth even if the config says hash (useful for some external apps as zm4ms for instance).
else if ( config.opt_use_auth )
{
//if ( strcmp( config.auth_relay, "hashed" ) == 0 )
{
if ( !strcmp( name, "auth" ) )
{
strncpy( auth, value, sizeof(auth) );
}
}
//else if ( strcmp( config.auth_relay, "plain" ) == 0 )
{
if ( !strcmp( name, "user" ) )
{
strncpy( username, value, sizeof(username) );
}
if ( !strcmp( name, "pass" ) )
{
strncpy( password, value, sizeof(password) );
}
but I think this is not sufficient as a few lines below I see two more lines that also needs to be commented for this to function :
if ( config.opt_use_auth )
{
User *user = 0;
// if ( strcmp( config.auth_relay, "hashed" ) == 0 )
{
if ( *auth )
{
user = zmLoadAuthUser( auth, config.auth_hash_ips );
}
}
// else if ( strcmp( config.auth_relay, "plain" ) == 0 )
{
if ( *username && *password )
{
user = zmLoadUser( username, password );
}
}
if ( !user )
{
Error(( "Unable to authenticate user" ));
return( -1 );
}
ValidateAccess( user, id );
}
As I said in the other post, my C knowledge is dating more than 10 years, so please be indulgent if I say something stupid here, but at least it seems to be functionning for me this way.
Cheers,
Sebastien.
|
| Fri Jan 13, 2006 12:30 am |
|
 |
|
Cylindric
Joined: Mon Jan 02, 2006 3:41 pm Posts: 44 Location: Essex, UK
|
hey, that is very nice  Just installed the new version on top of my last 1.22.0-rc1
_________________------- Mark -------
http://www.hanfordonline.co.uk
|
| Fri Jan 13, 2006 1:28 am |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
 Re: zms authentication
Yes, this had been missed out. I've updated it ready for the next drop.
_________________ Phil
|
| Fri Jan 13, 2006 1:29 pm |
|
 |
|
pstahl
Joined: Fri Jan 13, 2006 5:55 pm Posts: 1
|
 Czech translation
Sorry but I can't find czech translation in package. Where is it?
Thanks
|
| Fri Jan 13, 2006 6:01 pm |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
I have just put rc4 up. This is likely to be the last before proper release. You can fetch it from http://www.zoneminder.com/downloads/ZoneMinder-1.22.0-rc4.tar.gz. As with rc3 you will need to do a zmupdate.pl -f as there are some configuration changes with various things being moved around to make space.
Changes in this one include
o FEATURE – Signal loss on locally attached video sources is now detected. This will create a short Signal Lost event on signal loss, followed by a Signal Reacquired event when it comes back. While the signal is lost no recording will take place in any mode.
o FEATURE – Added tokens for event cause (%EC%) and description (%ED%) for filter generated emails. The %ED% token was previously used for event length, this has now changed to %EL%. You will need to update any filters that use this token to use the new value.
o FIX – The console view has been optimised to speed up display by up to a factor of ten.
o FIX – Fixed a couple of problems with the authentication relay methods in zms.
o FIX – Fixed issue with control permissions whereby a user also needed monitor edit permissions to be able to control a monitor.
o FIX – Most mysql queries in the web interface did not have their result resources freed. This was untidy but generally did not have any deleterious consequences. However all queries are now properly freed.
o FIX – Password handling in the user configuration form was a bit ugly. This has been tidied up.
and I think all bug reported in this thread should now be sorted.
_________________ Phil
|
| Sun Jan 15, 2006 9:04 pm |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
Hi Phil,
I'm still doing a bit of traveling and trying to be ready to produce RPMs and have just a few questions.
Previously I was able to run zmconfig.pl to setup some of the defaults for the packages as I had added a sound and cambozola is included in the package. What would be the best way to go about passing in the extra config for the fields in the new version?
Also Serg had written some scripts to update the database. This was done before zmupdate.pl had come about. I had been meaning to clean this up and utilize the zmupdate.pl and just had not gotten to it. I took a peak at the code but I'm still not familiar with perl. If zmupdate.pl encounters an error will it return "1" and return a "0" on no problems when it exits like done in the SH scripts?
If you would like I can send you the scripts so you can see what was done previously. I think to date that most could be included with the tar for everyones benefit.
Regards,
Corey
|
| Mon Jan 16, 2006 8:42 am |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
I think just setting the values directly via sql would be simplest. So create a zm_custom.sql script with stuff like in it. Then just apply that directly after you create the database (which now also initialises the config). Yes, if zmupdate is successful then you should get a 0 exit status.
Yep, go ahead and I'll take a look (or put them up somewhere).
Cheers
_________________ Phil
|
| Mon Jan 16, 2006 10:43 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
I'm not %100 positive but it seems like rc4 is not writing to the images folder the images for setting the zones unless you enable thumbnails. As soon as I enabled thumbnails it started working.
This was done on a stock FC4 install with pcre and netpbm compiled in and no ffmpeg.
By the way Phil, you really out did your self  beutiful piece of work. Thank you,
Corey
|
| Tue Jan 17, 2006 8:00 am |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
It shouldn't be related, but if you are having problems getting the zones image written out then there may be another problem. Can you reproduce it?
_________________ Phil
|
| Tue Jan 17, 2006 11:54 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
I shut down the machine last night, and after booting backup I am unable to reproduce it.
Here is a snip from my httpd/error_log just in case it's useful:
Corey
|
| Tue Jan 17, 2006 5:31 pm |
|
 |
|
zoneminder
Site Admin
Joined: Wed Jul 09, 2003 3:07 pm Posts: 5221 Location: Bristol, UK
|
Yuck!! That looks nasty
However I'm going to pretend it never happened and do a proper 1.22.0 release as planned in the next few hours anyway 
_________________ Phil
|
| Tue Jan 17, 2006 11:12 pm |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
eek! I guess I better wrap up the script thing now as I'll be back on the road agian for the next few days. I'll run a test with what I know will work for now and shoot them over to you incase there is anything you want to include.
Corey
|
| Wed Jan 18, 2006 12:38 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
ack!
I built the package but when I try to install it I get this from rpm
What is perllocal.pod?
Corey
|
| Wed Jan 18, 2006 1:21 am |
|
 |
|
jameswilson
Joined: Wed Jun 08, 2005 9:07 pm Posts: 5078 Location: Midlands UK
|
Means nothing to me though matey hoping it helps you tho
_________________James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
|
| Wed Jan 18, 2006 1:31 am |
|
|