rejetto forum
Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on February 19, 2009, 02:57:32 AM
-
so much to do, so little time.
i tried to update template macros documention. it should include everything (except symbols and events).
download @ www.dovedove.it/hfs/hfs224.exe
what's new
+ new template macro: pos, var length
+ new parameters 'include' and 'case' for {.substring.}
+ new template symbol: %bread-idx%
+ new event script: [download name] www.rejetto.com/forum/?topic=6657
+ by specifying [+section] instead of [section], the new text will not overwrite a previously existing [section] but will be appended
* {.substring.} is now case insensitive by default
* no more {.trunc.} use {.substring||.|number.} instead
- {.time.} broken in build #223
-
so dedicated,
Thank you
-
i forgot to specify this additional news
+ by specifying [+section] instead of [section], the new text will not overwrite a previously existing [section] but will be appended
editing now
-
i forgot to specify this additional news
+ by specifying [+section] instead of [section], the new text will not overwrite a previously existing [section] but will be appended
editing now
Cool :o :o :o
-
crazy boris moved to http://www.rejetto.com/forum/index.php?topic=6681.0
-
ok.. so far so good.... the previous two version were uneventful for me.... the only big issue with me is how it handles streaming vid requests.. only in this version.. no one had trouble connecting.. they said the feed was slower.. but it worked...
also noticed that #224 is listig connection differently now.... I like it this way.. where its showing het login ID and all the related threads are listed under the login ID.. this is MUCH better.. it was crazy the other way around where they would all be inter mixed.. now I can see which thread is which
-
HFS 224 is bad, it is impossible to install a template.
-
HI
I'm new in this forum.
I like hfs very much but this build gives me an error when i try to change the template file.
The build #223 is OK
I have attached the log file.
Have a nice day :).
-
I did some testing with different templates, it seems to be the RAWR template which causing these errors cited above.
Perhaps also other templates, but I have not tested all templates. :o
default.tpl is OK
Mine are OK
-
The culprit in the RAWR TPL is in this section: ;)
[special:import]
{.add folder|real|template.}
{.set item|/template|hide.}
{.set item|/template|no log.}
{.dialog|
Thank you for installing RAWR-Template!
- Please ensure the 'template' folder imports to the top level of your HFS server.
- If it doesn't, maybe you didn't import the template from beside the hfs.exe.
- Please ensure you are using the latest Beta with RAWR-Designs templates.
.}
Installed manually and without this section ... everything is OK.
-
mars macro discussion moved to
http://www.rejetto.com/forum/index.php?topic=6683.0
archive discussion moved to
http://www.rejetto.com/forum/index.php?topic=6685.0
-
A bug, perhaps related to the messages above.
Template HTML menu > Restore default does not refreshed... the menu is still active.
We must save the options and reload hfs for applied it.
Edit: The reverse is also true ... load a different template ... restore default option is still grayed out.
-
i'm sorry guys, i will soon publish 225 fixing this template problem
-
The bug told by silentpliz comes since this post
BUILD 223
Rejetto. This method checks if the external template file has changed? Am I right? So, why dont to check in that time when a request arrives to the server from a user?
-
also noticed that #224 is listig connection differently now.... I like it this way.. where its showing het login ID and all the related threads are listed under the login ID.. this is MUCH better.. it was crazy the other way around where they would all be inter mixed.. now I can see which thread is which
i don't remember having touched that...
i know it can be largely improved
-
The bug told by silentpliz comes since this post
BUILD 223
Rejetto. This method checks if the external template file has changed? Am I right? So, why dont to check in that time when a request arrives to the server from a user?
you are right. i decided to give up with it, and just make the check once per second. ;)
-
i'll try to publish 225 before i go bed, but not sure.
i have to finish the archive selection.
i will now watch a film with my girlfriend now.
;)
-
i make a come back to this bug
hfs.ini in sources
tpl-file=hfs.tpl
tpl-editor=C:\Programmi\PSPad editor\pspad.exe
delete-dont-ask=no
To by-pass this type of probleme, it is enough to modify the following procedure
function getTplEditor():string;
begin
result:=or_([
if_(fileExists(tplEditor),nonEmptyConcat('"', tplEditor, '"'),''),
// nonEmptyConcat('"', tplEditor, '"'),
loadregistry('SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe', '', HKEY_LOCAL_MACHINE),
'notepad.exe'
])
end;
This other version obliges to correct therecorded but not found editor.
function getTplEditor():string;
begin
if (tplEditor>'') and not fileExists(tplEditor) then
begin
msgdlg('TPL Editor not found, select another one or correct the path of '+CRLF+tpleditor, MB_ICONWARNING,'EDITOR NOT FOUND');
mainfrm.ChangeEditor1Click(NIL);
end; result:=or_([
nonEmptyConcat('"', tplEditor, '"'),
loadregistry('SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe', '', HKEY_LOCAL_MACHINE),
'notepad.exe'
])
end;
My preference goes for this second version, because it facilitates those who have neither notepad ++, nor notepad
;)
-
you are right. i decided to give up with it, and just make the check once per second.
Having made some small searches, a reffreh all the seconds does not seem necessary, the additions in two macro following ones give satisfaction
procedure TmainFrm.Changefile1Click(Sender: TObject);
begin
if selectFile(tplFilename, 'Change template file', 'Template file|*.tpl', [ofPathMustExist, ofCreatePrompt]) then
setNewTplFile(tplFilename);
keepTplUpdated(); //mars
end;
--------------
procedure TmainFrm.Restoredefault1Click(Sender: TObject);
begin
if msgDlg('Continue?', MB_ICONQUESTION+MB_YESNO) = MRNO then exit;
tplFilename:='';
tplLast:=-1;
setStatusBarText('The template has been reset');
keepTplUpdated(); //mars
end;
Rejetto, by pity, say I that for once I am 100 % in the truth ;)
-
if_(fileExists(tplEditor),nonEmptyConcat('"', tplEditor, '"'),'')
i like it, but this version.
i don't think it's worth to warn the user, his attention will be catched anyway when he sees a different editor than the expected one, but the functionality will remain (an editor is running and he can edit).
-
you are right. i decided to give up with it, and just make the check once per second.
Having made some small searches, a reffreh all the seconds does not seem necessary, the additions in two macro following ones give satisfaction
that's exactly what i did at first. my decision came later.
i disliked it: the call must be in so many places, it's against a good design principle, it makes the code harder to maintain.
if you must, you do, but if you can avoid is better.
so i decided that a call every second is not hurting anyone, and i prefer it.
There are many truths, and some are more convenient than others. :)
-
just caught up with all the posts on this... and I never had any trouble withe RAWR template.. of course.. I am still using TOG 3.0 ...... the newer ones don't have the login option
so there might bea specific dif in how HFS handles the code between teh two