rejetto forum

Testing build #205

rejetto · 21 · 13849

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
This build introduces user groups. ;)

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


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
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
your computer has no brain - use your own !


Offline Pit

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
    • EDV & Netzwerkservice in Berlin
Very much thanks for the implementation of the groupfeature. It makes us the work and thr administration much easier. Thank you.
You reach our Webserver every day between 9 AM to 10 PM under: http://phampel.dyndns.org or http://free4you.dyndns.org



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
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)



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Ok, i thought it was something expected by me


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
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




Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
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 ;)
« Last Edit: October 07, 2008, 09:11:08 AM by mars »


Offline ailef

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
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 ;-)
« Last Edit: October 07, 2008, 09:09:33 PM by ailef »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ailef, after you click "copy" you have to "paste" it here on the forum :)
could you please? so i'll fix it


Offline ailef

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
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]
« Last Edit: October 07, 2008, 11:22:16 PM by ailef »


Offline ailef

  • Occasional poster
  • *
    • Posts: 24
    • View Profile
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.
« Last Edit: October 07, 2008, 11:39:56 PM by ailef »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ok, i had a look at those logs.
i think you should try running HFS under compatibility mode ("XP" should be fine).