Commit graph

47 commits

Author SHA1 Message Date
Jake Moshenko
ef9fe871fc Move the upload flag to the database, and use the database stored image size rather than going to s3. 2014-05-02 16:59:46 -04:00
Joseph Schorr
4da49da730 Add general+trackable logging to every request and add fine grain logging to the index and registry for determining possible performance regressions 2014-05-01 21:19:52 -04:00
jakedt
61a6db236f Finish the implementation of local userfiles. Strip charsets from mimetypes in the build worker. Add canonical name ordering to the build queue. Port all queues to the canonical naming version. 2014-04-11 18:34:47 -04:00
jakedt
e87ffa20cf First attempt at making config loadable through string config overrides in an env variable. 2014-04-03 17:31:46 -04:00
Joseph Schorr
eca525e18c This 404 is expected by Docker, so don't use the "normal" abort for it. 2014-02-26 16:03:00 -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
Joseph Schorr
a120f6c64a Make sure all aborts have message information 2014-02-25 14:15:12 -05:00
jakedt
b619356907 Get the base image stuff working. Checkpoint before fixing the tests. 2014-02-16 17:38:47 -05:00
yackob03
f840592b6e Merge branch 'master' of bitbucket.org:yackob03/quay 2014-01-30 19:07:22 -05:00
yackob03
fff5da6354 Fix the response codes for errors. 2014-01-30 19:06:10 -05:00
Joseph Schorr
6d412c726b Change the image 404 to a flask_abort to avoid logging it 2014-01-30 17:44:12 -05:00
Joseph Schorr
3dc3af9eb2 The CLI can be… odd… when handling errors. Make them nicer for the CLI 2014-01-29 14:08:14 -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
aa5f669e69 Add the request args 2014-01-24 14:25:41 -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
e23c750bfb Harvest commands from the Docker json information and add to the database. 2014-01-13 16:32:51 -05:00
yackob03
518cd1be85 Actually delete the image data when deleting the tag. 2014-01-09 17:13:26 -05:00
Joseph Schorr
e7904f0a9e - Fix image size saving to occur before the return of the response
- Make the image size say ‘Unknown’ if it is not known
2014-01-03 16:42:38 -05:00
Joseph Schorr
0a63690e25 Add code for saving and displaying the size of images 2014-01-03 16:32:00 -05:00
yackob03
39fa982ef2 Add some logging to the registry for failure cases. 2013-12-31 16:22:27 -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
bf85013ef6 Try to use a 301 redirect to download directly from s3. Allow the s3 and userfiles to run without internet access. 2013-12-03 16:39:07 -08:00
yackob03
2e9f7cd19d Restore the temp_store_handler. 2013-11-11 16:41:33 -05:00
yackob03
2cd98fc58e Make the app config more powerful in terms of injecting fake dependencies. Refactor the tests to use metaclasses and to actually all run. 2013-11-06 23:21:12 -05:00
yackob03
cf1b545dee Marisa trie needs a real file to read from a stream, use the bytes version instead. 2013-10-20 02:39:45 -04:00
yackob03
4679b0dfcc Fix bugs and clean up data in the way diffs are generated. 2013-10-18 20:19:05 -04:00
yackob03
2fcd8df42b Get the worker and the registry playing nice together. 2013-10-18 17:27:09 -04:00
yackob03
63ffa52245 Make the diffs absolute and sort them. 2013-10-18 17:05:51 -04:00
yackob03
a1164269be Complete the diff generating functionality. 2013-10-18 14:31:14 -04:00
yackob03
93b856bdb3 First few changes for the image diffs feature. 2013-10-17 18:25:19 -04:00
yackob03
1af0cb3341 Fix indentation on the StreamReader. 2013-10-15 16:12:53 -04:00
yackob03
6a038bb24e PEP8 fixes. 2013-10-08 11:29:42 -04:00
yackob03
70a9e79157 Add extra logging to figure out why checksums don't match in prod. 2013-10-02 14:06:12 -04:00
yackob03
cbe0590ce5 Fix s3 delete. 2013-10-01 14:46:44 -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
4b9c6d9aae Add api function to fully delete a repository. 2013-10-01 12:13:25 -04:00
yackob03
b0720aac1c Update to support running on elasticbeanstalk. 2013-09-30 16:14:48 -04:00
yackob03
ea6df2b725 Add image ancestry and update the test db accordingly. 2013-09-30 15:30:00 -04:00
yackob03
b718dbc6e3 Full add public repository support. 2013-09-28 00:05:32 -04:00
yackob03
9278871381 Load flask principal permissions even for web and api endpoints. 2013-09-26 16:32:09 -04:00
yackob03
23cbcb2979 Make images belong to one repository only. Add a description field to the repository. Fix a bug with access tokens. Fix an embarrasing bug with multiple select criteria in peewee. Update the test db. 2013-09-26 15:58:11 -04:00
yackob03
5caa54ffb3 Fix a bug with pulls and repeate pushes, add permissions checks to all repository endpoints. 2013-09-26 13:42:24 -04:00
yackob03
44255421df Namespace the storage in the registry to prevent leaking images if one acquires the image id. 2013-09-25 20:00:22 -04:00
yackob03
deee70d53b Add the registry code. 2013-09-25 17:50:03 -04:00