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

Pages: 1 2 3 4 5 ... 15
Programmers corner / Re: delphi 10
« on: May 15, 2020, 06:23:20 PM »
Anyway, i wish someone else to be checking the security of this new stuff. works (even regardless of the chosen template)!

But I did'nt find a "copy url with password" menu option.

Programmers corner / Re: delphi 10
« on: May 13, 2020, 12:09:20 AM »
I quickly tested the new login system.

It works with localhost, but not with
! TypeError: crypto.subtle is undefined
Because It is available only in https

I also tested Ajax,
but can't get it work

Programmers corner / Re: delphi 10
« on: May 09, 2020, 08:40:47 AM »
but GUI (built-in) texts got mad
save your tpl as "UTF8 with BOM" helps (working example of my tpl)

HTML & templates / Re: Responsive small screen template
« on: May 09, 2020, 08:24:05 AM »
This will probably go to next version (will come after HFS2.4rc5 beta)

3 files removed: use

bundled is nothing new. Logout works with hfs24rc5(pre05)

a little mistake in 0.12c:
Code: [Select]
<!-- Jquery is included in this HFS link -->
<script src="/js/jquery1.11.js"></script>

I only need something can do live show/hide animations to an element.
you can't animate display, but you can animate height
for fadeIn this can help


+ readable script (better readable than mine ;)), starry_night, additional fileicons
-  I would try to replace jquery with native (it's not so much), to make it faster

HTML & templates / Re: Responsive small screen template - addon
« on: April 29, 2020, 11:43:00 AM »
form based login with browser login popup bypass

you need additional add autologin_b4 (or Alternative login form v2.0 and change ~loginb to ~box%20login)

bundled is nothing new, but (almost) all in one

auto login beta

Thanks Leo for 'Alternative login form for modern browsers' v2.0

HTML & templates / Re: Talking about a form-based login...
« on: April 25, 2020, 03:50:59 AM »
rejetto's login-form seems also to work in newer templates (hfs2.4rc, mobil-light,...)

Code: [Select]
<h1>{.!Unauthorized.} {.!&#47; Please login&hellip;.}</h1>
{.!Either your user name and password do not match, or you are not permitted to access this resource..}<br>
{.!Please login to access to your account, and check if you have the correct permissions to continue..}<br>

<fieldset id='login'>
  <legend><img src="/~img27"> {.!Login.}</legend>
            <form method='post' onsubmit='return login()' action="/">  <!-- return true  -->
                <tr><td align='right'>{.!Username.}<td><input name='__USER' size='15' /><p>
                <tr class='hideThis'><td align='right'>{.!Password.}<td><input name='__PASSWORD' size='15' type='password' />
                <tr class='hideThis'><td><td><input type='submit' value='{.!Login.}'>

function login() {
var formElement = document.querySelector("form");
var request = new XMLHttpRequest();"POST", "/");
request.onload=function(){ window.location.replace('/')}
request.send(new FormData(formElement));
    return false;


HTML & templates / Re: Talking about a form-based login...
« on: April 19, 2020, 05:30:20 PM »
To add remember username to your login is simply:
Add name='username' to the first input field
Also replace center with form , last input type with submit and add ;return false

can confirm that it logs out more often  :(

Beta / Re: version 2.4
« on: April 19, 2020, 04:57:12 PM »
I love the script. :-)
Question: How can I log out? I was trying to log in as another user but I can't find an option to log out of the current user.
Thank you.

Logout is possible with IE and Edge, but
you need to add a addon (diff tpl)

HTML & templates / Re: [Help] Making old template run entirely on Ajax
« on: April 19, 2020, 04:39:47 AM »

form-based login (similiar to this template)
'Remember password' checkbox option is possible, but you can also use the browsers Save Password function
logout (var ref=document.querySelector('button[onclick*=user]') for V2.4)

HTML & templates / Re: [Help] Making old template run entirely on Ajax
« on: April 16, 2020, 05:56:10 PM »
Don't forget, there's already a template doing it.
It's called mobil-light
It never reloads the page.

There's also a older version without ES6 (based on your suggestion).

The "legacy" template is not mobil-friendly. why invest work?
besides, jquery is not my thing.

http://localhost/~list  not found
http://localhost/~files.lst used in my template

HTML & templates / Re: Responsive small screen template - addon
« on: April 15, 2020, 01:10:04 PM »
number multiple files and optional add random digits for security

HFS ~ HTTP File Server / Re: Help starting and securing HFS
« on: April 14, 2020, 06:46:47 AM »
2. How do you control/disable "get list" function

Properties for folder
Flags: disable Browsable

See also

Update: prevent edit the url
Code: [Select]
{.if not|{.header|Referer.}|{:{.disconnect.}:}.}

Pages: 1 2 3 4 5 ... 15