rejetto forum

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 ... 3 4 5 6 7 ... 134
61
Everything else / Re: Travelling
« on: September 30, 2020, 04:42:06 PM »
Like! 
Well, somehow the 'like' button has gone missing.  But, this is a good photo.

you can use the "thank you" button instead, it sounds like saying "thank you for viewing" ;)

62
Programmers corner / Re: Encrypt password between client and server
« on: September 30, 2020, 04:34:05 PM »
In the long term, the password that can be displayed in clear in the options should disappear to make room for an encryption in the form md5 or sha256 or compatible with the password file under linux, the various forms of authentication between clients and server would be adapted and thus avoid to be able to hack clear identifiers in the ini file,

the current problem is to find a standardized format for sending encrypted data in binary or text form in the forms and to recover it correctly whether in ansi or in widestring, the conversion and interpretation of the data received byte by byte complicates a little the thing, I had made an attempt by codifying the whole in the form of hexadecimal data, but not being at the top on the javascript, the encoding then the decoding gave constantly discordant results so I left aside in waiting for rejetto to have enough time to go back to hfs

63
HTML & templates / Re: Want some ideas?
« on: September 30, 2020, 04:29:59 PM »
it can also lead to abuse of use if anyone can create a profile and access an upload without limits

originally this macro was made to be integrated into an admin panel for the sole use of the administrator

it is therefore necessary to remain careful in the choice of macros to leave in "free use"

64
Beta / Re: version 2.4
« on: September 30, 2020, 01:15:44 PM »
in  scriptlib.pas
   if name = 'any macro marker' then
      trueIf(anyMacroMarkerIn(first(loadfile(uri2diskMaybe(p)), p)));


by including those line we make sure not to load a file containing macros

{.if not|{.any macro marker|{.^filepath.}.}|{.load|{.^filepath.}|var=filecontent.}.}

thus the file will only be read if it does not contain a macro marker

65
HTML & templates / Re: How to exclude some file/extension from search
« on: September 22, 2020, 04:45:43 PM »
when you put partial file name in the search box, hfs parses and completes it by adding * at the beginning and end to not have a strict match

do not use quotes in search field with following examples
search for names with "music", hfs converts it to "*music*" and give a list with all file contening "music"

to search for files beginning with music, simply enter "music*"
to search for files ending with music, simply enter "*music"

we can therefore want files with a specific extension like "*.wav" or various extensions by separating them with a semicolon as "*.wav;*.mpeg4"

to exclude files, just create a filter starting with "\"
 "\*.wav;*.mpeg4"   will display all files except those with the extension .wav or .mpeg4

look at the wiki link
http://rejetto.com/wiki/index.php?title=HFS:_File_masks

66
Beta / Re: version 2.4
« on: September 02, 2020, 10:34:20 PM »
I found a problem on both of my PC's. When I right-click a file and click "Add to HFS" the file does not go to the share list. Also I found that "drag and drop" also can't put it there. The only way is to click on "Add files" in the program.
I am using 2.4.0 RC6, build 318 and the default template.

TO REJETTO:
the problem with using "Add to HFS" is that a second instance of the program is started concurrently with the first, when the "only 1 instance" option is not checked.

when multiple instances are active from different directories, "Add to HFS" can only work for exe from one directory but appears installed for all instances

I suggest this modification so that it is possible to know the exe and therefore the directory which is actually attached to "Add to HFS"

Quote
function isIntegratedInShell():boolean;
begin
result:=(pos(exepath,loadregistry('*\shell\Add to HFS\command', '', HKEY_CLASSES_ROOT)) > 0)
  and (pos(exepath,loadregistry('Folder\shell\Add to HFS\command','',HKEY_CLASSES_ROOT)) >0)
  and (loadregistry('.vfs', '', HKEY_CLASSES_ROOT) > '')
  and (pos(exepath,loadregistry('.vfs\shell\Open\command', '', HKEY_CLASSES_ROOT)) > 0)
end; // isIntegratedInShell

67
Beta / Re: version 2.4
« on: September 02, 2020, 09:27:21 PM »
yours is a good idea, but i mean it as a plugin.
Someone packs a tpl or a diff-tpl, and an 'events' file that will {.load tpl.} based on a logic like the one you wrote.
The only limit at the moment is that this "plugin" may overwrite your existing hfs.events file, but in the future i mean to let you have multiple events files, so you don't risk overwriting.

some events of the hfs.events are specific to the correct functioning of the program and cannot in any case be overridden by any hfs.events linked to another template loaded by the macro {.load tpl.}

it is important to first establish a list of events that cannot be overloaded as Timed events, start, quit, server start, server stop, .... and probably a few others.

 So those that would be specific to a template could simply be added in the template or any diff template as a section such as [event NAME] to override any event of the same name in the hfs.events or [+ event NAME] to add this event recursively as for diff sections

68
Bug reports / Re: duckdns
« on: August 15, 2020, 08:48:54 PM »
I don't know how to answer, these dlls provide SSL, is it for duckdns or for hfs, maybe rejetto would be able to answer.

69
Bug reports / Re: duckdns
« on: August 13, 2020, 08:52:00 PM »
duckdns". the page is reachable but I don't see it in hfs-> menu-> ip address.

Hi, I misunderstood the request
only CJB no-ip and Dyndns are predefined, you have to use custom to use another provider and use the remote update url
for duckdns it is this form you have to put in the custom popup
https://www.duckdns.org/update?domains=mysubdomain&token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx&ip=%ip%
Quote
https://www.ixsystems.com/community/threads/how-to-install-duckdns-org-a-how-to-guide.24170/
replace mysubdomain and xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx with your values

%ip% is automatically replaced by the same value obtained by selftest


70
Bug reports / Re: duckdns
« on: August 13, 2020, 11:57:11 AM »
would your second hfs not be in easy mode? which could block access to the dns config

71
very possible that it is the antivirus which puts the exe in quarantine by considering hfs as a false positive,
you have to create an exception so that the antivirus leaves it alone, unless the program is infected after installation by a virus present on the machine

otherwise hfs is only allowed to delete itself when a more recent version exists, and when updating it.

72
Beta / Re: thumbnails
« on: August 11, 2020, 09:41:49 AM »
what you would like are macros like "load bin" and "save bin" using a buffer variable

load and save only deal with text files, and besides this can create some problems when used with different encoding formats (ansi utf8 utf16 ...)

73
Beta / Re: 2.4 beta unicode problem
« on: July 27, 2020, 02:51:19 PM »
it is the same when you want to attach an external text file it can be in ANSI, UTF8 with or without BOM or UTF16, the result can give distorted characters. almost everything should be converted into a same single format

74
Bug reports / Re: Icons sometimes are hidden
« on: July 08, 2020, 04:16:12 PM »
in the same idea that we use a session cookie with a unique value to limit the connection time over time,
why not use a token system associated with the loaded web page generated to current user and generated for the current user (ident or  ip) and cached, whose value changes with each main page request or when a requested resource does not send the correct tocken
this token added to the headers orin url  would be used for any resource depending on it would not count these resources as additional connections

example
   <link rel="shortcut icon" href="/favicon.ico?token=%token%">
   <link rel="stylesheet" href="/?mode=section&id=style.css&token=%token%" type="text/css">
 <script type="text/javascript" src="/?mode=jquery&token=%token%"></script>

another solution would be to not count the connections for certain recurring resources which are cached in the browser, but only the main requests

it is always possible to reduce the number of requests by replacing the web links with their equivalent in sections, but this risks partially overloading the content of the pages.

example
   <link rel="stylesheet" href="/?mode=section&id=style.css" type="text/css">
replaced by
<style>{.$style.css.}</style>

75
Français / Re: Problème avec Google Nest
« on: July 01, 2020, 06:26:22 PM »
est-ce que l'ip de ton pc est fixe ou attribuée dynamiquement par le dhcp, car elle devrait etre en 192.168.86.x

sous win 10  tu vas dans parametres > reseau et internet puis sur la page ouverte tu recherches la ligne  "modifier les options de l'adaptateur  , en cliquant dessus ca ouvre la liste des cartes réseaux,

sur celle qui est connectée clic droit  > Etat puis sur details

Pages: 1 ... 3 4 5 6 7 ... 134