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

Pages: 1 2 3 ... 50
1
Programmers corner / Re: can we restrict limit of storage access to user
« on: January 08, 2021, 08:30:14 AM »
We can understand you perfectly. :) You want this:

1) HFS check if there is available free space on disk before starting the upload.
2) Limit the available space to upload, depending which user is logged in.

All this can be done using macro (if I'm not mistaken). Please wait the help of some other forum user (expert on macros).
Cheers,
Leo.-

2
HFS ~ HTTP File Server / Re: Route HFS through VPN
« on: January 08, 2021, 08:22:53 AM »
;D WOW, this seems to be the perfect spam hole in the forum. The last five message on this thread contain a link (doing some kind of spam). I don't know if they are human or smart bots that talk something related to the topic to 'look like' a human being. It's an interesting phenom! (and I'm curious to know why those spam links are not removed). ???

3
HTML & templates / Re: ¿Cómo previsualizar íconos de .apk?
« on: January 08, 2021, 08:10:55 AM »
Hola, creo que no hace falta modificar nada la plantilla. HFS utiliza y lee directamente los mismos íconos de Windows, por lo que para lograr lo que buscas, primero tienes que hacer que Windows muestre esos íconos. No lo he probado, pero he encontrado una utilidad llamada 'ApkShellExt2', que hace que Windows muestre los íconos de las aplicaciones APK de Android. Pruébalo y luego nos cuentas si te solucionó el problema. Saludos! :)

4
HFS ~ HTTP File Server / Re: HFS and security of server
« on: January 08, 2021, 07:56:34 AM »
It could be a bot or someone just curious trying to download all your shared files. It's better if you disable that option (to save on bandwidth).

Like Rejetto once said, it's an option you can disable:

By default the root itself is set archivable.
Uncheck it.
right click on the main folder > properties > flags > archivable

The 'main folder' is the 'house' icon (root).
If you need more help to disable it, just say it.

Cheers,
Leo.-

5
HFS ~ HTTP File Server / Re: HFS and security of server
« on: January 05, 2021, 10:05:14 AM »
But now i ask about this - nobody can access files on the computer? I mean in HFS file system i don't have very important files, but it's possible to use HFS as a hole, to access other files on computer, not in HFS file system, or other unwanted actions?
Nobody can access other files on your computer, only the files you share on HFS. If you make "users" (inside HFS) to protect shared folders, your ISP (or someone on your LAN) can 'sniff' and read those "credentials", but nothing else. Using Stunnel protects the traffic of your shared files (and the login process of your users). If you share sensible files, it's better to encrypt your files first (using WinRAR or even better using 7-Zip). And it's always recommended to stay updated with the latest HFS version.

Nice to see an old user active on the forum.
Feel free to ask any question... :)
Cheers,
Leo.-

6
Hola, ¡y bienvenido al foro! :) al fin un colega de habla hispana. Intentaré ayudarte en lo que pueda. Comencemos...

Es necesario sustituir la dirección IP que está en el código (http://192.168.1.43) por la IP que usa su servidor.
Primero, para que no sea necesario sustituir la dirección IP que está en el código, tendrías que cambiar http://192.168.1.43/ por / (o por ./ para la carpeta actual), para que de esa forma detecte automáticamente la IP que usa el servidor. Por ejemplo, en esta parte (el texto en color rojo, se cambia por el texto en color verde):

Quote
<img src="http://192.168.1.43/tpl/back.png">

...tendrías que cambiarla por:

Quote
<img src="./tpl/back.png">

...o en ésta otra:

Quote
function go_to_home() {
  document.location.href="http://192.168.1.43"
  }

...tendrías que cambiarla por:

Quote
function go_to_home() {
  document.location.href="/"
  }



Quiero incluir las siguientes: Crear carpeta, Renombrar archivo. He tratado de varias formas pero no funciona.
Esto se debe a que HFS verifica los permisos de escritura, antes de mostrar los botones (al menos es así en la plantilla original de la v2.3). Por ejemplo, tendrías que adaptar esto de la plantilla original para crear una nueva carpeta (dejo a continuación las partes relativas a la creación de la carpeta, para que las analices):

Code: [Select]
{.if|{.can mkdir.}|
<button id='newfolderBtn' onclick='ezprompt(this.innerHTML, {type:"text"}, function(s){
ajax("mkdir", {name:s});
    });'>{.!Nueva carpeta.}</button>
.}

[ajax.mkdir|no log]
{.check session.}
{.set|x|{.postvar|name.}.}
{.break|if={.pos|\|var=x.}{.pos|/|var=x.}|result=forbidden.}
{.break|if={.not|{.can mkdir.}.}|result=not authorized.}
{.set|x|{.force ansi|%folder%{.^x.}.}.}
{.break|if={.exists|{.^x.}.}|result=exists.}
{.break|if={.not|{.length|{.mkdir|{.^x.}.}.}.}|result=failed.}
{.add to log|User %user% created folder "{.^x.}".}
{.pipe|ok.}

[special:alias]
can mkdir=and|{.get|can upload.}|{.!option.newfolder.}

[+special:strings]
option.newfolder=1

Lamentablemente por estos días no estoy teniendo mucho tiempo libre como para colaborar más en el foro (te ayudaría a hacer los cambios en tu plantilla, pero no dispongo de mucho tiempo). Aún así, estaré atento si necesitas algo más de ayuda (sólo pregunta que aquí estaré). :)

Saludos,
Leo.-


PD: Si necesitas crear una pregunta en inglés para que lo entiendan el resto de los usuarios, puedo ayudarte a traducir lo que necesites del español al inglés (eso en caso de que necesites ayuda con el idioma inglés). Aquí la mayoría de los usuarios del foro hablan en inglés (son muy pocos los de habla hispana). Por cierto, mi idioma nativo es el español (saludos desde Argentina).

» Edición/Edition @ 08-01-2021 05:04 AM:
Corregido un error de tipeo, gracias a dj.
Fixed a typo, thanks to dj.
 

7
P.S. I just suffered enough from these browsers, as well as other old-fashioned computer-related anti-humanity things existing around me.
I totally agree and understand your frustration. Since years, every big browser were fighting each other instead of collaborating on making a truly compatible web world (and Chrome is currently winning this battle since several years). Sadly, we are now seeing the consequences of those actions (consequences of having a Chrome monopoly, and Firefox it's the responsible of this). I've read here that some people suggests that Google should sell Chrome, but IMHO that's not the solution.

And from the end-users perspective, I think we are totally loosing this game, since the entirely web is going soon to be only compatible with Chrome. Someone can blame developers (to not make the web compatible), but behind this effort it's the entirely IT industry (namely, the "tech sector" or "tech industry").

Personally, I'm happy when I recommend "normal" users (like friends and family) an alternative browser, but lately it's harder and harder to find an alternative that work with most websites. But never feel alone, I'm sure there are several users on your same situation (including myself, since I still use old and not so-old computers and mobile devices). Anyone here is free to share his own experiences and leave a comment on which other browser works best, besides anything NOT based on the Chromium engine.

Cheers,
Leo.-

8
中文 - Chinese / Re: 国内 code.jquery.com jQuery CDN 问题
« on: December 04, 2020, 06:08:44 AM »
不客气。。。 :)

还有一个选择:LocalCDN
https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
https://codeberg.org/nobody/LocalCDN
https://www.localcdn.org/

LocalCDN 是一个分散的分支,包含了更多的 CDN 库,但仅适用于 Firefox。如果你想的话,请留下你的评论作为其他用户的参考(在你测试他们之后的几天内),关于哪些浏览器扩展更适合你(在中国)。

@话题外:谷歌翻译是最好的英汉翻译吗?(你知道其他更准确的吗?)。我现在使用百度,似乎更好。



You welcome... :)

One more alternative: LocalCDN
https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
https://codeberg.org/nobody/LocalCDN
https://www.localcdn.org/

LocalCDN is a fork of DecentralEyes, with some more CDN libraries included, but only for Firefox. If you want, please leave a comment as reference for other users (in a few days, after you test them) about what of those browser extension works better for you (in China).

@Offtopic: Is Google Translator the best translator English to Chinese? (Do you know any other that's more accurate?). I'm now using Baidu and it seems to be better.

9
中文 - Chinese / Re: 国内 code.jquery.com jQuery CDN 问题
« on: December 03, 2020, 08:06:54 AM »
您可以尝试 https://decentraleyes.org/

它是三个主要浏览器(Firefox,Chrome 和 Opera)的插件,可绕过 Google CDN 在本地加载这些文件(并会在由于某种原因而被 Google 阻止的情况下(例如在中国)启用全部功能)。



You can try https://decentraleyes.org/

It's a plugin for the three major browsers (Firefox, Chrome, and Opera) that loads those files locally, bypassing Google CDNs (and would enable full functionality where Google for some reason is blocked, like in China).

(My chinese text, was translated by Google. Sorry if it was bad translated)

10
Gracias hermano por ayudarme. La versión que tengo de HFS es la 2.3k y la plantilla es Fuhv2.0Large.tpl.
Lamentablemente esta plantilla no funciona con la versión v2.3k (sólo funciona con la nueva versión 2.4, que puedes descargar desde aquí). De todas formas, si decides actualizar tu HFS, haz primero una copia de seguridad de tu carpeta de HFS, porque esta versión v2.4 está aún en fase de prueba (no es una versión estable).

Por cierto, sabes de algún Software que compile la página en una template tpl?
Si por "compilar" te refieres a "convertir" el diseño de una página web en un 'template' (TPL) de HFS, eso no existe. Todos los 'templates' se hacen manualmente (de forma muy laboriosa), y requieren tener un cierto conocimiento del funcionamiento interno de HFS. Por cierto, te comento que los templates de la versión 2.4 (en su mayoría) no seran compatibles con la antigua versión 2.3, porque hubo cambios sustanciales en la nueva versión.

Cualquier otra duda, aquí estoy para ayudarte.
Saludos,
Leo.-


» English note: I think part of this thread should be moved in to the Spanish forum, with a link to this related template. If you need, I can translate the Spanish message in English (just ask me, or use a translator).

11
Bug reports / Re: HFS stops receiving connections until program restarted
« on: October 08, 2020, 08:40:44 PM »
to check that the program continues to react despite the fact that remote connections are no longer possible, just add an event in hfs.events file to write to the log
Very smart idea! 8) And this gives me another one idea: how about "add to log" every 10 seconds the number of active connections?. This will give us a more 'close' detail of the limit before it crash.

12
Hola soy nuevo en esto me pudiera ayudar con el problema que tengo. Es q no tengo idea de por que cuando toco Change file y cambio la plantilla no me funciona la página del localhost se me queda en blanco no carga nada. Que puede ser? Espero q me puedan ayudar, gracias de antemano.
Hola! :) bienvenido al foro. Necesitaria que nos digas qué versión de HFS utilizas. Imagino que intentas utilizar el template "Fuh v2.0", cierto?. Dejo una traducción al inglés para que el resto que lea esto entienda tu mensaje (y pueda darte una mano). Saludos!



[Translated message]
Hi, I'm new to this, could someone help me with the problem I have?. I have no idea why when I touch 'Change file' (and change the template), the localhost page doesn't work, but it remains blank and it doesn't load anything. What it can be? I hope you can help me, thanks in advance.

[My translated reply]
Hi! :) welcome to the forum. I would need you to tell us which version of HFS are you using. I guess you are trying to use the "Fuh v2.0" template, right?. I'm leaving an English translation (so that the rest who read this understand your message, and can give you a hand). Cheers!


 

13
Very cool idea. 8) This remembers me that some years ago, I wanted to adapt TiddlyWiki (specially the older 'classic' version) to HFS, but I didn't success on doing it. TiddlyWiki is a reusable non-linear personal web notebook (blog alike), which is self-contained in a single HTML file. I leave you this idea, in case you find something useful on it. ;)

14
When HFS is running with Wine for Linux, it's exactly someway to execute outside GNU/Linux packages:
:) That's very nice, if only we could have a way to 'detect' if HFS is running over Wine/Linux or in pure Windows. Does someone knows if some macro could detect this?...

But seems in this way we cannot execute bash based things (like /bin/sh), with a debug message:
Code: [Select]
0045:fixme:exec:SHELL_execute flags ignored: 0x00000100We may report this to Wine developers? :)
I'm not a Linux expert, but feel free to report it (if you can give them enough details, and only if you are sure that's a Wine issue).

Cheers,
Leo.-

15
Bug reports / Re: HFS File Server - Some users can't connect
« on: October 08, 2020, 07:56:53 PM »
Thank you very much for the tip! I'm trying it out to see if people still submit any error reports :)
You welcome :) (don't forget to say us if that solved your problem, to leave it as reference for other users, in case someone comes with a similar issue).

Pages: 1 2 3 ... 50