Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Pусский / Re: Шаблон для HFS puro
« Last post by sergeysrnd on March 25, 2019, 01:14:05 PM »
Было бы круто сделать загрузку файлов и удаление. А так всё ништяк
12
Beta / Re: version 2.4 - several bugs
« Last post by LeoNeeson on March 25, 2019, 08:38:23 AM »
"Switch On" and "Switch Off" button is reversed
I can confirm this bug! It was introduced on hfs24b6.exe (hfs24b5.exe had this function working correctly). If you look carefully, the icon shows the correct function, meanwhile the text is wrong. I guess this happened to Rejetto when doing some automatic 'search and replace' on the source code, without looking if every replaced instance was the correct (it's something common, that it could happen to anyone).

could not reproduce the bug with Anonymous, 
This is VERY weird! I'm pulling my hairs trying to reproduce the error, but now the bug is not coming back, neither using {.!Anonymous.} or {.!anonymous.}. There must be something with some specific configuration I had, but now I can't reproduce this error anymore (is crazy!). :o

I've saved a screenshot yesterday (just in case), but anyway the bug was not important, since it only was on the template (on client side), not on the HFS program (not on the server side, because the file gets renamed successfully anyway).

This was the error shown (see screenshot):
Code: [Select]
Error: {.break|result=bad session}
ok

But on the logs everything was normal:
Code: [Select]
19:42:22 127.0.0.1:2737 Requested GET /
19:42:25 127.0.0.1:2739 Requested GET /?mode=jquery
19:42:34 127.0.0.1:2740 anonymous renamed "/folder/SomeFile1.gif" to "SomeFile2.gif"

This error happened with some folder having the 'Hidden' flag, and the 'Upload' setting to 'Anyone'. Anyway, this error can't be reproduced anymore (but yesterday was solved only if {.!anonymous.} in lower case was used).



But I've found another interesting things (two possible small bugs):

CASE 1) If you have an empty 'hfs.ini', that file is IGNORED and the settings are saved directly on the registry (the file 'hfs.ini' is deleted on exit, and the account 'can change password' is created normally). Expected behavior: save all the settings on that empty 'hfs.ini'.

CASE 2) If you have a 'hfs.ini' file with a minimal content (like a simple 'space' character, or containing a word like 'HFS' at start), the file is recognized and used to save the settings there (the registry is not used), and if you already have a 'hfs.tpl' along with the 'hfs.exe' file, HFS is NOT creating the default account 'can change password' (if there is no 'hfs.tpl' file, the account 'can change password' is created normally. Expected behavior: the account 'can change password' should be created and saved on the 'hfs.ini' file on this specific scenario (also the settings should be saved in a file, if an empty 'hfs.ini' file is found).

I hope this could be easily fixed... :-\

Keep in touch if you need more details.
Cheers,
Leo.-
13
HFS ~ HTTP File Server / Re: Donate your Time for translate
« Last post by LeoNeeson on March 25, 2019, 08:22:23 AM »
No worries for the time you spend translating HFS ... No one is in a hurry here. :)
You can also change your mind, and decide not to do it ... no one will blame you.
:)

You may be able to help you with the English default.po file contained in the zip sources.
Yes, I'm using the English default.po (from the zip sources) as my MAIN source of reference, because sadly I don't understand French language (your original French text will be still used as a secondary reference, but with the help of online translators). This is what slows down the entirely process of translation (because I need to double-check every entry is correct in both languages: English and French).

Especially since I do not facilitate the task of translators with my sources strings in "French de-accented" and very little commented.  :-[
I guess other users will have the same problem, since they may think they have to translate directly from French, but they don't have in mind that they could use the English default.po as reference. If someone else reading this wants to translate to Italian, could take note of this tip... ;)

PS: Has the executable I posted run in Spanish on your system by default
(at first run if your Windows OS is setled on Spanish locale) ?
Yes! :) As soon as I start your executable, it runs in Spanish by default (and my Windows OS is configured in Spanish locale).

And about my Spanish translation, don't worry about local idiomatic, since my translation will be as neutral as possible, so it could be used by any Spanish-speaking country. And when I finish my translation to Spanish, I will post a message in the Spanish forum to have feedback from other users. Anyway, I've already done another translation to Spanish (here), and I didn't received any complains about local Spanish idiomatics (so, to keep things simple, I don't think is necessary to add es_ES, es_PY, es_AR, es_MX, es_UY, etc, the same as currently there is no en_US or en_CA). ;)

Cheers,
Leo.-
14
HTML & templates / Re: Simple contact template
« Last post by LeoNeeson on March 25, 2019, 07:58:56 AM »
What is the final file?
Hi Sergio!. You can choose any file posted on my first post (since those are 'final' stable versions). I didn't have the time to release a quality tested version 2.0, but it will come on the future for sure (yet, I don't have plans to work on this on the near future).

Currently, I recommend you to use this 'Simple-Contact_v1.0a-Macro-Method.zip'. Usage is very simple: you simply create a 'real folder' named "contact", and then copy there the file 'hfs.diff.tpl' (from the .zip file), and it's all ready to use. It has been tested to be working fine, without bugs. If you have any other doubts, feel free to open a question in the Spanish section of the forum (and I will help you there). :)

Cheers,
Leo.-
15
Beta / Re: version 2.4
« Last post by Mars on March 25, 2019, 12:33:04 AM »
could not reproduce the bug with Anonymous, 
Quote
[]
{.$common-head.}
   <title>{.!HFS.} %folder%</title>
   {.add to log|{.if|%user%|{.!User.} %user%|{.!Anonymous.}.} {.!renamed.} "{.^x.}" {.!to.} "{.^yn.}".}
    <script type="text/javascript" src="/?mode=jquery"></script>

01:30:21 127.0.0.1:1567 Got 397 bytes
01:30:22 127.0.0.1:1567 Anonymous renamed "" to ""
01:30:22 127.0.0.1:1567 Requested GET /
16
Beta / Re: version 2.4 - bug
« Last post by SilentPliz on March 24, 2019, 11:38:08 PM »
"Switch On" and "Switch Off" button is reversed

Not verified, I remember (I hope):  :)

Switch ON .... Proposes to turn ON the server, so it's currently OFF.

Switch OFF .... Proposes to turn OFF the server, so it's currently ON.

It's like a switch: turn off when it's on; turn on when it's off.
17
HTML & templates / Re: Simple contact template
« Last post by bmartino1 on March 24, 2019, 08:04:10 PM »
For witch one? I put this project aside I could fox the various bugs here and there...

Macro-Method = Using Form + Macros (without needing upload permissions)
XML-Method = Using XMLHttpRequest (needs upload permissions to anyone)
EML-Email = Same as XML-Method, but it saves in .eml format instead of .txt

Either pull from the first post on here by leo or go to my post with detail and code change (adds validation).
18
HTML & templates / Re: Simple contact template
« Last post by sergio on March 24, 2019, 05:30:01 PM »
What is the final file?
19
HFS ~ HTTP File Server / Re: Donate your Time for translate
« Last post by SilentPliz on March 24, 2019, 10:21:08 AM »
Cool ! (my turn) ;)

Thank you for answering to my call so quickly ...
I'm not so surprised, I see in your posts on the forum that you are always ready to
help for everything related to HFS.

This is good news for me your message.

No worries for the time you spend for translating HFS ... No one is in a hurry here. :)
You can also change your mind, and decide not to do it ... no one will blame you.

Especially since I don't facilitate the task of translators with my sources strings in
"French de-accented" and very little commented.  :-[

You may be able to help you with the English default.po file contained in the zip sources.

In any case do not hesitate to contact me here or by e-mail for any questions.

Thanks


PS: Has the executable I posted run in Spanish on your system by default
(at first run if your Windows OS is setled on Spanish locale) ?

The * .po file is set to es_ES which is the spanish language of Spain.
This can be changed possibly by a more precise setting concerning the country also using the Spanish language, but with idiomatics or some expression differences.

e.g:   es_PY for Paraguay

If es_ES does not cause a problem to be correctly recognized by "locale Windows" as much as to keep only one translation file for the Spanish language.
20
Beta / Re: version 2.4
« Last post by SilentPliz on March 24, 2019, 09:12:36 AM »
This line needs to be replaced:
With this correct line:
(By the way, talking about macro syntax, I'm curious to know why "%user%|{.!User.}" is working fine without giving an error, but "%user%|{.!Anonymous.}." throws an error, being that both values are on the same place).

Hi !

Try anonymous in place of Anonymous
Case sensitive (?)

Edit :  post deleted by mistake.  Restored here. I'am much better.  :o

Pages: 1 [2] 3 4 ... 10