rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on October 05, 2008, 05:44:45 PM

Title: Testing build #205
Post by: rejetto on October 05, 2008, 05:44:45 PM
This build introduces user groups (http://www.rejetto.com/forum/index.php?topic=6198.0). ;)

This build will be included in the automatic update tomorrow, because there are deep changes in the authentication system.
So i want it to be tested first by mindful users. We need a preliminary testing to know if there are big wholes in it. I made a rough testing and fixed all i stumbled in, but this is truly not enough.

download @ www.dovedove.it/hfs/hfs205.exe

what's new
+ account linking: an account can be linked to another, inheriting permissions (an easy way to get groups)
+ new template macros: new account, set account, get|accounts
+ added F7 shortcut for accounts
+ a way to give access/upload to any account
- "set user/pass" broken in build #204
Title: Re: Testing build #205
Post by: bacter on October 05, 2008, 07:27:21 PM
Thanks Rejetto,

this is one of the most useful improvements in hfs users where waiting for a long time, especially users with a 'complicated' file system.

Adding a new user will now be a lot easier. If the new user belongs to a group that's already defined: No need to check a lot of folders to give and verify access rights. Link a new user to well known group like 'friends' or 'partners' and all is done! The most that remains to do, is to give him rights to some folder that is for his exclusive use.

Congratulations for the way you solved the group-problem, and many thanks for this new feature
Title: Re: Testing build #205
Post by: Pit on October 05, 2008, 07:40:40 PM
Very much thanks for the implementation of the groupfeature. It makes us the work and thr administration much easier. Thank you.
Title: Re: Testing build #205
Post by: Novox on October 06, 2008, 05:50:03 AM
Thanks dev!!!
Title: Re: Testing build #205
Post by: rejetto on October 06, 2008, 09:48:52 AM
The most that remains to do, is to give him rights to some folder that is for his exclusive use.

i don't understand, please explain
Title: Re: Testing build #205
Post by: Mars on October 06, 2008, 05:42:38 PM
Quote
The most that remains to do, is to give him rights to some folder that is for his exclusive use.


i don't understand, please explain
When the rights of groups for this user are set up, it remains to define only private rights for this user on the other resources
(une fois que les droits de groupes pour cet utilisateur sont mis en place, il reste à définir uniquement des droits privés pour cet utilisateur sur d'autres ressources)

Title: Re: Testing build #205
Post by: rejetto on October 06, 2008, 05:57:31 PM
Ok, i thought it was something expected by me
Title: Re: Testing build #205
Post by: Mars on October 07, 2008, 08:51:00 AM
Mise à jour

après avoir travailler un bon paquet d'heures à trouver la bonne formule, il en ressort ces modifications pour optiondlg.pas

Quote
procedure ToptionsFrm.groupChkClick(Sender: TObject);
begin
pwdBox.visible:=not groupChk.checked;
if accountsBox.selected = NIL then exit;   //add by mars
accountsBox.selected.ImageIndex:=if_(accountenabledChk.Checked, if_(groupChk.checked,29,27), 28);    //add  by mars
accountsbox.Repaint;          //ad by mars
end;


procedure ToptionsFrm.addAccountInList(a:Taccount);
var
  it: TlistItem;
begin
it:=Tlistitem.Create(accountsBox.items);
it.ImageIndex:=if_(a.enabled, if_(a.group,29,27), 28);    //mod by mars
accountsBox.Items.AddItem(it);
it.Caption:=a.user;
end;


procedure ToptionsFrm.accountenabledChkClick(Sender: TObject);
begin
if accountsBox.ItemIndex < 0 then exit;
accountsBox.selected.ImageIndex:=if_(accountenabledChk.Checked, if_(groupChk.checked,29,27), 28);    //mod by mars
accountsbox.Repaint;          //add by mars
end;




procedure ToptionsFrm.loadAccountProperties();
.........
accountLinkBox.text:=join(';',a.link);
ignoreLimitsChk.Checked:=a.noLimits;
redirBox.Text:=a.redir;
accountsBox.selected.ImageIndex:=if_(a.enabled, if_(a.group,29,27), 28);    //add by mars


Title: Re: Testing build #205
Post by: rejetto on October 07, 2008, 08:56:27 AM
yes, i like it :)
Title: Re: Testing build #205
Post by: Mars on October 07, 2008, 09:03:38 AM
missing

accountsBox.selected.ImageIndex:=if_(accountenabledChk.Checked, if_(groupChk.checked,29,27), if_(groupChk.checked,40,28));    //mod by mars

et tout sera parfait

rejetto, regardes tes MP, lien de chargement de mes modifs en cours d'étude, je suppose que tu aimeras aussi cette voie d'étude ;)
Title: Re: Testing build #205
Post by: ailef on October 07, 2008, 08:48:41 PM
ah cool there's a new build, i had lot of crashes with build 204 but when i clic on copy it does nothing to report the bug.
so i clic terminate and sometimes it doesnt even work, i have to kill the process.

this prog is nice i'm going on paypal right now ;-)

done ;-)
Title: Re: Testing build #205
Post by: rejetto on October 07, 2008, 09:44:21 PM
ailef, after you click "copy" you have to "paste" it here on the forum :)
could you please? so i'll fix it
Title: Re: Testing build #205
Post by: ailef on October 07, 2008, 11:12:04 PM
ok i'll do it next time i got a crash.
i'm going to update to build 205.
and the app crash most of the time on vista
it doesnt crash so many times on xp.

i got an exceptionslog.txt in my HFS folder, sorry, i never go in the folder.
do u want me to post it? it starts from build 180 to build 204.
i attach the .txt file.

[attachment deleted by admin]
Title: Re: Testing build #205
Post by: ailef on October 07, 2008, 11:34:25 PM
build 205 crashed under vista again,
txt file joined to the post.

i talked too fast, it just crashed in xp too, build 204.

maybe it's possible there's a problem with some other app ?
i use kaspersky antivirus 8.0.0.454
and comodo FW 3.0.25.378 on both xp pro sp3 and vista ultimate SP1
but not the same machines.
Title: Re: Testing build #205
Post by: rejetto on October 07, 2008, 11:40:20 PM
ok, i had a look at those logs.
i think you should try running HFS under compatibility mode ("XP" should be fine).
Title: Re: Testing build #205
Post by: ailef on October 07, 2008, 11:44:18 PM
here is my log error with xp pro sp3 on HFS build 204.
that's normal for the differents ip, i got 2 isp.
Title: Re: Testing build #205
Post by: rejetto on October 07, 2008, 11:54:01 PM
This is very interesting.
It seems your HFS doesn't have enough rights to do some action.
Can you tell me what action causes this error?
Title: Re: Testing build #205
Post by: ailef on October 08, 2008, 01:05:42 AM
i can't tell, it happens randomly, dont know when or why

but it's certainly comes from a security prog no ?
Title: Re: Testing build #205
Post by: rejetto on October 08, 2008, 01:08:20 AM
I can't say, but it may be.
Try disabling your security software and see if the problem with HFS persists or not.
And let me know :)
Title: Re: Testing build #205
Post by: ailef on October 08, 2008, 01:14:11 AM
what actions HFS is not allowed to do ?
Title: Re: Testing build #205
Post by: rejetto on October 08, 2008, 01:16:56 AM
no idea... the log is not clear about it