Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
HFS ~ HTTP File Server / Re: Donate your Time for translate
« Last post by LeoNeeson on April 08, 2019, 06:22:45 AM »
Fixed!
Tested and everything is OK now! :)



» Question: Is normal the the 'stable' version (not the 'trad' version), also makes a 'locale' folder by default? (because if the user wants to edit the language, he can use the yellow button to extract the translation files). I see no point on extracting the files by default on that version, since that's the function of the 'yellow button'. If the 'locale' folder is found, then the program would use it, but if not, then it could use the 'internal' embedded files. What do you opine?...

» Small idea: On the 'stable' version, the 'yellow button' could show a 'yes/no' warning message (similar to the SSL button), and if the user answer 'yes', then all the translation files are extracted. It could be a message like: "Do you want to enable the 'translator mode'?. If you answer yes, then you could translate the locale files using 'Poedit' (which you can download from poedit.net). If you already had a 'locale' folder, clicking on 'yes' will overwrite those files. Do you really want to extract the files?...". It's much nicer that way, and more informative. :)

» Another very, very small detail found > Steps to reproduce it:
Set language to English, then press the yellow button. This extracts the locale files (that's OK), but then all the program sets the text to French (but still showing 'English' on the language selection menu), and that's wrong. But if the user restarts the program, the English selection is remembered (that's OK), and everything is back to normal again. I don't know if there is a solution for this or not. Anyway, is not important.

(Do not feel obligated to release a new build for every detail you fix, you can leave those fixes for another future revision)



With "captions" of this size, you will be able to put all the HFS user manual on one line.  :P
Yes, I know... ;D (but all that free space can now be used, and not to worry about not having space to translate) 8)
22
HTML & templates / Re: Responsive small screen template
« Last post by LeoNeeson on April 08, 2019, 06:20:15 AM »
I forgot to say, you must additional add the hfs.diff_oldbrowser.tpl (or add the script at the end).
At least on Chrome 30, the problem continues (it doesn't work those 3 buttons). It's very strange (I'm doing all correct: I'm using 'hfs.diff.tpl' from "oldbrowsers_addon.zip", overwriting the files of 'mobil-light_V4.5.zip').

You can download HERE a portable version of Chrome 30 to make some tests (here you will find more portable versions to make tests). Using Chrome 30, you will see in the console some errors (for example: "Uncaught ReferenceError: del is not defined").

The polyfill doesn't work with IE11 (because  needs Promise is polyfilled of course!)
I didn't know IE11 not had Promises. Perhaps that's why on Chrome 30 fails those 3 buttons: 'archive', 'delete' and 'upload' (since Chrome 30 doesn't support promises).

I've found HERE a extremely lightweight 'Promise Polyfill' that works with IE8+, Chrome, Firefox, IOS 4+, Safari 5+ and Opera. This polyfill makes promises work on browsers that natively doesn't support it...

I've tried modifiying your 'mobil-light_V4.5.tpl' and adding the folowing (marked in red color):
Quote
<body>
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js"></script>
<script src="https://unpkg.com/unfetch/polyfill"></script>

<header>

...and now it works on Chrome 30 :) (untested on IE11), but the 'archive', 'delete' and 'upload' buttons continues failing. There must be something else to modify (to make it work with Chrome 30).

Perhaps if you embed the content of those 2 polyfills in your code (and do some small tweaks), you can make only one version that works on any browser.
23
HTML & templates / Re: Responsive small screen template
« Last post by dj on April 07, 2019, 03:45:48 PM »
» Summarizing: the 'archive', 'delete' and 'upload' button doesn't work on the 'oldbrowsers.tpl' version

I forgot to say, you must additional add the hfs.diff_oldbrowser.tpl (or add the script at the end).
I tested it with IE11.
I also forgot to mention, that click on the clock sorts (by date) (should I add some sorting symbol like ↑  ?).

The polyfill doesn't work with IE11 (because  needs Promise is polyfilled of course!)


changelog: works with old browsers
querystringparameter ?update checks for template updates
textedit can also be used for single-comment files
24
Français / Re: HFS - Ici les versions bêta en français
« Last post by SilentPliz on April 07, 2019, 03:27:25 PM »
Désolé, il y avait un bug avec le menu langage.

Veuillez re-télécharger.

Désolé !   :-[
25
HFS ~ HTTP File Server / Re: HFS including SSl tools
« Last post by SilentPliz on April 07, 2019, 03:25:27 PM »
Sorry, there was a bug with the language menu.

Please re-download.

Sorry !  :-[
26
HFS ~ HTTP File Server / Re: Donate your Time for translate
« Last post by SilentPliz on April 07, 2019, 03:15:58 PM »
» Small details/issues:

A) I've noticed (on the 'stable' version, not the 'trad' version), that the languages menu have the 'Anglais/English' option with the 'Spanish' flag icon. And if you start switching/changing the languages (several times), the flags goes crazy (it looks like there is an error there). The 'trad' version doesn't have this issue.

Fixed!

B) The size of captions, in most of the options found in 'Accueil' > 'Propietes' > 'Attributs' are short (this limits the space of the translated text). For example: Caption = 'Parcours permis' (found in the file: filepropDlg.dfm) has a very small Width = 96. Most of those CheckBoxes have a width of 249, but they can have twice that size (a width of 500 would leave more than sufficient space for most languages). This also happens on Rejetto's build (rejetto: take note of this, if you read this).

Fixed!

With "captions" of this size, you will be able to put all the HFS user manual on one line.  :P
27
HFS ~ HTTP File Server / Re: Donate your Time for translate
« Last post by LeoNeeson on April 07, 2019, 10:54:35 AM »
Thanks! Now the SSL tab is OK on low-resolution screens. :)

» Small details/issues:

A) I've noticed (on the 'stable' version, not the 'trad' version), that the languages menu have the 'Anglais/English' option with the 'Spanish' flag icon. And if you start switching/changing the languages (several times), the flags goes crazy (it looks like there is an error there). The 'trad' version doesn't have this issue.

B) The size of captions, in most of the options found in 'Accueil' > 'Propietes' > 'Attributs' are short (this limits the space of the translated text). For example: Caption = 'Parcours permis' (found in the file: filepropDlg.dfm) has a very small Width = 96. Most of those CheckBoxes have a width of 249, but they can have twice that size (a width of 500 would leave more than sufficient space for most languages). This also happens on Rejetto's build (rejetto: take note of this, if you read this).

Anyway, you can leave those fixes for another revision (there is no need to release another build just for that, since this those are very small details, not important). I'll report if I find anything else... ;)

Cheers,
Leo.-
28
HTML & templates / Re: Responsive small screen template
« Last post by LeoNeeson on April 07, 2019, 10:42:45 AM »
Now it works beautifully on old browsers! 8) (with some details)

Design/Layout .... Okay.
Search function .. OK, it works.
Login function ... OK, works fine.
Archive button ... No, it does nothing.
Delete button .... No, it doesn't delete.
Upload button .... No, nothing gets uploaded.

» Summarizing: the 'archive', 'delete' and 'upload' button doesn't work on the 'oldbrowsers.tpl' version (I already know that file selection is done clicking on the time-stamp, but even selecting a file or folder those buttons doesn't work). Otherwise than that, great work!... :)

» Researching: I noticed you used 'XMLHttpRequest GET' instead of 'fetch' to add support to legacy/old browsers. This is great, but doing this you have to release a special version for old browsers every time. My main idea/suggestion was using a 'polyfill', and after doing a search, I've found THIS:

Code: [Select]
<script src="https://unpkg.com/unfetch/polyfill"></script>
I've added that line on your normal 'mobil-light_V4.4.tpl' (you can directly embed THIS file content on your template), and the page loads fine now on old browsers. Using this polyfill the buttons loads okay, but the files and folders are not shown. Perhaps doing some small tweaks, that polyfill can work with your original 'fetch' code (and that way you get the best of both worlds: you can continue using 'fetch', and when 'fetch' is not supported by the browser, that XHR polyfill does the rest).

On my search on internet, I've also found two interesting articles: Why I still use XHR instead of the Fetch API (and how to use a Promise-based XHR). A very nice read, even for 2019 (this blog also has very nice articles!).
29
HTML & templates / Re: Experiments
« Last post by LeoNeeson on April 07, 2019, 10:34:15 AM »
Here are 2 new user-interface experiments. 
I claim that they are non-working.  Tiles and Stripes are developmental status. 
I've tested your experimental templates. Tiles.tpl looks great as an image gallery, but on normal file listing, Stripes.tpl look better.
30
Italiano / Chiama per i traduttori volontari.
« Last post by SilentPliz on April 06, 2019, 09:46:27 PM »
Ciao a tutti!  :)

Mi permetto di spammare il tuo forum per attirare la tua attenzione (con il mio italiano di Google).

Sto cercando volontari per tradurre la mia versione di HFS.

Lascio il link (in inglese) per chi sarebbe interessato:

http://rejetto.com/forum/index.php?topic=13134.0

Grazie in anticipo per il vostro aiuto.  ;)
Pages: 1 2 [3] 4 5 ... 10