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

Pages: 1 2 3 ... 11
1
HTML & templates / Re: Responsive small screen template
« on: Today at 03:59:31 AM »
...2.not necessary (press MediaKeys on keyboard or lockscreen on cell phone to see title)...
Does mozGetMetadata benefit the majority who use Chrome/Apple/Android/Opera/Edge, or is it better to do, a non-verbose:  document.title=decodeURI that works efficiently for all? 

Maybe I should have said that I'd like an AudioPlayerLight:
Play button
title=filename
available shuffle+repeat
do not want moz-only parts

2
HTML & templates / Re: Responsive small screen template
« on: March 04, 2021, 04:34:58 PM »
Audioplayer 6&7: 
1).  Play button doesn't start initial playback. 
2).  Browser title doesn't change to file name.
3).  Can I have 'compact' version without meta & without thumbnail?
4).  Doesn't play capitalized extension .MP3

RE:  #2 above:  mozGetMetadata doesn't work with other browser (and doesn't work with untagged mp3); however, title=filename works for all cases.

3
<style>body{font-family:"Arial Unicode MS","Lucida Sans Unicode","DejaVu Sans",sans-serif}</style>
It tells the client's browser to use windows, mac, linux, unicode fonts. 

4
HFS ~ HTTP File Server / Re: favicon HFS ?
« on: March 02, 2021, 09:15:00 PM »
Other way (base64): 
Code: [Select]
<link rel="shortcut icon" href="data:image/gif;base64,R0lGODlhEAAQALMAABYAABMmTDZXa2ZkVRxeqzl7zkZvmkJ71m6DLWKPsah+Ko5zV5WUZ8alc/zsKtPU1CH5BAEAAAEALAAAAAAQABAAAARfMMhJq00vv2GlYVrWDBxlGOFzjAhiGkd2EOSALNNJEEVvkK0FLrArHhKGVrBU3B2VAiGzSUgIrjVBAMDter9cRxjgKIsV5jF53RV7zWKzAoB2zNlxMH7sDpfvehJgEQAAOw==">-data use not cachable (because it is not a file)
-16 colors or less, else huge (must compress)
+no additional http request (because it is not a file)
+the favicon file is never requested (thus no delays)


Or, for off (no data use) (does not request file)
Code: [Select]
<link rel="icon" href="data:,">-boring
+fastest
+useful for HFS2.4's login page (especially if web-root has password)
+useful to decrease workload of frequently-hit error page (use only html file instead of html And ico file)

5
HFS ~ HTTP File Server / Re: Help with Hardware Selection - New NAS
« on: March 02, 2021, 08:34:28 PM »
Note: 
Single-threaded Windows HTTP servers (there's many to choose from) have a requirement:  more-cpu-than-ethernet
This is done by setting properties of the ethernet port to 100mbit (to prevent gigabit flooding crashes).
No gigabit because, more-ethernet-than-cpu = crash 
So, if you need faster than 100mbit, (if you want a no-crash gigabit server) then you need Linux. 

Exception:  It is possible to buy multi-threaded windows server software that works almost as well as paying nothing for Linux.

Options list:
Free single thread windows server software (HFS and many others) with ethernet set to 100mbit
or Paying for multi-thread windows server software, for gigabit aka 1000mbit
or Linux (NAS or DIY)


6
Here's a version of Throwback, with more efficiency.

Compressed scripts that load-only-as-needed, use less data.
 
+ Audioplayer is easier and plays mp3, m4a, ogg, aac, wma, flac
+ Photoviewer/slideshow also shows image file name

7
HTML & templates / Re: Responsive small screen template
« on: March 02, 2021, 05:10:16 AM »
Can the new audioplayer 5 or 6 do Shuffle+Repeat (can find and play a cached file when I drive through a no-signal area)? 

8
HTML & templates / Re: Responsive small screen template
« on: February 24, 2021, 05:35:44 PM »
For your 'classic' audioplayer in Stripes.tpl, how do I....?
something like <script> function ap(){
if(!document.querySelector('a[href$=".mp3"]')) return...

Well, how do I load the audioplayer6.js with the existing retry; but, only if files like these are present?:  '.mp3','.ogg','.m4a','.aac','flac','.MP3','.OGG','.M4A','.AAC','FLAC'

P.S.  Existing loader script is: 
<script defer src="/~audioplayer6.js" onerror="setTimeout(()=> this.src='/~audioplayer6.js',509)"></script>
So, that's the part that needs filtered to, load the audioplayer, only if music exists.  Halp? 

9
Having fun with my new Stripes template, which  I made for"unconfuse" to help users focus. 

Even with Throwback, a relative asked me: "What is this for?" and then she said: "I can't use this."  Wow.
I tried again with the Stripes template, with different results:  Same person merrily downloaded files. 

It is an interesting puzzle that a different appearance changes users' expectations of what they should be doing.

For example, other templates with server-management top menu causes all users to expect that they Should be doing server-management.   :o
Stripes template does the opposite, by causing the user to expect that they should be downloading files. 

10
HTML & templates / Stripes, the template for simple and easy
« on: February 20, 2021, 11:56:39 AM »
Stripes has a very clean layout that helps focus the users. 
Anyone will be able to use it easily.

+ High efficiency for multi-user workload.  Caching.  Exceptionally Sturdy.
+ Support for:  Phone/PC, large folders, basic users, any connection type.
+ Data savings because adaptive scripts aren't sent until they are needed.

Template Install:  HFS menu, HTML Template, Change file.
Kudos to DJ for the login, delete, and music shuffle player.

11
Beta / Re: version 2.4
« on: February 19, 2021, 08:02:16 PM »
Slight bug in "Please wait server busy"

Error:  Blocks multi-user browsing 
It is slightly too aggressive, and probably should be based on connections-per-second. 
Also the please wait delay is a little bit longer than necessary (delays real humans, often). 


Feature request:  Upload status available on Every page (available on the same page as the menus) so we can 'if uploading then no archive'
Feature request:  Archive status available on any page (available on the same page as the menus) so we can 'if archiving then delay upload'
Purpose is:
I'd like these with numeric result as %number-addresses-uploading% (on Every page, not just special upload section) and %number-addresses-archiving% (just packing the .tar file); so that I can throttle/delay other activities so that they don't clash.   Could also limit the # archive ongoing to 1 (by refusing to start another until the first is finished) and not doing either while uploading (to avoid interrupted upload). 

12
Bug reports / Re: HFS stops receiving connections until program restarted
« on: February 18, 2021, 11:27:22 PM »
On very fast internet connections the speed-limit is especially likely to cause the quasi-off condition.
However...
One limit increases reliability:
Max simultaneous downloads from single address  (is good)
Use only that one.   Try setting it to 1 or 2

My suggestion doesn't stop the old retry-flood = exit, nor the newer quasi-off condition.   We still need a "watchdog" in Events, which would test the loopback 127.0.0.1 for alive (with .load 127.0.0.1/favicon?); and if no response, server off, then slightly into the future server on. 

Edit:  5 second time before server on, so that the overload cause/bot has given up or gone elsewhere?
Edit2:  Also, server off server on = server off.  (not useful)  So, I think that we have to quote server on to make it run last.
Maybe this:  server off, if not server off then server off, else {:server on {.if not server on then {:server on:}.}:} can run in the correct order to change the quasi-off condition to server on?   For server on, it may be necessary to check&loop until server is really on?
The key is this order:  server off, Look Over There!!!, server on{:server on:}
Edit3:  Only the .load macro + loopback can be used for watchdog purpose (must make an http request for watchdog test). 

13
I'm not versed in this programming, but do have suggestions about where to prevent macro: 
Prevent macro execution at drive root and  OS critical (c:/ & c:/windows* & c:/progra*) folders.
Prevent macro execution at same folder that contains HFS.exe, because takeover risk.
Prevent archive at webroot (./) because archive all is overload (archive can't work then).

P.S.
Also a question:  Can macros be run non-block/async? 
I ask because, if you run a macro loop in HFS then it is completely stuck until loop end (this condition serves 1 or zero users). 

14
Beta / Re: version 2.4
« on: February 13, 2021, 04:04:04 PM »
Feature request:
%dmy%
new symbol only for smallest possible date format, like 12.12.21
(also, please set ISO date as default)

15
HTML & templates / Re: The "white" template: FTP-like, fewer functions
« on: February 12, 2021, 10:29:21 AM »
With:
Bold Folders, added label folder
added graceful auto error handler
added back label for easier navigation
HFS2.4: unauth forwards to Login  (no login buttons shown)
Upload & new folder (only shows for users that can upload)

Looks almost same, except easier.

Pages: 1 2 3 ... 11