rejetto forum

Testing build #270

rejetto · 36 · 32168

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
this build required some heavy change, so i decided to not include it (for now) in the automated updates.
The faints of heart won't be involved in this testing.
Supper is ready!

Quote from: mars
not download @ www.dovedove.it/hfs/hfs270.exe but this new build @ http://hfs.webhop.org/hfs270a.exe

this first link has a bug (see post http://www.rejetto.com/forum/index.php/topic,9113.msg1052156.html#msg1052156)

what's new
+ new "move" feature, requires delete and upload permission
+ new scripting alias: redirect [link]
+ new scripting commands: vfs to disk, break
+ redirection now works on template, not only events [link]
+ {.get|can upload|path=XXX.}
+ {.get|can access|path=XXX.}
- "update automatically" broken in build #265 [link]
- better recognition of UTF-8 templates
« Last Edit: September 28, 2010, 06:47:37 PM by Mars »


Offline TEA-Time

  • Occasional poster
  • *
    • Posts: 76
    • View Profile
I hope rejetto can add a little smarts to the process of figuring out whether or not to show that option by looking at what users are in the assigned groups.

in next release (270).

Looks good!  It even figures out groups in groups. :-)

Thanks!
« Last Edit: September 15, 2010, 01:25:40 AM by TEA-Time »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
yeah, i forgot to include it in the change-log


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
Right click on folder at root level protected with "Any account" or
"Everyone" gives error here.
Folder protected with group or individual permissions do not give error.
« Last Edit: September 15, 2010, 03:45:59 PM by r][m »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Right click on folder at root level protected with "Any account" or
"Everyone" gives error here.
Folder protected with group or individual permissions do not give error.

Exact... I confirm.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Quote
Right click on folder at root level protected with "Any account" or
"Everyone" gives error here.
Folder protected with group or individual permissions do not give error.

Right click on ANY folder protected with "Any account" or "Everyone" gives error here.

select another item of the vfs by using CTRL, with two items selected and Right click on folder at root level protected with "Any account" or "Everyone" gives  NO ERROR   ;) (c'est déjà une piste) then it's possible to uncheck "Any account" and
"Everyone" for those items

« Last Edit: September 15, 2010, 09:29:10 PM by Mars »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
Be happy my followers, the bug is begged. I put a temporary link on a corrected version, until the release of new build 271 ;)

http://hfs.webhop.org/hfs270a.exe

@rejetto
Quote
function expandAccountByLink(a:Paccount; noGroups:boolean=TRUE):TstringDynArray;
var
  i: integer;
begin
result:=NIL;
==>>// next line is necessary because getAccount(users, TRUE) seems sometime return NIL into the function expandAccountsByLink, then a.group give the bug
if not assigned(a) then exit;
if not (a.group and noGroups) then
  addString(a.user, result);
for i:=0 to length(accounts)-1 do
  if stringExists(a.user, accounts.link) then
    addArray(result, expandAccountByLink(@accounts));
end; // expandAccountByLink

Now, I deserved to go to sleep me  :D


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
Hi all!  :)

@Mars
Thanks for the fix!  ;)

@rejetto
It would be nice if you add a group to allow access to the function "move". (as for the change password)
In fact, I think that admins that allow to upload and delete at user, do not necessarily want to allow him to move items.

Request optional: :)

On releases in French, I named groups in this way:

#administration#, #create-folders#, #comments#, #password#, #move#...

I know it's a way to appoint a bit arbitrary, but it has the advantage of making easier the ranking of the list of User Accounts.
If you could do something like that, it would help me ... but that is certainly not a requirement. ;)
« Last Edit: September 18, 2010, 07:20:32 AM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
if you have delete and upload, then you can delete then upload.
giving the "move" button just avoids a waste of time and resources, is not giving you more power, so what's the point in not giving the button?

consider the upload permission is not checked over the source folder, but the destination folder.


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
One example among other possible.

If I give permissions to upload and delete at several people on several folders & subfolders (containing resources of a different type)... it can quickly become a joyful huge mess if all users begin to move resources. It's better in this case to limit this option ... which I think is different in facts of the simple upload and delete feature.

« Last Edit: September 19, 2010, 06:01:22 PM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
do you think that the "move" button will induce people to be wild more than the "delete" button?


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
 :D

Maybe, who knows!  :P

No, simply, the administrator may wish that the resources remain at a specific location or even are deleted ... but he don't want which are dispatched in a uncontrolled manner into the VFS.
« Last Edit: September 20, 2010, 12:37:07 PM by SilentPliz »


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
This build works good with Live 3.0.1 and special characters :) thanks for fixing that rejetto.


Offline dragon_ex

  • Occasional poster
  • *
    • Posts: 58
    • View Profile
In #269 ,HFS service will  stop response  when a huge file ,for example 3GB, is downloading. Has this problem been fixed in #270?


By the way, how can I make my national flag shown below my nickname “dragon_ex”? :)
« Last Edit: September 21, 2010, 08:50:38 AM by dragon_ex »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile