rejetto forum

Testing build #203

rejetto · 18 · 14141

0 Members and 1 Guest are viewing this topic.

Offline rejetto

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


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
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
« Last Edit: September 18, 2008, 03:05:17 PM by mars »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ok fixed
but i doubt anyone would have suffered this bug ;)


Offline Mars

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


Offline SilentPliz

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

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
« Last Edit: September 19, 2008, 11:08:25 AM by SilentPliz »


doc

  • Guest

Offline death1246

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
    • ForumW
'No download' function is not working


Only reason I came to say something Thats a big function and its not working now :(


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
Not able to add No Download, but it's working on folders
that it was already enabled on.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
yes, you can't change it. it's a bug.
it will be fixed in next build, promised.


doc

  • Guest
Menu item 'List protected items only for allowed users' is unchecked, but protected folder stay invisible for guest-account


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
it works normally for me.
can you provide me a vfs file to test?


Offline doc

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
I create a new .vfs, and now all works fine. Thanks.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
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.
« Last Edit: September 29, 2008, 01:27:28 PM by mars »


Offline letterboy

  • Occasional poster
  • *
    • Posts: 34
    • View Profile
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.


Offline rejetto

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