rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on November 15, 2007, 06:26:05 AM

Title: Testing build #144
Post by: rejetto on November 15, 2007, 06:26:05 AM
download @ www.dovedove.it/hfs/hfs144.exe

what's new
+ new macros engine
+ Options -> Accounts -> "After login, redirect to"
- AV with F2 on the accounts box when no account is selected
- fixed some other template problems introduced in build #142
- sorting not working in a search
Title: Re: Testing build #144
Post by: TSG on November 15, 2007, 06:34:47 AM
Yay. I'm playing now.
Title: Re: Testing build #144
Post by: Foggy on November 15, 2007, 06:35:19 AM
I like how the default template works now. Is that done by hfs/macros and not javascript.
Title: Re: Testing build #144
Post by: TSG on November 15, 2007, 06:51:56 AM
I was talking to rejetto earlier, its an entirely CSS menu. And ye there is a lot of macro's happening :)
Title: Re: Testing build #144
Post by: forthehandyman on November 15, 2007, 06:56:02 AM
Using HFS Live 2 template and build 144, connection hangs with HFS replying...  The page never opens.  Any ideas?  Worked perfectly with builds 143 and earlier.  It's strange because the default template, Terayon, and TOG all work perfectly.
Title: Re: Testing build #144
Post by: Foggy on November 15, 2007, 07:00:05 AM
did you try refreshing the page?

You might want to head over to this topic and post any details you think might be useful.
http://www.rejetto.com/forum/index.php?topic=5154.0 (http://www.rejetto.com/forum/index.php?topic=5154.0)
Title: Re: Testing build #144
Post by: jerome on November 15, 2007, 07:40:00 AM
144 don't work for me

it show a nice blank windows
and it killed my version143.exe

refresh make nothing on it

a old versions download link should be great to repair ( i have found an old 141 only )
or a 145 one...
thank you
Title: Re: Testing build #144
Post by: jerome on November 15, 2007, 07:45:37 AM
I have found the links in the all versions forum i will repair it. a message post editor should be great.
Title: Re: Testing build #144
Post by: Foggy on November 15, 2007, 08:08:09 AM
jerome what template are you using? do you still get a white screen with a different template? Does it say replying in the connections frame of hfs when this happens?
Title: Re: Testing build #144
Post by: TCube on November 15, 2007, 09:01:50 AM
Note : I do not know if this will be helpfull ... I’ll double check this evening.

Trying : "After login, redirect to"

I get “no file found” whatever customization : real folder, virtual folder, real Ip/no Ip urls, password/no password, diff.template ... anyway the new file set up for “redirect to” is not found with the “search function” .

Keeps replying :

Whenever a modification is made into “Account” for a specific folder under #143 that modif. will bug that specific folder under #144 (“keeps replying”). All others unmodified accounts working fine with the right access

TCube

Title: Re: Testing build #144
Post by: Mars on November 15, 2007, 10:39:27 AM
addon to build 145
change with 'page' address line operator   
?page=mm dont work alone, correct usage must be ?page=mm&limit=nn

I think that this syntax would be more suited

?page=mm,nn  as ?offset=pp&limit=nn     (pp=mm*nn)
it's more compact.

New template help file attached (missing some symbols)
Title: Re: Testing build #144
Post by: jerome on November 15, 2007, 04:35:36 PM
Quote
jerome what template are you using? do you still get a white screen with a different template? Does it say replying in the connections frame of hfs when this happens?

Does it say replying = Yes
what template are you using?= The Original one + Metadata customised And renamed
i have only changed default colors and dimensions
no other modif

it auto load with this template.i will check to place it in another place ( when the server will be free of use )

i hope we will not have to write new ones at every update.
143 is working for me so i use it

Title: Re: Testing build #144
Post by: kpuk on November 15, 2007, 04:37:52 PM
rejetto, can you anytime do that with <div id=folder>%folder%</div> may be fast folder switch (%folder% use as link)
example:
now: /library/books/scientific
i wish: /<a href="%host%/library">library</a>/<a href="%host%/library/books">books</a>/<a href="%host%/library/books/scientific">scientific</a>
Title: Re: Testing build #144
Post by: rejetto on November 15, 2007, 04:59:33 PM
Does it say replying = Yes
what template are you using?= The Original one + Metadata customised And renamed
i have only changed default colors and dimensions

i tried to load the original tpl of build #134 into build #144, and it works.
version 2.3 intends to be compatible with templates working since version 2.0
if you want to help us inquiring your problem (otherwise the problem may last in future versions), launch build 144, click "Temporarily reset options" and see if it works.
Title: Re: Testing build #144
Post by: rejetto on November 15, 2007, 05:00:16 PM
rejetto, can you anytime do that with <div id=folder>%folder%</div> may be fast folder switch (%folder% use as link)

it was planned in my mind but i forgot to insert it in the to-do-list
Title: Re: Testing build #144
Post by: TSG on November 15, 2007, 05:13:23 PM
rejetto, can you anytime do that with <div id=folder>%folder%</div> may be fast folder switch (%folder% use as link)

it was planned in my mind but i forgot to insert it in the to-do-list

We have a javascript that achieves this in the ToG and Terayon. Would be nice if HFS could do it tho :) one less thing the javascript has to do. The terminology is Breadcrumbs...

I must sleep. Cya's.
Title: Re: Testing build #144
Post by: forthehandyman on November 15, 2007, 06:05:12 PM

i tried to load the original tpl of build #134 into build #144, and it works.
version 2.3 intends to be compatible with templates working since version 2.0
if you want to help us inquiring your problem (otherwise the problem may last in future versions), launch build 144, click "Temporarily reset options" and see if it works.

I hope this doesn't mean that from build #144 on, I will not be able to use the HFS Live 2 template anymore. 

Even with my limited programming skills, I know that template's code is buggy, but I have been able to make most of the features work on my own.  Now, with build #144, I get stuck with HFS connection stuck in replying..., and after a 60 second timeout, it drops the connection attempt and I end up with my browser showing what I will affectionately call the "white screen of death".  I have tried using the temporary reset, and every other trick in the book that I can think of, but nothing has worked.  It appears as if HFS at least momentarily receives incoming data when I try to connect to my site, but there is never any data/connections going out from HFS.

This has only started happening since build #144.  Like I said in my previous post, http://www.rejetto.com/forum/index.php?topic=5208.msg1029695#msg1029695 (http://www.rejetto.com/forum/index.php?topic=5208.msg1029695#msg1029695), this is the only template I have problems with in this build, but HFS Live 2 has worked with every build previous since it came out.  I have posted in the thread that Foggy suggested, http://www.rejetto.com/forum/index.php?topic=5154.msg1029699#msg1029699 (http://www.rejetto.com/forum/index.php?topic=5154.msg1029699#msg1029699), but have not seen anyone in there in days.

Any help or suggestions would be greatly appreciated.  Please let me know if there is any additional information that you need from me.  Thank you.

JEFF
Title: Re: Testing build #144
Post by: rejetto on November 15, 2007, 06:22:36 PM
that reply was for jerome only, who said he is using the "original" template.
i didn't start working on the Live problem yet, be patient. it will probably last for a week, because i won't be home for 5 days.
Title: Re: Testing build #144
Post by: forthehandyman on November 15, 2007, 06:28:01 PM
Ok, sorry to sound impatient.  Didn't really mean it to come across that way.  I can wait. 

By the way, I really do love this program that you have created. 

JEFF
Title: Re: Testing build #144
Post by: Mars on November 15, 2007, 06:40:26 PM
To kpuk :

http://www.rejetto.com/forum/index.php?topic=5208.msg1029725#msg1029725

the solution exist  (source from HFS Terayon v1.2.1.tpl)
insert in your template

Quote
<head>
..
<script type="text/javascript">
<!--
//Browse-able folder tree script
function browseAbleFolderTree(folder) {
var infoFolder=folder;
var path=folder.split("/");
var pathTree="/";
var pathTreeResult="/<a href='/' >Home</a>";
for(pta=1;pta<path.length;pta++)
   {
   pathTree=pathTree+path[pta]+"/";
   pathTreeResult=pathTreeResult +'/<a href="'+pathTree+'" class=\"swapDir\">'+path[pta]+'</a>';
   }
document.write(pathTreeResult);
}
-->
</script>
..
</head>

<body>
..
<script type="text/javascript">
<!--
      browseAbleFolderTree("%folder%");
-->
</script>
..
</body>
Title: Re: Testing build #144
Post by: rejetto on November 15, 2007, 07:03:23 PM
yes, i know that solution of course
Title: Re: Testing build #144
Post by: Giant Eagle on November 15, 2007, 07:04:28 PM
Yes, you can either use mars' version or use this more compacter one:

Code: [Select]
function bCrumbs(Fldr) {
x="/";
y=Fldr.split(x);
bCt="/ <a href='/' >Home</a>";
for(z=1;z<y.length-1;z++) {
x=x+y[z]+"/";
bCt=bCt+' / <a href="'+x+'">'+y[z]+'</a>';
}
document.write(bCt);
}
Title: Re: Testing build #144
Post by: KalleB on November 15, 2007, 09:41:02 PM
Rejetto: search still not working right when I use my old VFS file...sent you e-mail about it.
Title: Re: Testing build #144
Post by: Mars on November 15, 2007, 09:44:56 PM
'search' work fully with HFS version 2.3 beta 144 and his template, vfs file will not interfere
Title: Re: Testing build #144
Post by: rejetto on November 15, 2007, 10:06:30 PM
i got your problem.
you are using file masks for at least the mp3 folder.
the search is not currently compatible with such feature since it overlaps it.
anyway i think must be solved, but you have to wait.

mars, the problem was perfectly reproducible with his VFS.
Title: Re: Testing build #144
Post by: Mars on November 16, 2007, 12:50:30 AM
just an example to argumente

in main I use {{section|mysection}} to include mysection where i like to see it...


[mysection]
your name is {{if|%user%|%user%|Anonymous}}

mysection is included but {{if|%user%|%user%|Anonymous}} is not evaluate

problem can be correct like for 
Quote
// apply 3 times the table because symbols can generate symbols


Quote
...
      result:=diffTpl[''];
      if conn.state = HCS_DISCONNECTED then exit;
      // apply 3 times the table because symbols can generate symbols
      result:=x_template(result, table);
      result:=x_template(result, table);
      applySequential();
      md.cd:=conn.data;
      md.tpl:=diffTpl;
      md.folder:=folder;
      result:=applyMacros(result, cbMacros, @md);
      result:=x_template(result, table);
      result:=x_template(result, [
        '%build-time%', floatToStrF((now()-buildTime)*SECONDS, ffFixed, 7,3)
      ]);
...

main.pas modified

Quote
...
      result:=diffTpl[''];
      if conn.state = HCS_DISCONNECTED then exit;
      // apply 3 times the table because symbols can generate symbols
      result:=x_template(result, table);
      result:=x_template(result, table);
      md.cd:=conn.data;
      md.tpl:=diffTpl;
      md.folder:=folder;
      result:=applyMacros(result, cbMacros, @md);
      result:=x_template(result, table);
//
      result:=applyMacros(result, cbMacros, @md);
      result:=x_template(result, table);
      applySequential();
      result:=x_template(result, [
        '%build-time%', floatToStrF((now()-buildTime)*SECONDS, ffFixed, 7,3)
      ]);
...

tested and work perfectly


Title: Re: Testing build #144
Post by: SilentPliz on November 16, 2007, 02:46:57 AM
Good evening,

I have a little problem:

I try to translate version 2.3 # 144, but with the new template I cannot, in the drop-down menu, put the text on more than one line.

Anyone know how to solute this ?

Under IE 6 it is OK, under Firefox nothing to do.

Thank you for answering.
Title: Re: Testing build #144
Post by: kpuk on November 16, 2007, 07:38:48 AM
mars, Giant Eagle, rejetto - Thanks You ALL

add:
In rev. 144 i see that order of icon change after hfs restarting!
I discover that whaen set ~img51 for Link "Play Online". After restart hfs that icon placed at number 49, after next restart other, etc.
Title: Re: Testing build #144
Post by: Gast on November 16, 2007, 02:19:28 PM
Hello,

what about

<link rel="stylesheet" href="/~style.css" type="text/css" />
<link rel="stylesheet" href="/~style.menu.css" type="text/css" />

in default-Template? For me this new default-Template neither works in Firefox nor in Internet-Explorer. What I'm doing wrong?

Goodbye
Title: Re: Testing build #144
Post by: TSG on November 16, 2007, 02:48:16 PM
mars, Giant Eagle, rejetto - Thanks You ALL

add:
In rev. 144 i see that order of icon change after hfs restarting!
I discover that whaen set ~img51 for Link "Play Online". After restart hfs that icon placed at number 49, after next restart other, etc.

You are not using a default icon, but an icon of a filetype on your pc. This cannot be fixed unless rejetto can make this list static.
Title: Re: Testing build #144
Post by: Giant Eagle on November 16, 2007, 04:22:45 PM
Hello,

what about

<link rel="stylesheet" href="/~style.css" type="text/css" />
<link rel="stylesheet" href="/~style.menu.css" type="text/css" />

in default-Template? For me this new default-Template neither works in Firefox nor in Internet-Explorer. What I'm doing wrong?

Goodbye

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

what's new
- fixed some other template problems introduced in build #142


seems like that it isnt working for you, try to remove the entire doctype. Atleast that solved it in Build 142.
Title: Re: Testing build #144
Post by: Dogge on November 17, 2007, 12:18:15 AM
Just tried the 2.3 b144 beta to see if it solved my 300~kB/s per download and it didnt, but I found a new entry in the "other options menu" which is "experimental high speed handling". This fixed it, but hfs doesnt remember that setting so I need to re enable it to fix my upload speed issue after a restart. I've manually saved it several times and still no go..
Thnx in advance!
//dogge
Title: Re: Testing build #144
Post by: Foggy on November 17, 2007, 04:05:39 AM
by memory that setting wasn't saved because it is infact experimental. I tried to find the thread about it but had no luck.
Title: Re: Testing build #144
Post by: TSG on November 17, 2007, 04:06:15 AM
It's nice to know the new option is having an effect, rejetto will let it save in 145 im sure.
Title: Re: Testing build #144
Post by: Tuskenraider on November 17, 2007, 05:19:17 PM
download @ www.dovedove.it/hfs/hfs144.exe

what's new
+ Options -> Accounts -> "After login, redirect to"

fantastic!!!!!!!!!!!!! love this option!!!!!  lol i dont know how i lived with out it before!!!! 

thanks again rejetto!

tuskenraider
Title: Re: Testing build #144
Post by: Guest on November 17, 2007, 07:00:00 PM
+ Options -> Accounts -> "After login, redirect to"
Doesn't work here at all.
Folder in root as  Server/Transfers should redirect user to Transfers.
User enters Server as before? Log shows "Requested GET /Server/".
I feel like I'm missing something simple here, but no idea what.
Suggestions, or example, anyone ?
Title: Re: Testing build #144
Post by: Mars on November 17, 2007, 09:05:21 PM
+ Options -> Accounts -> "After login, redirect to"

it is an automatic redirect link just after a user identify itself by login and pass

you can define redirect to a specific user folder or an external web link

if you define by example an account (login=guest;pass=guest) you can redirect him to a special template in a folder (see usage of hfs.diff.tpl)...
Title: Re: Testing build #144
Post by: KalleB on November 19, 2007, 02:09:15 PM
Bug (or just a beta feature?): "Links before" state not saved when closing.
Title: Re: Testing build #144
Post by: rejetto on November 21, 2007, 09:10:20 PM
Live 2 will work correctly in next build
Title: Re: Testing build #144
Post by: forthehandyman on November 21, 2007, 11:34:40 PM
Live 2 will work correctly in next build

Awesome!  You're the best, Rejetto!  Now if I can just figure out how to get more of the code from Terayon and TOG (for playing MP3's and AVI's) instituted in Live 2, I'll be set.  ???

JEFF
Title: Re: Testing build #144
Post by: Giant Eagle on November 22, 2007, 08:52:42 PM
Small bug:

When the message "You are invited to use a newer build" appeared, the tray kept adding those transfer icons. Just like if disconnected connections werent removed from the tray.
Title: Re: Testing build #144
Post by: rejetto on November 23, 2007, 06:35:16 PM
When the message "You are invited to use a newer build" appeared, the tray kept adding those transfer icons. Just like if disconnected connections werent removed from the tray.

i don't understand.
while that dialog is up, HFS is still working, and so icons may appear. what's wrong with it?
Title: Re: Testing build #144
Post by: rejetto on November 24, 2007, 07:19:43 PM
Bug (or just a beta feature?): "Links before" state not saved when closing.

i saw only now your post, and it is working in the current #145
Title: Re: Testing build #144
Post by: rejetto on November 24, 2007, 07:29:19 PM
tuskenraider moved to www.rejetto.com/forum/?topic=5271.0