rejetto forum

2.0 coming...

rejetto · 1151 · 540165

0 Members and 1 Guest are viewing this topic.

Offline TGeRi

  • Tireless poster
  • ****
    • Posts: 113
    • View Profile

Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: "TGeRi"
Hi!

I get this: http://rejetto.gamesnet.it/forum/index.php?c=5

and there i can not see any topic or anything.

TGeRi

Just klick the line saying 'HFS - Http File Server' to open.
Then, 'HFS forum - ENGLISH' and you're there.

MarkV
http://worldipv6launch.org - The world is different now.


Offline TGeRi

  • Tireless poster
  • ****
    • Posts: 113
    • View Profile

Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: "TGeRi"
I get this: http://rejetto.gamesnet.it/forum/index.php?c=5

@rejetto

Please update the FORUM link, the cookies won't work if you come from http://www.rejetto.com/sw via that link.

MarkV
http://worldipv6launch.org - The world is different now.



Anonymous

  • Guest
Quote from: "Rafi"
Quote from: "Anonymous"
Time for an update?
Why ? to what ?

Just to v2.0 Final possibly  :D


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "Anonymous"
Quote from: "Rafi"
Quote from: "Anonymous"
Time for an update?
Why ? to what ?

Just to v2.0 Final possibly  :D
getting bored with  Beta 18 ?  ;)   not good enough ? :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Quote from: "Anonymous"
Just to v2.0 Final possibly  :D
do you have the fix for the processQ bug? ;)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Quote
Say you (the administrator) set up the options for all users (HKLM) and most of them are happy with it. But there's one user making a change and saving options only for him/herself. As HFS then deletes all other settings (as you stated), settings for all other users would be lost. So I recommend that HKCU should override the HKLM settings, but not delete it. Of course we need a switch so that users can delete their own HKCU settings and get HKLM settings back. Maybe you could modify the delete option a bit?
yes, you are right.
but i fear to complicate things (the GUI), since the situation you tell is very rare and would help few people while aggravating others. If you have suggestions....
Anyway, if you ask HFS to save cfg in a file, it won't delete registry.
So you can have safely user-based settings keeping them in files.
You just have to change the "working folder", HFS will read hfs.ini from there.

Quote
The tooltip already shows me the path (second line), just no way to edit it...
you'll find it in beta19

Quote
The lock should appear next to all entries permissions apply to.
i already thought about it and think it would be a mess.
you can't have all information, always, at the same time.
i made a change in the tooltip to get this information.

Quote
Is it possible to add an option to disable inheritation of permissions for some entries?
if it is unprotected, why keep it in a protected folder?
put it elsewhere and hide it
you can have 2 links to the same file, one in the folder and visible, one out of the folder and hidden

Quote
(now I know but other's may not)
the "recursion" on a protected structure is the classic behaviour.
it is what you get if you protect a folder on your disk.
it is what you get if you use other web servers.

Quote
it tells me that there is NO restriction (no users selected)
the fact is: it doesn't tell you, and you think it is not.
this now has been solved by adding a "telling" feature.

Quote
Even M$ discovered years ago that caching icons is a good thing.
yes, i thought that too. i was about to reply you "i ask icons to Windows, and it already caches by itself".
but i decided to make a try, and found ..... it is better to not trust M$ ;)

Quote
Where does it cache? Only in RAM or also disk?
only RAM

Quote
But icons I don't use should be thrown out after some time or else the VFS would get bigger every time I add and remove files (I do this very frequently).
this wasting concerns only RAM. did someone noticed HFS wasting too much memory for icons? like 1MB...

my reply delayed a lot because your message was very long ;)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
2.0 beta 19 @ www.rejetto.com/temp/hfs2.0beta19.zip

please, report "processQ" errors

beta19
+ better "open folder" dialog
+ File Menu -> "Edit resource"
* file tooltip -> before: "Users" displaying local settings, now: "Access for" displaying the lock in a recursive way
- requests from banned ones were logged, now ignored


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: "rejetto"
Anyway, if you ask HFS to save cfg in a file, it won't delete registry.
So you can have safely user-based settings keeping them in files.
You just have to change the "working folder", HFS will read hfs.ini from there.
Agreed. ;)

Quote from: "rejetto"
Quote
The tooltip already shows me the path (second line), just no way to edit it...
you'll find it in beta19
Excellent! I'll test it ASAP...

Quote from: "rejetto"
Quote
The lock should appear next to all entries permissions apply to.
i already thought about it and think it would be a mess.
you can't have all information, always, at the same time.
i made a change in the tooltip to get this information.
Tooltip is OK. You can't have everything. But it's open source, I should learn Delphi... B)

Quote from: "rejetto"
Quote
Is it possible to add an option to disable inheritation of permissions for some entries?
if it is unprotected, why keep it in a protected folder?
put it elsewhere and hide it
you can have 2 links to the same file, one in the folder and visible, one out of the folder and hidden
Hmm, yes but if you protect the root, there is no 'elsewhere' :?

Why not allow the admin to 'declare' another root (user-based)? That way  every user could have its own 'home directory'!
e.g. you create a VFS folder 'UserA' and declare it as root for user A... Endless possibilities...:roll:

Quote from: "rejetto"
Quote
(now I know but other's may not)
the "recursion" on a protected structure is the classic behaviour.
it is what you get if you protect a folder on your disk. (...)

Right, every folder in NT inherits rights to subfolders and files. For every subfolder/file, I can disable inheritation and set different rights. Maybe in 3.0... :roll:


Quote from: "rejetto"
(...)but i decided to make a try, and found ..... it is better to not trust M$ ;)
I trust only open source completely 8O

Quote from: "rejetto"
Quote
But icons I don't use should be thrown out after some time or else the VFS would get bigger every time I add and remove files (I do this very frequently).
this wasting concerns only RAM. did someone noticed HFS wasting too much memory for icons? like 1MB...
I added my WINNT folder to the VFS (real) and opened it in my browser. HFS memory consumption jumped from 4012KB to 7432KB. More than 3 MB... After some time HFS should release the memory if nobody browsed that folder again...

Quote from: "rejetto"
my reply delayed a lot because your message was very long ;)
Yes, we should keep posts shorter...  :#)

MarkV
http://worldipv6launch.org - The world is different now.


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: "rejetto"
+ File Menu -> "Edit resource"
Thank you... B)

edit:
Quote from: "maverick"
Would it be possible to add a "browse function" to "edit resource". It would make changing the path a lot easier.
Indeed that would make it a lot easier...


Quote from: "rejetto"
- requests from banned ones were logged, now ignored
You mean these lines?
127.0.0.1:2388{loopback} Connected
127.0.0.1:2388{loopback} Not served: 403 - Deny
127.0.0.1:2388{loopback} Disconnected by server: banned - XXX bytes sent

I get it with beta19 as well. Do you mean file log or also screen log?

One (final ;) ) question:
There is an option 'Let browse'. If you untick it, HFS denies listing of the resource. If I know the name of a file in that folder, I can download it (tested beta19). Is it possible to add 'Let download' to deny any downloads?
e.g. Allow listing (and upload if set) but not download?

MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Quote
Hmm, yes but if you protect the root, there is no 'elsewhere'
if not all has to be protected, you don't protect the root
that is: you can do it some way, you may want to get the same result but in a different way, like protecting the root and stopping inheriting the protection.
it is lawful, but it would require an option to stop inheritation of protection, another for visibility, another for filters, another for upload, another for the default file mask, etc etc.
do we want a software with 10 thousands options?
if we had config files in every folder, like Apache, it would be ok, but with a GUI we get a mess on the screen just to be able to do the same thing in multiple ways.

Quote
Why not allow the admin to 'declare' another root (user-based)?
same as before
do you have an idea on how to design an easy-to-use GUI for this?
advice if you do, because i do not.
you can get the same thing by creating a folder for each account.
it won't be the root, but to just get the root should we get a hard-to-use software?

Quote
I added my WINNT folder to the VFS (real) and opened it in my browser. HFS memory consumption jumped from 4012KB to 7432KB. More than 3 MB... After some time HFS should release the memory if nobody browsed that folder again...
yes, here it goes from 8M to 17M
i tried making this function
Code: [Select]
while iconsCache.Count > 0 do
  begin
  iconsCache.objects[0].free;
  iconsCache.Delete(0);
  end;
imagescache:=NIL;
while images.count > startingImagesCount do
  images.Delete(images.count-1);
and triggered it: just 100-200k were unallocated.
the fact is: i do not control the memory allocation. Windows does.
i don't know how to lower memory consumption, but we are on a forum, maybe someone will advice.

Quote
Would it be possible to add a "browse function" to "edit resource".
yes, it will come

Quote
You mean these lines?
127.0.0.1:2388{loopback} Connected
127.0.0.1:2388{loopback} Not served: 403 - Deny
127.0.0.1:2388{loopback} Disconnected by server: banned - XXX bytes sent
yes...sad

Quote
Is it possible to add 'Let download' to deny any downloads?
hmm, ok
i fear there's something better we could do, but i don't know what :)


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Quote from: "rejetto"
if we had config files in every folder, like Apache, it would be ok
.htaccess files would solve a lot of problems regarding protection...

Quote from: "rejetto"
you can get the same thing by creating a folder for each account.
Yes and if I could enter it as 'root' in the user profile HFS could just modify the URL so the user gets his folder as root. However, it was just an idea...

Quote from: "rejetto"
yes, here it goes from 8M to 17M
i tried making this function
Code: [Select]
iconsCache.Clear();
imagescache:=NIL;
while images.count > startingImagesCount do
  images.Delete(images.count-1);
and triggered it: just 100-200k were unallocated.
the fact is: i do not control the memory allocation. Windows does.
i don't know how to lower memory consumption, but we are on a forum, maybe someone will advice.
At least you tried. :) It could become a problem if you serve very large real folders and HFS stays up a very long lime. Damn Windows, I hate memory leaks... Anyway, please leave this code in the program, maybe someone gets better results (maybe Windows needs some time to release memory)

Quote from: "rejetto"
Quote
Would it be possible to add a "browse function" to "edit resource".
yes, it will come
Hooray! ;)

Quote from: "rejetto"
Quote
You mean these lines?
127.0.0.1:2388{loopback} Connected
127.0.0.1:2388{loopback} Not served: 403 - Deny
127.0.0.1:2388{loopback} Disconnected by server: banned - XXX bytes sent
yes...sad
:(

Quote from: "rejetto"
Quote
Is it possible to add 'Let download' to deny any downloads?
hmm, ok
i fear there's something better we could do, but i don't know what :)
If the options 'Let Browse', 'Let download' and 'Upload' are independent from each other, it would be a solution, at least for now.

MarkV
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i investigated on the memory problem, and found that a lot of memory is managed by delphi and not windows, and it is labeled as free memory.
it is free but reserved to the app.
i noticed most of this free memory is created by the icons cache system.
i read somewhere that things like this are caused by fragmentation.
i'm still investigating