rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TEA-Time

Pages: 1 2 3 ... 6
1
Beta / Re: version 2.4
« on: June 18, 2023, 05:09:36 PM »
A few days ago, I've received a private message from "TEA-Time", and he said that my code posted previously here, takes effect even on links to folders too (it's true, I misinterpreted his original request). What he wants is just to open in a new tab/window, only the "URL type" of links (those you get by right-clicking on "Root ยป New link"). Having this in mind, please follow the very same given instructions, but then on step 5, paste the following text:

Code: [Select]
[+]
<script>
$("img").each(function () {
    if($(this).attr("src").indexOf('~img_link') > -1) {
         $(this).parent().attr('target', '_blank');
    }
});
</script>

This is only valid for the default template of HFS (has been successfully tested with v2.4.0 RC6, RC7 and even with older v2.3m).

I hope that is useful... :)
Cheers,
Leo.-

Excellent, that's just what I was looking for.  Sorry I wasn't more clear.

Thank you so much for the help, Leo. 👍

2
HFS ~ HTTP File Server / Re: Ask how to Logout
« on: March 23, 2023, 08:18:14 PM »
👍 ;)

3
HFS ~ HTTP File Server / Re: Ask how to Logout
« on: March 23, 2023, 08:07:28 PM »
 ;D rejetto.  Yes, it does when you click the button with your username on it.

4
Bug reports / Re: Hfs.exe - Maulware via PUP
« on: February 06, 2023, 09:49:19 PM »
Yup, what Leo said, plus bad actors have abused HFS for nefarious purposes (much like the SysInternals and NirSoft utilities) in the past because of its ability to serve up and receive files.


-Tim

5
Beta / Re: version 2.4
« on: February 06, 2023, 09:42:00 PM »
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.-

It works.  :)   Thank you very much!


-Tim

6
Beta / Make a link open in a new tab/window?
« on: October 10, 2022, 04:10:19 PM »
Hey everyone,


I'm running v2.4 RC7 with the RC6 template.  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?  As it stands, it takes the HFS page to where the link points.


Thanks!
-Tim

7
HFS ~ HTTP File Server / Re: HFS doesn't work
« on: March 31, 2022, 08:09:16 PM »
It's not really that certain types of packets are accepted.  It's that the router/firewall just knows to let the server you just connected to talk back to you on whatever port is necessary, which is part of the "conversation" that gets set up.

HFS is a server, not a file sharing program per se.  So yes, HFS 3 also serves files.  HFS couldn't exist without that capability.  ;)  By "upload", I'm sure rejetto means that the ability for the remote person to upload files to your server isn't implemented yet.

Btw, yes, rejetto is quite cool to work with.  He takes every bug report and suggestion to heart.  I'd reported an issue with an older version, and I set up an account for him to see for himself.  He was grateful I did that for him, and I was very honored to have the author of this GREAT program connect to my little ol' server.  ;D

8
HFS ~ HTTP File Server / Re: a new beginning...
« on: January 24, 2022, 10:54:59 PM »
Hi mandoz,

I know hardly anything about IPv6, but I do know that parts of it can be abbreviated, which probably explains why it's "shorter".  See the "Address representation" section on this Wikipedia page (should take you straight there):

https://en.wikipedia.org/wiki/IPv6#Address_representation

9
HFS ~ HTTP File Server / Re: User Profile and adding users from list
« on: October 17, 2021, 01:43:47 AM »
By default, regular users can only download unless given permission to upload in the properties of a folder, either specifically to them or through them being a member of a group that has upload permission.  And that folder has to be tied to a real folder as it is not possible for anyone to upload to a virtual one.

10
Beta / Re: version 2.4
« on: September 02, 2020, 11:15:55 PM »
No issues here with Add to HFS or drag & drop with 2.4.0 RC7 on Windows 7.

11
HFS ~ HTTP File Server / Re: HFS With no Tray ICON
« on: June 28, 2020, 03:13:28 PM »
Ah.. symbols.  Thanks!

12
HFS ~ HTTP File Server / Re: HFS With no Tray ICON
« on: June 27, 2020, 04:43:52 PM »
yeah, something like this in events (ALT+F6)

[request]
{.if|{.%user% = rejetto.}|{:{.focus.}:}.}


 

but you can change it to make it work for groups as well

Excellent!  So easy.  Where is the list of variables?  I can't seem to find them in the wiki. :-/

13
HFS ~ HTTP File Server / Re: HFS With no Tray ICON
« on: June 27, 2020, 04:13:25 AM »
The macro {.focus.} can do this. With other macros detecting users, this is possible ;)


Ah, very cool.  8)

14
HFS ~ HTTP File Server / Re: HFS With no Tray ICON
« on: June 27, 2020, 02:37:52 AM »
Seems this is well:
when HFS is already minimized to tray,
right click the icon, switch Tray icons -> Show main tray icon to off (if it's already off, turn on first),
then it disappeared!

Ah.. neat little trick. :)

Now there needs to be a way to make it reappear. Heh  Maybe a way through the web interface when a certain account or member of a certain group like admin is logged in..?

Edit: Or SysInternals' Process Explorer can be used to "Restore" HFS and pop it back on the screen.

15
HFS ~ HTTP File Server / Re: HFS With no Tray ICON
« on: June 27, 2020, 02:17:57 AM »
Oops, sorry I missed that.  It can be made to minimize to the task bar instead of the tray, but unfortunately I don't see any way to make it run in the background.  I've never used one myself, but I know there are utilities that allow you to run any program as a service.

Pages: 1 2 3 ... 6