Commit graph

34 commits

Author SHA1 Message Date
zodiac@gmail.com
2ea8e5cc77 OpenWRT builds with a toolchain that doesn't set correct entries in the ELF
headers, giving us no way to auto-detect the architecture. We have to
hard-code the flags that we pass to objcopy. Unfortunately, we have to do
this for all MIPS targets. This could conceivably break building the code
on other MIPS targets. If that happens, we'll deal with it at that time.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@203 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-30 17:16:49 +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
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
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
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
dfe41ce244 Apparently, CGI mode is hard to figure out. Added an example showing how to
use it.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@173 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-17 17:14:32 +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
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
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
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
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
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
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@gmail.com
6dbbe62310 Added code so that "objcopy" picks an appropriate target architecture when
building for ARM.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@124 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 19:41:32 +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
e5b964a311 Add gadget descriptor to source tar file
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@100 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:25:42 +00:00
zodiac
d249077169 Symbolic links do not appear to work for the Google Code web server. Use
hard linked files in demo/*, instead.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@95 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 09:00:41 +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
2f6b0934ee Renamed the JavaScript source files to *.jspp and the pre-processed files
to *.js. Checked both versions of the file into SVN, so that users can
directly access the preprocessed files, if they don't want to rebuild them.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@89 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-23 23:12:17 +00:00
zodiac
b52b4d9af0 Updated regular expression to match Subversion's keyword pattern.
Added missing depency on config.h.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@69 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 05:43:34 +00:00
zodiac
cc09440d27 Include Subversion revision number in user-visible version number.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@67 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 05:26:58 +00:00
zodiac
84dcc33650 Allow "configure" to explicitly disable OpenSSL and PAM support. Also, allow
OpenSSL and PAM libraries to be optionally linked as regular shared libraries
instead of being searched for and loaded at run-time.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@65 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 04:13:47 +00:00
zodiac
1e27276feb Use a config.h file, instead of passing configuration options on the compiler's
command line.

Fix fatal compilation warning when building without SSL support.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@59 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-11 23:25:15 +00:00
zodiac
ef921b0ba2 Fixed various rendering glitches reported by Phil Endecott of Anyterm (http://anyterm.org) fame.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@57 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-09 00:13:48 +00:00
zodiac
75c09f9f83 Make code a little more portable. In particular, fix sed scripts.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@56 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-02 21:42:33 +00:00
zodiac
537d83a5b1 - Released version 2.1
- Fixed a few more build issues.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@36 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-12 18:59:06 +00:00
zodiac
ff781065ac Adjust command line for objcopy to build do the right thing on x86_64.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@32 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-08 00:05:03 +00:00
zodiac
35aa1a7881 - Tightened setuid operation to not allow any user or group changes.
- Added support for --cgi mode.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@22 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-01 05:53:04 +00:00
zodiac
aab20f5ed0 First public release of the version 2.0 rewrite. This is the
first release of ShellInABox that supports an AJAX interface
instead of the original Java applet.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@2 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2008-12-29 23:57:07 +00:00