Commit graph

224 commits

Author SHA1 Message Date
Jess Frazelle 19570a99b3
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 14:05:24 -05:00
Jess Frazelle 54adaea027
update getauthconfig to be more reusable
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 13:58:05 -05:00
Jess Frazelle 9bb4c0ee3e
Bump version to v0.6.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 13:39:16 -05:00
Jess Frazelle e3777763fb
cleanup staticcheck errors
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 13:39:02 -05:00
Jess Frazelle 76c9404739
Bump version to v0.5.0
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 13:34:37 -05:00
Jess Frazelle f69579d5f5
fix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 13:34:34 -05:00
Jess Frazelle a1d0f6f9c0
staticcheck
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-12-11 13:33:54 -05:00
Chris Smith 0ff43808ca Add more useful error for bad credentials. (#51)
* Add more useful error for bad credentials.

The www-authenticate: basic response currently gets caught by
the token transport, which fails to parse it and spits out
a rather oblique "malformed auth challenge header" error.

Make the token transport ignore basic auth types, and make
the error transport handle a 401 response.

* Format authchallenge.go correctly.
2017-12-11 10:42:19 -05:00
mrfly 3bc47ed926 fix registry remove image (#50) 2017-12-09 11:36:02 -05:00
mrfly cb41c7a396 fix a potential tabwriter panic (#49)
use tabwriter's native write for:
- sometimes tabwriter panic with goroutine
- goroutine with fmt.Fprintf cause dirty data
2017-12-08 15:28:06 -05:00
mrfly 29f6d2fab9 make ls faster (#48) 2017-12-07 09:38:49 -06:00
Jess Frazelle 75dcff4501
Bump version to v0.4.5
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-13 15:34:08 -05:00
Jess Frazelle 984f7e8ae6
update travis releases
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-13 15:34:03 -05:00
Jess Frazelle 947838ff0d
Bump version to v0.4.4
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-13 14:28:53 -05:00
Jess Frazelle 2950f35480
simplify code
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-13 14:28:46 -05:00
Jess Frazelle f23c0ddc31
Bump version to v0.4.3
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-13 14:16:47 -05:00
Jess Frazelle 58407adb35
update travis releases
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-13 13:56:17 -05:00
Petter Hassberg 2039eea38b Fix auth with clair on 'Basic realm="Registry"' (#45)
If error is malformed auth challenge header: 'Basic realm="Registry"', then also try basic auth.
2017-10-20 07:55:30 -04:00
Patrick Uiterwijk d29d6169ea Fix using a registry anonymously if we have auth for another registry (#40)
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-08-10 15:15:19 -04:00
Jess Frazelle a05260eaf1
Bump version to v0.4.2
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-07-17 13:02:38 -04:00
Jess Frazelle 0499ee2f51
try to find auth by adding https://
fixes #32

Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-07-17 13:00:25 -04:00
Patrick Uiterwijk 78e58d7811 Add flag to only generate registry overview once (#29)
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-27 16:43:05 -04:00
Jess Frazelle c1412f3d53
fix basic auth with clair
closes #27

Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-19 11:14:59 -04:00
Jess Frazelle 8d8ca405f7
Bump version to v0.4.1
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-07 11:47:00 -04:00
Jess Frazelle ec6298d65b
add bump-version to makefile
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-07 11:46:49 -04:00
Jess Frazelle f76f4b0015
fix
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 20:39:25 -04:00
Jess Frazelle 5f516001b0
fix docker in docker tests
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 20:33:14 -04:00
Jess Frazelle aa124e3ecb
update tests
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 20:15:21 -04:00
Jess Frazelle 2b87c8ea68
update version to v0.4.0
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 18:01:16 -04:00
Jess Frazelle de12adabef
add x/sys
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 18:00:36 -04:00
Jess Frazelle 83ba4b225a
add versions and binaries
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 17:46:12 -04:00
Jess Frazelle 2648f96229
update screenshot
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 17:09:16 -04:00
Jess Frazelle e00bf73cdf Add files via upload 2017-06-05 17:08:41 -04:00
Jess Frazelle 0dbc9338a6
auth service fix for token
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 15:08:35 -04:00
Jess Frazelle bd56ba0eff
actually return errors
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 14:20:42 -04:00
Jess Frazelle 882e590595
fix
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 14:07:30 -04:00
Jess Frazelle e9dc83b69c
add back in last updated
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 13:26:51 -04:00
Stefan Majer e98fd4918c Fix repo with slashes, no vulnerability scan on tags page (#25)
* Fix for slashes in repo names

* Make routing work with repos which have slashes

* Do not calculate vulnerabilities on tags
2017-04-25 09:45:02 -04:00
Jess Frazelle e1d409fefd
fix javascript
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 15:03:03 -04:00
Jess Frazelle 1d006c17ef
fix static;
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:49:48 -04:00
Jess Frazelle 113b145d26
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:40:21 -04:00
Jess Frazelle abc0d51801
index with interval
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:39:00 -04:00
Jess Frazelle 183c0d5ba3
remove unused
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:23:28 -04:00
Jess Frazelle e7825db8a0
fix static
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:14:22 -04:00
Jess Frazelle f11b64bf0e
remove unneeded vars
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:09:56 -04:00
Jess Frazelle 32fc8ddc1c
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:08:43 -04:00
Jess Frazelle f7a5450e24
remove unused deps
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 13:54:13 -04:00
Jess Frazelle a6ba091b4a
cleanup and remove echo dependency
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 13:52:31 -04:00
Jess Frazelle 9fdbf69688
update vendor
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 12:42:11 -04:00
Jess Frazelle 510b24edff
Merge branch 'majst01-dynamic-frontend'
* majst01-dynamic-frontend:
  Remove code duplicates
  Add git to be able to do go get
  Make tests work again
  Make sample shell script more robust
  load BadVulns count with AJAX calls
  Satisfy golint
  Vendor all dependencies
  Always point to the vulnerabilities
  cleanup and reusage of error messages
  Remove now unneeded templates
  Show vulnerabilities
  Fix searching for new dynamic frontend
  Refactor NewClairLayer to a single place
  First draft of a dynamic frontend, display of vulnerabilities is still not implemented.
2017-04-24 12:30:36 -04:00