Author Topic: New version: 2.3e  (Read 6766 times)

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
New version: 2.3e
« on: March 24, 2015, 11:28:38 PM »
Please go to:
Menu > updates > check for news/updates

what's new
Small fixes


in details
+ upload: multiple file selection
+ search accounts by typing the first letter
+ smarter speed measure in the log
* using jquery's CDN instead of google's
- delete not working after archive http://www.rejetto.com/forum/bug-reports/2-3d-(292)-delete-after-archive-repeats-the-archive-download-again/
- getUri problem http://www.rejetto.com/forum/programmers-corner/last-beta-sources/msg1059938/#msg1059938
- a big MD5 file can hang http://www.rejetto.com/forum/bug-reports/hfs-hangs-on-access/

Follow members gave a thank to your post:

SilentPliz, LeoNeeson, MastahRiz, bmartino1, bigfan, HeavyFire, MarkV

Offline MarkV

  • Tireless poster
  • ****
  • Posts: 746
    • View Profile
Re: New version: 2.3e
« Reply #1 on: March 26, 2015, 11:43:26 AM »
Congratz,

it's still going on after all these years. Awesome.
http://worldipv6launch.org - The world is different now.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: New version: 2.3e
« Reply #2 on: March 29, 2015, 12:01:08 PM »
thanks markv, you too are a durable one :D

Online SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1223
  • ....... chut ! shh!
    • View Profile
Re: New version: 2.3e
« Reply #3 on: March 30, 2015, 02:35:12 PM »
"+ upload: multiple file selection"....

Niiiiiiiiiiiccccccceeeeee !!!!

 ;)

Offline bigfan

  • Occasional poster
  • *
  • Posts: 5
    • View Profile
Re: New version: 2.3e
« Reply #4 on: April 12, 2015, 08:55:09 AM »
Please go to:
Menu > updates > check for news/updates

what's new
Small fixes


in details
+ upload: multiple file selection
+ search accounts by typing the first letter
+ smarter speed measure in the log
* using jquery's CDN instead of google's
- delete not working after archive http://www.rejetto.com/forum/bug-reports/2-3d-(292)-delete-after-archive-repeats-the-archive-download-again/
- getUri problem http://www.rejetto.com/forum/programmers-corner/last-beta-sources/msg1059938/#msg1059938
- a big MD5 file can hang http://www.rejetto.com/forum/bug-reports/hfs-hangs-on-access/

Thank you rejetto!

2.3e runs great, but sometimes my browser stuck at "waiting for code.jquery.com...", I guess it's because the CDN thing? I'm not sure whether jquery's CDN is reliable as google's, but I didn't have this issue before.  :)
« Last Edit: April 12, 2015, 08:56:50 AM by bigfan »

Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 574
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: New version: 2.3e
« Reply #5 on: April 13, 2015, 06:06:23 AM »
2.3e runs great, but sometimes my browser stuck at "waiting for code.jquery.com...", I guess it's because the CDN thing?
You are right! Frankly speaking, there is no point having "jQuery" hosted somewhere, when we are running a HTTP server.

It would be a good idea that Rejetto include this file in the next HFS release, so that not needed to be connected to internet (for example, when you run it on a local LAN without internet access). What do you think Rejetto?, would that be possible?... Thank you... ;)

(To make it easier for you, looking in the source code, there are references to jQuery, hosted online, in: default.tpl, hfs.tpl and login.tpl)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
• I'm open to help and share any file you may need (just ask me) ;)

Online SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1223
  • ....... chut ! shh!
    • View Profile
Re: New version: 2.3e
« Reply #6 on: April 13, 2015, 04:36:14 PM »
Hi all!

jquery.min.js is already included in the hfs executable ... it is used when jquery is not be found online.

For quick operation (LAN, for example), it can be useful to put the file in the VFS root (hidden).

In this case, change in the template the following line :

<script type="text/javascript" src="//code.jquery.com/jquery-1.4.4.min.js"></script>


by :

<script type="text/javascript" src="/jquery-1.4.4.min.js"></script>


http://code.jquery.com/jquery-1.4.4.min.js   is the link to the file.  ;)
« Last Edit: April 13, 2015, 04:39:17 PM by SilentPliz »

Follow members gave a thank to your post:


Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 574
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: New version: 2.3e
« Reply #7 on: April 14, 2015, 08:40:58 AM »
Good to know. I didn't know "jquery.min.js" was included "inside" the HFS executable (I did found that file in the source code, but I thought it was there only as a backup). I was always downloading the file and editing the template. Thanks for the tip.

In that case, it would be great to have an option (in the HFS menu), to use it permanently, in case I always want to use the internal "jquery.min.js" (instead the online one). Something like: "Always use internal jQuery", or "Always use own hosted jQuery", etc. or something similar...
« Last Edit: April 14, 2015, 08:45:45 AM by LeoNeeson »
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
• I'm open to help and share any file you may need (just ask me) ;)

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1876
    • View Profile
Re: New version: 2.3e
« Reply #8 on: April 14, 2015, 01:18:37 PM »
as say silentpliz,  jquery is included in hfs resources

it's possible to change the external request inside template to always use jquery.min.js

Quote
   <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
        <script> if (typeof jQuery == "undefined") document.write('<script type="text/javascript" src="/?mode=jquery"></'+'script>'); </script>

replace it  by
Quote

        <script>document.write('<script type="text/javascript" src="/?mode=jquery"></'+'script>'); </script>

Follow members gave a thank to your post:


Online SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1223
  • ....... chut ! shh!
    • View Profile
Re: New version: 2.3e
« Reply #9 on: April 15, 2015, 02:58:37 PM »
Thank you rejetto!

2.3e runs great, but sometimes my browser stuck at "waiting for code.jquery.com...", I guess it's because the CDN thing? I'm not sure whether jquery's CDN is reliable as google's, but I didn't have this issue before.  :)

To retrieve the old settings (without CDN):

Right-click on the vfs root (home) > Properties ...> Diff Template tab

Paste this:

[+special:strings]
options.loadFromCDN=0

Follow members gave a thank to your post:

LeoNeeson, MastahRiz, bigfan

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: New version: 2.3e
« Reply #10 on: May 01, 2015, 10:13:01 PM »
ok, i didn't think of the timeout problem in case of no-internet.
i will just remove it.

Offline Fysack

  • Tireless poster
  • ****
  • Posts: 615
  • present picture
    • View Profile
    • Admin
Re: New version: 2.3e
« Reply #11 on: May 08, 2015, 10:34:30 PM »
hmm..
GOD CAN READ YOUR MIND

Online SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1223
  • ....... chut ! shh!
    • View Profile
Re: New version: 2.3e
« Reply #12 on: May 26, 2015, 01:34:52 PM »
Hi !  :)

Bug or not bug? (Or syntax changes that would have escaped me.)
 
Since a long time I use groups like this in my templates:

[special:alias]
#administration#=member of|#administration#

[special:import]
{.new account|#administration#|enabled=1|is group=1|notes={.convert|utf-8|ansi|FRENCH TEXT INFORMATIVE NOTE.}.}


With these releases (#292, #293 ), notes no longer appear in Option > Account > Note
----------------------------------------------------------------------

This works normally :

{.new account|#administration#|enabled=1|is group=1|notes=ENGLISH TEXT INFORMATIVE NOTE.}

The problem seems to come from this code:

scriptlib.pas

    if name = 'force ansi' then
      if satisfied(md.tpl) and md.tpl.utf8 then
        result:=noMacrosAllowed(UTF8toAnsi(p))
      else
        result:=p;



Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: New version: 2.3e
« Reply #13 on: May 29, 2015, 08:14:09 PM »
i tried running the supposedly-not-working code in #293 (through debug > run script) and it worked, i mean: the text was showing in account>note

Online SilentPliz

  • Operator
  • Tireless poster
  • *****
  • Posts: 1223
  • ....... chut ! shh!
    • View Profile
Re: New version: 2.3e
« Reply #14 on: May 31, 2015, 11:51:11 AM »
Strange ... it stopped working on this template for example.