It is currently Wed May 22, 2013 8:38 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 245 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 25  Next
Author Message
 Post subject: Re: Tonido Shell RC1
PostPosted: Sun Dec 19, 2010 6:43 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Sometime before Christmas. I am planning on posting RC2 with Upload and Download support, a lot of internal clean up, and small tweaks.

Uploads and Downloads no longer have size limits due to Tonido handling the actual download and upload request. The dialogs can be launched from the menus or from command line.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell RC1
PostPosted: Mon Dec 20, 2010 7:42 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Fixed some bugs in the core PHP Shell code that I am building off of.

If you experienced this issues, they will be fixed in the next release.

1. relative paths ../../ greater than two back do not work. There was a bug in how ../ was getting handled. I don't think the code was extensively tested past two deep, but now it should work no matter how many you are using.

2. If you entered an invalid directory to cd to, you would get some weird error and then a "cannot change to directory". The Author wasn't checking if the directory existed before trying to change; he was just suppressing the error to keep the script from failing. This was fixed.

An aside
Oh, and get in the habit of escaping your paths i.e surrounding them in single quotes. These commands are passing through a PHP layer so usual formatting isn't the same as it would be as entering a command directly on the server.

Things like rm folder/folder\ with\ spaces/file will not work; you need to rm 'folder/folder with spaces/file' for it to work. If you do a single cd command (a cd command with no other lines following it), spaces work fine without quotes because you are not sending them to be executed on the server, they are handled internally to change your script's working directory. If you try cd folder/ folder with spaces; rm file;, you will see errors, but doing this: cd 'folder/ folder with spaces'; rm file;, should execute properly.

Because of this, I added support for single quotes when issuing a single cd command so people who are in the habit of escaping their paths won't get an error.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Mon Dec 20, 2010 10:49 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

RC2 is now posted.

RC2 is the last release before the release on the market. Keep an eye out. A lot of work has gone into bringing this to you on the Tondio Plug. If you like the work and find this application useful, consider donating. You can find a donation link in the About Dialog of the application. Enjoy.

New:
  • Added upload and download capability. You will find the same features upload features found in Tonido explorer because they use the same API.
  • Graphical tweaks: harder edges on dialog badges, and brightened up some of the darker badge icons.
  • Fixed bugs
  • A lot of cleanup for better maintainability.
  • Added user manual

As always, if you find any bugs, please let me know.

I probably won't be working on this again until after Christmas unless I get some more info about getting this on the Market.

Enjoy the app and Happy Holidays.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Thu Dec 23, 2010 12:46 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

I have not touched the code as promised, but being the perfectionist I am, I touched up the badge icons and some other graphics. I am no graphic artist, but, given enough time, I like to think I do all right. :D

Attachment:
File comment: New Badge Icons etc.
new badges.jpg
new badges.jpg [ 25.29 KiB | Viewed 727 times ]

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Thu Dec 23, 2010 2:13 pm 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7305
Location: Dallas, USA

I think you missed your calling.
:D


Online
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Wed Dec 29, 2010 7:28 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Did a little work that will be included in the final release. I didn't like that you could tab behind modal dialogs, so I remedied that. Also, a little house keeping in general to the modal library.

I plan on using the modal library in other things so many of the changes were for my benefit and you won't notice. But the tab containing you will if you ever tabbed off into oblivion.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Thu Dec 30, 2010 9:26 pm 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7305
Location: Dallas, USA

Did some testing with our latest release and had some comments.

1. The window is expanding and using up a lots of screen which causes a scroll bar to appear. Can you avoid this and give the shell a smaller width? See attached screenshot.

2. I see you have AUTH_ROLE_OWNER already, then why the extra password?


Attachments:
sshot-2.png
sshot-2.png [ 41.75 KiB | Viewed 696 times ]
Online
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Thu Dec 30, 2010 9:45 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

madhan wrote:
Did some testing with our latest release and had some comments.

1. The window is expanding and using up a lots of screen which causes a scroll bar to appear. Can you avoid this and give the shell a smaller width? See attached screenshot.

2. I see you have AUTH_ROLE_OWNER already, then why the extra password?


1. I can scale it down, but I see this issue with many of the Tonido plugins. If you open the shell in a separate window, you will notice no scroll bars and the terminal will dynamically stretch to fill your window. The terminal is set to expand to the document width. Resizing your window while embedded in the Tonido UI does not trigger the iframe to register a resize though (iframe does not resize); hide the sidebar and then you will see the terminal snap to the iframe width; unhide the sidebar and you will see it snap the the appropriate size again. I can scale it to something like 90 - 95%, but when you resize the window while embedded in the Tonido UI, the scroll bar will appear again because the iframe document is not registering a resize; you will have to hide/unhide the sidebar to trigger the iframe resize. I will look into why I am not getting the appropriate width on initial load though. If I can determine a work around, then I won't have to scale down the window while under the Tonido UI. I could also allow the the manual configuration of the width if that is preffered, but I kind of like having it automatically stretch as I resize the window to eliminate word wrapping.

2. I would ask the same question about Tonido Admin :D. It was already there in the base code and I figured the shell was a highly useful tool but also potentially very destructive in the wrong hands; since it was already there, I just left it in for the extra paranoid. It is trivial to remove entirely or even simply disable. I have no problems taking it out.

I will see if I can address these issues in an RC3 with the suggestions by this weekend.

_________________
My Tonido Plugins:


Last edited by facelessuser on Fri Dec 31, 2010 1:44 am, edited 1 time in total.

Offline
 Profile  
 Post subject: Re: Tonido Shell RC2
PostPosted: Thu Dec 30, 2010 11:31 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

Okay Madhan. I think I have a workaround coming for the width issue. Using the oninit event of the shell page, I search to see if the shell is embedded in an iframe, if it is I adjust the iframe size to x% and it eliminates the horizontal scrollbar and the terminal snaps to the right size. I need to test this in a number of browsers, but it appears it will be somewhere around 99.5% or greater. I can probably execute this on a resize event as well since CSS resizing isn't getting triggered.

I think when a plugin is loading, the size of the iframe is calculated by the Tonido UI and then the plugin is loaded in. It appears it gets calculated bigger than it needs to be sometimes, that is why I am resizing it. This is kind of a hack, but it is necessary due to the way the Tonido UI does things.

edit:
Looks like it is working pretty good on webkit and firefox; I will need to try it on my nemesis IE tomorrow.

edit:
IE seems to be a little stubborn. My algorithm didn't work on IE...big surprise there :evil: . I had to refactor code to handle IE...again. But it looks like I will have a cross platform fix.

edit:
Passwords disabled. I will try and get these changes out this weekend. Don't expect it tonight though.

_________________
My Tonido Plugins:


Offline
 Profile  
 Post subject: Re: Tonido Shell RC3
PostPosted: Sat Jan 01, 2011 5:52 pm 
Tonido MVP
Tonido MVP
User avatar
Joined: Sun Sep 05, 2010 6:21 pm
Posts: 501

RC3 is posted

changes:
  • New icons and graphics
  • internal cleanup/reorganizing and minor bug fixes
  • Password related stuff removed (the app is already behind Tonido Authentication)
  • Added fix to size the app correctly when embedded in Tonido UI

I had some code I was going to include that would contain tabbing on dialogs, but some of the side-effects were just as annoying as what I was trying to fix, so I removed it. I will wait to see if I can come up with a better way to do it.

_________________
My Tonido Plugins:


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 245 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 25  Next

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 1 guest


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: