Commit graph

2272 commits

Author SHA1 Message Date
Ev Kontsevoy 412fe56e25 Merge pull request #718 from gravitational/sasha/ver
New version and new build target
2017-01-20 22:44:10 -08:00
Sasha Klizhentas 267b91b47e New version and new build target 2017-01-19 15:20:13 -08:00
Ev Kontsevoy 9ac1a865c5 Merge pull request #714 from gravitational/sasha/cert
check permissions of proper user
2017-01-19 15:10:36 -08:00
Sasha Klizhentas ce00100c29 Merge branch 'master' into sasha/cert 2017-01-18 20:51:20 -08:00
Alexander Klizhentas 88d6c3f2fe Merge pull request #716 from brumfb/mangled_makefile_fix
Fix bad merge with makefile that fails build
2017-01-18 20:26:02 -08:00
Bob e363ffd6b3 Fix bad merge with makefile that fails build 2017-01-18 16:53:19 -08:00
Alexander Klizhentas 6f38f4f418 Merge branch 'master' into sasha/cert 2017-01-17 14:23:05 -08:00
Alexander Klizhentas 95cda14b44 Merge pull request #713 from russjones/rjones/refactor-checks
Moved Check* methods into auth package.
2017-01-17 14:22:59 -08:00
Russell Jones 05efdb2a17 Moved Check* methods into auth package. 2017-01-17 14:17:03 -08:00
Sasha Klizhentas 3b019f7308 check permissions of proper user
* GenerateUserCert should check permissions of a user that
is about to get certificate, not the currently authenticated
user, because these users do not always match
2017-01-17 12:57:29 -08:00
Alexander Klizhentas ee43e632ee Merge pull request #709 from russjones/rjones/totp
TOTP Support
2017-01-17 11:47:49 -08:00
Russell Jones 1c0313794e Removing un-used imports. 2017-01-17 11:28:25 -08:00
Russell Jones 233c68e9d1 Vendor dependencies for TOTP. 2017-01-17 11:24:52 -08:00
Russell Jones 9e0c439927 Added TOTP support and deprecated HOTP support. New users are created with TOTP as the second factor, but HOTP backward compatibility is maintained by allowing users created before this commit to continue to log in with HOTP tokens. 2017-01-17 11:24:52 -08:00
Ev Kontsevoy 575b16da82 Merge pull request #711 from gravitational/ev/688
Storage configuration cleanup + reliable tests
2017-01-17 09:51:52 -08:00
Ev Kontsevoy 0bb445d7af Incorporated Sasha's PR comments... 2017-01-16 23:15:25 -08:00
Ev Kontsevoy ab6857a573 Added 'insecure' flag to etcd config
Fixes #694
2017-01-16 11:15:04 -08:00
Ev Kontsevoy e24ccb1de2 Made the Makefile more compatible with OSX 2017-01-16 10:40:18 -08:00
Ev Kontsevoy 5e952e2cf2 Merge branch 'master' into ev/688 2017-01-16 00:59:28 -08:00
Ev Kontsevoy ac205ad530 Finished cleaning up storage back-ends
I hope this closes #688
2017-01-15 23:23:37 -08:00
Ev Kontsevoy d45031fefa Merge pull request #708 from gravitational/alexey/login-redirect
(web) bug fix - redirect to login if not signed-in
2017-01-15 17:26:48 -08:00
Ev Kontsevoy 9f9444be56 Merge pull request #710 from gravitational/sasha/ifaces
Sasha/ifaces
2017-01-15 17:26:26 -08:00
Ev Kontsevoy 8330658526 Fixed haning tests 2017-01-15 16:28:18 -08:00
Ev Kontsevoy 7040331660 Fixed all tests
Also replaced mailgun.FrozenTime with `clockwork` in a few places
(mailgun's frozen time still remains elsewhere)
2017-01-15 16:28:18 -08:00
Ev Kontsevoy 1d51aa647d Started working on etcd tests 2017-01-15 16:28:18 -08:00
Ev Kontsevoy 312af8f02d Converted DynamoDB and etcd to common backend API
TODO:
- fix etcd tests
- do some manual testing of all backends
2017-01-15 16:28:18 -08:00
Ev Kontsevoy 40caec6048 Converted boltbk to the new format
BoltDB backend is now compatible with how all backends should
initialize.

Also all BoltDB-specific code/constants have been consolidated inside of
`backend.boltbk` package.
2017-01-15 16:28:18 -08:00
Ev Kontsevoy e648bdc4dd Minor changes to the "dir" backend:
1. Nicer tests for locking
2. Bugfix around Acquirelock / Releaselock
2017-01-15 16:28:18 -08:00
Ev Kontsevoy eee8bac224 Added filesystem backend configuration parsing
+initialization
2017-01-15 16:28:18 -08:00
Ev Kontsevoy bdd46234ee Implemented backend.NewFunc() for the FS backend 2017-01-15 16:28:18 -08:00
Sasha Klizhentas 2bd0e53e1d one more try 2017-01-14 14:42:02 -08:00
Sasha Klizhentas 26feeac97e one more change 2017-01-14 14:39:00 -08:00
Sasha Klizhentas 321a1cda9f update 2017-01-14 14:31:43 -08:00
Sasha Klizhentas 99f83a1e92 expose some interfaces 2017-01-14 14:26:24 -08:00
Alexey Kontsevoy e0e163be8b (web) bug fix - redirect to login if not signed-in 2017-01-12 22:54:03 -05:00
Ev Kontsevoy 36a2d488d7 Merge pull request #707 from gravitational/ev/669
Code refactoring / cleanup
2017-01-12 14:47:42 -08:00
Ev Kontsevoy 7f33b3724a Merge remote-tracking branch 'origin/master' into ev/669 2017-01-12 14:35:23 -08:00
Ev Kontsevoy 21e72dce45 Merge pull request #706 from gravitational/alexey/cluster-selector
Cluster selector and session list redesign
2017-01-12 14:34:37 -08:00
Alexey Kontsevoy 8649c9ad20 (web) cluster selector and session list redesign 2017-01-12 09:09:29 -05:00
Ev Kontsevoy 5fc8104d83 Merge pull request #703 from gravitational/ev/1.3.2
Proper implementation of Seek() for web assets
2017-01-10 10:25:13 -08:00
Ev Kontsevoy d35ee4393d Merge branch 'master' into ev/1.3.2 2017-01-10 00:01:40 -08:00
Ev Kontsevoy a21013422a Merge pull request #702 from gravitational/sasha/intefaces
add omitempty
2017-01-09 23:42:26 -08:00
Ev Kontsevoy 52fa112ee9 Non-functional changes (comments, formatting) 2017-01-09 23:39:40 -08:00
Sasha Klizhentas 27f223e598 add omitempty 2017-01-09 19:47:53 -08:00
Ev Kontsevoy 9e2ac2929b Merge pull request #701 from russjones/rjones/docs-fix
Documentation typo correction
2017-01-09 18:02:44 -08:00
Russell Jones fb044095d1 Changed make to mkdir. 2017-01-09 16:36:23 -08:00
Ev Kontsevoy b67e9ec7dc Merge pull request #698 from tehsis/master
Added make task to create a Teleport release using docker
2017-01-09 10:33:32 -08:00
Ev Kontsevoy da09287178 Undo the previous commit (there's a PR with this already) 2017-01-09 10:33:09 -08:00
Ev Kontsevoy 55166a9dc4 Added a convenience make target for make release under docker 2017-01-09 10:05:42 -08:00
Alexander Klizhentas 564cbad368 Merge pull request #697 from mebezac/patch-1
Fix typo
2017-01-08 10:32:37 -08:00