rejetto forum

a new beginning...

rejetto · 86 · 63575

0 Members and 1 Guest are viewing this topic.

Offline mandoz

  • Occasional poster
  • *
    • Posts: 37
    • View Profile
sorry rejetto.
i.e. it wasn't a request, I thought it might interest you.
I am a user of portable programs ....


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
ciao mandoz, don't worry, i was just surprised someone would want/need to use IE on win10
and then i declared it won't work.
i'm using portable chrome for testing purposes (compatibliity), so it's not a matter of being portable.
peace


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
...and HFS 3 just got https support :)
i hope we'll be able to integrate letsencrypt automatic generation, maybe as a plugin


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
dark theme
make sufficient contrast ratio

Code: [Select]
:root .theme-dark a {    color: #fff9;}
Modified: alternativ #94b2d1
« Last Edit: January 19, 2022, 12:55:29 PM by dj »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
in the paste i've met issues using transparency for fonts, for the sake of shading, and in this case it's easy to decided a opaque code for the final color.
#8ac may do the job


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
I've found a github repo mirroring service for me: https://ghproxy.com/https://github.com/rejetto/hfs/
This works on git clone (and pull) but not a browser. Though It's enough :D
So I decided to pull & build HFS3 by myself, if there's an update.

Followed instructions in readme.md, the build result is running well ;D
~/hfs $ cd dist && node src

... while there are notable alerts from npm:
Code: [Select]
22 vulnerabilities (3 low, 18 moderate, 1 high)

This is the output of npm audit, before fixing:
Code: [Select]
# npm audit report

follow-redirects  <1.14.7
Severity: high
Exposure of sensitive information in follow-redirects - https://github.com/advisories/GHSA-74fj-2j2h-c42q
fix available via `npm audit fix`
node_modules/follow-redirects

1 high severity vulnerability

To address all issues, run:
  npm audit fix

Of course I ran npm audit fix

But if I try building again, in the procedure the "22 vulnerabilities" alert is still there.

Auditing again will output found 0 vulnerabilities
Should it be true or false ???
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
ignore those warnings, because they involve libs used only by the dev environment.
if you "npm audit --production"
you'll get "found 0 vulnerabilities"

i'm including this in the instructions
« Last Edit: January 20, 2022, 01:40:57 PM by rejetto »



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
https://github.com/rejetto/hfs/releases/tag/v0.8.0
pagination will allow you to work even with 30k files long lists
forbid listing of a specific folder
button to invert selection


Offline mandoz

  • Occasional poster
  • *
    • Posts: 37
    • View Profile
hi rejetto,

Is it possible that hfs3 ipv6 address is different from hfs2 ipv6?
it would seem shorter ...


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile

Offline TEA-Time

  • Occasional poster
  • *
    • Posts: 76
    • View Profile
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


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
My tpl plugin needs to get file list, better with streaming :)

I see the file_list function in api.file_list.ts, without "sse" parameter I can get it directly.
But first it's not in exported api, and more important, this method seems won't stream the list but do one big shot.

I also noted the onDirEntry which a plugin can define. Seems a good point.
But, is it for frontend (exclusively)? Should I use it for a middleware plugin?

Also, should my plugin be able to call internal apis like authentication/permission check, or make an http redirect/do other hacks?
... or simply let HFS itself handle them properly ::)
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
onDirEntry is in case you want to manipulate the list in the backend, not in frontend.
I think what you need is walkNode.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile