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 ... 44
1
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.

2
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

3
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.

4
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.

5
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?

6
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
properties
compatibility
change high dpi settings
select 'override high dpi scaling...'
select 'system'

7
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.
https://github.com/rejetto/hfs2/releases/tag/v2.4-rc02

I don't know if the translations for 2.3 can be updated for 2.4, but possibly here is described a procedure
https://sites.google.com/site/kryvich/localizer/howto?authuser=0
for your convenience i've attached the lngupdate tool.

8
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.

9
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?

10
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.

11
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").
https://www.embarcadero.com/products/delphi/starter/free-download

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

https://github.com/rejetto/hfs2/releases

Let me know if you find things not working please.

13
Everything else / forum template
« on: October 04, 2018, 09:27:40 PM »
i just installed a new template, called "sunrise".
I'm using it, and it's cool. It also has an optional dark mode.
You should be able to select the theme from your forum profile > "look and layout".

14
Beta / version 2.4
« on: September 20, 2018, 09:34:58 PM »
download latest version

new default template, mobile friendly and responsive.
unicode
ipv6
session login, with logout

15
HTML & templates / new responsive template
« on: August 25, 2018, 10:59:19 AM »
i'm working for a new default template, that's going to be responsive and mobile-friendly.
This preview is just an early progress. No ETA for the moment, but i mean it for the next release.
https://monosnap.com/file/yJsBRRuMf5dC6KUJa9jL6My6mk57b3.png

Pages: 1 2 3 ... 44