Commit graph

307 commits

Author SHA1 Message Date
Alexandre Detiste
26d8a34638 debian: use dh-autoreconf 2015-05-13 08:56:30 +02:00
Alexandre Detiste
b54b3fa3f7 remove more autogenerated cruft 2015-05-13 08:55:29 +02:00
KLuka
371f061279 Project cleanup of build and demo files
* Removed autogenerated build files
* Removed autogenerated demo files
* Updated .gitignore
2015-05-12 20:02:59 +02:00
Luka Krajger
597890ed33 Merge pull request #299 from a-detiste/master
Refresh debian packaging
2015-05-12 18:18:34 +02:00
Alexandre Detiste
e59a2e32ae .gitignore 2015-05-12 14:52:15 +02:00
Alexandre Detiste
49d7515509 refresh Debian packaging
handle lintian file automatically
2015-05-12 14:45:56 +02:00
Luka Krajger
cb2c39c502 Merge pull request #298 from tickelton/fix_243
Issue #243: Cannot look up group "shellinabox" at service start
2015-05-08 16:39:10 +02:00
tickelton
5f1aaea6f1 Issue #243: Cannot look up group "shellinabox" at service start
_SC_GETGR_R_SIZE_MAX was treated as a maximum buffer size while
it should only be a proposition for an initial size.

The buffer size is now increased dynamically if the initial size
is not sufficient.
2015-05-08 09:03:16 +02:00
Luka Krajger
5372964801 Merge pull request #297 from Thubo/master
Added libtool and autoconf to build dependencies in README.md
2015-05-06 16:07:14 +02:00
Matthias Thubauville
8cfce23076 Added libtool and autoconf to build dependencies in README.md 2015-05-06 10:06:21 +02:00
Luka Krajger
170704671c Merge pull request #296 from tickelton/fix_disable-ssl
Fix build with --disable-ssl
2015-05-02 16:37:53 +02:00
tickelton
228dd0c69c fix build with --disable-ssl
Commit b06b1f15ac broke the configure option
"--disable-ssl" as the function sslMakeContext() was not enclosed in an
"#if defined(HAVE_OPENSSL)" statement.
2015-05-02 16:12:33 +02:00
KLuka
8e09b8f2a6 Added empty m4 directory for autotools 2015-04-27 16:20:44 +02:00
KLuka
f0014c3a7a Firefox keyboard fix (German layout)
Some keycodes were moved from "normalKey" flag under "alphNumKey" flag.
2015-04-22 21:42:01 +02:00
KLuka
273be9b295 Update of project build scripts
* Updated README.md with additional instructions
* Updated configure.ac and Makefile.am to remove configuration warnings

Fixes were made according to information from issue #295
2015-04-22 11:04:22 +02:00
KLuka
c13170fe33 Minor typo and font fixes
* Added "Consolas" to terminal font stack
* Fixed some typos in README.md
* Fixed consistency of "attrFg" and "attrBg" in VT100 class
2015-03-19 22:33:49 +01:00
KLuka
fc89cb1ad5 Issue #105: Extend vt100.js to support xterm 256 colors
Now we are able to catch 38 and 48 ANSI escape codes in csim funcion. This two codes
define extended foreground/background color of terminal output in 256 color mode.

This enables us to add CSS classes "ansi0-ansi255" and "bgAnsi0-bgAnsi255" to related
output sections. Colors defined in CSS classes are the same as xterm colors.
2015-03-19 18:48:01 +01:00
KLuka
62871a605d Issue #186: Does not build on OpenBSD
* Added stdint.h include for uintptr_t compilation error
2015-03-17 13:32:05 +01:00
KLuka
38362b591e Better handling of Ctrl-W event
* IE doesn't trigger warning when session is closed
* IE and Firefox actually sends Ctrl-W event to terminal
* In Chrome user still gets warning and event is NOT sent to terminal
2015-03-14 13:30:18 +01:00
Luka Krajger
57cb829be9 Update README.md with Debian info
This update is related to issues: #227, #181, #193 ...
2015-03-13 13:09:19 +01:00
KLuka
1fc7a14c19 Updated README.md
* Added preview image
* Added sections Build and Issues
2015-03-12 15:28:14 +01:00
Philip Hughes
252dbaed88 Automake requires ChangeLog file
Add a placeholder to point the user to CHANGELOG.md instead (thanks
automake).
2015-03-11 16:40:42 +01:00
KLuka
cca02b1fee Issue #52: Emacs refresh is slow
When new process is launched default terminal speed is correctly set to 38400.
This improves usage of Emacs editor and perhaps some other applications.

This is also partial fix for issue #58
2015-03-11 16:21:15 +01:00
Luka Krajger
2f2d6ffabf Merge pull request #294 from Grimthorr/changelog
Fix build error caused by #293
2015-03-11 14:18:08 +01:00
KLuka
596776756d Merge branch 'KLuka-master' 2015-03-11 13:48:15 +01:00
Philip Hughes
52acf0a6f2 Update change log file name in Makefiles 2015-03-11 12:46:16 +00:00
KLuka
5f1d52c53b Merge branch 'master' of git://github.com/KLuka/shellinabox-1 into KLuka-master
Conflicts:
	ChangeLog
2015-03-11 13:46:04 +01:00
KLuka
cb3957f770 Issue #51: backtick key not working in Chrome
This patch was created with help from @dezza
2015-03-11 18:39:46 +01:00
Ezra Buehler
284d90ccc4 Remove trailing whitespace 2015-03-11 17:56:36 +01:00
Ezra Buehler
1dd42d66c2 Add menu option "Disable Alt Key"
This makes the application usable for Mac OS clients using international
keyboards.

This patch was modified to fit in our fork by @KLuka.
2015-03-11 17:41:44 +01:00
Luka Krajger
6984ce4b56 Merge pull request #293 from Grimthorr/changelog
Adds CHANGELOG.md
2015-03-11 13:18:49 +01:00
Philip Hughes
a129d17072 Update CHANGELOG.md 2015-03-11 12:07:12 +00:00
Philip Hughes
50ef89cc54 Implement a change log
Replaced old change log file with a GitHub-friendly version which
loosely follows the keepachangelog.com convention.
2015-03-11 11:42:08 +00:00
Luka Krajger
4ced3d2738 Merge pull request #290 from Grimthorr/master
Swap to gzip compression (drops support for IE6)
2015-03-10 12:22:41 +01:00
KLuka
b2f039d9c2 Fixed error from previous merge 2015-03-10 17:51:25 +01:00
Philip Hughes
939068c533 Swap to gzip compression (fixes #262 and #266)
Instead of making the browser sniffing more complicated, it's probably
better to use code that works for all current browsers. As such, this
swaps to use gzip compression encoding instead of deflate and drops the
IE browser sniffing code. This means shellinabox works in IE11 and
should work in every version of IE since IE7. From this commit, IE6 is
no longer supported. Thanks @lfourquaux.
2015-03-10 10:21:20 +00:00
Luka Krajger
5a69cc67ca Merge pull request #289 from KLuka/master
Keyboard icon, some html fixes ...
2015-03-10 10:51:55 +01:00
Guillaume Martres
a75bacb840 Set the encoding of .html files to UTF-8 2015-03-10 17:15:06 +01:00
Daniel Gröber
6d5b639816 Fix <input> element type
type="textfield" is invalid, however most browsers seem to default to
type="text" so this must have been overlooked.

This patch was modified to fit in our fork by @KLuka.
2015-03-10 17:13:47 +01:00
KLuka
25921c9961 Issue #173: Keyboard icon on dark background
Keyboard icon was not visible on dark background. This fixes icon to work well
on light and dark background. Image was fixed by @Grimthorr.

Copy of icon was removed from demo directory.
2015-03-10 17:04:06 +01:00
Luka Krajger
2754240709 Merge pull request #288 from KLuka/master
Another (final) fix for Firefox keycodes problems
2015-03-08 21:50:54 +01:00
KLuka
3570f20b0b Another (final) fix for Firefox keycodes problems
This patch adds new Firefox codes as normal keys.

Patch was taken from issue #202 comments, and merged to fit in our
code. Previous related patches were removed.

https://code.google.com/p/shellinabox/issues/detail?id=202#c23
2015-03-08 21:30:42 +01:00
Luka Krajger
ccbad6b906 Merge pull request #287 from KLuka/master
Keyboard fixes, raised version, ...
2015-03-08 16:06:31 +01:00
KLuka
61184ca8a5 Raised version to 2.15 2015-03-08 15:36:50 +01:00
KLuka
46ea812284 Removed at sign (@) from beggining of some JS comments
Posts from issue #118 tells us that at signs in JavaScript comments could produce
some troubles in IE browsers.

This related to something called "contional compilation" in JS ...
2015-03-08 15:14:20 +01:00
KLuka
699132d536 Issues #51, #202 ... : Keycodes fixes for FireFox
Added keycodes for handling <, >, + and * on Firefox 15+.
2015-03-08 14:50:25 +01:00
Luka Krajger
cc3f2fe917 Merge pull request #286 from KLuka/master
Partial fixes for issues #103, #203, #195 and README.md
2015-03-06 13:43:12 +01:00
KLuka
26fbc157ca Added README.md with basic info 2015-03-06 16:39:33 +01:00
KLuka
502891c626 Issue #195: A couple of bugs in vt100.jspp ...
Applied some fixes from issue comments.

https://code.google.com/p/shellinabox/issues/detail?id=195
2015-03-06 16:39:13 +01:00
KLuka
91f6eabe49 Issue #103, #203: Child process termination (partial fix)
When browser tab/window is closed during active session, child process
stays alive forever (even if shellinaboxd is terminated).

This fix works only if shellinaboxd is started without root privileges.
Droping them at runtime doesn't help either. Issue is related to PAM
session management process.

If we start shellinaboxd with root priviliges this fix will not affect
anything.

* When session timeouts cleanup procedure is triggered. Procedure is executed
in launcher process, because this is parent of child (service) process.
There we execute checks, if we have correct child pid (stored in session) and
than we can terminate process.
* Added debug information about cleaning up child process

https://code.google.com/p/shellinabox/issues/detail?id=103
https://code.google.com/p/shellinabox/issues/detail?id=203
2015-03-06 16:39:02 +01:00