addon | checked | adjustment |
audioplayerlight (http://rejetto.com/forum/index.php?topic=11754.msg1063922#msg1063922) | ☑ | (playbutton in footer) |
logout (http://rejetto.com/forum/index.php?topic=11754.msg1062970#msg1062970) | ☑ | var ref=document.querySelector('button[onclick*=user]') |
jpgimgthumbs | ☑ | |
pictureviewer | ☑ | |
archive_as_zip (http://rejetto.com/forum/index.php?topic=11754.msg1063899#msg1063899) | ☑ |
[+common-head]
<style>
#files {background:#555}
</style>
There is a problem with the selection tool, when we check a box, it performs the same action as clicking on the name
http://www.melauto.it/public/rejetto/ip.php|
http://rejetto.webfactional.com/hfs/ip.php|
http://www.whatsmyrealip.com/|IP is
http://2ip.ru|d_clip_button">
http://www.mario-online.com/mio_indirizzo_ip.php|<strong>
- SVG vs WebFonts (or font optimization)
If you want to optimize this (since HFS barely uses 10 icons or less), it would be great if you only use the SVG/PNG format, instead of using the complete 'Font Awesome' WebFont.
New jQuery version broke old browser supportI'm not fit in jquery, but it should support Internet Explorer: 9+ (https://jquery.com/browser-support/)
- New jQuery version broke old browser support
I did quite a few tests, and I've found some problems. Since you have updated jQuery from v1.4.2 to v3.3.1, it's probable that you unintentionally have broke support to a wide range of 'not so old' browsers
Regardless, this new jQuery change gives also some unexpected results if an user wants to use an old template that depends on jQuery v1.X.X (I'll publish those results too, if you are interested).
on a mobile device an 'OK' button is needed.
Another detail: the 'Selection' button is also ONLY displayed, for example, if there is a permission to delete in the current folder, but this is wrong, since if you also have the 'Archive' button visible, you need the 'Selection' button to being able to archive some files (without this, you will archive the whole folder).
- Offline use of 'Font Awesome' icons
If you want to optimize this (since HFS barely uses 10 icons or less),
You can also check this (https://css-tricks.com/icon-fonts-vs-svg/) very interesting article describing why SVG is better than using icon WebFonts, but that decision is up to you.
Out of the 8 links in the default "ip-services" list, the 5 below error out, causing HFS to fail to obtain the external IP over half the time.
If I try to edit a comment, I get the "span" tags with the double quote in between in the edit box like in the attached.
So I propose instead of doing an actual reload that resubmits the previous form, the "Reload page" button should just do a regular GET for the folder you're sitting at.
Edit: I just noticed that the corresponding entry in hfs.comments.txt does not get removed when any kind of delete happens.
replace #menu-panel { position: fixed;Thanks for this DJ! I've added that in the template I've attached to this post (with some extra (https://daker.me/2013/07/how-to-make-sticky-elements-using-position-sticky.html) code to have a wide open browser support, as it's recommended here (https://developers.google.com/web/updates/2012/08/Stick-your-landings-position-sticky-lands-in-WebKit) (I've used 0.3em instead of 5px as margin-bottom), as follows:
with #menu-panel { position: -webkit-sticky; position: sticky; margin-bottom:5px;
#menu-panel { position: -webkit-sticky; position: -moz-sticky; position: -ms-sticky; position: -o-sticky; position: sticky; margin-bottom:0.3em;
jquery 1.12 seems to be enough for this template, so i'll try to embed that instead.Remember that the latest stable version of HFS (v2.3m), used jQuery version 1.4.2 and not 1.12.
...and now: BIG NEWS! :)
After almost 5 hours of hard work (I'm not exaggerating), I did get rid of almost every incompatible JavaScript expression (ECMAScript 6),
Remember that the latest stable version of HFS (v2.3m), used jQuery version 1.4.2 and not 1.12.
Also the .split( method of jQuery may not be found on jQuery v1.4.2 (but I'm not sure about that).
why did you do this? :oI use SRWare Iron 31 (Portable edition) (http://download1.srware.net/old/iron/win/portable/IronPortable_31.zip), because it's the fastest browser on Windows XP (other browsers are very slow and take a lot of resources). If you don't care about me, don't do this for me, but think that the same Chromium engine is used by default on many Android's browsers (Android 4.0.3 to 4.4), and not everybody have Android 6 to 8 with the latest browsers.
i don't think it should support every browser.
what browser are you trying to support?
www.rejetto.com/hfsfiles/hfs24b3.exeI see you didn't used the most important parts of my changed template :'( (after all the time it took me to do it). I really can't understand why you insist on using 'ECMAScript 6'. For as much web developers try to make (aka 'force') people upgrade your browser, there are many situations (like old hardware) where it's impossible to always have the latest browser and operating system. On my case, Windows 7 is too slow for old hardware, and the support for new browsers on Windows XP is every day more limited.
check it out!
bug report about comments.recurring problem since very old versions
- Possible bug found #1 & #2
the checkboxes are broken (http://rejetto.com/forum/index.php?topic=13060.msg1064021#msg1064021) again
TypeError: newQ(...).on is not a function.
TypeError: $('body').on is not a function. (In '$('body').on', '$('body').on' is undefined)
but think that the same Chromium engine is used by default on many Android's browsers (Android 4.0.3 to 4.4), and not everybody have Android 6 to 8 with the latest browsers.
I see you didn't used the most important parts of my changed template :'(
I really can't understand why you insist on using 'ECMAScript 6'.
> EDIT: I guess you don't care about users like me, the same as more and more people everyday care less for the others (we have the 'global warm' just because that attitude of 'not caring about his neighbor').
OK, don't worry, I accept you don't want to get rid of 'ECMAScript 6', after all you are the boss (è solo fa male l'atteggiamento). [Sorry, but I had a bad day, and now I come to the forum and find this, completing my bad day]
> EDIT2: @Rejetto: È così che mi ringrazi?! Mi sforzo, ti aiuto a segnalare errori e tu mi ignori in questo modo? Mi rende molto triste, veramente...
@Mars/Anyone: Do you know why if you use the new template on the old HFS v2.3m, it doesn't work properly? (even using a modern browser). I don't see the reason why it could fail, since all the required files are self-contained on the template.
- Possible bug found #1:
- Possible bug found #2:
- Design issue?: if you give a comment to a folder,
why not consider having both versions of jquery.min.js in the exe as resources and somehow make a detection of the new template related to hfs 2.4 and utlser the most appropriate jquery to keep a compatibility
1 24 "WindowsXP.manifest"
defaultTpl TEXT default.tpl
copyright TEXT copyright.txt
dmBrowserTpl TEXT dmBrowser.tpl
invertban TEXT invertban.txt
filelistTpl TEXT filelist.tpl
uploadDisabled TEXT upload_disabled.txt
uploadHowTo TEXT upload_how.txt
alias TEXT alias.txt
shell GIF shell.gif
IPservices TEXT ipservices.txt
jquery TEXT jquery.min.js
jquery2 TEXT jquery2.min.js
if data.urlvars.values['mode'] = 'jquery2' then
begin
replyWithString(getRes('jquery2'));
conn.reply.contentType:='text/javascript';
exit;
end;
[]
{.$common-head.}
<title>{.!HFS.} %folder%</title>
<script type="text/javascript" src="/?mode=jquery2"></script>
<style class='trash-me'>
.onlyscript, button[onclick] { display:none; }
</style>
I do not know what to answer, for now with hfs 2.4 and the template of 2.3, i can not check some files but COMMENT button does not work
maybe, am I in special conditions?
I confirm, the good functioning depends on the version jquery in resource
Here, I mean that the descript.ion file contains a backslash and a letter 'n' where I typed a line break, and two special characters 04 C2 at the end of the comment. In addition, the line is ended by a Windows line break 0D 0A.
Apparently, the two extra characters at the end of the line signal the end of a multiline comment. If I remove them, the comment is rendered as a single line in the GUI, and the '\n' sequences are displayed literally.
with just 10KB (4 when gzipped)
women often say that it is not the size that is the most important, but the quality of the "work" and the pleasure it gives ;D
user data can be defined with SET INI and GET INI for use in a template, and managed from the options dialog (F7 last tab)
why not use the change and write the template without jquery?
What kind of use you make of your XP computer? Is it a media server? a secondary computer? a primary computer?One of them I used them a media server on WinXP (for local sharing files, offline), but I also have one WinXP online (with a firewall) as one of my primary computers (that PC is used as client of the offline PC), and then I have another much faster PC only for gaming and specific applications, loaded with Win7 (but it's mostly turned off, because it's too noisy to have it on 24/7, and mostly offline).
Does your template work well with that browser (Chrome 31) ?It does! :D it works perfect not only with Chrome 31 but even with Chrome 19! (as well it works fine with Firefox 24, Firefox 31, K-Meleon Web Browser 75, and others I've tested). Of course it doesn't work with Firefox 3.x or IE6, but nobody use them nowadays.
don't rush, my dear :) Opinions are mostly made by experience. Everybody's experience is limited and doesn't always produce the best of results. [...] I think it's the result of coming to conclusions too fast.I agree, and it's something I work every day on being better. I'm somewhat "passional", in the meaning of sometimes I take decisions 'being carried away by feelings or thoughts, without rationally thinking about the consequences' (I took definition from the dictionary).
because older javascript is a boring Language. Even when i was using it i had made a function myself trying to emulate the => arrow functions.That explains all! :) and it was my mistake thinking it was on purpose (part of the 'planned obsolescence (https://en.wikipedia.org/wiki/Planned_obsolescence)' that is currently happening on many things). Sorry for my mistake.
I thank you for your hard work, i undertand it was very long, but the decision should not be made on the number of hours. Do you agree with this?Absolutely! Feel free to take whatever decision you think is best. :)
when used multilines in comments, lines are serapated wit '\n' (that is correct), but when editing
comment with web page \n are converted as <br> and appear on screen
test.txt=there is a "bug"\nwith comments\ntext is saved as\nhtml code \nas with "htmlencode" functionfailing to do better: , this patch provides a temporary solution
First of all, sorry for my misplaced comment :-[
I have a possible solution to all this: perhaps this could be fixed doing a small routine, that detects if the browser doesn't support "the => arrow functions" (or other 'ECMAScript 6' expressions), and then it 'dynamically translates' those functions/expressions with older JavaScript code. Doing this, you only do that routine once, and you don't have to change every function. What do you think?... :)
same bug in previous versions, the offender is discovered, it is necessary to correct the setcomment function of the template
function setComment() {
var value = it.find('.comment-text').html() || '' // change .html() by .text()
- Possible bug found #1: add a real folder, then on root set 'access' and 'delete' to anyone, then try to rename that folder trough the browser, and you will see that the - Possible bug found #2: add a real folder (with several sub-folders inside), give to those inside sub-folders a different comment to each folder. Now rename one of those
- Design issue?: if you give a comment to a folder, that comment gets displayed next to the folder path, without any design or indication that it's a comment.
- Here (http://rejetto.com/forum/index.php?topic=13060.msg1064023#msg1064023) is another different bug report about comments.this was already fixed, AFAIK
hfs24b4.exe
give it a try
not working: the tag <BR> always appears when editing the comment
when comments are saved in descript.ion, each line of comment is ended with code 0x04,0xC,x0D,x0A
http://www.rejetto.com/hfsfiles/hfs24b4.exeI can't believe it! YOU DID IT! (https://i.imgur.com/Rr0Mejs.gif)
give it a try
I am again confronted with a reported problem: check boxes checked have the same effect as clicking the name of the associated itemChanging:
.item-link { float:left; }
.item-link { float:none; }
by changing "upload-panel" by "upload panel" he had thus transformed $('#upload-panel') into $('#upload panel') leaving <div id="upload-panel"I did notice that when I was doing a comparison between 'Build 2' vs 'Build 3' with DiffNow, but I didn't say anything because it thought it was a proper fix. By the way, with the last edition, he deleted this line (I don't know is has any effect, because it seems to work OK without that):
<link rel="stylesheet" href="/?mode=section&id=icons.css" type="text/css">
do you think you can make a drop-down menu for the "more options" button instead of a central popup?That could be nice, but (IMHO) only as an option for desktop browsers, because I think on small screen devices, that could lead to usability problems (like clicking by mistake outside the menu and having to start again). Perhaps this can be done using only CSS, but distinguishing between mobile vs desktop by its size is not easy nowadays, since new devices have big screen resolution. As an idea, maybe a new 'mobile' icon can be added (along with the 'lightbulb'), to switch between mobile and desktop, so in the default mobile theme we can have the current modalbox, and in the desktop theme the dropdown proposed by Mars. But that's in the case Rejetto is interested on this.
how to define comments in Russian characters, store them, and restore them correctly to the web pageOn my PC (using the Build 4), that comment gets stored and displayed as:
this comment как возможная функция
??? ????????? ???????
body.dark-theme .item .comment { background-color:#444; color:#888; }
body.dark-theme #foldercomment { background-color:#333; color:#999; }
Quote from: Mars on October 07, 2018, 09:38:10 PM
I am again confronted with a reported problem: check boxes checked have the same effect as clicking the name of the associated item
Changing:Code: [Select].item-link { float:left; }
To:Code: [Select].item-link { float:none; }
...seems to solve the problem.
do you think you can make a drop-down menu for the "more options"not a drop-down, but always vertical
[+common-head]
<style>
.item-menu-dialog {width: initial}
.item-menu-dialog .pure-button {display:block}
</style>
do you think you can make a drop-down menu for the "more options" button instead of a central popup, as in the following image?
I am again confronted with a reported problem: check boxes checked have the same effect as clicking the name of the associated item
by changing "upload-panel" by "upload panel" he had thus transformed $('#upload-panel') into $('#upload panel') leaving <div id="upload-panel"
Perhaps unicode comments could be stored on Base64 (using `atob()` and `btoa()`).
In the dark theme, the 'foldercomment' needs his own CSS code (new line to add marked in red, and I've used a slightly different color to not to be confused with a file comment):
procedure Tfile.setDynamicComment(cmt:string);the bug is also effective in version of hfs24b5.exe
var
s, path, name: string;
i: integer;
begin
if countSubstr(#13#10,cmt) = 0 then
cmt:=xtpl(cmt,[#10,#13#10]);
if not isTemp() then
begin
comment:=cmt; // quite easy
exit;
end;
....
function getAccountRedirect():string;
.....
// if it's not a complete url, it may require some fixing
// mod mars 10-2018
result:=xtpl(result,['\','/']); // if result ansiStart with '\' not necessary to add '/' with next line of code
if not ansiStartsStr('/', result) then result:='/'+result;
end; // getAccountRedirect
mars was just guessing, but he was not rightit's understandable, javascript gives me Urticaria on neurons ;D
hfs.lng: i'll have a look at it. I have to check the documentation of the translator to see how dynamic strings must be handled, i don't know yet.Oki Doki :) Keep me posted if you have any advance on this...
Can you please tell me what old template and what feature it breaks?Oh! :-[ I haven't saved the results of my tests, so, I will have to make those tests again on this weekend, at least with the default old template (and report back the results).
Can you please tell me what old template and what feature it breaks?I'm afraid you won't like to hear this: on modern browsers the functionality seems to be OK, but on old browsers it gets broken (and the problems are too many to list here, but they are mostly buttons or some sections that doesn't showing up). So, summarizing: if some user was using an old template on an old browser, it will be fucked up (will have a very limited functionality), but if he is using a modern browser, will see no difference (everything seems to work fine). So, it's up to you if you keep jQuery v1.12.4 (breaking the compatibility with old browsers), or use jQuery v1.4.2 (maintaining compatibility).
don't you remember if the problems were with the default template, or not?
may be wrong but it must be about the compatibility of old default template with the new version of jqueryYes, the problem was about compatibility of old default template (of 2.3m) with the new version of jQuery v1.12.4.
ok, i see.Yeah, it's OK. :) Who cares about IE6 and FF3 anyway? They are not relevant today (I don't use it at all, I just did some tests on it, only because the old template worked fine on it). But if some user needs support for those old browsers, could still use 'The really fast Throwback (retro) template (http://rejetto.com/forum/index.php?topic=12055.0)' or the old legacy template that I'm sharing HERE (https://rejetto.com/forum/index.php?topic=13082.0). After all, this is a brand new version, so, it's OK to drop support for those 'truly very-old browsers'.
I don't see a good reason to support IE6 and FF3.
I understand your suggestion to use jquery 1.4 is also in favor of IE6 and FF3.
http://www.rejetto.com/hfsfiles/hfs24b6.exeCool! 8) I'll check it out and do some tests on the next few days...
Now we have sorting, and much more translatable strings.
" latest tests I did the other day, were only using" Strighten up Leo. We can absolutely not use that in season 5 Le BureauThat's a 'high' post!! (https://i.imgur.com/NSJPeHf.gif)(https://i.imgur.com/bHTRoCG.gif)
http://www.rejetto.com/hfsfiles/hfs24b6.exeCould you please generate a new base language file (hfs.lng), because I've generated a new one (using kdlscan.exe and lngupdate.exe), but I can't find any new string to translate (and neither any new modification is found). The utility kdlscan.exe mark with "(!)" every untranslated (new & modified) string, but in this case (and after doing every step right), it does't find new or modified strings. Are you sure there are new strings to translate? (because also after doing a 'visual' inspection, I don't see anything new/changed). ???
Now we have sorting, and much more translatable strings.
@media (min-width: 50em) {
#toggleTs { display: none }
}
@media (max-width: 50em) {
#menu-panel button { padding: .4em .6em; }
.additional-panel button span,
#menu-bar button span { display:none } /* icons only */
#menu-bar i { font-size:120%; } /* bigger icons */
#menu-bar button { width: 3em; max-width:10.7vw; padding: .4em 0; }
.hideTs .item-ts { display:none }
}
Kryvich's Delphi Localizer https://sites.google.com/site/kryvich/localizer
Sorry, been out the past month or so with medical issues. [...] the main idea is adding "a cookie-based login system", so modern mobile browsers could use a form based login system (and not rely on that old and obsolete login popup that most new browsers are now deprecating).I hope you are well now, it's nice to see you again. :) I agree, that would be great. After seeing your post I've search on the forum and found out that Rejetto was working some time ago on a similar solution, but then he didn't say anything about it. This (http://rejetto.com/forum/index.php?topic=9699.msg1054351#msg1054351) was that post:
1. cookie authentication is on the way. Sadly i had to stop few months ago because of the lack of time. It's harder than you may think since i'm making it backward compatible, so that current templates will continue to work. It's already quite working but i have to solve some problems. Sharing it with you may be a good idea to speed up the process.I know that post was -very- old, but may be rejetto has somewhere stored a partial-done code for a 'cookie authentication' system, that he could share it "as is" here, so we can continue developing it. ;)
use this link to load a demo version (https://takeafile.com/?f=kayeyosuni)@Mars: This link is down. Could you please upload/share it again?... :)
if that's not enough, come back to me ;)Thank you, I appreciate your reply, but it's much better what you have proposed here (http://rejetto.com/forum/index.php?topic=13060.msg1064053#msg1064053): having automatic 'template revision' detection (without needed to modify any template). So, if TR2 is detected, then use old jQuery of v2.3m, and if TR3 is detected, then use new jQuery of v2.4. Even if I currently don't needed this change, programming is fun.
if that's not enough, come back to me ;)Thank you, I appreciate your reply, but it's much better what you have proposed here (http://rejetto.com/forum/index.php?topic=13060.msg1064053#msg1064053): having automatic 'template revision' detection (without needed to modify any template). So, if TR2 is detected, then use old jQuery of v2.3m, and if TR3 is detected, then use new jQuery of v2.4. Even if I currently don't needed this change, programming is fun. 8)
That's a 'high' post!! (https://i.imgur.com/NSJPeHf.gif)(https://i.imgur.com/bHTRoCG.gif);D ;D ;D
Hi, just passing by, and I see you are all still busy. HFS has come a long way (I still remember the good old days when it started). No reason to stop it. :)
The main idea is adding "a cookie-based login system", so modern mobile browsers could use a form based login system (and not rely on that old and obsolete login popup that most new browsers are now deprecating).
Could you please generate a new base language file (hfs.lng), because I've generated a new one (using kdlscan.exe and lngupdate.exe), but I can't find any new string to translate (and neither any new modification is found).
You could solve this, changing 48em to 50em (http://pxtoem.com/):
• Another thing more: "developer notes.txt" needs this line to be added:Code: [Select]Kryvich's Delphi Localizer https://sites.google.com/site/kryvich/localizer
it does the same to me. I don't know why it seems to ignore the fact that i've been converting many constants to "resourcestring".
I will investigate it.
i tried with the "Switch ON" and it worked, so it's the exe.Well... I appreciate you effort, but for as much as I would like to say it's solved, it isn't solved... :-\ The "Switch ON" works, but that's not the main problem.
try this http://www.rejetto.com/hfsfiles/hfs24rc1.exe
addon | checked | adjustment |
check boxes (http://rejetto.com/forum/index.php?topic=13060.msg1064021#msg1064021) | ☑ | bugfix selection |
audioplayerlight (http://rejetto.com/forum/index.php?topic=11754.msg1063922#msg1063922) | ☑ | add mime types* (* .mp3 audio/mpeg, .ogg audio/ogg) |
logout (http://rejetto.com/forum/index.php?topic=11754.msg1062970#msg1062970) | ☑ | var ref=document.querySelector('button[onclick*=user]') |
jpgimgthumbs (http://rejetto.com/forum/index.php?topic=13060.msg1064013#msg1064013) | ☑ | |
pictureviewer (http://rejetto.com/forum/index.php?topic=13060.msg1064013#msg1064013) | ☑ | |
archive_as_zip (http://rejetto.com/forum/index.php?topic=13060.msg1064013#msg1064013) | ☑ | save or change script |
dnd_upload and viewthumbs (http://rejetto.com/forum/index.php?topic=13077.msg1064110#msg1064110) | ☑ | |
comment for standard-template (http://rejetto.com/forum/index.php?topic=11754.msg1064076#msg1064076) | ☑ | comment in utf-8 |
searchcategorie (http://rejetto.com/forum/index.php?topic=13060.msg1064013#msg1064013) | ☑ | search for images, audios,videos |
I'm now leaving for a 3-weeks journey in India and Nepal. I can't say about my availability next days.@Rejetto: Happy holidays! :)
Anyway, i fear that i'll have to publish 2.4 as it is if we don't find a solution to this translation problem.Yeah, for me it's OK :) (feel free to release v2.4 as is)
Anyway, i fear that i'll have to publish 2.4 as it is if we don't find a solution to this translation problem.Yeah, for me it's OK :) (feel free to release v2.4 as is)
I want to add this css rule for final 2.4Yes, that looks OK (at least on my side). Don't forget that the original line had "float:left;"
.item-link { word-break: break-word; }
.item-link { float:left; }
.item-link { word-break: break-all; float:left; }
alternatively truncate string@DJ: That would be nice, but it would also needs adding "white-space: nowrap;". But sadly, your code adds a extra line, one for the file name and another below for the time and file size, even on short file names.
.item-link { overflow: hidden; text-overflow: ellipsis }
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna esse.txt
Loremipsumdolorsitametconsecteturadipiscingelitseddoeiusmodtemporincididuntutlaboreetdoloremagnaesseutenimadminimveniamq.txt
.item-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: left; }
.item-link { float: left; overflow: hidden; text-overflow: ellipsis; max-width: 100%}
should do it. Tested on chrome and FF.
.item-link { float:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
Hi boss ! ;)I also join the petition, but I guess Rejetto is waiting to release the stable version to release the sources. Perhaps he plans to release the final v2.4 stable version soon?... 8)
No sources for these RC ?
Also, I've found that "break-all" could work better that "break-word".
alternatively truncate string
.item-link { overflow: hidden; text-overflow: ellipsis }
No sources for these RC ?
while testing languages-addon (http://rejetto.com/forum/index.php?topic=11754.msg1064456#msg1064456), i found some strings in hfs.tpl not translated:Good find! :) There were TOO many strings (more than 15 changes) that were needed to be modified in the default template. Check the attached 'hfs.tpl' along with the updated spanish translation diff, that I've updated here (http://rejetto.com/forum/index.php?topic=11880.msg1064490#msg1064490)... ;)
"Search" (line 105) and "Delete" (line 154) in hfs24rc2
{.add to log|{.if|%user%|{.!User.} %user%|{.!Anonymous.}.} {.!renamed.} "{.^x.}" {.!to.} "{.^yn.}".}
{.add to log|{.if|%user%|{.!User.} %user%|{.!anonymous.}.} {.!renamed.} "{.^x.}" {.!to.} "{.^yn.}".}
This line needs to be replaced:
With this correct line:
(By the way, talking about macro syntax, I'm curious to know why "%user%|{.!User.}" is working fine without giving an error, but "%user%|{.!Anonymous.}." throws an error, being that both values are on the same place).
"Switch On" and "Switch Off" button is reversed
[]
{.$common-head.}
<title>{.!HFS.} %folder%</title>
{.add to log|{.if|%user%|{.!User.} %user%|{.!Anonymous.}.} {.!renamed.} "{.^x.}" {.!to.} "{.^yn.}".}
<script type="text/javascript" src="/?mode=jquery"></script>
"Switch On" and "Switch Off" button is reversedI can confirm this bug! It was introduced on hfs24b6.exe (http://www.rejetto.com/hfsfiles/hfs24b6.exe) (hfs24b5.exe (http://www.rejetto.com/hfsfiles/hfs24b5.exe) had this function working correctly). If you look carefully, the icon shows the correct function, meanwhile the text is wrong. I guess this happened to Rejetto when doing some automatic 'search and replace' on the source code, without looking if every replaced instance was the correct (it's something common, that it could happen to anyone).
could not reproduce the bug with Anonymous,This is VERY weird! I'm pulling my hairs trying to reproduce the error, but now the bug is not coming back, neither using {.!Anonymous.} or {.!anonymous.}. There must be something with some specific configuration I had, but now I can't reproduce this error anymore (is crazy!). :o
Error: {.break|result=bad session}
ok
19:42:22 127.0.0.1:2737 Requested GET /
19:42:25 127.0.0.1:2739 Requested GET /?mode=jquery
19:42:34 127.0.0.1:2740 anonymous renamed "/folder/SomeFile1.gif" to "SomeFile2.gif"
"Switch On" and "Switch Off" button is reversed
update:
either only I have the error or nobody has noticed
Find the mistake between the two pictures! Image shows server turned on
SwitchON1.imageIndex:=if_(srv.active, 11, 4);
SwitchON1.caption:='Switch '+if_(srv.active, 'OFF', 'ON');
SwitchON1.caption:=if_(srv.active, 'Switch ON', 'Switch OFF');
[special:alias]
check session=if|{.{.cookie|HFS_SID_.} != {.postvar|token.}.}|{:{.cookie|HFS_SID_|value=|expires=-1.} {.break|result=bad session}:}
didn't test it, but i don't like the idea of truncating the file names. What when you have a difference at the end of them (a common case): you cannot tell the difference anymore.
[+common-head]
<style>
.item-link {float: left; overflow: hidden; text-overflow: ellipsis; max-width: 100%}
.item-menu-dialog {word-break: break-all}
</style>
I am wondering when you will release the final version 2.4?I also have the same question... just wondering: perhaps he wants to add some new feature?... ??? at least it would be nice to have RC3. ;)
Chris
1. Can we have a check box beside the file names so we can download selected items?It's already implemented on v2.4, you have to click on the 'Selection' button, and the checkboxes will appear.
2. The server I'm trying to download from contains a "check mark" character in all the filenames (somefile √.mkv) alt-251 ...... the files are listed and appear to be downloadable, but when you attempt to download them it says there are no files to download?I can confirm this. I'm attaching an example file to demonstrate this (just uncompress/unrar the file on some shared folder). When you try to download the file, you will get a "Not found" message (like if the file doesn't exists).
Where to download the latest language file? :-\The latest English language file (hfs.lng) is HERE (http://rejetto.com/forum/index.php?action=dlattach;topic=13060.0;attach=8889) (this was posted by Rejetto here (http://rejetto.com/forum/index.php?topic=13060.msg1064318#msg1064318)). You can translate this file using IniTranslator which you can get it from HERE (https://sourceforge.net/projects/initranslator/files/latest/download) (thanks SilentPliz (http://rejetto.com/forum/index.php?topic=13134.msg1064631#msg1064631) for the info!), or use a portable version of that program, that you can download it from HERE (https://portableapps.com/apps/development/initranslator-portable).
The latest English language file (hfs.lng) is HERE (http://rejetto.com/forum/index.php?action=dlattach;topic=13060.0;attach=8889) (this was posted by Rejetto here (http://rejetto.com/forum/index.php?topic=13060.msg1064318#msg1064318)). You can translate this file using IniTranslator which you can get it from HERE (https://sourceforge.net/projects/initranslator/files/latest/download) (thanks SilentPliz (http://rejetto.com/forum/index.php?topic=13134.msg1064631#msg1064631) for the info!), or use a portable version of that program, that you can download it from HERE (https://portableapps.com/apps/development/initranslator-portable).
Is it possible to add an option to block not just by IP but also to block by user agent in case it's identidied?
For example if I want users to be able to download from Chrome but not from Firefox ?
// Safari CSS and Webkit Google Chrome
if ($.browser.webkit) {
$("#element").css('top', '2px');
} else if ( $.browser.safari ) //not fully supported on 1.7 jQuery {
$("#element").css('top', '2px');
// Opera CSS
} else if ( $.browser.opera ) {
$("#element").css('top', '2px');
// Internet Explorer CSS
} else if ( $.browser.msie ) {
$("#element").css('top', '2px');
// Mozilla FireFox CSS
} else if ( $.browser.mozilla ) {
$("#element").css('top', '2px');
// Normal Revert, careful and note your the use of !important
} else {
$("#element").css('top', '2px');
// You can have normal JavaScript between these too
document.getElementById("element").style.top="2px";
}
The latest English language file (hfs.lng) is HERE (http://rejetto.com/forum/index.php?action=dlattach;topic=13060.0;attach=8889) (this was posted by Rejetto here (http://rejetto.com/forum/index.php?topic=13060.msg1064318#msg1064318)). You can translate this file using IniTranslator which you can get it from HERE (https://sourceforge.net/projects/initranslator/files/latest/download) (thanks SilentPliz (http://rejetto.com/forum/index.php?topic=13134.msg1064631#msg1064631) for the info!), or use a portable version of that program, that you can download it from HERE (https://portableapps.com/apps/development/initranslator-portable).
So, this is going like filling the bathtub, whereby 100 megabits = 1 faucet or gigabit = 10 faucets simultaneously and a flooding problem. For connection speeds like that, HFS needs changed to schedule dealing with the data, pro-rata higher than accumulating it.
Instead of waiting for an update, I suggest that you buy the cheapest USB to 100 megabit Ethernet adapter from ebay, for $2. So, just fix the ip address, aim HFS at it; and if you continue to have trouble, try (ethernet adapter settings of windows) set it to a lower speed. Given the added adapter, you won't have to slow down your whole server; however, it will take another Ethernet cable.
Alternatively, you could try OpenMediaVault, which is a Linux-based operating system for x86 and many of the little ARM systems. Or, for Windows, some FTP servers (https://www.lifewire.com/windows-ftp-servers-free-817577) can do heavy duty workloads.
Without wanting to appear defeatist, hfs has not evolved directly to https without having to use SSL, another evolution of the web is moving towards ipV6, this will probably be the limit of use for hfs.
impossible to understand why, but with the last template under firefox on my desktop computer it became impossible to select an item from the check boxes without this having the same effect as clicking directly on the item, as if it were just a picture that changes its appearance
2. The server I'm trying to download from contains a "check mark" character in all the filenames (somefile √.mkv) alt-251 ...... the files are listed and appear to be downloadable, but when you attempt to download them it says there are no files to download? I don't believe the owner of the files wants to remove/change all the check marks .... can HFS be changed to allow the files with special characters to be downloaded?
Is is possible to automatically log in a certain user from a fixed ip address?
Is it possible to set max number of connections limit, which is Not applied to browsing (no limit on file listing)?
Right click the tray icon and choose Switch ON, actually switches off
Page load while downloading a big file fast, also switches off :o (needs watchdog feature added)
I'm uploading the modified file so Rejetto could use it in a future
» Silly question: does "hfs.diff.tpl" ONLY works on sub-folders? (because currently, if "hfs.diff.tpl" is on root, it doesn't work). Is that the normal behavior? (it doesn't should work on root too?).
[]
test
line 556 -> Anonymous is an account name, do not translate it with {.! Anonymous.}.}
I am wondering when you will release the final version 2.4?
CASE 2) If you have a 'hfs.ini' file with a minimal content (like a simple 'space' character, or containing a word like 'HFS' at start), the file is recognized and used to save the settings there (the registry is not used), and if you already have a 'hfs.tpl' along with the 'hfs.exe' file, HFS is NOT creating the default account 'can change password' (if there is no 'hfs.tpl' file, the account 'can change password' is created normally. Expected behavior: the account 'can change password' should be created and saved on the 'hfs.ini' file on this specific scenario (also the settings should be saved in a file, if an empty 'hfs.ini' file is found).
ok, thanks. Sorry for the late reply :)
it's supposed to work on root too, and i remember using it in the past.
Try entering this:Code: [Select][]
test
This was the error shown (see screenshot):Code: [Select]Error: {.break|result=bad session}
ok
Edit! Also, especially awesome for lan-only use, because the music plays reliably and the search finds everything.As a side note, you should know that you could very EASILY (see my post here (https://rejetto.com/forum/index.php?topic=13088.0)) recompile HFS by yourself, and edit the source code removing any hard-codded URL (about updates and self-test), and have a rock-solid secure server (that you personally could trust). It's not recommended to remove or edit parts of the source code without knowledge, but it can be done (Linux users compile executable binaries files all the time, and if you done that in the past, this is much easier).
i just published latest fixes in RC3 (first post)windows defender:
latest version http://www.rejetto.com/hfsfiles/hfs24rc3.exeNice to see RC3! :D According to my tests (if I'm not mistaken, correct me if I'm wrong), RC3 (hfs24rc3.exe) comes with 'exactly' the same default template than RC2 (hfs24rc2.exe). Perhaps Rejetto forgot to include the changes on the template. I did a list of what's fixed...
windows defender:I was just writing this post, when I see your message. You can rest assured is a false positive (hfs24rc3.exe was tested by myself, and I found it safe, just be sure the file you have downloaded has the same checksum, with SHA1: A98EE8B9D8D2C523466F5609EE71436BEDD69B22 (https://www.virustotal.com/gui/file/ef373572bf9463e3501a5c151b388277701bd6dbb08835b3f64f57dbc78539e8/detection)). Besides that, both RC2 and RC3 have exactly the same size 2,12 MB (2.224.640 bytes), so I doubt it could have anything bad. On each version, it's the same issue with antivirus companies, as always some of them flag HFS as not safe (and mostly because HFS is not digitally signed).
rc3 1 danger :'( Trojan:Win32/Detplock
rc2 0 danger
2.3m 0 danger
windows defender:
rc3 1 danger :'( Trojan:Win32/Detplock
rc2 0 danger
Nice to see RC3! :D According to my tests (if I'm not mistaken, correct me if I'm wrong), RC3 (hfs24rc3.exe) comes with 'exactly' the same default template than RC2 (hfs24rc2.exe).
the version of the compiler you are currently using to build hfs24rc3.exe
template corrected http://www.rejetto.com/hfsfiles/hfs24rc4.exe(Sorry, I had no time to check this yesterday)
mime-types=*.htm;*.html|text/html|*.jpg;*.jpeg;*.jpe|image/jpeg|*.gif|image/gif|*.png|image/png|*.bmp|image/bmp|*.ico|image/x-icon|*.mpeg;*.mpg;*.mpe|video/mpeg|*.avi|video/x-msvideo|*.txt|text/plain|*.css|text/css|*.js|text/javascript|*.swf|application/x-shockwave-flash|*.svg|image/svg+xml
[+]
<script>
if(window.matchMedia('(prefers-color-scheme:dark)').matches) document.body.classList.add('dark-theme') //light remove
</script>
[+]
<style>
body.dark-theme .item-props {color:#8A8A8A}
body.dark-theme #title-bar {color:#C9C9C9}
body.dark-theme a.pure-button {color:#303030}
body.dark-theme .item .comment {color:#B3B3B3 }
</style>
increase Lighthouse Accessibility 7%latest version http://www.rejetto.com/hfsfiles/hfs24rc4.exe
there's a new default template, mobile friendly and responsive.
i'm almost finished.
Would you start to give it a try?
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.
there is no logout linked to the login of hfs, to die a connection you have to close the navigatorI either have to clear cash or use another browser. Just closing and reopening a browser did not work. Thanks.
Logout is possible with IE and Edge, butThank you. * I wanted to use firefox or chrome.
you need to add a addon (http://rejetto.com/forum/index.php?topic=13060.msg1064345#msg1064345) (diff tpl)
1) Any suggestion when this will become final version?
2) I noticed this beta contacts 2 or 3 IP addresses daily, is that normal?
I'm sorry if I'm repeating the subject, but the thread is too big to review.Will there be a terminal version for Linux?
Why? This software is unique and i can't find similar fileserver for the Linux.As far I know, you can run HFS on Linux using Wine, but not as command line (terminal version). Perhaps if you know someone who could port HFS to Lazarus, then a native Linux version could be compiled (but I'm not experienced with Linux).
Why? This software is unique and i can't find similar fileserver for the Linux.
However, there is no light without shadow, so I have to announce that the 2.4 versions of HFS finally, and officially, stopped working on Windows 98 SE! ::)
View pages with Chrome/Edge, there is a chance that HFS transfers some data, then "die" for a while without responding data. (not sure)
...
Did these only happened to me? :-\
The last thing: How about adding the translation system (.lng file) back ::)
View pages with Chrome/Edge, there is a chance that HFS transfers some data, then "die" for a while without responding data. (not sure)I can confirm that.
...
Did these only happened to me? :-\
i introduced also a change with the template system: custom templates will be loaded as they were diff tpl. This mean that if you need a resource in your template, a section, that is present in the default template, you can avoid duplicating it in yours, and just consider as it is present. You can do it for css, and for the ajax.* sections for example. I hope this is not breaking anything.The switch theme button at the top right corner doesn't work at all, and there are errors indicating getCookie and setCookie are not defined.
ok Leo, i've used flashget and i've found the bug in HFS. It will work in next release.(Sorry for not leaving this message earlier, yesterday)
» Personal note: From now (until further notice), it will not be possible for me doing 'deep' testings of new builds as before, for as much as I would like to. As I've said previously, on the last past week I've started working again, and my free time is again being very limited. Besides that, I don't have a IPv6 connection to make tests, so, I hope any of you make those tests and check everything is OK. If you have anything to say to me, please leave a message on the public forum to get my attention (since I won't be logging here unless I have something to post, and I won't be checking emails as often as before). However, I'll keep an eye on the forum as always.
I can confirm that.Looks like TWSocketServer have some unexpected behavior. I revert to TWSocket and it work as before
I have no bans.
! The script from "http://192.168.137.1/?mode=section&id=lib.js" was loaded, although its MIME type ("") is not a MIME type valid for JavaScript.
! Loading failed for the <script> with the source "http://192.168.137.1/?mode=section&id=lib.js"
Sometimes ?mode=jquery is pending.
beta1 works fine. Beta2 and 3 seems broken.
I can confirm that. I have no bans.
Looks like TWSocketServer have some unexpected behavior. I revert to TWSocket and it work as before
hi Tea, what version were you using?
the "leave disconnected" option was removed. If you need to keep track of connections you can use the log.
hi MarkV! win98? wow :D thanks for reporting.
I'm glad we are still ok with XP, since some people here still use it. I'll do my best without killing me tho. Time is short.
netsh int ipv6 install
command, andI couldn't get it to run on Windows 2000 SP4, so far. Have to check what the fresh system still lacks, in comparison to the established one that runs HFS fine. Maybe it is the IPv6 TP.
On a standard Windows XP installation with SP3, HFS will start, no problem, but it will be disabled and unable to be put online. That's because a standard install is missing the IPv6 component.
I hope you've seen the smileys. Just checked some old VMs and PCs and noticed. Personally, I'll start complaining when it stops working on Windows 7, OK? :)
I ran into a bug with the new "Copy URL with password" links. After logging in, I think it's the style sheet that doesn't load. The page is just text and basic buttons with no graphics.
If I try to upload something it fails, but only after the entire file has been sent. I have no idea where the file was being put as it was uploading, but it wasn't in the folder after it finished.
I found out the hard way with an almost 14 GB file a friend tried to send. Doh! lol The problem appears to be with the fact that the part starting with "?mode=auth&u=...." is still in the address bar immediately after logging in. If I click a folder button or link, that part is removed and the style sheet loads and uploads work.
Application exception occurred:
App: (pid=1140)
When: 5/27/2020 @ 00:10:25.788
Exception number: c0000025
()
*----> System Information <----*
Computer Name: VBX-W2KTEST
User Name: Test
Number of Processors: 1
Processor Type: x86 Family 15 Model 2 Stepping 0
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization: *
Registered Owner: Test
*----> Task List <----*
0 Idle.exe
8 System.exe
180 smss.exe
208 csrss.exe
228 WINLOGON.exe
256 SERVICES.exe
268 LSASS.exe
392 VBoxService.exe
480 svchost.exe
508 spoolsv.exe
536 AvastSvc.exe
568 svchost.exe
608 regsvc.exe
624 mstask.exe
540 winmgmt.exe
704 svchost.exe
1168 explorer.exe
1280 VBoxTray.exe
1336 AvastUI.exe
1340 internat.exe
1564 explorer.exe
1140 hfs.exe
784 drwtsn32.exe
0 _Total.exe
(00400000 - 00979000)
(77F80000 - 77FFC000)
(77570000 - 775A0000)
(77E10000 - 77E6F000)
(7C570000 - 7C624000)
(77F40000 - 77F7D000)
(7C2D0000 - 7C335000)
(77D30000 - 77D9F000)
(77800000 - 7781E000)
(76620000 - 76631000)
(76B30000 - 76B6E000)
(70A70000 - 70AD6000)
(78000000 - 78045000)
(71710000 - 71794000)
(7CF30000 - 7D176000)
(77820000 - 77827000)
(759B0000 - 759B6000)
(779B0000 - 77A4C000)
(7CE20000 - 7CF0F000)
(7CDC0000 - 7CE10000)
(7C340000 - 7C34E000)
(77BF0000 - 77C01000)
(77980000 - 779A5000)
(75050000 - 75058000)
(75030000 - 75044000)
(75020000 - 75028000)
(77950000 - 7797B000)
(751C0000 - 751C6000)
(75150000 - 75160000)
(75E60000 - 75E7A000)
(6E420000 - 6E426000)
(7C950000 - 7C9DF000)
(64E40000 - 64E61000)
(78B20000 - 78DDE000)
(77840000 - 7787E000)
(770C0000 - 770E3000)
(772B0000 - 7731D000)
(782C0000 - 782CC000)
(77340000 - 77353000)
(77520000 - 77525000)
(77320000 - 77337000)
(773B0000 - 773DF000)
(77380000 - 773A3000)
(77830000 - 7783E000)
(77880000 - 7790E000)
(7C0F0000 - 7C154000)
(774E0000 - 77514000)
(774C0000 - 774D1000)
(77530000 - 77552000)
(77360000 - 77379000)
(777E0000 - 777E8000)
(777F0000 - 777F5000)
State Dump for Thread Id 0x5b8
eax=0012f914 ebx=0012ffb0 ecx=00000000 edx=ffffffff esi=0012f98c edi=00000000
eip=77facc94 esp=0012f908 ebp=0012f974 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200202
function: RtlTraceDatabaseEnumerate
77facc6f eb23 jmp RtlConvertUlongToLargeInteger+0x10c4 (77fbc294)
77facc71 f6460401 test byte ptr [esi+0x4],0x1 ds:00bb9872=??
77facc75 742a jz wcstombs+0x16a9 (77fb93a1)
77facc77 c745a0250000c0 ss:00bb985a=????????
mov dword ptr [ebp+0xa0],0xc0000025
77facc7e 8d45a0 lea eax,[ebp+0xa0] ss:00bb985a=????????
77facc81 c745a401000000 mov dword ptr [ebp+0xa4],0x1 ss:00bb985a=????????
77facc88 50 push eax
77facc89 8975a8 mov [ebp+0xa8],esi ss:00bb985a=????????
77facc8c 894db0 mov [ebp+0xb0],ecx ss:00bb985a=????????
77facc8f e80cf8ffff call RtlRaiseException (77fac4a0)
FAULT ->77facc94 8b1b mov ebx,[ebx] ds:0012ffb0=0012ffe0
77facc96 83fbff cmp ebx,0xff
77facc99 0f8540ffffff jne RtlTraceDatabaseEnumerate+0xb3 (77facbdf)
77facc9f eb08 jmp wcstol+0x183 (77fb7ca9)
77facca1 b001 mov al,0x1
77facca3 eb06 jmp allmul+0xb (77fb4fab)
77facca5 834e0408 or dword ptr [esi+0x4],0x8 ds:00bb9872=????????
77facca9 32c0 xor al,al
77faccab 5f pop edi
77faccac 5e pop esi
77faccad 5b pop ebx
77faccae c9 leave
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0012F974 77F91BC6 0012F98C 0012F9BC 0012F98C 0012F9BC ntdll!RtlTraceDatabaseEnumerate
0012FCE0 00682EE2 0EEDFADE 00000001 00000007 0012FCF8 ntdll!KiUserExceptionDispatcher
0012FD4C 00683D83 0012FDD8 00000000 012B948C 0012FD88 !TMethodImplementationIntercept
0012FD60 006AD7DB 0012FE04 0012FD94 006AD7F1 0012FD88 !TMethodImplementationIntercept
0012FD88 006B5341 0012FE04 0012FDA0 006B5486 0012FE10 !TMethodImplementationIntercept
0012FE10 00799606 00000000 0012FE48 007A1D2B 0012FE50 !TMethodImplementationIntercept
0012FE1C 007A1D2B 0012FE50 007A1DA3 0012FE48 0089050C !TMethodImplementationIntercept
0012FE48 007A9AF7 0012FED8 007A9C8C 0012FED0 00000000 !TMethodImplementationIntercept
0012FED0 007BF53B 0012FF00 007BF5ED 0012FEF4 01396A7C !TMethodImplementationIntercept
0012FEF4 007BFA28 0012FF8C 0012FF94 007BFF1E 0012FF8C !TMethodImplementationIntercept
0012FF8C 007D653E 0012FFB0 007D6560 0012FFC0 00000000 !TMethodImplementationIntercept
0012FFC0 7C5989D5 00000000 00000000 7FFDF000 00000000 !TMethodImplementationIntercept
0012FFF0 00000000 007D6380 00000000 000000C8 00000100 kernel32!ProcessIdToSessionId
*----> Raw Stack Dump <----*
0012f908 c0 fc 12 00 14 fd 12 00 - 8c f9 12 00 25 00 00 c0 ............%...
0012f918 01 00 00 00 8c f9 12 00 - 94 cc fa 77 00 00 00 00 ...........w....
0012f928 e8 56 13 00 f8 f9 12 00 - 64 f9 12 00 60 f9 12 00 .V......d...`...
0012f938 88 f9 12 00 00 00 00 00 - cc fc 12 00 00 00 00 00 ................
0012f948 48 31 f8 77 ff ff ff ff - a8 f6 12 00 14 00 00 00 H1.w............
0012f958 8c f9 12 00 1f 00 00 00 - 14 00 16 00 38 b4 16 00 ............8...
0012f968 00 00 13 00 00 70 12 00 - 00 00 00 00 e0 fc 12 00 .....p..........
0012f978 c6 1b f9 77 8c f9 12 00 - bc f9 12 00 8c f9 12 00 ...w............
0012f988 bc f9 12 00 de fa ed 0e - 01 00 00 00 00 00 00 00 ................
0012f998 b1 bc 59 7c 07 00 00 00 - e2 2e 68 00 e0 45 2a 01 ..Y|......h..E*.
0012f9a8 a8 3d 68 00 00 00 00 00 - d8 fd 12 00 4c fd 12 00 .=h.........L...
0012f9b8 14 fd 12 00 3f 00 01 00 - 00 00 00 00 00 00 00 00 ....?...........
0012f9c8 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9d8 72 13 ff ff 00 01 ff ff - ff ff ff ff 02 74 40 00 r............t@.
0012f9e8 1b 00 3a 07 74 ba 29 01 - 23 00 ff ff 00 00 00 00 ..:.t.).#.......
0012f9f8 00 00 00 00 00 00 00 d4 - 01 d0 01 e8 00 80 34 40 ..............4@
0012fa08 00 d2 00 da 00 ca 00 de - 35 40 00 c8 00 e6 00 40 ........5@.....@
0012fa18 00 e8 35 40 00 e6 00 e8 - 00 c2 00 dc 35 40 00 cc ..5@........5@..
0012fa28 00 de 00 ea 00 dc 35 40 - 00 de 00 ea 00 dc 00 c8 ......5@........
0012fa38 35 40 00 50 01 a0 01 94 - 01 80 34 40 00 00 00 00 5@.P......4@....
State Dump for Thread Id 0x3fc
eax=77d37dd0 ebx=00145560 ecx=0012dce8 edx=00000000 esi=00145400 edi=00000100
eip=77f88b37 esp=015bfe28 ebp=015bff74 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206
function: ZwReplyWaitReceivePortEx
77f88b2c b8ac000000 mov eax,0xac
77f88b31 8d542404 lea edx,[esp+0x4] ss:02049d0f=????????
77f88b35 cd2e int 2e
77f88b37 c21400 ret 0x14
77f88b3a 8bff mov edi,edi
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
015BFF74 77D58E4A 77D3AEED 00145400 77D50101 00130000 ntdll!ZwReplyWaitReceivePortEx
015BFFA8 77D37DE8 00144C38 015BFFEC 7C57B3BC 00145560 rpcrt4!TowerConstruct
015BFFB4 7C57B3BC 00145560 77D50101 00130000 00145560 rpcrt4!I_RpcConnectionInqSockBuffSize2
015BFFEC 00000000 00000000 00000000 00000000 00000000 kernel32!lstrcmpiW
State Dump for Thread Id 0x2f8
eax=7ce20000 ebx=00000102 ecx=00147b28 edx=00000000 esi=77f88398 edi=016bff74
eip=77f883a3 esp=016bff60 ebp=016bff7c iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206
function: NtDelayExecution
77f88398 b832000000 mov eax,0x32
77f8839d 8d542404 lea edx,[esp+0x4] ss:02149e47=????????
77f883a1 cd2e int 2e
77f883a3 c20800 ret 0x8
77f883a6 8bff mov edi,edi
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
016BFF7C 7C59A2CC 0000EA60 00000000 7CE89ACC 0000EA60 ntdll!NtDelayExecution
00007530 00000000 00000000 00000000 00000000 00000000 kernel32!Sleep
*----> Raw Stack Dump <----*
016bff60 01 a3 59 7c 00 00 00 00 - 74 ff 6b 01 31 a0 59 7c ..Y|....t.k.1.Y|
016bff70 28 7b 14 00 00 ba 3c dc - ff ff ff ff 30 75 00 00 ({....<.....0u..
016bff80 cc a2 59 7c 60 ea 00 00 - 00 00 00 00 cc 9a e8 7c ..Y|`..........|
016bff90 60 ea 00 00 a7 5b e8 7c - 00 00 00 00 00 00 e2 7c `....[.|.......|
016bffa0 28 7b 14 00 ec ff 6b 01 - 28 7b 14 00 ff 5a e8 7c ({....k.({...Z.|
016bffb0 85 7d e3 7c 70 7d e3 7c - bc b3 57 7c 28 7b 14 00 .}.|p}.|..W|({..
016bffc0 85 7d e3 7c 70 7d e3 7c - 28 7b 14 00 00 c0 fd 7f .}.|p}.|({......
016bffd0 62 00 64 00 c0 ff 6b 01 - 62 00 64 00 ff ff ff ff b.d...k.b.d.....
016bffe0 60 21 5c 7c 08 2b 57 7c - 00 00 00 00 00 00 00 00 `!\|.+W|........
016bfff0 00 00 00 00 e5 5a e8 7c - 28 7b 14 00 00 00 00 00 .....Z.|({......
016c0000 c8 00 00 00 00 01 00 00 - ff ee ff ee 02 10 00 00 ................
016c0010 00 00 00 00 00 fe 00 00 - 00 00 10 00 00 20 00 00 ............. ..
016c0020 00 02 00 00 00 20 00 00 - 9e 01 00 00 ff ef fd 7f ..... ..........
016c0030 06 00 08 06 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
016c0040 00 00 00 00 98 05 6c 01 - 0f 00 00 00 f8 ff ff ff ......l.........
016c0050 50 00 6c 01 50 00 6c 01 - 40 06 6c 01 00 00 00 00 P.l.P.l.@.l.....
016c0060 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
016c0070 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
016c0080 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
016c0090 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
State Dump for Thread Id 0x41c
eax=778321fe ebx=00000003 ecx=0012f258 edx=00000000 esi=77f88ef8 edi=00000003
eip=77f88f03 esp=0182fd24 ebp=0182fd70 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
function: NtWaitForMultipleObjects
77f88ef8 b8e9000000 mov eax,0xe9
77f88efd 8d542404 lea edx,[esp+0x4] ss:022b9c0b=????????
77f88f01 cd2e int 2e
77f88f03 c21400 ret 0x14
77f88f06 8bff mov edi,edi
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0182FD70 7C59A180 0182FD48 00000001 00000000 00000000 ntdll!NtWaitForMultipleObjects
0182FFB4 7C57B3BC 00000004 000B000A 7C3280D0 0016D3D0 kernel32!WaitForMultipleObjects
0182FFEC 00000000 00000000 00000000 00000000 00000000 kernel32!lstrcmpiW
i just tried but cannot reproduce this problem. Let me know if you find more on it.
ok i'll see to fix it for next release
oh man, sorry but i wouldn't use HFS for such job, as HTTP doesn't support resume on upload. Unless it's in LAN, and it takes few minutes.
TBH i suspect nowadays upload-resume could be implemented via javascript. Maybe for a future release.
5/26/2020 5:48:44 PM Server start
5/26/2020 5:49:24 PM <IP address>:56202 Connected
5/26/2020 5:49:24 PM <IP address>:56203 Connected
5/26/2020 5:49:24 PM <IP address>:56203 Got 444 bytes
5/26/2020 5:49:24 PM rejetto@<IP address>:56203 Requested GET <login link with credentials removed>
5/26/2020 5:49:24 PM rejetto@<IP address>:56203 Sent 1460 bytes
5/26/2020 5:49:24 PM rejetto@<IP address>:56203 Served 2.7 K
5/26/2020 5:49:25 PM rejetto@<IP address>:56203 Requested GET /?mode=section&id=style.css
5/26/2020 5:49:25 PM <IP address>:56204 Connected
5/26/2020 5:49:25 PM rejetto@<IP address>:56203 Redirected to /rejetto
5/26/2020 5:49:25 PM <IP address>:56205 Connected
5/26/2020 5:49:25 PM <IP address>:56204 Got 435 bytes
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Requested GET /?mode=jquery
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Sent 1460 bytes
5/26/2020 5:49:25 PM <IP address>:56206 Connected
5/26/2020 5:49:25 PM <IP address>:56205 Got 446 bytes
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Served 42.5 K
5/26/2020 5:49:25 PM <IP address>:56206 Got 445 bytes
5/26/2020 5:49:25 PM rejetto@<IP address>:56206 Requested GET /rejetto
5/26/2020 5:49:25 PM rejetto@<IP address>:56206 Sent 60 bytes
5/26/2020 5:49:25 PM rejetto@<IP address>:56206 Not served: 301 - Moved permanently
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Requested GET /~img_folder
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Served 562
5/26/2020 5:49:25 PM rejetto@<IP address>:56203 Disconnected by server - 2966 bytes sent
5/26/2020 5:49:25 PM rejetto@<IP address>:56206 Disconnected by server - 60 bytes sent
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Requested GET /rejetto/
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Served 2.7 K
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Login failed
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Requested GET /favicon.ico
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Not served: 403 - Deny
5/26/2020 5:49:25 PM rejetto@<IP address>:56204 Disconnected by server - 47381 bytes sent
5/26/2020 5:49:29 PM <IP address>:56202 Disconnected
5/26/2020 5:50:33 PM <IP address>:56214 Connected
5/26/2020 5:50:33 PM <IP address>:56215 Connected
5/26/2020 5:50:33 PM <IP address>:56215 Got 546 bytes
5/26/2020 5:50:33 PM rejetto@<IP address>:56215 Requested GET /rejetto/Test folder/
5/26/2020 5:50:33 PM rejetto@<IP address>:56215 Sent 1460 bytes
5/26/2020 5:50:33 PM rejetto@<IP address>:56215 Served 2.6 K
5/26/2020 5:50:33 PM <IP address>:56216 Connected
5/26/2020 5:50:33 PM <IP address>:56217 Connected
5/26/2020 5:50:33 PM <IP address>:56216 Got 400 bytes
5/26/2020 5:50:33 PM rejetto@<IP address>:56216 Requested GET /?mode=jquery
5/26/2020 5:50:33 PM rejetto@<IP address>:56216 Not modified, use cache
5/26/2020 5:50:33 PM <IP address>:56217 Got 411 bytes
5/26/2020 5:50:33 PM rejetto@<IP address>:56217 Requested GET /?mode=section&id=lib.js
5/26/2020 5:50:33 PM rejetto@<IP address>:56217 Not modified, use cache
5/26/2020 5:50:33 PM rejetto@<IP address>:56216 Disconnected by server
5/26/2020 5:50:33 PM rejetto@<IP address>:56217 Disconnected by server
5/26/2020 5:50:38 PM <IP address>:56214 Disconnected
I created a rejetto folder and user and restricted it to just that folder with full access, and the log below is from just the login process. I will message you the link to log into it to see what happens if you'd like. Don't worry, nothing malicious in there. 8) Feel free to upload, create a folder, delete, whatever.
So I'm trying to narrow it down.
Edit: Nothing is standing out. Even if I temporarily reset the options in the Debug menu, it doesn't help. Only renaming hfs.ini out of the way makes a difference. I need to get to bed. Let me know if I should PM you my hfs.ini file.
your link was precious because i've found ANOTHER bug. ;D
If the account has a redirection, the mode=auth doesn't work well, you get the redirection on the next request (style.css).
I've decided that redirection should not take place at all with an auth link. It will work only with manual login. Ok?
I'll publish another beta later today. Already collected 6 small changes.
i don't think the ini would be enough
Oh, one more thing. If I log in with an auth link, then log out without doing anything else in between that removes the auth part, it just automatically logs back in since it's still an auth link. Would it make sense and would it be possible to just make the auth part go away while logging in?
Now a question as to how things are supposed to work. I added the redirect back to the rejetto account, which sends it to \rejetto, the only folder it has access to. But if I try to manually log in at the root, I just get prompted to log in again instead of being redirected to the \rejetto folder. Is that working as designed? I kind of expected the redirect to happen, but at least I probably won't actually have anyone trying to do that.
And I think I found another bug. If I click within or highlight the IP address part of a "user@xxx.xxx.xxx.xxx" entry in the log and try to ban it, the IP address field is blank (not that I would actually want to ban the IP address of someone who has an account. heh).
The last-utf-char-corruption still exists, but this cannot be seen on rejetto's computer.
Uploading a file with specified last utf8 char can reproduce the problem on most (other) computers.
eg. 哲学.ppt -> 哲�?ppt (note that dot disappeared too) Then "filename is forbidden".
This seems can be fixed with the (almost) same way we used in alpha to the uploading function.
Maybe file names on windows are in ansi but not utf-8.
Another thing: Most of the templates of version 2.3 (including mine) seems cannot work correctly in 2.4, with bad file action functions. Should this solved by template makers or rejetto? ::)
Problems found in Takeback:
Uploads a blank file, no uploading results are shown (showing a filelist page while a POST request)
Renaming & moving do not work
Bad session when creating a folder
you are right. Fixed in next release (https://github.com/rejetto/hfs2/commit/ad33cbf263180d5713bce22d7fd102a5009549b4).
I want to test 2.4 but can't see any .exe file. Help?
Thanks. I like the new options and view.
I found another thing: I see the ok/cancel in port specifiction now can be effect by the hfs.lng translation file, but they seems have conflicted IDs to some built-in localization type strings.@Rejetto: This reminds me that it could come handy if you can generate a new "hfs.lng" base (english) file, based on the latest build, to make it available for those who want to translate HFS. Maybe you can also upload it to GitHub, to make it easier to find. (I don't need this, I only comment you this as a reminder to you. ;))
Uhoh, now the IP address field is always blank when I try to ban one from the log. :-\
The translations are just because of the hfs.lng file.
You have once solved the Unicode problem around here: http://rejetto.com/forum/index.php?topic=13288.msg1065652#msg1065652
Try to callback what the method you have used :D
I found another thing: I see the ok/cancel in port specifiction now can be effect by the hfs.lng translation file, but they seems have conflicted IDs to some built-in localization type strings
@Rejetto: This reminds me that it could come handy if you can generate a new "hfs.lng" base (english) file, based on the latest build, to make it available for those who want to translate HFS. Maybe you can also upload it to GitHub, to make it easier to find. (I don't need this, I only comment you this as a reminder to you. ;))
i tested with several types and couldn't reproduce your problem.
Please paste here a line from the log that gives you problems. You can replace 2-3 digits of the IP for privacy.
5/30/2020 6:38:34 AM Server start
5/30/2020 6:39:07 AM 192.168.1.100:49549 Connected
5/30/2020 6:39:07 AM 192.168.1.100:49549 Got 427 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49549 Sent 477 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49549 Disconnected by server - 477 bytes sent
5/30/2020 6:39:07 AM 192.168.1.100:49550 Connected
5/30/2020 6:39:07 AM 192.168.1.100:49551 Connected
5/30/2020 6:39:07 AM 192.168.1.100:49552 Connected
5/30/2020 6:39:07 AM 192.168.1.100:49550 Got 391 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49551 Got 362 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49551 Requested GET /?mode=jquery
5/30/2020 6:39:07 AM 192.168.1.100:49552 Got 373 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49551 Sent 1460 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49551 Served 42.5 K
5/30/2020 6:39:07 AM 192.168.1.100:49552 Sent 9073 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49552 Disconnected by server - 9569 bytes sent
5/30/2020 6:39:07 AM 192.168.1.100:49551 Not modified, use cache
5/30/2020 6:39:07 AM 192.168.1.100:49550 Sent 13459 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49553 Connected
5/30/2020 6:39:07 AM 192.168.1.100:49550 Not modified, use cache
5/30/2020 6:39:07 AM 192.168.1.100:49554 Connected
5/30/2020 6:39:07 AM 192.168.1.100:49553 Got 412 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49553 Not modified, use cache
5/30/2020 6:39:07 AM 192.168.1.100:49551 Disconnected by server - 43515 bytes sent
5/30/2020 6:39:07 AM 192.168.1.100:49553 Disconnected by server
5/30/2020 6:39:07 AM 192.168.1.100:49550 Disconnected by server - 13459 bytes sent
5/30/2020 6:39:07 AM 192.168.1.100:49554 Got 397 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49554 Sent 496 bytes
5/30/2020 6:39:07 AM 192.168.1.100:49554 Disconnected by server - 496 bytes sent
5/30/2020 6:39:12 AM 192.168.1.100:49555 Connected
5/30/2020 6:39:12 AM 192.168.1.100:49555 Got 599 bytes
5/30/2020 6:39:12 AM 192.168.1.100:49555 Requested POST /?mode=login
5/30/2020 6:39:12 AM 192.168.1.100:49555 Sent 22 bytes
5/30/2020 6:39:12 AM 192.168.1.100:49555 Served 22
5/30/2020 6:39:12 AM Test@192.168.1.100:49555 Requested GET /
5/30/2020 6:39:12 AM Test@192.168.1.100:49555 Served 2.4 K
5/30/2020 6:39:12 AM Test@192.168.1.100:49555 Not modified, use cache
5/30/2020 6:39:12 AM 192.168.1.100:49556 Connected
5/30/2020 6:39:12 AM 192.168.1.100:49557 Connected
5/30/2020 6:39:12 AM 192.168.1.100:49556 Got 401 bytes
5/30/2020 6:39:12 AM Test@192.168.1.100:49556 Not modified, use cache
5/30/2020 6:39:12 AM 192.168.1.100:49557 Got 412 bytes
5/30/2020 6:39:12 AM Test@192.168.1.100:49557 Not modified, use cache
5/30/2020 6:39:12 AM Test@192.168.1.100:49555 Disconnected by server - 2527 bytes sent
5/30/2020 6:39:12 AM Test@192.168.1.100:49557 Disconnected by server
5/30/2020 6:39:12 AM Test@192.168.1.100:49556 Disconnected by server
5/30/2020 6:39:12 AM 192.168.1.100:49558 Connected
5/30/2020 6:39:12 AM 192.168.1.100:49558 Got 397 bytes
5/30/2020 6:39:12 AM Test@192.168.1.100:49558 Requested GET /favicon.ico
5/30/2020 6:39:12 AM Test@192.168.1.100:49558 Sent 576 bytes
5/30/2020 6:39:12 AM Test@192.168.1.100:49558 Served 576
5/30/2020 6:39:18 AM Test@192.168.1.100:49558 Got 446 bytes
5/30/2020 6:39:18 AM 192.168.1.100:49558 Requested POST /?mode=logout
5/30/2020 6:39:18 AM 192.168.1.100:49558 Sent 22 bytes
5/30/2020 6:39:18 AM 192.168.1.100:49558 Served 22
5/30/2020 6:39:18 AM 192.168.1.100:49558 Disconnected by server - 1074 bytes sent
5/30/2020 6:39:19 AM 192.168.1.100:49559 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49560 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49561 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49559 Got 433 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49560 Got 401 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49561 Got 412 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49559 Not modified, use cache
5/30/2020 6:39:19 AM 192.168.1.100:49560 Not modified, use cache
5/30/2020 6:39:19 AM 192.168.1.100:49561 Not modified, use cache
5/30/2020 6:39:19 AM 192.168.1.100:49559 Disconnected by server
5/30/2020 6:39:19 AM 192.168.1.100:49561 Disconnected by server
5/30/2020 6:39:19 AM 192.168.1.100:49560 Disconnected by server
5/30/2020 6:39:19 AM 192.168.1.100:49562 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49562 Got 527 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49562 Sent 497 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49562 Disconnected by server - 497 bytes sent
5/30/2020 6:39:19 AM 192.168.1.100:49563 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49564 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49563 Got 433 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49565 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49564 Got 401 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49563 Not modified, use cache
5/30/2020 6:39:19 AM 192.168.1.100:49565 Got 412 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49565 Not modified, use cache
5/30/2020 6:39:19 AM 192.168.1.100:49564 Not modified, use cache
5/30/2020 6:39:19 AM 192.168.1.100:49563 Disconnected by server
5/30/2020 6:39:19 AM 192.168.1.100:49564 Disconnected by server
5/30/2020 6:39:19 AM 192.168.1.100:49565 Disconnected by server
5/30/2020 6:39:19 AM 192.168.1.100:49566 Connected
5/30/2020 6:39:19 AM 192.168.1.100:49566 Got 397 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49566 Sent 497 bytes
5/30/2020 6:39:19 AM 192.168.1.100:49566 Disconnected by server - 497 bytes sent
sure! somebody let me know if this file is good, then we'll decide how to publish itI think one of a problems is that all resourcestrings in functions you named as MSG:
[ResourceStrings]
64820_main_MSG{1}=The current template is using macros.\^Do you want to cancel this action?
...
64820_main_MSG{1}=Max simultaneous addresses downloading.
...
64820_main_MSG{1}=Max lines on screen
...
64820_main_MSG{1}=Max lines on screen
64820_main_MSG{1}=Here you can specify how to format the log file complying Apache standard.\^Leave blank to get bare copy of screen on file.\^\^Example:\^ %h %l %u %t "%r" %>s %b
64820_main_MSG{1}=This option creates an .md5 file for every new calculated fingerprint.\^Use with care to get not your disk invaded by these files.
I think one of a problems is that all resourcestrings in functions you named as MSG:
Can the text cursor be automatically moved to where you right click in the log instead of having to left click to move it first, since the right click menu has to do where that is?
sure! somebody let me know if this file is good, then we'll decide how to publish itGood, thanks for the new file (I'm sure it will come handy for those who want to translate HFS). From time to time, there are some users who doesn't know how (http://rejetto.com/forum/index.php?topic=8433.msg1065837#msg1065837) to translate HFS, and finding the 'hfs.lng' on the middle of a long thread like this (http://rejetto.com/forum/index.php?topic=13060.msg1065836#msg1065836), make it sometimes hard to find (even for me!, because after a few weeks I forget where you have uploaded the file). You can upload it wherever you think is more visible for the users (it was only a suggestion to upload it on GitHub). :)
If they always have a different IDs each time they are generated, it will be annoying since we should work with them again and again.I could be wrong, but I think this will only happen once (I mean, the new 'hfs.lng' has different IDs because Rejetto has updated the component that makes the translation possible). HFS v2.3m was making use of "Kryvich's Delphi Localizer v3.2", and Rejetto is now using "Kryvich's Delphi Localizer v4.1" which has full unicode support (that's why it could now have different IDs). But I think this would not happen again soon, or at least not very often (until Rejetto decides to update that component again on the future). Someone please correct me if I'm mistaken... ;)
I've found there are some serious problems making a login system compatible with the old one.
I fear we'll have to say goodbye to old templates, unless they are adapted for the new version.
The last-utf-char-corruption still exists, but this cannot be seen on rejetto's computer.
Uploading a file with specified last utf8 char can reproduce the problem on most (other) computers.
eg. 哲学.ppt -> 哲�?ppt (note that dot disappeared too) Then "filename is forbidden".
Is this test good? If yes, then the problem is not in HFS but in the browser you are using.(Corrected sth and moved to the topic for unicode (http://rejetto.com/forum/index.php?topic=13315.0).)
Windows Defender reported Beta 09 as potentialy unwanted app PUA:Win32/Pearfoos.A!mlWindows/Microsoft Defender/SmartScreen almost always reports exes without a developer signature unwanted/non-trivial.
new version is out and unicode problem is fixed
https://github.com/rejetto/hfs2/releases/tag/v2.4-beta09
Oh yeah, that's almost perfect! :Dnow I realized
I see in default template the file actions are done by adding a <form> element to page, edit and submit it with jQuery,
and the traditional ajax method of deleting a file from default template of 2.3m in Takeback cannot work (loaded with change of [unauth] and dj's adaption).
What should be done to this :D
When you move mouse to file's icon at list of VFS
Is here anything I can do to stop hfs being quarantined?
Small note regarding the representation of IPv6 in address lines and logs. As you know, IPv6 uses colons as separators, unless IPv4, which uses dots. In order to solve the ambiguity that arises with appended ports (which, stupidly, also use a colon as separator), literal IPv6 addresses are written inside of square brackets "[" and "]".
Edit: Btw, does the Boru_V1 theme have a few image errors or is it my browser?
https://rejetto.com/forum/Themes/Boru_v1/images/useron.gif (https://rejetto.com/forum/Themes/Boru_v1/images/useron.gif)
The image above will only display an error message.
I have loaded beta 9 and I found Windows 10 Defender said it had a virus and took it off my system. I have seen this on earlier versions.
Files with commas in its name cannot be downloaded in Google Chrome, with the error ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION.
How about having a encryption when we change our password?
(This can be put off, since HFS is open source, and the method we use should be careful.)
as an alternative method, we can just use the old password to encrypt the new one (no openssl required).You can also use the current wall clock time string from the system, as a source of randomness. Could also be used to salt the password if necessary.
You can also use the current wall clock time string from the system, as a source of randomness. Could also be used to salt the password if necessary.
The 429 code also happens in Takeback (0.14b) with background image function enabled (by editing tpl file). Only in RC1.
@Windows Defender:
Ah, yeah, you now said that straightly.
But I don't know why you think a web server is a threat and unwanted.
they assume you are clueless and you don't know what's happening, somebody else put the server on your machine :)
[error-page]
%content%
With THIS in tpl makes the error pages work and pure ;)thanks mark but it's not randomness we need for this (salt excluded)Oh, so I didn't understand right. You want to encrypt the new password with the old one, send it and have HFS decrypt it, before replaceing and dispose of the old credentials.
Edit: Default template also looks good in dark:
correct, and i knew that, it's in the to-do since long :)Sorry, I was long absent. Lost quite some (dev) time.
for a later release, we have even too much stuff here. Initially i meant 2.4 just for the mobile tpl ;D
i see you are using some other way to have it dark :) but i trust you know that you get a similar result by clicking the bulb icon on the top-right cornerIt's an extension in my browser. :)
if name = 'sha1' then
result:=strSHA1(p);
if name = 'sha256' then
result:=strSHA256(p);
Will pressing the bulb be saved, possibly by account? Is it controllable, possibly even by day/night cycle?
could you add this macro in scriptlib.pas during the new release of hfs
it is to allow an intercation with the function sha256(s) that you placed in the template
Will pressing the bulb be saved, possibly by account? Is it controllable, possibly even by day/night cycle?
My browser kills cookies after a few minutes or session end, thanks for the note. I would like to have at least the option to make dark the default (theme always starts as dark instead of light).
it's saved as a cookie in the browser.
the 'cycle' could be a plugin, i don't think i will include such feature in the base.
i guess the best would be to detect what you want from the OS, as they are starting to be dark-aware.
Thanks to the new *.diff.tpl feature it will be much easier to make "plugins".
I have many ideas but little time.
autotheme addon (http://rejetto.com/forum/index.php?topic=13060.msg1065357#msg1065357) sets dark mode by OSWill not work for me, I'm on Windows 7. Could be set by day time easily.
My browser kills cookies after a few minutes or session end, thanks for the note. I would like to have at least the option to make dark the default (theme always starts as dark instead of light).
autotheme addon sets dark mode by OS
cool! i forgot about it.
I will use the method for the default tpl. I hope you don't mind :)
i'll better explain this new anti-DoS mechanism i just introduced:» Suggestion: Why don't you introduce an option to also configure how many connections per second (per IP) are accepted? (for example, with a new variable 'MAX_PER_SECOND'). That, along with the current variable 'MAX_CONCURRENTS (https://github.com/rejetto/hfs2/commit/782702c192e424d1ff439030fdc2d637fcb8d2ac)'. It could be a menu setting, or (even better) only a hidden config on hfs.ini. This could be useful for advanced server admins that doesn't care about having a DoS protection, for example if he only uses HFS on a private or local LAN environment. Alternatively, if any of those settings are set to "0", it could disable this DoS protection (never delivering a 429 error, but giving unlimited/unrestricted connections, like on the old 2.3m version). It's just an idea... :)
[...]
If necessary i will introduce an option to configure this behavior, we'll see.
» Suggestion: Why don't you introduce an option to also configure how many connections per second (per IP) are accepted?
» Another important thing: Have you thought on how this new setting could affect the use of HFS along with Stunnel?
Leo says right. My homepage index.html needs lots of css and js requests, and RC2 also caused some of them 429.
transparent = yes | no (Unix only)
Transparent proxy mode
Rewrite the addresses so that they appear to come from the SSL client machine
rather than one that runs stunnel. This option is only available in local mode
(exec option) with the LD_PRELOADing env.so shared library shared library and
in remote mode (connect option) on Linux 2.2 kernels compiled with the option
transparent proxy and only in server mode. This option cannot be combined with the mode
proxy (connect) unless the default route from the client to the target goes through
the host running stunnel, which cannot be localhost.
One question, can custom templates be used for hfs24?
I keep getting an error.
DoS protection doesn't apply to files, css or js.
Tell me how to reproduce the problem please, it may be a bug.
One question, can custom templates be used for hfs24?
I keep getting an error.
openssl.exe req -new -config openssl.cfg -outform PEM -newkey rsa:2048 -x509 -sha384 -days 730 -nodes -verbose -out "cert.crt" -keyout "cert.key"
as i just said, if we find that's necessary to have an option we'll have an option.OK, I already knew you will not like my suggestion... :-[ ::) But hey, you did a great job with Nginx! :) (you can be happy about it). Rejetto: from now on, you can breathe relieved when you see a message from me, since I will not be reporting new more things about v2.4.x, because I don't want to be the guy who always 'break the balls' with small details (non voglio essere il che 'rompe le palle' sempre con piccoli dettagli :D). I officially leave the "reporting things" task for the rest of you (beside that, my free time is much more limited now).
OK, I already knew you will not like my suggestion... :-[ ::)
since I will not be reporting new more things about v2.4.x, because I don't want to be the guy who always 'break the balls' with small details
Missing macro 'sha256' in rc2
could you add this macro in scriptlib.pas during the new release of hfs
it is to allow an intercation with the function sha256(s) that you placed in the template
sure, next release
first: you promised
I think that with the help of silentpliz we could manage to offer you a module that would be easily integrated into hfsI vote to have this by default (even if we don't have HTTPS yet). It's better to have some security, than no security at all. I like the work Mars has done. :)
in the version of silentpliz using stunnel, he introduced a tab on the main page to manage the creation of such a certificate,
The sha256 result can be sent to client, then just slice some of its result with some rule and offset password bytes in some way?
you added (http://rejetto.com/forum/index.php?topic=11737.0) the mime type for mkv (works with chrome)
why not add
Should this thing (http://rejetto.com/forum/index.php?topic=13060.msg1065897#msg1065897) be fixed? It's still there.
Because of the quotes added in a fix, now the filename on download have no problem with Chrome.
But in Firefox appears to have the quote attached before and after.
[overload]
{.if not|%user%|{:{.if|{.%url% = /.}|{:{.disconnect.}:}.}:}.}{.add header|Cache-Control: no-cache, max-age=0.}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=./">
<TITLE>Overload</TITLE>
<body bgcolor="black" text="white" alink="white" link="white" vlink="white">
<center><h2><br>High traffic mode engaged.</h2>Returning to previous page after overload has cleared.</center></body></html>
[max contemp downloads]
{.add header|Cache-Control: no-cache, max-age=0.}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=./">
<TITLE>Downloads</TITLE>
<body bgcolor="black" text="white" alink="white" link="white" vlink="white">
<center><h2><br>There are ongoing downloads.</h2>More available <i>after</i> current downloads finish.</center></body></html>
[not found]
{.if|{.match|*.php*;*.js;*.py;*.vbs*;*.exe|%url%.}|{:{.disconnect.}:}.}{.add header|Cache-Control: no-cache, max-age=0.}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=../">
<TITLE>404</TITLE>
<body bgcolor="black" text="white" alink="white" link="white" vlink="white">
<center><h2><br>You have found the 404 page.</h2>Redirecting.</center></body></html>
[deny]
{.if not|%user%|{:{.disconnect.}:}.}{.if|{.match|*.php*;*.js;*.py;*.vbs*;*.exe|%url%.}|{:{.disconnect.}:}.}{.add header|Cache-Control: no-cache, max-age=0.}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<META HTTP-EQUIV="Refresh" CONTENT="1;URL=../">
<TITLE>Denied</TITLE>
<body bgcolor="black" text="white" alink="white" link="white" vlink="white"><center><h1><br><br>No</h1></center></body></html>
[ban]
{.disconnect.}
Does this only happen to me?
sorry guys, i've broken the ajax() function with address ?~ajax instead of /~ajax :(
[api level]
2
This is a method that we can use also in the future if we have breaking changes.Cool new bonus found! HFS2.4 is now compatible with UTF-8 template files (and maybe more?) so you can put icons as a regular text character in the template. Very efficient!! Please default {.set ini|use-system-icons=no.} for HFS2.4
request: please don't use "api level" for censor because, for the future, it could be dreadful if .exe automatic update suddenly changes server-owner's template at random unannounced times. That is in conflict with .exe updates. The api-level moving target is not feasible for production server. Your previous idea of banning the [unauthorized] section was much better.
I chose to continue omitting the [unauthorized] section because it is never reached due to diy /~login page.
Bug: {.if|!%user%|{:howdy stranger:}.} worked in HFS2.3, fails in HFS2.4. Need to double-check the ! (reverse logic shortcut), because it faulted a bit.
auto-ban not achievable, so Security Feature Request:
...New for 2.4: auto-ban not achievable in a template, because any page anywhere can post a form....auto-ban not achievable, so Security Feature Request: Need a menu/limits option to limit bad login flooding/attack/volume to 5 per hour (or "x number per hour).this request is in to-do since forever and will likely be addressed soon. Anyway i don't see why you say "not achievable".
yes, and that's why i told you that you need to use the [unauthorized] event, that's in "events", not in the tpl.I found some posts about it: https://rejetto.com/forum/index.php?topic=6757.msg1043503;topicseen#msg1043503
If i'll find the time i will do it for you.
In both cases, redirection to usable content, is missing (doesn't deliver).
i don't understand what you mean by usable content.A list of files to download.
Please tell me what you do, what's the expected behavior, and what happens instead. I'm working to make a script to limit login failures in time. It's good because I find other bugs and fix them.I log in, and it usually works. What was expected was one of these: [unauth], or [unauthorized], or successful login, or 'after login redirect' as specified in the Users menu. There is a little more variety than just those.
A list of files to download.
if you get a different behavior you want to show me sharing your screen on google hangout if you wantI tested again. The first time, I got a white screen that said ok. But, the next time I tested, it went to /upload perfectly fine.
I'm working to make a script to limit login failures in time.
i don't know how to reproduce your problem, i get no white screen...The various javascript workarounds to catch server response, can't take into account all browser differences.
that feature is enabled by default, you should see the original ip if the reverse proxy is on the same machine (localhost)That works for IPv4, but not at all for IPv6. The headers contain the correct IPv6 address, though. Maybe HFS needs to be adjusted a bit?
When the phone gets stuck on a white screen, one can long-touch the url, edit the url, backspace over ?mode-login, touch the ok/go button to try again.
those are not pages, those are responses intended for javascript (ajax), and that's how 2.4 works. It's not as simple as it was 2.3 but this was already common 10 years ago. If you are showing those pages then your tpl is doing something wrong that should be fixed. You can study what the default tpl does, or ask for help in this topic https://rejetto.com/forum/index.php?topic=13326.0Is it possible to get a "fallback" action of wait 1.5s then redirect ../ so that the white screen doesn't stay overlong?
Is it possible to get a "fallback" action of wait 1.5s then redirect ../ so that the white screen doesn't stay overlong?
Is it possible to get a "fallback" action of wait 1.5s then redirect ../ so that the white screen doesn't stay overlong?
We should definitely have an easy way to integrate the standard login form in other tpls.That would be fantastic!
<link rel="shortcut icon" href="data:image/gif;base64,R0lGODlhEAAQALMAABYAABMmTDZXa2ZkVRxeqzl7zkZvmkJ71m6DLWKPsah+Ko5zV5WUZ8alc/zsKtPU1CH5BAEAAAEALAAAAAAQABAAAARfMMhJq00vv2GlYVrWDBxlGOFzjAhiGkd2EOSALNNJEEVvkK0FLrArHhKGVrBU3B2VAiGzSUgIrjVBAMDter9cRxjgKIsV5jF53RV7zWKzAoB2zNlxMH7sDpfvehJgEQAAOw==">
However, for [login], [signin], [overload], [unauth] we could 'turn off' the browsers request for favicon.ico file. <link rel="icon" href="data:,"> or {.if not|%user%|{:<link rel="icon" href="data:,">:}.}
It is possible to sporadically alter the server while the owner is absent from the console.
At the minimum, we need to make sure that change can't happen until After the pop-up message is closed/acknowledged/consent.
Testing with the default template, I did nothing other than log in and then click Archive.
In half an hour, the server crashed out. The archive function was not confined to doable.
At the top of the screen, there is one click for crash.
Patch is: Previously published in https://rejetto.com/forum/index.php?topic=13060.msg1065272#msg1065272
Result: high impact / please revise before 2.4 mainline
you are not satisfied with just reading %speed-out% ?...I haven't featured out how to read peak/max/top speed data for use in the template.
...Also, the kbytes should not affect in anyway. The operation gets heavier with the number of files instead.Both, actually. There is a functional size limit. What I listed, isn't the maximum, but it is very close.
...it can be lengthy to dig into a huge file...So true--it is gigantic.
...You are making the sub-folders not working...I couldn't figure out how to validate the archive function without doing a recursive search to predict the outcome of a recursive archive.
the anti-dos mechanism.@Rejetto: After doing some research on how a typical 'Denial-of-Service (https://en.wikipedia.org/wiki/Denial-of-service_attack)' (DoS) is done, which basically consists on overloading a server, I want to contribute with my overall opinion about the Anti-DoS feature.
Leo, why you are suggesting different limits for uploads and downloads when there is no limit at all for uploads and downloads? :) guys, this mechanism only affects file listing.I think it works well. The busy error message is proactive/automated. I like that!
https://github.com/rejetto/hfs2/releases/tag/v2.4-rc06Can you make an exception for recursive search?
- some security fixes
- limit file listing operations to 1 minute
A minute was long enough to try 2TB, but only 4GB is feasible so the server quits responding to connections, even though the ui is alive and set to on. Manually clicking off and then on, restores connectivity.
i should always let you preview new release when i introduce strange changes :) this is a preview with just the limit on the search removed https://drive.google.com/file/d/1hqz3kO-LdnQIa5ARVwKInB_N3--L00TO/view?usp=sharing i'll be back on it asap but now have to workTHANKS! The security of RC7 is maximized. But, the cost was that I can't get a file list. Maybe it is a version change cleaning labor? brb... (cleaning cache and rebooting)... Well, no files...
...I'm having a serious problem with archives but doesn't match the description you sent me privately. what i get instead is that too many files are in the archive (and not their size) hang HFS forever, no UI and no WEB and i can only kill it...This isn't bad, because the UI is alive. You can do, at interval, check if responsive, if not, cycle off/on.
P.P.S. RC5 is still best-yet. This isn't bad, because the UI is alive.
...[recursive archive]...That IS bad...It could be a little more simple, because the user didn't want.tar files. So, I suggest triage (non-recursive + size limit) for .tar files; and, then go for .zip later.
const $ = document.querySelector.bind(document);
i don't understand what you mean by "validation data", and how people can benefit from removing the "speed limit" option.The 2 speed limit and 2 connections limit cause extra work for the server and sometimes cause faults.
a preview of the next "no jquery" default tpl.Just 2 things: archive is unlimited and the per-file menu has some undefined
Just 2 things: archive is unlimited and the per-file menu has some undefined
For archive limit, I suggest, no archive at root, no archive if current folder is already 4gb, no archive if more than 1 download, no archive if more than 0 upload. That isn't enough, but it is better.
Could add a 'manual' validation with the pop-up message stating that it could take a while to get a .tar file (most users will click 'cancel' at that point because they don't want .tar file anyway).
Have downloaded and will test here in a bit with Android pixel 2 phone amoung other testing device.
did it work on the pixel??There are 4 templates that work for HFS2.4 (default, takeback, throwback, mobil-light), and they all work for android phone/tablet/mobile.
a preview of the next "no jquery" default tpl.This is good news! :D (congrats). I've quickly tested and seems to work fine...
Freezes when browsing if there are many files in the Real folder (about 250 files and folders). v2.3 is fine. in more detail, the thinking state continues almost infinitely and freezing or lagging.To fix, just make a new VFS, and also clean/default the settings.
And this is a problem from previous version, if upload speed is more than about 30MB/s and there are many connections (about 10), often server is dead without error message.For HFS, you can use a 2nd network interface, such as PCI or USB to ethernet set to 100 megabits, fix address, use just for HFS. Or use netlimiter software. Also, to automatically get unstuck, use the WatchCat script--it has fair documentation so you can adjust the activities and timeframes to suit.
but the menu interface works normally. and minimizing instead of tray icon is a little less. my ram is 16GB and internet line is 500Mbps. in Korea, 200~500Mbps is common.
To fix, just make a new VFS and or clean/default the settings.
I can't solved it and i missed one thing, if i add other files under the real folder, problems occur. also v2.3 is fine.To see if the difference was template, can you try HFS 2.4 RC7 + Throwback template?
To see if the difference was template, can you try HFS 2.4 RC7 + Throwback template?
Archive message is good, but 'Cancel' button is missing. So, the appearance is: only choice is click ok?
Also probably don't need archive at root (a curious person like me, might click it just to see what happens).
Idea! I think that you could relocate the archive button to the "Selection" sub-menu (archive can be next to the move button); so, then we can archive only what is selected. That would be helpful.
I did not discover any other error. But, I did discover that RC7 runs faster. Kudos!!
Freezes when browsing if there are many files in the Real folder (about 250 files and folders). v2.3 is fine.
if upload speed is more than about 30MB/s and there are many connections (about 10), often server is dead without error message.
but the menu interface works normally.
hi just tried a real folder with 1250 files and it took 2.5 seconds.
There must be something causing your problem but i don't know what.
See what happens if you click Menu > debug > temporarily reset options
A: Only when added files under the real folder by dragging, problems occur even in a small amount. i also tried the reset options. the same issue on two desktops.
Also, specify exactly the version you are using, and if you see "customized template" in the lower bar of the HFS window.
A: I just applied danny's method, originally using default template. and all templates are same issue
do you confirm you are talking about "upload" to the server ?
A: It is a download from point of the visitor
what do you mean by "dead", what does the browser say?
does pressing F4 twice (start/stop) make it work again?
A: Yes
https://github.com/rejetto/hfs2/releases/tag/v2.4-rc07For load testing, I asked of it several impossible things simultaneously. It worked really well. It did large file-list, large searches, photos, music, etc... That was just the initial test.
the HFS UI becomes completely unresponsiveHave you tried (on the PC where you run HFS) to temporally disable any security suite (like an antivirus, etc), because that unresponsiveness could be caused by your antivirus that automatically scans every uploaded/downloaded file.
When i used version 2.3m in the past there was no such problemHave you recently tested v2.3m? It would be better if you could make a new test, just to be 100% is a bug/problem introduced of later versions (but before doing any test, you must backup hfs.ini and any *.vfs that your current version of HFS uses, just to be safe).
Also checked with the default template and see that it was revised to archive selected. This is good. However, I did not get any archives. And, then I tried again, selecting just 2 files for archive. Didn't get an archive. Also it didn't get stuck. So, mostly good news.
I'm not sure if this is related to RC6 only or all recent builds in general, but i've noticed that when someone downloads a file over LAN (and this is better noticable with big files that take longer to transfer), the HFS UI becomes completely unresponsive i.e. i can't click/nor interact with any button. The file transfer however still continues.
After the file transfer completes, the UI becomes responsive again.
i always try to take my time in preparing the next release, but in the end i often make mistakes like this. I'm not pissed off for the mistake itself, but because now the release is compromised and i have to make another. irony appreciated tho.I saw a change to much better quality menu arrangement and I really do like it.
Off-topic: Sadly, I can't help on this issue, since I don't use Windows 10 on purpose (and I don't have Win10 installed on any of my PCs). I'm happily living in the past, like 'Doctor Brown (https://en.wikipedia.org/wiki/Emmett_Brown) in Back from the future', and I really don't like this current present of modern computers at all (were you give away your entirely personal life, since every single action on your PC is sent to a foreign server). Yes, telemetry and Cortana can be disabled, but it's not enough (for example, read this (https://arstechnica.com/information-technology/2015/08/even-when-told-not-to-windows-10-just-cant-stop-talking-to-microsoft/) and this (https://old.reddit.com/r/sysadmin/comments/44i7xk/windows_10_enterprise_still_talks_constantly_to/)). The same goes with mobile phones, so, I only use old trusty phones (old smartphones), but I don't like to depend and rely on them neither. I don't use what I can't control, and I'm totally against Win 8/10 business model, where final users are the product. Because my boring life is only mine, and not to be part of a statistic. And this is not something against some specific country (it's not that I don't trust "X" country but I trust "this" another one, no, it applies to every single country in the world, since IMHO, all data and activities on our devices are only meant to be ours). And these are not only my words, you can clearly read HERE (http://techne.alaya.net/?p=12499) this: "retain your privacy and control over your systems" (because if you don't do it, you are automatically submitting info). For those reading this, here (https://pixelprivacy.com/resources/windows-privacy-settings/) is an updated guide and also a software (https://www.filehorse.com/download-shutup10/) to tweak Win10 privacy settings (but it's too troublesome for me, and I directly prefer to avoid Win10 at all).» Note to Mars: please keep the off-topic text small, and don't edit and enlarge my own quoted comment (if someone wants to read it, it can copy and paste to read it). It's small because it not an important comment (but it contains my thoughts about Win10). Thanks!...
The template of 2.3m works correctly, tested down to Opera 8.54 on Windows 95.Have you tried using the default v2.3m template on the latest RC7? For example, you can have the RC7 installed on a new PC (that will be the server), install the old template there, and try to access your server from an old operating system (like Win9x, as client, with an old browser). Of course RC7 doesn't run on Win9x, but you should be able to serve files to old systems.
i made a few tests, and it seems i solved my freezing problems by setting a 50MBps speed limit ...I did find that downloads limits worked nicely. But, speed limits are more likely to get stuck on a fast Internet connection.
the default template is targeting chrome 49, which works on XP.Oh, I wouldn't touch the current template at all. It is perfect for modern browsers as it is.
As a general note: I understand some people have lower targets, but there's no limit to compatibillity (netscape?) so i had to set one (and decided XP is enough), and other requirements can be matched by a custom template or by a diff for the default one.
If you want to spend your time to see what's needed to improve your experience with opera 8.54, I can try to help. You tell me.
The question is: Would it be possible to have HFS serve a different (older) template, based on User Agent of the connecting client? Kind of like they do with mobile versions of websites. You could even serve a mobile template, that way.
i don't understand the reason of your statement. I made my test on a gigabit.There is, for no reason that I can think of, a very huge difference between a momentary test on gigabit LAN versus long-term use on really fast internet WAN. In the latter case, the majority of 'stuck' problems were resolved by Disabling speed limits and replacing it by of the following external limiter solutions: 1) NetLimiter, 2) 150n WiFi, 3) el-cheapo usb to 100 megabit ethernet adapter (or set existing adapter to 100 megabit).
yours is a good idea, but i mean it as a plugin.
Someone packs a tpl or a diff-tpl, and an 'events' file that will {.load tpl.} based on a logic like the one you wrote.
The only limit at the moment is that this "plugin" may overwrite your existing hfs.events file, but in the future i mean to let you have multiple events files, so you don't risk overwriting.
I found a problem on both of my PC's. When I right-click a file and click "Add to HFS" the file does not go to the share list. Also I found that "drag and drop" also can't put it there. The only way is to click on "Add files" in the program.
I am using 2.4.0 RC6, build 318 and the default template.
function isIntegratedInShell():boolean;
begin
result:=(pos(exepath,loadregistry('*\shell\Add to HFS\command', '', HKEY_CLASSES_ROOT)) > 0)
and (pos(exepath,loadregistry('Folder\shell\Add to HFS\command','',HKEY_CLASSES_ROOT)) >0)
and (loadregistry('.vfs', '', HKEY_CLASSES_ROOT) > '')
and (pos(exepath,loadregistry('.vfs\shell\Open\command', '', HKEY_CLASSES_ROOT)) > 0)
end; // isIntegratedInShell
...a second instance of the program is started concurrently with the first, when the "only 1 instance" option is not checked.I thought that only 1 instance was the default setting? If not, then that could made default easily.
Unfortunately, the 2.4 template doesn't work correctly on older browsers.
...
The template of 2.3m works correctly, tested down to Opera 8.54 on Windows 95.
I forgot to say a problem after posting this, sth about dual-core browsers (http://rejetto.com/forum/index.php?topic=13344.0).Likewise, I've identified an overage of javascript reliance for drawing the page.
That is, while many ones (most ones in China) are using commercial dual-core browsers, which use IE core by default, webpages provided by the 2.4 default tpl will not work properly as expected unless they switch core -- the page is broken in old browsers.
And we should know, users who are tricked to use these browsers have no ability to do something "high-tech" like switching core or switching browser.
And again, those browser makers, saying that a programmer that cannot do IE-compatible codes are stupid. I'm angry. Maybe you too.
Neither requesting users to change browsers nor requesting browser makers to switch core is possible. Made my head ache.
Btw adapting 2.3 tpl to 2.4 seems easy. Let's do this?
TO REJETTO:Sorry but this is not my case. My option "only 1 instance" is checked. But the problem is solved in 2.4 RC07.
the problem with using "Add to HFS" is that a second instance of the program is started concurrently with the first, when the "only 1 instance" option is not checked.
when multiple instances are active from different directories, "Add to HFS" can only work for exe from one directory but appears installed for all instances
I suggest this modification so that it is possible to know the exe and therefore the directory which is actually attached to "Add to HFS"
...a kind of {.load.} that can load a macro file without executing macros inside...[sym.mysymbol]
How does the feature request differ from these?
and a kind of {.load.} that can load a macro file without executing macros inside.store the content in a variable
store the content in a variable
{.load (https://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands#File_manipulation)|document.txt|var=mytext.}
{.load|{.^filepath.}|var=filecontent.}
{.replace|<|<|>|>|{|& #123;|}|& #125;|var=filecontent.}
Bug v2.4-rc07
When to Enable Anyone Upload Feature, and test files upload, not show upload progress bar.
But, I using v2.4-rc06 to v2.4-rc01, It works.
Question: An address of this kind [fe80::2905:9029:e7c9:f31e] is not intended for external users, or have I configured something wrong? Thank you.Yes, ipv6 FE80::/10 addresses are belong to LAN, not intended for external users.
Yes, ipv6 FE80::/10 addresses are belong to LAN, not intended for external users.
Also, you can consult the Internet to know if that ipv6 is supported for your ISP. If not, then viewing your HFS server with ipv6 is not possible.
I am using v 2.4 RC7 on Windows 19 20h2. With no reason the HFS crashes by itself. Looks like it is on every 5 minutes. I checked the Event Viewer - nothing there.
Please help!
hi guys, I'm at the moment unable to work on hfs 2.*, as necessary tools are not working correctly.
Exactly these days I was testing proxy functionality for next release of HFS 3.
Would you try that?
released just now
https://github.com/rejetto/hfs/releases/tag/v0.15.0
if you need support on setting it up, feel free to contact me on telegram, with this same nickname
The HFS 2 "dying" problem is around there long time ago,
it's (very likely) just because the application structure of underlying tech (delphi) that's not suitable for a server.
Many people are thinking or complaining, but the truth is that it can't be fixed easily on HFS 2 itself :'(
Few days ago I come up an idea about a small middleware for HFS 2, that can have additional features on server regulation.
In my mind it can, for example, when a file is requested, send the file by itself while let HFS rest & just do lightweight jobs (then proxy though the middleware).
(Note: just big network flow would stuck HFS)
And also something like page caching, along with many more tricks... ::)
Of course permissions are obeyed, the main role is still HFS :D it's behavior is totally controlled by HFS (with event script, I think)
While everybody use HFS for it's simplicity, a silent and friendly middleware won't trouble much, right? :)
The sad side is I've promised to 2 long-term development things and I'm unable to make it in a short period :(
Let me meet a chance and pick some time to try it...
my opinion is that hfs 2 makes sense only for occasional usage, it was not designed from the beginning to be always-running.If I made a mistake with the branch, please move this post to the right one. Good HFS 3.0 interface, thanks). But the files are not downloading yet. Windows 10. Browsers Brave, Komodo, Yandex. Screen recording link. https://vidio.blog/v/lv6YKZ
hfs 3 is already superior for this latter case. Later i hope it will also be better for the former.
2. the pictures are displayed. I thought it was good, and people wanted to download could do it by saving/right clicking, but if this is not clear enough it's not good. So, i should change the default behaviour for this.the pictures are displayed - it's good, I like it. I just showed that this function works. Anyone who needs to download can do it with the right mouse button.
Is it possible to make a link I created in a folder open in a new tab/window by default, without having to shift or ctrl+click it?Hi Tim, sorry for my late reply.
[+]
<script>
$("div[class^=item-type-link]").each(
$('a').each(function(){
$(this).attr('target', '_blank');
})
);
</script>
. . . it just stops taking new connections, switching the server off and then on fixes it, i couldn't find why this happens and had to resort to run a script that checks 24x7 if hfs is not accepting downloads and kills it and runs it again.Do you use the Watchcat2 script? https://rejetto.com/forum/index.php?action=dlattach;topic=12055.0;attach=9809
Hi Tim, sorry for my late reply.
It's easy, just do this...
Instructions:
1) Go to HFS, Virtual File System
2) Right-click on the Home/Root
3) Properties...
4) Diff template
5) Paste this text:Code: [Select][+]
<script>
$("div[class^=item-type-link]").each(
$('a').each(function(){
$(this).attr('target', '_blank');
})
);
</script>
6) Click on 'Apply' and 'OK'.
This is only valid for HFS v2.4.0 RC6 (default template)
Cheers,
Leo.-