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.

Topics - rejetto

Pages: 1 2 3 ... 38
Everything else / MOVED: IPTV from HFS
« on: August 22, 2023, 07:21:10 AM »

HFS ~ HTTP File Server / hfs 3 logo
« on: January 21, 2022, 04:05:49 PM »
hi guys, HFS 3 is not far, as you can read in the other dedicated thred "a new beginning".
I hope it can be made official this summer, but I'm already using it.

I want a new logo.
I will see if I can make another one myself, but I will also consider fiverr.
Let me know if some of you want to submit ideas/concepts/drawings.

HFS ~ HTTP File Server / a new beginning...
« on: December 19, 2021, 10:08:30 AM »
Hi guys, and sorry if I've been quite a ghost. :)

For those of you who care, I'm trying to reboot the project.
You'll find it at
This is actually replacing a previous attempt that was at the same address.

I have no idea if I'll be actually able to bring it to the dignity it deserves, and that's a thought that has often stopped me from starting.
I decided to give it a shot, and we'll see.

The current state of the project is "very early stage" and it's probably not good enough for most of you.
It is probably good enough to replace it in my daily use: you get the VFS and basic accounts.

There's no "simple exe" distribution yet, so for most of you it may be hard to even start it as it is now.
I will take care of this kind of things later in the project.

Many of you already know that I don't like working on the old HFS (delphi) since long. Starting anew is the only way to enjoy it.

Beta / thumbnails
« on: August 02, 2020, 03:53:07 PM »
i've found that extracting the thumbnail that's sometimes embedded in a jpeg can be easy with a method that's probably not 100% reliable but took me little work.
I'm going to introduce this new feature even if the default tpl will not make use of it for now.
It can be considered experimental.
The feature works like this: you append ?mode=thumb to the url of a jpg file.
The thumbnail itself is served as a file. If not available you'll get a 404.
Generating a thumbnail is of course much worse on the CPU and poses some serious concerns: store it? and where?
It may be introduced in the future, but it's not a quick job as the one i just did.

You'll find it in the RC7 i'm going to release soon.

Everything else / Travelling
« on: July 18, 2020, 12:38:11 PM »
Hi guys, sorry to keep you waiting, but work has been tough lately and now I'm out , travelling. Posting from my phone now.
I'll be back asap

HFS ~ HTTP File Server / "max connections"
« on: July 09, 2020, 01:56:54 PM »
I wonder if the option "max connections" is really any good or if it only makes problems.
I saw several cases of people having problems, because the browser doesn't behave well with the way HFS is refusing the connection.
I made several attempts at changing the method (backlog, not accepting, aborting), and several research, but nothing improved.
I think I should remove this option.

Beta / script to block ip after many login failed
« on: June 16, 2020, 09:28:50 PM »
This is an experimental script. Feel free to improve it and customize it.
this 'events' file must be placed in the same folder of hfs.exe
Requires 2.4.0. RC5 . Several bugs were fixed and some features were introduced to make it work.

Beta / 2.4 template-making guide
« on: June 08, 2020, 04:48:36 PM »
we should collect instructions on how to make a tpl for 2.4
let's see make a quick list
- the default tpl is always inherited. This means that unspecified/missing sections will be still taken from the default tpl. If you want to have some sections empty then you will have to have them as empty in your tpl.
- because of the point above you should probably have your [error-page]
- because of the point above, you don't need to copy libs/sections in yours, like the sha256.
- the 'private' section flag works no more. All sections are private unless you use the new 'public' flag.
- new templates (with new login system) will be recognized by the section [api level] section. At the moment the api level required is 2.
- because of the anti-DoS system, if you make XHR/fetch requests to folders, you may get an http error 429 that means you have to retry
- if your tpl works as a Single-Page-Application and doesn't use %list% in its main section, then use the 'no list' flag. That is, put this text at the top [|no list]

am i forgetting something?

HFS ~ HTTP File Server / 4K screens problem
« on: June 05, 2020, 01:14:42 PM »
i just got a 4K screen laptop, and HFS looks very bad on it
I've just found how it make it look normal on windows10.

right click on the exe
change high dpi settings
select 'override high dpi scaling...'
select 'system'

Beta / 2.4 translation
« on: May 31, 2020, 01:29:54 PM »
here we'll share knowledge on the translation process.
I'm still not sure how to do things. Let's see together.
I'll use this first topic to recap results.

You must be sure to use the most updated version for LNG and EXE files.

I don't know if the translations for 2.3 can be updated for 2.4, but possibly here is described a procedure
for your convenience i've attached the lngupdate tool.

HFS ~ HTTP File Server / system icons
« on: May 18, 2020, 01:52:09 PM »
Sometimes system icons don't look good on the web, and they can slow the operations.
Some templates are already doing without.

HFS ~ HTTP File Server / rethinking the template
« on: May 18, 2020, 09:53:18 AM »
Some thoughts, possibly already made many years ago...
when HFS was born the template (TPL from now on) was just "displaying", and it was/is fully customizable.
The easy and most common way to customize, without diff tpl, means that people is not getting updates.
Now the tpl contains important features and security.
It is very bad not getting updates on this, therefore some thinking and possibly action is very advisable.

What options do we have?

1) hfs numbering the default tpl version, recognizing problematic pieces and patching.
This approach, that is already halfway and may arrive in final 2.4, has a number of problems:
it requires specific work each time,
thus would probably be done only for security problems,
it would have no impact on other templates,
non-zero inconsistency risk after patching

2) not letting the user to access the tpl directly, catch only the changes, produce a diff automatically (not in the diff.tpl format, more like the original diff tool), store the diff result, and use only this, applying it to the current tpl. Problems:
i have to find a lib for that,
3rd party's tpl may need some special treatment,
may be hard to apply to legacy customized tpl starting today

3) removing the tpl editing, leaving only the diff tpl feature. Problems:
bad for usability, requires more skill,
sub-optimal granulary (a whole [section]),
may be hard to apply to legacy customized tpl starting today

4) else?

Programmers corner / 2.4 log font
« on: May 14, 2020, 11:11:14 AM »
hi guys, i noticed that with unicode in 2.4 there is a new problem.
The font is set as tahoma, but when a japanese character appears, the font is changed.
I copied the text to a word processor (Writer) and it seems that the new font is 'simsun'.
It's bad because tahoma can show those characters, so the change is unnecessary and ugly.
I don't know how to stop this madness.
Let me know if you find a solution, thanks.

Programmers corner / delphi 10
« on: May 02, 2020, 05:15:30 PM »
hi guys,
this days i had some spare time, so first i reinitialized my Windows system after 5 years. Much better now!
Then i decided to try to go for Delphi 10.3.3, that is the latest free version (it's callled "community edition").

After many hours I also found Rapid's topic, but too late.
Anyway, i'm probably not finished but it's somewhat working.

Let me know if you find things not working please.

Pages: 1 2 3 ... 38