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

Pages: [1]
1
Classic elegance, some new features, and a lot more speed. . .
Tested with HFS 2.3K and 2.3L

Features:
Phone and Tablet screen-support, including good tap targets and easily readable fonts. 
Tested with both iPhone and Android.

Much faster file listings in lengthy folders because there's no slow checkboxes.
Efficient and colorful unicode icons display twice as fast.

Automated error correction for users.  When needed, it displays very polite messages briefly, and then quickly sends the user back to what they wanted to do.  It maintains the appearance of good working order.  So, you're free to use options like the "max connections" and "maximum simultaneous downloads from single address" limits to manage your bandwidth. 

Quickly disconnects hack scans; and that feature lowers the cpu load, improving speed.

Easy for users, with simplified interface, column layout, black background, and readable fonts.  Classic! 
So, easy to use that it is Cat-operable on a tablet, apparently.

Works nicely on a variety of screen sizes, from pocket size to wall size displays.

How to use: Save the tpl file in the same folder as hfs.exe, and then: Menu, HTML-template, Change-file, and choose the tpl file.

2
in hfs.events (alt+f6)

[+request]
{.if|{.match|*.gif;*.ico;/*img*|%url%.}|{:{.add header|Cache-Control: public, max-age=31536000.}{.add header|Vary: Accept-Encoding.}:}.}

This is functionally similar to Apache .htaccess
Only the file extensions specified have been cached by the browser.

Tip:
If you decide to cache a wider variety of file extensions, it may be useful to add the reversal command {.add header|Cache-Control: no-cache, max-age=0.} into the template at the [error-page] section, so as to reduce persistence of redirects.

3
HTML & templates / build 299, still trying to log in, from a phone
« on: April 27, 2018, 03:56:23 PM »
How do I get a working login page?  (as in page)?

A large number of android devices require an HTML login page, quite like this (Except this one doesn't work):
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>Login</title><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE, MAX-AGE=0"><meta name=viewport content="width=auto, user-scalable"><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"></head><body style="overflow:hidden" bgcolor=#151B54 text="white" alink="white" link="white" vlink="white"><table border="0" align="center" cellpadding="0" cellspacing="0" height="100%"><TR><TD valign="middle" align="center" style="vertical-align:center">
<div class="login" style="vertical-align:center"><font size=6>

      <h3>Log in to HFS</h3>
      <form method="post">
      Name<br>
      <input type="text" name="user" style="font-size:22"><br><br>
      Password<br>
      <input type="text" name="password" style="font-size:22"><br><br>
      <input type="submit" value="Login" style="font-size:28"><br>
      </form>

</font><><div>&nbsp;<></TD></TR></table></body></html>
Assuming:
web root has no password, no browse
The login html file is /index.html
/Files/ is password protected

Should this standard feature be working, or is there a script alternative available to run?   Halp

Pages: [1]