Commit graph

1725 commits

Author SHA1 Message Date
Alexander Klizhentas e9e38252e2 Merge pull request #407 from gravitational/alexey/bug-fixes-and-tests
Alexey/bug fixes and tests
2016-05-09 15:24:18 -07:00
Alexey Kontsevoy 0e50912486 Merge remote-tracking branch 'origin/ev/reconnect' into alexey/logs 2016-05-09 17:44:00 -04:00
Ev Kontsevoy af67bfb9a8 Changed "page size max" for stream fetching from 512Kb to 10MB 2016-05-09 14:43:05 -07:00
Alexey Kontsevoy fdf206aa9e (web) bug fixes and session player unit-test coverage 2016-05-09 17:29:15 -04:00
Ev Kontsevoy 907707cb92 Merge remote-tracking branch 'origin/master' into ev/reconnect 2016-05-09 13:56:26 -07:00
Sasha Klizhentas f82069d785 fix source release 2016-05-09 13:14:02 -07:00
Alexey Kontsevoy 54f577410e Merge remote-tracking branch 'origin/master' into alexey/logs 2016-05-09 14:23:36 -04:00
Ev Kontsevoy 6b9374d2ea Reduced the verbosity of debug logging a bit. 2016-05-09 10:36:40 -07:00
Alexander Klizhentas 3fa4ddda84 Merge pull request #403 from gravitational/ev/399
Properly set content-type for gzipped responses
2016-05-09 09:04:33 -07:00
Alexander Klizhentas a0c17f2951 Merge branch 'master' into ev/399 2016-05-09 09:01:58 -07:00
Alexander Klizhentas 80236cff1d Merge pull request #405 from gravitational/ev/osx
Full OSX compatibility
2016-05-09 09:01:50 -07:00
Alexander Klizhentas 794d0b6de0 Merge branch 'master' into ev/399 2016-05-09 09:00:02 -07:00
Alexander Klizhentas 926b894745 Merge branch 'master' into ev/osx 2016-05-09 08:59:56 -07:00
Alexander Klizhentas 53e1ce57fd Merge pull request #404 from gravitational/alexey/player2
Alexey/player2
2016-05-09 08:59:20 -07:00
Alexander Klizhentas 938a2777b3 Merge branch 'master' into alexey/player2 2016-05-09 08:57:46 -07:00
Ev Kontsevoy 5c4b45caaa Full OSX compatibility
Teleport has always worked on OSX, but not all tests were OSX
compatible:

- some wouuld hang
- others would fail

This commit fixes that. `make test` passes on OSX.
2016-05-09 00:21:21 -07:00
Ev Kontsevoy b995d6073c Added --auth flag back to the docs 2016-05-08 23:40:00 -07:00
Ev Kontsevoy 4a05db4c11 Copy/paste fixes 2016-05-08 22:22:47 -07:00
Ev Kontsevoy 63c3109c6e OIDC documentation polish 2016-05-08 22:20:26 -07:00
Ev Kontsevoy 331b725e9e Code review gone wrong...
Fixes #400

Accidentally copy/pasted the channel into the wrong struct (session vs
party) when implementing PR suggestions
2016-05-08 21:57:34 -07:00
Ev Kontsevoy b3bde057b2 Merge pull request #401 from gravitational/sasha/oidc
Add OIDC documenation
2016-05-08 21:29:43 -07:00
Ev Kontsevoy 7b44ea6525 Merge branch 'master' into alexey/player2 2016-05-08 21:26:42 -07:00
Ev Kontsevoy 5458e5e0d6 Properly set content-type for gzipped responses
Fixes #399
2016-05-08 21:23:28 -07:00
Alexey Kontsevoy 55858f13e5 (web) datepicker bug fix 2016-05-08 17:12:05 -04:00
Alexey Kontsevoy 31617d9911 (web) improving session player 2016-05-08 16:56:31 -04:00
Alexander Klizhentas 31b77b37fc Merge branch 'master' into sasha/oidc 2016-05-08 13:43:27 -07:00
Sasha Klizhentas 7861e47d18 Add OIDC documenation 2016-05-08 13:39:30 -07:00
Ev Kontsevoy 1b7810163e Fixed broken (previous) commit 2016-05-08 12:24:19 -07:00
Ev Kontsevoy da1f9aa7b4 Merge pull request #395 from gravitational/ev/log
Lightweight sessions, recording, replay and audit events for Teleport
2016-05-08 12:08:42 -07:00
Ev Kontsevoy 8a2d6c6bae Nicer CLI UI:
- "Access denied" error message is not duplicated anymore
- When connecting to a label with multiple node matches, Teleport warns
  the user and connects to the 1st one (printing its address)

Refs #393
2016-05-08 12:05:46 -07:00
Ev Kontsevoy bd9ad5782c Merge remote-tracking branch 'origin/master' into ev/log 2016-05-08 11:53:57 -07:00
Ev Kontsevoy 883f2628bb Fixed data race 2016-05-07 22:00:25 -07:00
Ev Kontsevoy b175d92052 PR comments - implemented! 2016-05-07 21:51:35 -07:00
Alexey Kontsevoy 4bdceaebdf (web) bug fixes 2016-05-08 00:12:01 -04:00
Alexey Kontsevoy 2bd3c30770 (web) improvements to session player and its trackball 2016-05-07 23:49:57 -04:00
Alexander Klizhentas 0d5a76790b Merge pull request #397 from gravitational/ev/396
tsh now respects --user flag
2016-05-07 09:57:52 -07:00
Alexey Kontsevoy 29b0c76b24 Merge branch 'ev/log' of github.com:gravitational/teleport into alexey/logs
Conflicts:
	web/dist/app/app.js
	web/dist/app/vendor.js
	web/dist/index.html
	web/src/app/common/term/ttyPlayer.js
2016-05-07 10:00:02 -04:00
Ev Kontsevoy fcb9e7e799 Tried to make the error message better
When a user tries to login with a non-existing mapping (local OS does
not know anything about 'vince') he gets an ugly message:

"ERROR: cannot start shell"

Instead I wanted to show a nicer "host 'turing' does not have a local
user 'vince'"

The closest I could get was a generic 'access denied' + an informative
logging message in teleport logs.
2016-05-06 22:49:03 -07:00
Ev Kontsevoy cca475924b tsh now respects --user flag
Fixes #392
Fixes #396

Teleport now respects `--user` flag and, if --user is specified,
forces the certificate to belong to the given user.

This changes the file structure in `~/.tsh` directory. If a user logs in
under two different accounts, say "ekontsevoy" and "vince", it looks
like this:

```
~/.tsh/
├── keys
│   └── localhost
│       ├── ekontsevoy.cert
│       ├── ekontsevoy.key
│       ├── ekontsevoy.pub
│       ├── vince.cert
│       ├── vince.key
│       └── vince.pub
└── known_hosts

```

Also, to make tests more believable, I have added 3 more pre-generated
keys to 'testauthority' fixture, so instead of returning the same key
over and over, it now returns a random 1 of 4
2016-05-06 21:57:39 -07:00
Ev Kontsevoy e10612028e Preparations for a PR
Fixes #394
2016-05-06 20:48:02 -07:00
Ev Kontsevoy 1848bd3e82 Added gzip compression for chunk reading during replay 2016-05-06 15:27:46 -07:00
Alexey Kontsevoy 3ee1c6979c (web) refactoring 2016-05-06 18:00:28 -04:00
Ev Kontsevoy f2c53cd1b5 Experiment: 100% binary stream available for web session player 2016-05-06 13:50:15 -07:00
Alexey Kontsevoy d4e9398566 (web) refactoring 2016-05-06 16:41:15 -04:00
Alexey Kontsevoy 4e2bb6fd6a Merge remote-tracking branch 'origin/ev/no-ws' into alexey/logs 2016-05-06 16:39:10 -04:00
Ev Kontsevoy 9d2a5c3536 Buffer overflow issue 2016-05-06 13:37:11 -07:00
Alexey Kontsevoy e550a2d066 Merge remote-tracking branch 'origin/ev/no-ws' into alexey/logs 2016-05-06 14:54:28 -04:00
Ev Kontsevoy a1dbe76e72 Fixed connection issue during recording 2016-05-06 11:47:05 -07:00
Alexey Kontsevoy d735c1e010 (web) safari fixes 2016-05-06 11:11:39 -04:00
Ev Kontsevoy f27e207afc Replaced weg sockets with HTTP POST/GET chunks 2016-05-05 23:51:56 -07:00