rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on September 17, 2008, 03:41:37 PM

Title: Testing build #203
Post by: rejetto on September 17, 2008, 03:41:37 PM
download @ www.dovedove.it/hfs/hfs203.exe

what's new
+ Options -> MIME types -> "Open directly in browser when MIME type is defined"
+ Options -> Accounts -> new "upload" box preview
+ Options -> Tray message -> new preview box 
+ Menu -> Other options -> "Edit event scripts..."
+ event scripts: new [start] [quit] [upload failed]
- "Hide file extension" broken in build #202   
Title: Re: Testing build #203
Post by: Mars on September 18, 2008, 02:56:48 PM
Quote
+ Options -> Tray message -> new preview box
A small forgetting so that everything is completed :

1) Menu >IP Address
You have to find generally an IP address:192.168.xxx.xxx selected, and by clicking the tray message, it is the same address which appears.

2)Add by Menu > IP Address > Custom....  some addresses ip of the genre
127.0.0.1
10.0.0.25
172.10.1.15
...
and validate

3)Change the selected IP into  Menu >IP Address to another

4)Select  Menu > Tray icons >Tray message.

In preview box, it is not the new IP who displays but the previous one. If you make a change in the left box, the correct value appears.

 It is a refresh bug

Having tried all the possible solutions to have no this small inconvenience, the only one parades in summer to create a procedure executed during the activation of the OPTIONS window.

Quote
procedure ToptionsFrm.FormActivate(Sender: TObject);
begin                                                               
  traymsgBoxChange(Sender)                                       
end;
and activate it as on the picture

correct in the next build ? ? ? ? (Rejetto  ;) )

Silentpliz have just redone at the present time his big return of the psychedelic hospital, the french version of the build 203 would not know how to delay ;D ;D ;D
Title: Re: Testing build #203
Post by: rejetto on September 18, 2008, 04:20:09 PM
ok fixed
but i doubt anyone would have suffered this bug ;)
Title: Re: Testing build #203
Post by: Mars on September 18, 2008, 04:25:11 PM
It is normal not to allow to pass these small details, if we want that a next day takes out an official version in 2.3 build 2xx ;)
Title: Re: Testing build #203
Post by: SilentPliz on September 19, 2008, 10:49:31 AM

Silentpliz have just redone at the present time his big return of the psychedelic hospital, the french version of the build 203 would not know how to delay ;D ;D ;D

Yes, you scared me, but thanks to you, ;D I make a very colorful build of HFS, fortunately, with a few different letters, I could make a build of HFS, completely crazy!  ;D ;D ;D
Title: Re: Testing build #203
Post by: doc on September 23, 2008, 10:13:03 PM
'No download' function is not working
Title: Re: Testing build #203
Post by: death1246 on September 24, 2008, 02:15:15 AM
'No download' function is not working


Only reason I came to say something Thats a big function and its not working now :(
Title: Re: Testing build #203
Post by: r][m on September 24, 2008, 05:06:00 AM
Not able to add No Download, but it's working on folders
that it was already enabled on.
Title: Re: Testing build #203
Post by: rejetto on September 24, 2008, 11:03:49 AM
yes, you can't change it. it's a bug.
it will be fixed in next build, promised.
Title: Re: Testing build #203
Post by: doc on September 24, 2008, 05:57:19 PM
Menu item 'List protected items only for allowed users' is unchecked, but protected folder stay invisible for guest-account
Title: Re: Testing build #203
Post by: rejetto on September 24, 2008, 08:35:57 PM
it works normally for me.
can you provide me a vfs file to test?
Title: Re: Testing build #203
Post by: doc on September 25, 2008, 08:54:01 PM
I create a new .vfs, and now all works fine. Thanks.
Title: Re: Testing build #203
Post by: Mars on September 28, 2008, 09:47:42 PM
Quote
Not able to add No Download, but it's working on folders
that it was already enabled on.

Quote
yes, you can't change it. it's a bug.
it will be fixed in next build, promised.

I toiled a lot but I eventually found the bug

Quote
function setDLforbidden(f:Tfile; childrenDone:boolean; par, par2:integer):TfileCallbackReturn;
begin
result:=[];         //add by mars
if (FA_DL_FORBIDDEN in f.flags) xor boolean(par) then VFSmodified:=TRUE else exit ;
if boolean(par) then exclude(f.flags, FA_DL_FORBIDDEN)
else include(f.flags, FA_DL_FORBIDDEN);
end; // setDLforbidden

ADD ON
main.dfm
Quote
object Letbrowse1: TMenuItem
      Caption = 'Browsable'
      SubMenuImages = images
      object LetbrowseSubFolders1: TMenuItem
        Caption = 'Selection + SubFolders'
        ImageIndex = 8
        OnClick = LetbrowseSubFolders1Click
      end
      object LetbrowseSelection1: TMenuItem
        Caption = 'Selection only'
        ImageIndex = 6
        OnClick = LetbrowseSelection1Click
      end
    end

    object Nodownload1: TMenuItem
      Caption = 'No download'
      object NodownloadSubFolders1: TMenuItem
        Caption = 'Selection + SubFolders'
        ImageIndex = 8
        OnClick = NodownloadSubFolders1Click
      end
      object NodownloadSelection1: TMenuItem
        Caption = 'Selection only'
        ImageIndex = 6
        OnClick = NodownloadSelection1Click
      end
    end

main.pas in Tmainfrm
Quote
.......
    LetbrowseSelection1: TMenuItem;   
    LetbrowseSubFolders1: TMenuItem;
    NodownloadSelection1: TMenuItem;
    NodownloadSubFolders1: TMenuItem;
......
    procedure LetbrowseSelection1Click(Sender: TObject);
    procedure LetbrowseSubFolders1Click(Sender: TObject);
    procedure NodownloadSelection1Click(Sender: TObject);
    procedure NodownloadSubFolders1Click(Sender: TObject);
  private .....

main.pas
Quote
implementation
.........
procedure TmainFrm.LetbrowseSelection1Click(Sender: TObject);     
begin
fileMenuSetFlag(Letbrowse1, FA_BROWSABLE, @Tfile.isRoot,TRUE);
end;

procedure TmainFrm.LetbrowseSubFolders1Click(Sender: TObject);   
begin
Letbrowse1Click(Letbrowse1);
end;

procedure TmainFrm.NodownloadSelection1Click(Sender: TObject);   
begin
fileMenuSetFlag(Nodownload1, FA_DL_FORBIDDEN, @Tfile.isRoot,TRUE);
end;

procedure TmainFrm.NodownloadSubFolders1Click(Sender: TObject);
begin
Nodownload1Click(Nodownload1);
end;


procedure TmainFrm.SelfTest1Click(Sender: TObject);
const


This simple addition allows the user to activate elements "browsable" and "no download" in a way, recursive or individual, without losing the previous appearance of the menus.

If rejetto agree to incorporate it into the next build, it will be a good thing in more.
Title: Re: Testing build #203
Post by: letterboy on September 29, 2008, 03:50:50 AM
Maybe use for Archivable too! Sometimes i don't want the users to download my whole folder at once , i want them to archive my subfolders only.
Title: Re: Testing build #203
Post by: rejetto on September 29, 2008, 12:52:44 PM
This simple addition allows the user to activate elements "browsable" and "no download" in a way, recursive or individual, without losing the previous appearance of the menus.
If rejetto agree to incorporate it into the next build, it will be a good thing in more.

about the "browsable", i personally don't think that the non-recursive way is a common action deserving a menu item (we have menu length problems). But if people think it's common, just post your opinion.

About the "no download", i have some doubt about its current form, that it's available only files and real folders. I would like to hear from someone using this feature, to know how it would design it.
Title: Re: Testing build #203
Post by: rejetto on September 29, 2008, 12:57:20 PM
Maybe use for Archivable too! Sometimes i don't want the users to download my whole folder at once , i want them to archive my subfolders only.

at the moment the solution is to
1. remove archivable from the main folder
2. select the subfolders, then add archivable

that means if you add a new subfolder later, you will have to set the archivable for it.
mars' suggestion is not what you are asking, but just something vaguely similar.
Title: Re: Testing build #203
Post by: AlexPebody on October 16, 2008, 03:41:02 AM
download @ www.dovedove.it/hfs/hfs203.exe

what's new
+ Options -> MIME types -> "Open directly in browser when MIME type is defined"
+ Options -> Accounts -> new "upload" box preview
+ Options -> Tray message -> new preview box 
+ Menu -> Other options -> "Edit event scripts..."
+ event scripts: new [start] [quit] [upload failed]
- "Hide file extension" broken in build #202   


Hi!
In beta 203 hfs,
function "NO Download" in virtual file system is NOT WORKING!
Title: Re: Testing build #203
Post by: rejetto on October 16, 2008, 08:20:14 AM
i know, it was fixed in 204.
the last one is 208. please download always the last version.