Commit graph

90 commits

Author SHA1 Message Date
zodiac@gmail.com
571d3738df Fixed lintian errors.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@195 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 08:21:03 +00:00
zodiac@gmail.com
cc4caca982 * Added checks that the debian/changelog file is up-to-date
* Added debian/watch file

* Updated the Standards-Version in debian/control. Still need to
  review whether we are in full compliance, though.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@194 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 04:32:09 +00:00
zodiac@gmail.com
8238d7d66f Added some basic sanity checks to the commit script that now makes
sure we at least attempt to keep copyright dates updated whenever we
 make changes.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@193 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 02:45:48 +00:00
zodiac@gmail.com
fe2eb7e120 Preparations for packaging ShellInABox in a way that makes it easy for Debian package maintainers to pick it up.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@192 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-30 18:26:43 +00:00
zodiac@gmail.com
03886076e1 Lock the Debian compatibility level a 6, so that the packages can easily be
built on Hardy.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@191 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-26 21:05:46 +00:00
zodiac@gmail.com
7862fb99be Enable switching between 80 and 132 column mode, if the browser supports
CSS transforms.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@190 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-25 23:56:56 +00:00
zodiac@gmail.com
99169cff6a Thanks to Rudolf Spring's help, added support for building on PowerPC architectures.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@189 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-23 04:57:27 +00:00
zodiac@gmail.com
c64e8aeb97 Added some documentation explaining how to configure ShellInABox on Fedora.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@188 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-23 04:53:38 +00:00
zodiac@gmail.com
e17458375d Removed compiler warning when building without SSL support.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@187 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-22 03:05:09 +00:00
zodiac@gmail.com
b679d8e443 Released version 2.10
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@186 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-21 22:48:34 +00:00
zodiac@gmail.com
3c644e1c4c Document the --user-css command line option. Added an example on how to
configure Apache for reverse proxy operation.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@185 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-21 21:01:32 +00:00
zodiac@gmail.com
9eb1693630 Add dependency on lsb-base for the Debian package
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@183 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-20 18:51:42 +00:00
zodiac@gmail.com
cd126f40f9 Fix handling of control and capslock keys.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@182 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-18 22:58:06 +00:00
zodiac@gmail.com
fe5a28f992 Some minor tweaks to make newer versions of gcc and glibc compile without warnings.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@181 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-11-18 17:17:56 +00:00
zodiac
fd5ce81731 Fixed the escape sequences for VT100 transparent printing support.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@180 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-26 06:49:38 +00:00
zodiac
e8ef411627 Escape potentially problematic characters in ${url}
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@179 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-24 02:19:43 +00:00
zodiac
69cfac0161 Make "${url}" include the URL parameters.
Cleanup the transparent printing HTML a little bit.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@178 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-23 15:27:15 +00:00
zodiac
065ac9f0fb Added transparent printing support. The development of this feature is sponsored by De Bortoli Wines Pty Limited and by Eternity Technologies.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@176 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-20 08:16:28 +00:00
zodiac
9b8e3af162 Added a ${url} parameter that can be used in the service description
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@174 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-19 19:08:30 +00:00
zodiac
15e91a32f7 Internet Explorer still doesn't properly support CSS. In particular, it has
problems dealing with "inherit" styles. This prevented proper switching
between color and monochrome.

Implemented a work-around.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@172 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-16 05:20:09 +00:00
zodiac
161e848e23 Simplify the code that compresses HTTP replies. This also gives us the ability
to manipulate headers more easily. We now add "Connection: close" in more cases
where we force a closing of the connection.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@171 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-15 22:55:02 +00:00
zodiac
e3a4eb95e3 For Debian packages, install user CSS style options in /etc/shellinabox and
automatically pick them up when the service starts.

Persist preferences when the user changes them in the context menu.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@170 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-15 05:24:31 +00:00
zodiac
5eade3daff Fixed a potential assertion failure in the daemon, if a user manages to type keys before he had a chance to establish a session.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@169 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-13 01:55:44 +00:00
zodiac
bc811017fd Allow quotes in SHELLINABOX_ARGS (for Debian packages)
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@168 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-12 19:55:25 +00:00
zodiac
341eb1982c Included example style sheets that allow switching to white-on-black or to
monochrome mode from the right click context menu. This required a couple of
architectural changes to the JavaScript code.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@167 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-12 02:32:26 +00:00
zodiac
71ba8641c1 Fixed support for Swedish keyboards
Some more tweaks for IE6 support. Overall, IE6 is still pretty
broken. Not sure if we can do much about this.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@166 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-11 18:37:12 +00:00
zodiac
7ab3b32465 Initial version of code that allows users to interactively select from
different style sheet options. This code is still incomplete and subject to
change (e.g. the command line syntax might still change). But it is good
enough to demonstrate the concept on simple style sheets (such as selecting
between normal and reverse video).


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@165 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-11 07:21:51 +00:00
zodiac
e78b94961c Sanitize the SSH command line a little more.
Show the real host name in the SSH password prompt, if available.
Add some commented-out debugging helpers for tracking down problems with non-US keyboards. 


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@164 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-09 19:08:40 +00:00
zodiac
2d226f5b53 Removed incorrectly added duplicate HTML header from root HTML page.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@163 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-08 22:49:31 +00:00
zodiac
94e7bd4dd3 Even if ShellInABox is running with SSL support disabled, if the user connected
to it over HTTPS (e.g. because the SSL encryption is done by a reverse proxy
in front of the daemon), we should not redirect away from the HTTPS session.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@162 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-08 22:07:42 +00:00
zodiac
86a9d06a8b Added an example for the SSH service option.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@161 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-30 18:12:54 +00:00
zodiac
e35cf266da - Added the --css command line option to make incremental changes to the style sheet without having to load a full replacement with the --static-file option. Added an example that enables white text on a black background.
- Added Debian specific documentation to the manual page.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@158 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-30 17:40:54 +00:00
zodiac
37c51363d6 Updated examples in manual page.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@157 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-29 21:27:01 +00:00
zodiac
01e6f3c9de Updated manual page to show new SSH service.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@155 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-29 21:08:06 +00:00
zodiac@gmail.com
218d901131 - Perform all URL rewriting before loading the first resource (e.g. style sheets).
- Allow reverse proxies to do their own SSL encryption even if ShellInABox explicitly disabled encryption.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@153 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-27 20:09:33 +00:00
zodiac@gmail.com
052a47aa08 Use JavaScript redirection for attaching the missing slash to
the URL. This should make it easier to use reverse proxies. It was
already possible to run shellinaboxd behind a proxy, but a lot of
users got the configuration wrong.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@152 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-27 18:31:05 +00:00
zodiac
468bcbbb4e For Debian packages, added a missing build dependency on zlib.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@149 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-10 16:28:11 +00:00
zodiac
13263e1737 Make 'update' warn about merge conflicts
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@147 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 20:11:40 +00:00
zodiac
d51ada4a87 Added an 'update' script that should make it easier for people to track SVN
even if they have mismatching versions of the autotools


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@146 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 19:16:53 +00:00
zodiac
f4ed4c38d0 Include some more of the autotools dependencies. This might make it easier for
users that want to track development with 'svn update', but who use a different
version of autotools than the one that is checked into SVN.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@145 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 17:34:55 +00:00
zodiac
1c4d50f112 Treat a few more types of trailing characters as not forming part of a URL.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@144 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 17:24:21 +00:00
zodiac
d96e312a70 More fine tuning of the regular expressions that detect URLs. We now allow '.' and ',' in URLs, as long as they are not at the very end of the URL, where they would probably be part of the enclosing sentence and not actually part of the URL.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@143 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 17:08:47 +00:00
zodiac
8920606f6f Optionally compress large responses, if the browser accepts deflate compression. This mainly improves start up time.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@142 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 08:33:36 +00:00
zodiac
ca18a5346f Run-time testing for availability of libpthread functions does not
work reliably on some platforms. So, avoid doing so on anything other
than Linux/i386. For all other platforms, assume that the code is not
linked against libpthread. For ShellInABox, this is always the correct
assumption. But if the code gets embedded into other projects, this
might have to be changed.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@141 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-07 00:40:51 +00:00
zodiac
bb4dbaa5f5 Making it easier to host the terminal on non-root URLs by always redirecting to a URL that includes a trailing slash.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@140 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-06 16:27:11 +00:00
zodiac
8ff79d1ce7 Released version 2.9
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@139 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-06 04:28:59 +00:00
zodiac
5df28de89c - Refined regular expressions for finding URLs.
- Show new terminal size when resizing the browser.
- Restored compatibility with IE5 and IE6.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@137 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-05 02:45:49 +00:00
zodiac
cedb046244 Fixed a null pointer dereference that could be triggered by using non-standard
service definitions.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@136 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:46:28 +00:00
zodiac
9713e1d58c Fixed vt100.jspp so that it can be used without shell_in_a_box.jspp. This
broke demo.jspp.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@135 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:31:39 +00:00
zodiac
19177de98c Added --linkify option. Default settings cause the terminal to recognize fully qualified URLs and to make them clickable.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@134 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:16:07 +00:00