Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mars

Pages: [1] 2 3 ... 123
Hello man

you have certainly had to write your message from an android tablet because a good part of the words remains incomprehensible
if you could take over the correction of the text so that it is more coherent,

thank you in advance

HFS ~ HTTP File Server / Re: User Database - Restore how?
« on: May 08, 2019, 04:57:17 PM »
When loading a vfs, any non-existent account loses the associated permissions, they are deleted without warning, it is absolutely necessary to keep the existing authorizations otherwise all the restricted files and directories become accessible for all,

 the ideal would be to be able automatically to add the missing accounts with a random password in disable mode with the agreement of the administrator, he could then decide to permanently delete  thouse acconts and their permisions or only reactivate the restored accounts

HTML & templates / Re: Responsive small screen template
« on: April 12, 2019, 05:30:16 AM »
Code: [Select]
{.add to log| main section from diff template.}

{.add to log| list section from diff template.}

{.add to log| item section from diff template.}

Uses this example, your log must become several lines of comments

Otherwise, in the text box of the Diff Template tab of the ROOT property, put on a single line without a carriage return the full name of the file that will be added as a diff template.

If the file with absolute path exists then it will be used,

otherwise with relative path
-  the file will be searched first from hfs.exe folder,
- and then from the resource item if this item is real folder.
- by default the line will be displayed on the web page as a string

note that if you fill the tab "Diff template" with some sections, and that there is a hfs.diff.tpl in the associated real directory, the diff.tpl will be loaded then the content of "Diff template" will be added

Code: ("DIFF Template") [Select]
{.add to log| main section from "DIFF Template".}

{.add to log| list section from "DIFF Template".}

{.add to log| item section from "DIFF Template".}

Code: ("hfs.diff.tpl") [Select]
{.add to log| main section from "hfs.diff.tpl".}

{.add to log| list section from "hfs.diff.tpl".}

{.add to log| item section from "hfs.diff.tpl".}

Beta / Re: version 2.4
« on: March 27, 2019, 10:36:51 AM »
as long as a definitive solution is not adopted to manage the languages, only a few will serve as support for the study of the translation.Later a wider choice will be available for those who wish to participate in the translation. 

Beta / Re: version 2.4
« on: March 25, 2019, 07:06:33 PM »
This was the error shown (see screenshot):
Error: {.break|result=bad session}

It is not a real bug, it comes from a syntax error in the model at the level of the section of the alias which appears only under very particular conditions because most of the time the text is considered as a comment

we notice that the message of the error does not represent a complete macro

check session=if|{.{.cookie|HFS_SID_.} != {.postvar|token.}.}|{:{.cookie|HFS_SID_|value=|expires=-1.} {.break|result=bad session}:}

lit's not new and the problem is present in the default model since the 2.3f, which use cookie to check session

Beta / Re: version 2.4 - bug
« on: March 25, 2019, 06:20:51 PM »
"Switch On" and "Switch Off" button is reversed

either only I have the error or nobody has noticed
Find the mistake between the two pictures! Image shows server turned on

only texts OFF & ON  are reversed, the icons and the function is correct

reversed, the icons and the function is correct

Code: [Select]
SwitchON1.imageIndex:=if_(, 11, 4);
SwitchON1.caption:='Switch '+if_(, 'OFF', 'ON');

and managed from these lines until the rb5, since this there may have been a false manipulation in the sources

I'm arguing that something has been changed to look like this

Code: [Select]
SwitchON1.caption:=if_(, 'Switch ON', 'Switch OFF');
  S_OFF = 'Switch OFF';
  S_ON = 'Switch ON';
  SwitchON1.caption:=if_(, S_ON, S_OFF);

should be
  SwitchON1.caption:=if_(, S_OFF, S_ON);

in order to facilitate the literal translations and no longer fragmented, but that there was a misleading text

I fiddled the exe to correct the inversion pending the new version

Beta / Re: version 2.4
« on: March 25, 2019, 12:33:04 AM »
could not reproduce the bug with Anonymous, 
   <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 Got 397 bytes
01:30:22 Anonymous renamed "" to ""
01:30:22 Requested GET /

Beta / Re: version 2.4
« on: March 24, 2019, 01:53:03 AM »
I am in favor of these, exepted modifications for two things
line 448 -> HFS is the fixed name of the program, do not use {.! HFS.}
line 556 -> Anonymous is an account name, do not translate it with {.! Anonymous.}.}

HFS ~ HTTP File Server / Re: New Version 2.3m download message
« on: March 20, 2019, 07:18:10 PM »
download this version which presents less alert on virustotal, 3 instead of 18, see if your antivirus also rejects it

it is quite possible that the difference in the number of viral alerts correspond to the versions of the modules used during the compilation of the program, which may differ from one computer to another

Programmers corner / Re: setClip for user comfort ;)
« on: March 18, 2019, 05:12:03 PM »
I always resisted this forced way to put a value in the clipboard because it leaves no choice to the user

 I often happened to lose important data from the clipboard between two applications because of a passage Stealth by hfs to check information, and that changed the content.

it would be wiser to put a dialog box with two buttons, one to recover the value, the other to ignore it to preserve its clipboard

Bug reports / Re: HFS is not working with hostname plus domain name
« on: January 24, 2019, 09:05:50 PM »

You have to use an external proxy server  to connect you to your DNS name

HFS ~ HTTP File Server / Re: Real folder not updating contents?
« on: January 02, 2019, 09:34:34 AM »
Clear your browser cache  every time

HFS ~ HTTP File Server / Re: SSL without Stunnel
« on: December 29, 2018, 09:52:39 PM »
for those who want to use SSL without spending time trying to do the configuration, here is the latest version that made Silentpliz integrating SSL management.   (the link remains valid approximately thirty days)

you have to install SLL then launch this HFS from directory dedicated to your hfs. when everything is set, just leave this version and then launch the last official on the forum

HFS ~ HTTP File Server / Re: ban on the run
« on: December 10, 2018, 09:02:39 AM »
if it is necessary to send the addition of a ban ip remotely, it must be sended a form to an hfs script that will support the addition of the value using the macro {.set ini | .} but it is delicate from a safe point of view

you must retrieve the set using {.get ini | ban-list.}
but the data in return are in the form| allowed| # NO!|

including pipes and making the management pretty tricky because of the macros.

it is probably necessary to use these macros, but I do not know the exact effects in the handling of text strings

     'no pipe'        replace '|'  by '{:|:}'
     'no pipe'        replace '{:|:}'  by '|'

the fields must be separated and then reassembled to be fed back into the configuration, which will have to be saved automatically at the output or at regular intervals or in force by means of a macro.
everything that includes remote hfs configuration management is a risk for hacking, especially when the exchanges are not done in SSL

it must be remembered that mishandling or erroneous data may create a ban rendering hfs unreachable

I do not know if there is an equivalent in English but as we say in France, "the game is not worth the candle"

Pages: [1] 2 3 ... 123