Commit graph

61 commits

Author SHA1 Message Date
zodiac@gmail.com
c87777d04f Allow changing of font sizes in the user CSS.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@219 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-09-03 18:00:25 +00:00
zodiac@gmail.com
daffdc356a Fix some scaling related issues. This fix is thanks to some
excellent detective work by Jan <siev...@zedat.fu-berlin.de>.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@218 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-09-03 17:24:57 +00:00
zodiac@gmail.com
7f59f4a7a6 Thanks to lotr44's excellent analysis of the problem, we now have
a fix for the problem with typing "!" on French keyboards.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@213 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-19 19:09:33 +00:00
zodiac@gmail.com
bdc877c53e Allow users to disable blinking cursor from context menu.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@212 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-08-06 22:15:35 +00:00
zodiac@gmail.com
83621919cd Added support for systems that have utmpx.h, but don't implement updwtmpx().
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@207 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-08 17:54:15 +00:00
zodiac@gmail.com
d1df9b6441 Fixed a NULL pointer dereference that can occur when hostnames
do not resolve. Thanks to <vmagerya> for pointing out this problem.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@206 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-07-02 19:00:33 +00:00
zodiac@gmail.com
775592791d Thanks to some more testing and additional information provided by Jan Jaeger,
we now have a much cleaner solution for building ShellInABox on OpenWRT.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@204 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-31 16:07:06 +00:00
zodiac@gmail.com
9b0a937e35 Started working on support for WebSockets.
Fixed some compiler warnings when compiling with -Wextra

Thanks to Jan Jaeger's excellent bug report, made some changes
that should make it easier to build ShellInABox for OpenWRT.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@202 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-29 16:40:17 +00:00
zodiac@gmail.com
ef5177349e Add .note.GNU-stack to all object files so that the generated binary doesn't erroneously request an executable stack.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@200 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-10 18:44:28 +00:00
zodiac@gmail.com
0fcf50735e Allow retrieval of the user's default login shell from /etc/passwd.
Allow the code to be built without support for the LOGIN service, as
calling /bin/login does not work well on Fedora.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@198 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-04 06:33:36 +00:00
zodiac@gmail.com
5caa8b7288 Added fallback code that dynamically computes the correct commandline
arguments for "objcopy" if building for an otherwise unknown target
platform.

Fixed a lintian "informational" message.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@197 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-02 20:26:07 +00:00
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
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
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
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
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
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
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@gmail.com
0a834e6488 Allow unprivileged users to run the daemon. This requires calling "ssh" instead of "login".
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@154 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-29 18:30:03 +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
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
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
zodiac
f613bc1ca8 Added support for keyboards that have a dedicated "<" / ">" key.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@132 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-28 20:22:29 +00:00
zodiac@gmail.com
db631d5e35 Added SSL support for OpenBSD
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@122 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-25 06:03:26 +00:00
zodiac@gmail.com
adadddf91c Released version 2.8
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@121 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-23 19:53:09 +00:00
zodiac@gmail.com
60b5f38d74 Improved support for entering non-ASCII characters.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@120 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-23 05:56:16 +00:00
zodiac
41fd8f3ea5 Fixed various issues with building on OpenBSD
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@119 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-21 07:50:22 +00:00
zodiac
abb9a50f3b Fixed variable expansion in service descriptions.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@118 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-28 07:12:55 +00:00
zodiac
28b65c9f2a Released version 2.7
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@117 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-27 16:54:17 +00:00
zodiac
f8c85ae26f Released version 2.6
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@113 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-12 17:26:58 +00:00
zodiac
81845fd5f7 Log fatal error messages even in "quiet" mode. Allow overriding more of the
default values needed by the system startup script.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@101 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 16:09:37 +00:00
zodiac
3e0241dde3 Added initial revision of demo application
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@93 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 08:41:48 +00:00
zodiac
96cc177071 Added an INSTALL.Debian file with Debian-specific instructions on
how to build and install a package file.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@87 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-23 15:48:06 +00:00
zodiac
abba562359 Work-around for an IE6 bug when doing HTTPS through proxies.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@86 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 19:09:05 +00:00
zodiac
0596dc00c3 Possible fix for IE problems with horizontal positioning of cursor if the line
ends in spaces.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@85 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 16:49:17 +00:00
zodiac
0ac80a7829 Released version 2.5
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@84 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 15:56:49 +00:00
zodiac
cdd4ae34eb Tweaked cursor positioning code, and added explicit no-cache headers to our
responses. This might help with reported IE6 problems.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@81 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-19 22:10:48 +00:00
zodiac
e1863d0a47 More IE6 tweaks. Allow root to listen on privileged ports.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@80 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-18 18:15:28 +00:00
zodiac
97fff401a3 Fixed IE6 support, and fixed possible memory corruption, when sessions
time out.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@77 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-17 17:51:42 +00:00
zodiac
85ae25cdf5 Fixed some compiler warnings that newer versions of GCC issue.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@75 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-16 15:08:11 +00:00
zodiac
b0341e1549 Added fallback on old-style pty's, if /dev/pts is not mounted.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@73 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 05:34:21 +00:00