Commit Graph
146 Commits
Author SHA1 Message Date
Markus Schulte 2de4e9fc73 go fmt 2017-06-20 16:23:02 +02:00
Sebastian Mancke 7ceb900c37 enhanced testcoverage of httpupstream 2017-06-09 22:24:21 +02:00
Shannon Wynter c6291ca7e9 In response to feedback, fixed typos, more tests, more english :D 2017-06-09 11:15:35 +10:00
Shannon Wynter 5e951624dd Add httpupstream backend 2017-06-08 21:38:53 +10:00
Sebastian ManckeandGitHub 9b6671c7bd Merge pull request #29 from ymmtmdk/surppres-warning
Suppress `DEPRECATED` warning
2017-06-03 08:53:02 +02:00
ymmtmdk 2fe2bb1dd3 suppress DEPRECATED warning 2017-06-03 13:21:26 +09:00
domanoandGitHub 6adcd856fb Merge pull request #28 from tarent/feature/nonroot-docker-user-and-port-8080
Feature/nonroot docker user and port 8080
v1.0.0
2017-05-31 13:28:12 +02:00
Dino Omanovic 7b6fa070d0 Updated README with new port 2017-05-31 13:11:29 +02:00
Dino Omanovic a6959500e7 Revert "Implement simple jwt refreshing"
This reverts commit f48b376b00.
2017-05-31 13:07:52 +02:00
Dino Omanovic 3949a37552 run loginsrv as loginsrv-user instead of root and bind to port 8080 instead 2017-05-31 13:05:22 +02:00
domanoandGitHub 7f32228c02 Merge pull request #23 from domano/feature/implement-jwt-refresh
Implement simple jwt refreshing
2017-05-31 11:57:29 +02:00
Sebastian ManckeandGitHub 19fdb618da Merge pull request #27 from tarent/magikstm-master
Magikstm master
2017-05-30 23:02:36 +02:00
Sebastian Mancke 060174b317 added test for htpasswd reload 2017-05-30 22:57:27 +02:00
Sebastian Mancke c3590a5fd6 Merge branch 'master' of https://github.com/magikstm/loginsrv into magikstm-master 2017-05-30 22:46:08 +02:00
Dino Omanovic d50c3cdd68 Increment refresh counter 2017-05-30 17:17:57 +02:00
domanoandGitHub 1c5b6067b1 Merge branch 'master' into feature/implement-jwt-refresh 2017-05-30 16:00:33 +02:00
domanoandGitHub cf1fa0d70b Merge pull request #24 from domano/graceful-shutdown
Implemented graceful shutdown via go 1.8 Server.Shutdown(ctx)
2017-05-30 15:13:57 +02:00
Sebastian Mancke a0772eb616 revert dockerfile change to user, because of bind exception 2017-05-30 11:20:39 +02:00
Sebastian ManckeandGitHub 7b297fbdf9 Merge pull request #26 from domano/add-user-to-dockerfile
Add user to dockerfile
2017-05-30 11:02:12 +02:00
Dino Omanovic 1d41acda93 Revert Exposed port to 80 2017-05-30 10:59:37 +02:00
Dino Omanovic 98852aa5d8 Add user to dockerfile and change to non priviledged port. 2017-05-30 10:56:48 +02:00
Dino Omanovic 68f192076e Add Missing "|" in README 2017-05-30 10:28:54 +02:00
Dino Omanovic d49111ad37 Add README entries for jwt refresh 2017-05-30 10:27:22 +02:00
Dino Omanovic 11f35abdd5 Simplify JWT refresh check and also the cookie is only set for accept:text/html requests again 2017-05-29 14:31:35 +02:00
Dino Omanovic 7369c65dac Correctly distinguish between closed http server and other errors from the httpserver. 2017-05-29 12:08:51 +02:00
Dino Omanovic 5376cda0a6 Refresh jwt only if there are no credentials. Also remove need for jwt content-type header. 2017-05-29 11:54:07 +02:00
Dino Omanovic 24735e38db Fixed tests due to new grace period field with default 2017-05-26 14:04:13 +02:00
Dino Omanovic 49e7f610d0 Implement jwt refresh count check 2017-05-26 13:27:35 +02:00
Dino Omanovic 65a7715492 Add jwt refresh count to jwt payload model 2017-05-26 12:34:29 +02:00
Dino Omanovic 32f53138d2 go fmt 2017-05-26 12:30:54 +02:00
Dino Omanovic 6c7b099223 Add max amount of jwt refreshes to config 2017-05-26 12:30:14 +02:00
Dino Omanovic 5007069277 Cancel graceful shutdown context to satisfy go vet 2017-05-26 12:18:01 +02:00
Dino Omanovic 70eb75cfda Implemented graceful shutdown via go 1.8 Server.Shutdown(ctx) 2017-05-26 11:45:56 +02:00
Dino Omanovic 42c49fc825 Remove unnecessary validity and failure handling for jwt refreshes 2017-05-24 18:49:33 +02:00
Dino Omanovic 1fa605f075 Implement simple jwt refreshing 2017-05-24 18:26:03 +02:00
Dino Omanovic f48b376b00 Implement simple jwt refreshing 2017-05-24 18:20:54 +02:00
Sebastian Mancke 91b029ebe1 internalized logging dependencies 2017-05-22 22:13:02 +02:00
magikstm 5f2b10d586 Small corrections (use of defer) for last commit on #20 2017-05-22 14:58:09 -04:00
magikstm 7d3c4202a3 Add RWMutex to protect race conditions on issue #20 2017-05-22 14:07:21 -04:00
magikstm d755aa8d43 Caddy usage - htpasswd file isn't reloaded (on insert, on update or on delete) 2017-05-21 23:16:00 -04:00
Sebastian ManckeandGitHub 7492300307 Merge pull request #19 from magikstm/master
Correct a typo in an error message and a few other minor typos
2017-05-16 08:09:56 +02:00
magikstm ddd220a996 Correct a typo in an error message and a few other minor typos 2017-05-16 01:14:45 -04:00
Sebastian Mancke 759f01ff62 fixed some reportcard findings 2017-05-15 12:09:00 +02:00
Sebastian Mancke 0a1b423926 fixed some reportcard findings 2017-05-15 12:07:11 +02:00
Sebastian Mancke 93a2e745d5 fixed some reportcard findings 2017-05-15 12:01:22 +02:00
Sebastian Mancke a769eff0a2 fixed most golint findings 2017-05-15 11:56:24 +02:00
Sebastian Mancke 4276628b95 used . import for assert library in tests 2017-05-15 11:01:31 +02:00
Sebastian ManckeandGitHub 52893f34bc Merge pull request #18 from tarent/expiry-time
Expiry time and additional config ops
2017-05-13 22:26:53 +02:00
Sebastian Mancke 1123deab18 improved error message 2017-05-13 19:57:29 +02:00
Sebastian Mancke fbb8a45c1c fixed behaviour on caddy config errors 2017-05-13 19:54:43 +02:00