Commit graph

1813 commits

Author SHA1 Message Date
Ev Kontsevoy 2332192e58 Merge pull request #609 from damz/pr/formatting
Fix minor formatting issues in lib/auth/auth_with_roles.go
2016-11-17 20:35:16 -08:00
Ev Kontsevoy 8611ee4cb0 Merge pull request #601 from gravitational/ev/512
Web assets are packed into the executable
2016-11-17 20:31:51 -08:00
Ev Kontsevoy b481739b80 Merge branch 'master' into ev/512 2016-11-17 20:29:24 -08:00
Ev Kontsevoy c9aaf4ea5c Merge branch 'master' into pr/formatting 2016-11-17 20:29:11 -08:00
Ev Kontsevoy 36859a0bc8 Merge pull request #612 from carbin-gun/master
make under cgo enabled
2016-11-17 20:28:37 -08:00
zhengchao.deng 1bde3e1732 make under cgo enabled 2016-11-17 12:52:56 +08:00
Damien Tournoud 9cb44a55c3 Fix formatting 2016-11-11 16:33:42 +01:00
Alexander Klizhentas 0a6b04ba4a Merge pull request #608 from gravitational/dmitri/fix-expiration-dir
Set valid expiration time in the future in CreateSessionResponse.
2016-11-07 09:41:27 -08:00
dmitri 977b610777 Set valid expiration time in the future in CreateSessionResponse. 2016-11-07 15:36:54 +01:00
Ev Kontsevoy 7fe96513e2 Merge branch 'master' into ev/512 2016-11-03 23:12:14 -07:00
Ev Kontsevoy 002b640a16 Merge pull request #607 from gravitational/ev/scp
Ev/scp
2016-11-03 23:11:53 -07:00
Ev Kontsevoy e02630cbd1 Merge branch 'master' into ev/scp 2016-11-03 23:09:25 -07:00
Ev Kontsevoy eae9d16999 Merge pull request #605 from gravitational/ev/604
Fixes #604
2016-11-03 23:09:07 -07:00
Ev Kontsevoy c6c77a183c SCP improvements
- Removed strange handling of the ending / symbol, causing directories
  not being created. Fixes #606

- Added per-file progress indicator (reports "XXX uploaded").
2016-11-03 20:06:43 -07:00
Ev Kontsevoy 380d2f366b Preliminary SCP work
1) -r flag handling

   Proper handling of `-r` flag on the tsh side (recursive).
   Prior to this commit it was all uploads were _always_ recursive.

2) less verbose logging.

   Replaced a bunch of log.Info() with log.Debug()
2016-11-03 18:07:39 -07:00
Ev Kontsevoy 888e53aa03 Fixes #604 2016-11-03 14:54:52 -07:00
Ev Kontsevoy 1d202aeefa Moved zip building from default target into 'make release' 2016-11-01 17:09:47 -07:00
Ev Kontsevoy d29a88f524 Web assets are packed into teleport binary
Functionality:

`teleport` binary now serves web assets from its own binary file.
Unless `DEBUG` environment variable is set to "1" or "true", in
this case it will look for ../web/dist (as located in github repo)
which can be used for development.

Design:

To avoid accumulating 3rd party dependencies with a ton of extra
features and licenses, this implementation uses minimalistic
implementation of http.FileSystem interface on top of the embedded ZIP
archive.

1. The assets are zipped into assets.zip during build process
2. assets.zip gets appended to the end of `teleport` binary
3. The resulting file is converted into a self-extracting ZIP
4. Teleport opens itself using the built-in zip unarchiver, and loads
   the assets on demand.

Notes:

1. LOC is tiny (dozens)
2. RAM consumption is CONSTANT regardless of the ZIP size, about 500Kb
   increase vs load-from-file, and most of it is linking zip archive
   code from the standard library. Tested with a 20MB ZIP archive.
2016-10-30 20:40:46 -07:00
Ev Kontsevoy c1b14333c8 Intermediate implementation
1. Everything works.
2. No tests.
2016-10-30 19:35:57 -07:00
Ev Kontsevoy bff4e2351a Removed debug info from release builds. 2016-10-28 10:57:51 -07:00
Ev Kontsevoy 9cd84ffcf3 Merge pull request #596 from gravitational/lib/update
Lib/update
2016-10-27 15:44:00 -07:00
Ev Kontsevoy 6b40ec9424 Merge branch 'master' into lib/update 2016-10-27 15:31:54 -07:00
Ev Kontsevoy 7ac63f9e9c Merge pull request #587 from gravitational/ev/dynamo
DynamoDB backend
2016-10-27 15:31:38 -07:00
Ev Kontsevoy 7debfc790f Merge branch 'master' into ev/dynamo 2016-10-27 15:01:28 -07:00
Ev Kontsevoy 485787cf44 Merge pull request #597 from nmaki/config_auth_servers_fix
Update configuration.go to use all auth_servers
2016-10-27 14:43:46 -07:00
Ev Kontsevoy c10268af4d Merge branch 'master' into ev/dynamo 2016-10-27 14:40:41 -07:00
Ev Kontsevoy d1ca86d695 Merge branch 'master' into config_auth_servers_fix 2016-10-27 14:39:03 -07:00
Ev Kontsevoy f356408c68 Merge branch 'master' into lib/update 2016-10-27 14:38:36 -07:00
Ev Kontsevoy 14dd7ff42b Merge pull request #598 from gravitational/sasha/user
Add method to customize web session output
2016-10-27 14:38:26 -07:00
Sasha Klizhentas ebde5b51fe fix interface 2016-10-26 15:57:21 -07:00
Sasha Klizhentas bbd40bbe75 fix test 2016-10-26 15:54:26 -07:00
Sasha Klizhentas f10cdbeb90 Add method to customize web session output 2016-10-26 15:39:02 -07:00
nmaki 59388ae5c9 Update configuration.go to use all auth_servers
Only the last provided auth_server was being used.
2016-10-26 16:14:59 -05:00
Ev Kontsevoy 496a98fec9 Merge branch 'master' into ev/dynamo 2016-10-26 10:18:58 -07:00
Alexey Kontsevoy 7a01b131bd fix IE11 AJAX caching issues 2016-10-26 13:14:59 -04:00
Alexey Kontsevoy 5ab7b07feb updating babel and other libs 2016-10-26 13:01:30 -04:00
Adrien Pestel 436ee596b6 DynamoDB backend
This backend can be enabled by optionally adding a new build flag.
See lib/backend/dynamo/README.md for details.

It should not affect default Teleport builds.
2016-10-25 23:26:35 -07:00
alex-kovoy 5a0e0616f4 Merge pull request #589 from gravitational/bugs/fixes
cleanup and bug fixes
2016-10-25 17:18:03 -04:00
Alexey Kontsevoy 8b5d60d8d6 fixing column width 2016-10-25 17:09:48 -04:00
Alexey Kontsevoy 42307610a6 readme 2016-10-24 17:45:34 -04:00
Alexey Kontsevoy 28dcc7a084 cleanup and bug fixes 2016-10-24 17:19:57 -04:00
Ev Kontsevoy 6943f298f4 Merge pull request #573 from gravitational/ev/standalone
Ability for clusters to run wihout auth servers
2016-10-23 15:12:15 -07:00
Ev Kontsevoy fccb8883b9 Merge branch 'master' into ev/standalone 2016-10-23 15:09:23 -07:00
Ev Kontsevoy ba85330391 Merge pull request #581 from gravitational/ev/profiles
Client profiles for TSH
2016-10-23 15:07:58 -07:00
Ev Kontsevoy f5103fbe7f Merge branch 'master' into ev/profiles 2016-10-23 15:04:30 -07:00
Ev Kontsevoy 2a75df4cdf Merge branch 'master' into ev/standalone 2016-10-23 15:04:17 -07:00
Ev Kontsevoy 7a0500fb68 Merge pull request #583 from gravitational/403_and_node_ip
403 and node ip
2016-10-23 15:01:54 -07:00
Ev Kontsevoy 0165e1692d Merge branch 'master' into 403_and_node_ip 2016-10-23 15:01:47 -07:00
Ev Kontsevoy e05393f955 Merge pull request #584 from gravitational/ev/docs-edits
Fixed typos and formatting errors in documetation
2016-10-23 15:01:38 -07:00
Ev Kontsevoy 83d9d35264 Fixed typos and formatting errors in documetation
Fixes #582
2016-10-23 14:55:38 -07:00