This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/endpoints
Joseph Schorr 95e1cf6673 Make V2 login errors more descriptive
If login fails, we now call validate again to get the reason for the failure, and then surface it to the user of the CLI. This allows for more actionable responses, such as:

$ docker login 10.0.2.2:5000
Username (devtable): devtable
Password:

Error response from daemon: Get http://10.0.2.2:5000/v2/: unauthorized: Client login with unencrypted passwords is disabled. Please generate an encrypted password in the user admin panel for use here.
2017-03-23 15:42:45 -04:00
..
api Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
appr Start validating login in CNR 2017-03-23 15:07:46 -04:00
keyserver MAINTAINERS: init owners to subpkgs 2017-01-23 17:46:34 -05:00
oauth Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
test Move fixtures under test, since they are shared globally 2017-03-23 15:42:45 -04:00
v1 Refactor our auth handling code to be cleaner 2017-03-23 15:42:45 -04:00
v2 Make V2 login errors more descriptive 2017-03-23 15:42:45 -04:00
verbs Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
__init__.py Refactor the code into modules, it was getting unweildy. 2013-09-25 12:45:12 -04:00
bitbuckettrigger.py Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
building.py Make sure start_build cannot be called for app repos 2017-03-22 15:51:19 -04:00
common.py Merge pull request #2292 from coreos-inc/frontend-typescript 2017-02-02 14:24:35 -08:00
csrf.py Switch csrf token check to use compare_digest to prevent timing attacks 2016-12-08 23:46:31 -05:00
decorated.py *: fix legacy imports 2016-09-28 20:17:14 -04:00
decorators.py endpoints.appr.decorators: isolate appr decorators 2017-03-22 23:53:03 -04:00
exception.py Catch SSL errors due to timeouts in Github calls 2017-02-22 13:20:04 -05:00
githubtrigger.py Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
gitlabtrigger.py Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
notificationevent.py Fix bug in QSS notifications 2017-03-10 11:25:55 -05:00
notificationhelper.py Fix unsafe mutable default params. 2016-12-06 14:00:16 -05:00
notificationmethod.py Add a defined timeout on all HTTP calls in notification methods 2016-11-08 18:28:06 -05:00
realtime.py Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
secscan.py Have QSS only add security scanner notifications once 2016-12-05 19:08:20 -05:00
trackhelper.py Only parse request URL in track_and_log when necessary 2017-01-18 11:23:23 -05:00
web.py Refactor our auth handling code to be cleaner 2017-03-23 15:42:45 -04:00
webhooks.py Move auth decorators into a decorators module 2017-03-23 15:42:45 -04:00
wellknown.py Add API endpoint for retrieving security status by *manifest*, rather than Docker V1 image ID 2017-02-02 17:51:18 -05:00