It is currently Tue Jun 18, 2013 11:23 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 245 posts ]  Go to page Previous  1 ... 17, 18, 19, 20, 21, 22, 23 ... 25  Next
Author Message
 Post subject: Re: Tonido Shell 1.2.5.58307 (Plug/Windows)
PostPosted: Thu Aug 25, 2011 11:09 am 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7408
Location: Dallas, USA

Nice stuff. Thanks for posting. That is new to me as well.


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.2.5.58307 (Plug/Windows)
PostPosted: Thu Aug 25, 2011 1:10 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

No problem. With all of the browsers using different standards, and sometimes the documentation lacking online, it can seem like you have to sell your soul to figure out the black magic to get javascript to do what you want.

I had noticed Tonido seems to often open secondary windows to process downloads etc. and doesn't always close them, so I figured this may be helpful to you guys and anyone else who doesn't know the javascript vodoo to get stuff like this to work.

It has taken me a year to discover this, but it appears to work on all major browsers.

The only catch is that the Tonido API option "dispostion= attachment" doesn't work in Opera.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.2.5.58307 (Plug/Windows)
PostPosted: Thu Aug 25, 2011 2:13 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Nevermind about opera. I was calling /downloadfile instead of /core/downloadfile.

This does in fact work in all browsers.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.2.5.58307 (Plug/Windows)
PostPosted: Thu Aug 25, 2011 5:35 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Finally got the why to why this works. And figured out why I was still getting a popup flash on certain browsers.

The reason I was still getting a brief popup was because I was executing this from an anchor tag. So even though I was specifying void for the href, on click wasn't supplying false.

This keeps the Anchor from launching a popup by mistake.
Code:
           '<a href="javascript:void(0);" '+
              'onclick="'+((isDir) ?
                'download.folder.startZip(\''+dir+'/'+fileName+'\');return false;" ' :
                'download.file.download(\''+dir+'/'+fileName+'\');return false;" ')+
              'style="display:block;" '+
              'class="modal_down_buttons" '+
              'target="_blank">'+
            e+
          '</a>'+


This opens the download in the current window
Code:
      var path     = file.dirname(),
      filename     = file.basename();
      try {
        window.open('','_self').location.href = download.file.func(path,filename);
      } catch (err) {
        download.file.warn();
      }


So now we have completely silent downloads. Originally I was using the try catch in case the popup blocker was on, but now we aren't using popups at all but the window is using itself.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.3.0 RC1 (Plug/Windows/Linux)
PostPosted: Thu Aug 25, 2011 8:42 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

I have posted RC1 for 1.3.0

Code:
Tonido Shell Changelog
======================
2011-8-25 (1.3.0 release)
    -Add dual sessions feature with session bar
    -Add drop down pane for showing full screen or Tonido UI
    -Add shortucts for scrolling up and down the output
    -Add shortcuts for switching sessions
    -Add true transparent terminal and remove old way
    -New alpha channel on color picker dialogs
    -Settings now stored in sqlite database
    -Better resizing of terminal dialog
    -Modal dialog bug fixes
    -Rewritten/reworked code using new framework
    -Fixed opaque busy dialogs on IE
    -Fixed unable to scroll up in edit box with arrow keys in IE
    -UI tweaks
    -added support for "~" as the home directory and "cd-" for change to last
     directory
    -use jshint to increase code quality
    -Fix issue where sometimes the embedded UI shows --> instead of / for root
    -Downloads no longer open empty windows


No doubt there is more changes that I have missed. It should be pretty close to ready if not actually ready for release, but with all of the changes I have made, I am going to do a RC or 2 before actually releasing to make sure it is solid. So go ahead and download and enjoy. Don't forget the code monkey that put in the work to bring you this great app and consider supporting the project.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.3.0 RC1 (Plug/Windows/Linux)
PostPosted: Mon Aug 29, 2011 11:38 am 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Merged 1.3.0 back to my mainline branch. Getting close to release.

RC2 will drop tonight and be the last RC. No one has really downloaded it yet, but no worries I am on it making sure it is stable. A couple of very minor fixes will be added.

Oh, and the command "upload -php" is now "upload -admin". I just think it is more clear. I know that -php bypasses the the Tonido upload restrictions, but most people may not know that, so if they cannot upload to a certain folder, "upload -admin" is more intuitive to then upload to that protected folder.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.3.0 RC2 (Plug/Windows/Linux)
PostPosted: Tue Aug 30, 2011 12:38 am 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

RC2 is up. RC2 is what is going to be released if no other bugs are found, but there will not be another RC between now and then...whenever then is.

There were a couple of small fixes here and there. Things like were Opera would overlay a scrollbar over the maximized edit window, removed gradients from IE windows because once again filters were messing things up (I can't wait to IE is finally using only CSS); stuff like that.

There were a couple of internal things that changed, but nothing worth mentioning.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.3.0 RC2 (Plug/Windows/Linux)
PostPosted: Thu Sep 08, 2011 11:45 am 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

I am going to try to get around to releasing the final 1.3.0 this weekend.

It will have some small optimization done on the inside and some other small changes inside.

That will probably hit for Tonido Shell for a bit to give time to work on some other projects. As always though, I will address any actual critical bugs etc if they crop up. Keep an eye out.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.3.0.59537 Final (Plug/Windows/Linux)
PostPosted: Sat Sep 10, 2011 10:37 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

1.3.0.59537 Final has been released and is available on the opening page. Only real bug I remember fixing between RC2 and this is if you had X number of sessions 0 through (X-1) worked fine, but tab X would not work. I was calculating total sessions wrong.

That is all folks. I am very happy to finally release this. My understanding of Javascript jumped exponentially working on this release. It has some good new features and had a lot of work done under the hood.

This will probably the last major release for a while. I will be pursing some other projects and such, but I will continue to support issues, and will revisit for some new features when I have time again and things on the other project(s) slows down.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell 1.3.0.59537 Final (Plug/Windows/Linux)
PostPosted: Sat Oct 01, 2011 12:03 pm 
Tonido Team
Tonido Team
Joined: Tue Jan 27, 2009 10:38 pm
Posts: 1137

I am in the process of releasing your latest update. I was able to view the plugin in Windows. However, it fails in the ARM build. As far as trace logs, I am not seeing anything. When I load it in the TonidoPlug, I get a blank UI.


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 245 posts ]  Go to page Previous  1 ... 17, 18, 19, 20, 21, 22, 23 ... 25  Next

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
 
cron