Commit graph

82 commits

Author SHA1 Message Date
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