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

Pages: [1] 2 3
1
I'm still working on the changes that can be made to the default template with a minimum of modifications and that are as simple as possible
That is a good project! 
It looks like the functions/menus will have to be moved to the top of the phone/tablet screen, so that the file listing will fit on-screen.
See also the [error] section from inside of a throwback template, because it bypasses most errors instead of claiming a broken server.  Also, see Leo's code that can get the phones logged in, even if they don't have the Firefox Mobile browser (Leo's code will be incorporated into the next version of the Throwback template).  Lastly, have a look at the throwback template's unicode support, both the font declaration and the use of instantaneous unicode icons instead of sending a little photo per each file listed (the difference in bandwidth isn't much, but the difference in lag-time is huge, since schlepping photos burdens the server cpu and unicode characters don't do that).  It won't take much scrolling labor to pick out the good stuff from the Throwback templates, because they're 24 times shorter than the standard template. 

2
HFS ~ HTTP File Server / Re: New version: 2.3m
« on: September 15, 2018, 02:49:35 PM »
...mobile friendly...
Those screens are small.  Can you add %item-modified-mdy% short format 12.25.18 file date?

3
Solution is inside this post

http://rejetto.com/forum/index.php?topic=11546.msg1059974#msg1059974
Unfeasible with multiple users. If several users list files at the same time, server-side synchronous processing causes more dramatic loss of speed. With many files there's a long time to wait, as if broken. Inefficient workaround isn't a substitute for an efficient baked-in short date format.   If Rjetto makes that new standard template that works with phones; also, he will soon need %item-modified-mdy% short date (12.25.18) functionality, with better efficiency.

Until then, a possible workaround solution involves the Client's CPU (because there are many), not the server's CPU (only one--don't jam it).  Client side processing would be a script to reformat %item-modified%, preferably with async/non-blocking processing. 

I don't know how, but DJ does.

4
can you give some examples to reproduce in order to find a solution  ;)
This is useful: https://tools.pingdom.com

However, the solution that I really need is a built-in %item-modified-mdy% resulting in the format 09.14.18 since that much smaller format would be feasible with vertical displays (phones, tablets). 

5
This, I tried for 3 hours with hfs 299-1/2 (the pre-release).  :) 
After upgrading to the official hfs 300, the remove headers command worked for cookies, not for etag.

6
HTML & templates / Re: Alternative login form for modern browsers
« on: August 28, 2018, 06:38:52 AM »
Wow!  It does work! 
Instead of the usual round of hazing, I can actually log in. 
I tested it on normal mobile; and got logged into HFS, for the first time. Brilliant!

7
HTML & templates / No cookies for a certain folder?
« on: August 28, 2018, 06:18:19 AM »
I was wondering if it were possible, probably with hfs.events, to have no cookies issued or attempted for a certain folder? 
Perhaps it is a folder of support graphics, such as wallpapers; or, perhaps HFS is pulling dual duty also supporting a wholly different website in addition to its normal duties.  Or, in my case, I need to do that for markup speed testing.

8
HTML & templates / Light color scheme?
« on: August 24, 2018, 10:28:02 PM »
In other news, Throwback1998, the most popular version?  It must be the light color scheme. 
Actually, it is running on my own server, for just that reason--the appearance.
I probably should use the quicker version 9 and make a new edition with the light colors.    Good idea? 

9
Form not setup correctly, asp script not working... still need hfs link/symbol to pass code into. NOT a easy/simple thing to do.
I can't find the target variables either.  But, it sure will be easy after we find that!  :D
Password in urls is being blocked by newer browsers, so can't do it that way.
For now, all Firefox, even the mobile, still have the deprecated built in login box.  So, just planning ahead.

10
To work fast and don't overload the server, %item-size% and %item-modified% should be only asked to the server "on-demand" when we click on the menu button. . .
The %item-size% is fast; however, the %item-modified% is problematic.  It would also be cool to use the modern asynchronous (non-blocking) script methods to shorten the anti-phone date format to a phone friendly mm/dd/yy.  That processing can occur on the client, without blocking the server's progress in listing files. 

11
do you mean a querystring?
I was referring to this:
. . . removing the delete button, and adding a "+" button instead, which when clicked, it opens a modal screen. . .with three nice and big buttons, giving options like: Rename, Delete and Move. . .
After the button is clicked, then that may be a good spot for a photo thumbnail, players, etc...

Also, I had a thought about the speed--duplicate call to %item-url% costs +25% delay and another +5% for the span tag (the sum is about a third); so, howabout no extra button whatsoever, but, instead long-click or right click the filename, and then only one call to %item-url%? I wonder if that is possible. 

12
HTML & templates / the next phase. . .
« on: July 13, 2018, 09:28:36 PM »
I wonder if it is possible to replace the X with ☰ (menu) or checkbox so as to provide for more features (at no cost to speed)? 
For example, click on ☰ to reach a page with that one file listed along with options to delete, rename, move or play?

13
HTML & templates / Re: file delete feature, and Throwback9
« on: July 12, 2018, 04:28:23 PM »
Remove the link from the span and add ;cursor:pointer to the style.
Thanks.  I got that pointer edit done and re-uploaded the file. I didn't make the other changes because I got stuck. [...] So, could you make changes to the template and upload it? 
Edit:
I see it has appeared at the post just above.  THANKS!!
When I checked with the stopwatch, the speed is good too!
You did a wonderful job in showing how to add features without bogging down HFS file listing speed.  Kudos!!!

14
HTML & templates / Re: Need help with file delete feature
« on: July 12, 2018, 10:26:04 AM »
. . .Update: more elegant. . .
Thanks!  Yes, that is more elegant!

See if I incorporated your delete feature as intended? 

Edit: File removed, because of the better version at the next post.

15
Thx Danny.
BTW, haven't tested but have an idea for login page
After reviewing old posts:
http://rejetto.com/forum/index.php?topic=4288.0
http://rejetto.com/forum/index.php?topic=2690.0
Why not add a folder called login via vfs (vitural folder not real)
Right mouse click / properties / different template
This code:
Code: [Select]
%login-link%
%loggedin%
???
Not tested, but would add a web link to a login only page???
That uses a browser's built in (or not) basic auth pop-up login box.  Support for that is diminishing.  We need an html login form instead. 

I think it would be elegant to add a real html login form into the error handler [unauthorized] section, because it is the default landing page for all browsers that don't have a basic auth login box built in.  So, then, instead of a nonstop error, you'd just log in (with a real login form).  It is very nice when error pages actually solve errors.  However, still need that login form. 
Code for it should probably have form and post tags.

Pages: [1] 2 3