Commit graph

57 commits

Author SHA1 Message Date
jakedt
a9c0e016f3 Add the ability to use an oauth token to interact with the index and registry. 2014-03-20 12:09:25 -04:00
jakedt
64071b9e8e Add a user info scope and thread it through the code. Protect the org modification API. 2014-03-18 19:21:27 -04:00
jakedt
4b689a7a7c Fix the translation of old ids to new ids, again. 2014-02-25 16:31:52 -05:00
Joseph Schorr
61ca29de04 Move the auth context methods into their own file so that we don't have auth trying to import itself 2014-02-25 15:07:24 -05:00
jakedt
b3fe3a32e4 Fix logins for access tokens. 2014-02-21 16:07:08 -05:00
jakedt
f339160ab9 Fix for mapping translations for existing images. 2014-02-21 08:00:47 -05:00
jakedt
a63a49caa1 Fix up the shared base images stuff. 2014-02-20 22:26:10 -05:00
jakedt
05dd00d495 Make our registry respond with their silly response message that will make login work without saying account created every time. 2014-02-20 14:49:34 -05:00
jakedt
b619356907 Get the base image stuff working. Checkpoint before fixing the tests. 2014-02-16 17:38:47 -05:00
Joseph Schorr
98e57b9d2b Merge branch 'master' into tutorial
Conflicts:
	endpoints/index.py
	static/css/quay.css
	static/js/app.js
	static/js/controllers.js
	test/data/test.db
2014-02-06 21:23:27 -05:00
Joseph Schorr
fa1bf94af1 Get the basic tutorial working completely, including reacting to server-side events 2014-02-06 20:58:26 -05:00
yackob03
ef68982728 Garbage collect repositories on push and on tag deletion. 2014-02-06 14:13:35 -05:00
yackob03
fff5da6354 Fix the response codes for errors. 2014-01-30 19:06:10 -05:00
Joseph Schorr
2b134158f5 Add issue URLs to most errors. The corresponding issue pages will be checked into the public docs repo 2014-01-28 18:29:45 -05:00
yackob03
f585430399 Make abort return a json block, which is apparently what the client expects. Remove unused imports. Fix line length and kwarg problems. 2014-01-24 17:00:42 -05:00
Joseph Schorr
30a26d099f Have the index use the same abort method 2014-01-24 15:01:40 -05:00
Joseph Schorr
98109a28cd Better error messages when using the API, index and registry 2014-01-24 14:12:04 -05:00
yackob03
845985c859 Merge branch 'security'
Conflicts:
	endpoints/api.py
	endpoints/web.py
2014-01-23 14:51:43 -05:00
yackob03
1f8a82eefe Make it so that our error responses to login attempts are legible to the user. 2014-01-10 13:11:41 -05:00
yackob03
ee80f43375 Make that change which allows for sparse pushes. 2014-01-02 17:39:38 -05:00
Joseph Schorr
310c98df50 Move each flask module into a Blueprint and have CSRF protection only on the API blueprint 2013-12-30 17:05:27 -05:00
yackob03
4ae40b7370 Fix the readme to reference the application, update the response code for create repo when no auth credentials are present. 2013-12-20 16:21:07 -05:00
root
61618c7eab We can't count on auth tokens being sent anymore, so we set the namespace and repository for the session when the original put on the repo is made. 2013-12-09 04:24:29 +00:00
yackob03
03198210c3 Re-add the removed pull_username code. 2013-12-02 14:08:10 -05:00
Joseph Schorr
b77dabd586 Move log descriptions into the client side 2013-11-29 00:04:50 -05:00
Joseph Schorr
6c1d2afc0f CL fixes 2013-11-27 16:56:07 -05:00
Joseph Schorr
cca5daf097 Add support for full logging of all actions in Quay, and the ability to view and filter these logs in the org’s admin view 2013-11-27 02:29:31 -05:00
yackob03
e69591c7d6 Add the ability to login with a robot, use the wrench icon for robots all over the place. 2013-11-20 19:43:19 -05:00
yackob03
98a77299b8 Fix a bug in the registry which tried to use a string as a repo object. 2013-11-18 12:12:35 -05:00
yackob03
e787d8b2d8 Make the worker post json. Add a retry timeout after an incompletel queue item is processed. Submit webhook jobs to the queue on a successful push. 2013-11-16 15:05:26 -05:00
yackob03
5a45f50583 Log the repository name when pushing and pulling. 2013-11-14 14:53:55 -05:00
yackob03
e5994bab9b Check for the repository since we can no longer rely on permissions for the existence of repositories. 2013-11-11 18:05:21 -05:00
yackob03
64cbc735fb 403s on pulls have to be 404s for now. 2013-11-11 17:11:21 -05:00
yackob03
3187539509 Catch an error when trying to generate an access token. 2013-11-11 17:01:21 -05:00
yackob03
e6926b62be Actually use the namesapce rather than the literal word namespace, doh 2013-11-11 16:31:56 -05:00
yackob03
18809842b8 Fix a typo in the index code and follow some pylint recommendations. 2013-11-11 16:28:05 -05:00
yackob03
05ccd4e793 Make some responses from the index api more appropriate. 2013-11-07 17:09:47 -05:00
yackob03
dd77ebd64f Next batch of backend permissions for orgs. 2013-11-04 15:42:08 -05:00
yackob03
78d6c9d9a3 Just use the current server as the registry server, this will work for all externally available addresses. 2013-10-29 16:11:54 -04:00
yackob03
283f9b81ae First stab at token auth. The UI could use a little bit of polishing. 2013-10-16 14:24:10 -04:00
yackob03
f1746417b1 Make the image delete recursive to remove any tags which depend on it. 2013-10-15 22:10:53 -04:00
yackob03
984e14f9c5 Fix a bug where images can't be pushed that would remove a dependency image. 2013-10-15 16:13:10 -04:00
yackob03
6a038bb24e PEP8 fixes. 2013-10-08 11:29:42 -04:00
yackob03
8d40f12165 Fix a bug with anonymous pull. 2013-10-03 19:18:03 -04:00
yackob03
00b8244661 Add analytics on push and pull repo events in the backend. 2013-10-03 16:19:01 -04:00
yackob03
96896b9067 Rename Image.image_id to Image.docker_image_id to reduce confusion. 2013-10-01 14:14:39 -04:00
yackob03
f5e121d98d Fix user login from the command line. 2013-10-01 12:25:06 -04:00
yackob03
891f992bf2 Allow for anonymous access tokens for public repositories. 2013-10-01 01:18:05 -04:00
yackob03
abdf731f7a Combine the registry and index processes. 2013-09-30 14:39:10 -04:00
yackob03
b718dbc6e3 Full add public repository support. 2013-09-28 00:05:32 -04:00