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

Pages: 1 ... 43 44 45
Bug reports / Re: Takes forever to load a folder
« on: September 27, 2007, 09:18:47 PM »
Y prepared a folder to test with build #137

411 archives - Total: 1,24 GB

takes less than a second to load the folder (Athlon64-3000, 1.7GHz, 640Mbytes of 2 GBytes in test machine, WINXP SP2)

Look for 'strange' not alphabetical signs in your filenames, some cause problems that avoid displaying the filename, also very long filenames joined to a long folderpathname may produce some problem.

HFS ~ HTTP File Server / userparam's and %lang%
« on: September 26, 2007, 07:03:39 PM »
The language feature may be very interesting, but:
1. I think it will be difficult to get the language from browser info or based on the ip.
2. not everybody who uses hfs may use or understand more than one language, and even if they do, it's likely that guests with other languages connect to the site, and it would be useless to have lang-value for a language not supported.
Conclusion: In order to simplify the implementation of %lang% and it's use, I propose to make it user-selectable in the template with a method that somebody posted in this forum for other uses:
the method would be a link for each language supported by the site to the same page, adding a param.

example:   http://miserverip:port/?lang=it

Rejetto's work would be, where the logstring for requesterd gets is generated, to strip off what's coming after the '?' sign, check, if its 'lang' and put the value 'it' or whatever the href sends, into the %lang% variable asociated to the user, where the value remains during the session.
This involves to have bigger storage structure for each conected user, where until now there was only (I suppose, because I didn't view the source code..) a pair of values: username, userip.

By that way, I suggest also to add to more params like lang, that may be named 'upar1', 'upar2' and these values could be associated in the same way als ?lang=____. I want to use this params to select different styles, so that the user can select between different letter-size depending on it's screen, or to select fast-display-template with minimal graphic overhead instead of full presentation, depending on its conection (slow modem or LAN). Perhaps other users faind additional aplications for this.

If You go on working on that new user-structure, think also in adding a field for 'memberofgroups', that would be necessary to implement user-groups in the manner I will propose in a separate thread.

In a later future we could also think to leave these values in the user-account-management.

HFS ~ HTTP File Server / Re: WhoIs Needed
« on: September 24, 2007, 11:25:15 PM »
Dear comrade,

I think you should think again about your needs for a Whois with every conection. 'Normal' private users have a IP that belongs to a service provider, an not even the information of the country where the conection comes must be true. For example, owner of the IP may be a company in Amsterdam, and the user sits in Spain! If you want to know if the conection comes from a government or security institution, donĀ“t believe that they use IP's in the gov's range!
So in every case, the information you can get will really be almost useless!

HFS ~ HTTP File Server / Re: WISHLIST from an illiterate
« on: September 24, 2007, 11:11:19 PM »
Also your wishes are in the todo-list, I think that the priorities should be the extras that would benefit the users who conect to a server, and some features (for example: user-groups), that help to make administration more simple.

I think very few owners would like that their visitors change the servers structure adding directories, deleting files and so on. If you need to do that from a remote site, you can do it well with remote administration (like vnc), including from a web page! You can even include a link (hidden, password protected) to your vnc-server to have full control over hfs, filesystem, privileges and so on.

HFS ~ HTTP File Server / Re: Diff Template (=alternative template) Proposal
« on: September 16, 2007, 08:18:13 PM »
Very good idea the %lang% symbol !

I've tried to use java to get the language of the browser/system, but it will produce much overhead having different languages in the same template.

But the %lang% poses some problems. Supose than %lang% can be something like 'de','en','es','fr','it' and so on. Could we then use something like [sym-tblde],[sym-tblit] with %symtbl%lang%% ??
In all case, y think %lang% will need in the hfs.ini a list of our supported languages, and in the case that the language isn't in this list, %lang% should be empty, in order to use our default language.

Many thanks, rejetto, for your great work!
Molte grazie per il tuo lavoro eccellente !

HFS ~ HTTP File Server / Re: Diff Template (=alternative template) Proposal
« on: September 11, 2007, 07:23:53 PM »
proposal for the implementation:

Now, diff templates is handled in two ways: a section [whateveritis] is stored with the folder caracteristics. A whole template is placed outside, in the folder as hfs.diff.tpl

I think with a third mode to handle the content of the diff template window, we could have some advantages:
A: No need to copy the same template in diferent folders, one copy in any accessible directory would be enough.
B: It would be possible to realize the often demanded 'per user template'!


The third form to handle the diff template text could be something like  "#use or #include

Sintaxis:  #use path/filname ...(#use ..)

Examples:  #use /sys/bigimage.tpl                     (for full or partial template)
                  #use /sys/templates/snd%user%.tpl  (should exist: snd.tpl (for @anonymous) as sndusername.tpl for each user with access rights to the folder, or even it would be possible search first for sndusername.tpl, and if it doesn't exist, use snd.tpl

HFS ~ HTTP File Server / Re: HFS FOR LINUX
« on: September 09, 2007, 06:10:18 PM »
If your machine has enough memory, you can use a VM (=virtual machine) where you install any windows. A VM for windows with about 250 MBytes of real memory works fine, diskspace from 2GBytes upwards as are your needs will be OK.

Using virtual machines is a save way to run your HFS or any other server. Virtual machines are easy to backup (only a couple of files). If your server crashes, or fiendly visitors try to fill your (virtual!) diskspace with uploads until system crash, nothing happens to your base machine!

Free VMplayers (for linux and windows) are available from VMware.

HFS ~ HTTP File Server / Re: Is this the right spot for requests?
« on: September 04, 2007, 11:55:10 PM »
use tight-VNC (freeware) for remot controlling your server at home. Run the server in your home PC beside HFS.
You need not to install any viewer on any remote PC (you can, accessing then through default port 5900).
But you can access with any browser that has java installed through default port 5800. ( example: and have complete remote control. Dont forget to open this ports on your router at home - you can also change the port numbers.

router & port problems / Re: All the help you need
« on: August 29, 2007, 04:17:55 PM »
Are you sure that your firewall is open for port 80? check-it. Also it's a good idea to change the port number of the routers configuration page, for example to 126. So you can use por 80 from intranet as also from outside. Only to remember that afer chanchinge the routers configuration port, you have to access it as: http://192.1681.1:126/

HFS ~ HTTP File Server / Re: new symbols [user1][user2].. -> %user1% ...
« on: August 25, 2007, 08:14:34 AM »
Many thanks rejetto for your software.
The [Sym-....] - function is exactly what y meaned with [user..] , so no need to change anything. It works fine with [sys-header],[sys-footer] .. etc. I didn't see the existence of that function in the manual and I had tried before with [header] etc. without sym-, thats because 'I was reinventing the wheel'.

Many thanks

HFS ~ HTTP File Server / Re: new symbols [user1][user2].. -> %user1% ...
« on: August 24, 2007, 06:10:58 PM »
I'm working on a template that uses the same header,footer, leftbar on all displayed pages.
The corresponding sections are named in the template USRBLKn  and markes as (m/4) in every section. As this is the same code, I think it would be of interest  the posibility to define sections [USRBLKn] in order to use %USRBLKn% where needed.

HFS ~ HTTP File Server / new symbols [user1][user2].. -> %user1% ...
« on: August 22, 2007, 11:23:13 PM »
I think it would be interesting to have HFS recognize on all pages it creates tree or four nes symbols [userN] to include with %userN%. This would make a lot more easier personalizing the templates, for example to put a header on all(or some) pages, or a sidebar, or a footer etc. I propose to add this on the todo-list.

Pages: 1 ... 43 44 45