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 - Rapid

Pages: 1 2 3
16
Beta / Re: version 2.4
« on: May 25, 2020, 02:19:49 PM »
I can confirm that.
I have no bans.

! The script from "http://192.168.137.1/?mode=section&id=lib.js" was loaded, although its MIME type ("") is not a MIME type valid for JavaScript.
! Loading failed for the <script> with the source "http://192.168.137.1/?mode=section&id=lib.js"

Sometimes ?mode=jquery is pending.
beta1 works fine. Beta2 and 3 seems broken.
Looks like TWSocketServer have some unexpected behavior. I revert to TWSocket and it work as before

17
HFS ~ HTTP File Server / Re: system icons
« on: May 19, 2020, 08:03:21 AM »
Hi Rejetto!

Maybe it's time to switch from gif to png?
So system icons could be with alpha-transparent.

In Delphi 10 it's very easy - just replace gif with png :)


18
HTML & templates / Re: Alternative login form for modern browsers
« on: May 15, 2020, 08:42:33 AM »
Hi Rejetto!

I think, that for security reasons saving in preferences password or MD5(password) or SHA256(password) are all equally bad.
For MD5 we had rainbow tables, and maybe for sha256 will be something similar.

Saved should be only password hashed with salt.

For example there is experimental RFC: https://tools.ietf.org/html/rfc7804
According HFS, salt can be generated one per VFS.

Could you make switch for sha256 function? Like if protocol is https than use browsers implementation? I think it should be more optimized than js version

19
HFS ~ HTTP File Server / Re: Securing hfs using my own cert
« on: May 15, 2020, 06:27:00 AM »
The easiest way - is to use some reverse proxy.

I'm using nginx for this.

20
As 2.4 is closer to release, I think this template can be popular.
Could you explain, why you using jquery 1.4 instead of 1.12?

And could you make version for included into 2.4 jquery 1.12?
I think here would be better place to have old template for new versions.

21
HTML & templates / Re: Alternative login form for modern browsers
« on: May 08, 2020, 06:46:08 AM »
Quote
But for the login you can NOT use the MD5's macro
You are totally right! Sorry.

22
HTML & templates / Re: Alternative login form for modern browsers
« on: May 07, 2020, 05:32:41 PM »
Hi Mars,

From whatsnew of 2.4:

Quote
VER 2.4
propaganda
  New mobile-friendly template
/propaganda
+ new default template
+ {.set item|name.}
+ {.get item|icon.}
+ {.set cfg.}
+ cache for jquery and template sections
+ new template commands: base64, base64decode, md5, sha1
...

23
HTML & templates / Re: Alternative login form for modern browsers
« on: May 07, 2020, 05:53:40 AM »
Hi Leo!
Could you make a new version for 2.4?
As 2.4 has new functions like MD5 - it would be nice to compare if it work as expected.

I'm using a HW AES, so it should work much faster than JS function.

And I can't find "Logout" button using default 2.4's template.

Found "logout" button.

Very strange logic. When I put just  any login name, it saves as %user%

24
Programmers corner / Re: delphi 10
« on: May 06, 2020, 01:49:00 PM »
Hi Rejetto! This is a great news that you start using github.
I'm not sure what you mean by too late to founding my post?
3 years - it's not too much :)

But as I see you are only at the beginning of rewriting hfs to full Unicode support.
As per my understanding, all AnsiString should be divided into String ot RawByteString.
Because AnsiString is not the same as was String in pre-unicode Delphi.
AnsiString is a codepaged string and it can be even MultiByteString. And that makes it very dangerous to use for unknown incoming bytes.

Code: [Select]
move(idxS[1], result[p], length(idxS));I think this should be as
Code: [Select]
MoveChars(idxS[1], result[p], length(idxS));
It would be great if you could compare your code with mine.
I had to make a big changes because of TreeView unpredictable self-reorganization (all nodes are recreated when monitor is disconnected).

ps.
As you made your work as public, it would be great if you added your coding-standards.
So what merge-requests are you willing to merge.
For example:


Regards,
Rapid D

25
HFS ~ HTTP File Server / Re: Please enable IPv6 support
« on: September 27, 2019, 07:55:48 AM »
its not an easy add or change for hfs as it has to be done at the source code level...:
http://wiki.overbyte.eu/wiki/index.php/ICS_Download
...
It's very easy to add :)

26
I'm sorry, Mars, but if we could find an answer only 6 years after the question, doesn't it better to answer though?

27
You can try my unicode version of HFS.
It's available on github.

28
Sometimes the program is buggy. I can't even open the program from a minimized ! ...
In my build I'm getting error in tfile.getParent
Because (node.data.node <> node) - and looks like getparent going in loop.

29
...
Собственно можно ли как то сделать что бы при открытии любым из этих архиваторов кириллица отображалась нормально ?
Попробуйте мою версию:
https://github.com/drapid/HFS/releases/tag/2.3m
Вроде должна лучше работать с русскими файлами

30
Programmers corner / Re: code on GitHub
« on: November 15, 2017, 10:34:49 AM »
Nice work! :) I see you added Unicode support by compiling HFS using the latest Delphi, plus adding initial support to IPv6.

It would be nice if you publish a compiled .exe in your Github's releases section, so anyone could test and use your builds.
https://github.com/drapid/HFS/releases/tag/2.3k

Pages: 1 2 3