442 Commits

Author SHA1 Message Date
gholt
6a2a4cf554 Merge from trunk 2010-11-30 08:01:05 -08:00
gholt
847cbe591d Merged from trunk 2010-11-30 07:57:01 -08:00
Conrad Weidenkeller
bbbf38324d Added the ability to keep a separate mime.types file in the /etc/swift dir. 2010-11-30 15:47:36 +00:00
gholt
544107a4ae proxy: added account DELETE method; added option to control whether account PUTs and DELETEs are even callable 2010-11-29 15:19:29 -08:00
Chuck Thier
21d355af18 Removed uneeded creation of resellers.conf from the unit test 2010-11-26 19:37:08 +00:00
gholt
c01b5d9f1d Maybe even a bit more concise with test_custom_mime_types_files 2010-11-24 14:58:17 -08:00
gholt
5fac58a012 Updated test_custom_mime_types_files 2010-11-24 14:48:03 -08:00
Conrad Weidenkeller
44baabc46c Unit tests pass now work as expected 2010-11-24 16:20:16 -06:00
Conrad Weidenkeller
9c44ad0aaf Added Unit Test 2010-11-24 15:36:10 -06:00
gholt
2e818a6a9e Merged from trunk 2010-11-24 11:55:42 -08:00
Greg Lange
86646a487c Fixed some logic in swift.proxy.Controller.account_info and container_info 2010-11-17 21:40:12 +00:00
gholt
fa3c871f0b Server-side implementation for segmented objects 2010-11-16 15:35:39 -08:00
Clay Gerrard
88eee37a59 merged lp:~notmyname/swift/copy_logging_bug, ensure bytes_transferred is zero on x-copy-from put, added test 2010-11-05 09:47:43 -05:00
Clay Gerrard
208d7b8e00 fixed auth_copy bug, and early denial for proxy.server.ObjectController.COPY method; added tests 2010-11-04 14:39:29 -05:00
John Dickinson
649bffcb55 fixed x-copied-from test 2010-10-27 10:53:52 -05:00
John Dickinson
a12292892b added quoting to X-Copied-From header 2010-10-27 10:52:00 -05:00
John Dickinson
7fd418c662 fixed test for non-zero body in copy put 2010-10-26 15:01:34 -05:00
John Dickinson
2f247a03ab fixed test for non-zero body in copy put 2010-10-26 15:00:17 -05:00
John Dickinson
e8b7221da9 fixed test for non-zero body in copy put 2010-10-26 14:58:13 -05:00
John Dickinson
289e0cb72c added test for non-zero body in copy put 2010-10-26 14:55:12 -05:00
Clay Gerrard
fa961fe02b created failing test for write timeout 422 error, fixed write timeout bug, added tests for better coverage of proxy.server.ObjectController.PUT, pep8 2010-10-15 15:07:19 +00:00
gholt
5d450b5f6d Fix to unit test (that has been broken for a while I guess) 2010-10-12 13:36:19 -07:00
Clay Gerrard
fda5dfd6f9 fixed write timeout bug, better coverage of proxy PUT method, pep8 2010-10-12 12:49:20 -05:00
Clay Gerrard
c53fbec3cd created failing test for write timeout 422 error, added tests for better coverage of ObjectController.PUT, pep8 2010-10-11 17:33:11 -05:00
David Goetz
72d40bd9f6 adding ratelimiting middleware and unit tests 2010-10-04 14:11:48 -07:00
John Dickinson
e68dc69016 fixed COPY bug and adds tests so it won't happend again 2010-09-24 09:51:00 -05:00
gholt
2b995be46c Bugfixes. Rest of tests. 2010-09-11 17:03:09 -07:00
gholt
d2ec027e22 For ACL strings: Shortened .ref to just .r, though .ref, .referer, and .referrer are all accepted. Updated 'Creating Your Own Auth Middleware' to describe how the DevAuth server works and suggestions for creating one's own. Added reseller_prefix (optional) implementation. Used urlparse in referrer_allowed. Fixed bug where group names would get lowercased by clean_acl. Changed .r:any to .r:*. Allowed .r:*.example.com to mean .r:.example.com. Made proxy log just the first authenticated group (the user) alongside the token. Moved proxy callback to clean_acl before the length check of the metadata. Cleaned up redundant logic in first proxy swift.authorize callback. Bit better docs. More and updated tests. 2010-09-08 22:37:27 -07:00
gholt
85b8d97086 Referrers now support user:pass part of URLs; rest of tests for what has changed 2010-09-06 13:26:31 -07:00
gholt
bb01c22440 Updated tools and client.py to work with ACLs 2010-09-03 21:39:44 -07:00
Clay Gerrard
2477744704 updated skipped functional tests to raise nose.SkipTest 2010-09-03 11:20:28 -05:00
Clay Gerrard
5bc42442a9 updated skipped tests in test.unit.obj.test_server to raise nose.SkipTest 2010-09-03 10:17:55 -05:00
gholt
cfcfdd3de1 Refactored auth and adding ACLs using repoze.what 2010-09-02 21:50:16 -07:00
Chuck Thier
2a36fe0619 Initial commit of middleware refactor 2010-08-20 00:50:12 +00:00
Chuck Thier
2c596c0a0f Initial commit of middleware refactor 2010-08-20 00:42:38 +00:00
gholt
e8d3f260b9 Expose account/container metadata facility to external API 2010-08-16 15:30:27 -07:00
gholt
a0fdfee0ba Fix how bytes transferred are logged 2010-08-09 13:10:05 -07:00
Michael Barton
9701519b5a fix for response code for unhandled exception unit test 2010-07-19 21:19:37 +00:00
Michael Barton
62a105d774 proxy return 500 on unhandled exceptions 2010-07-19 11:54:11 +00:00
gholt
f381184ae2 Make xfs-based tests optional 2010-07-13 15:04:12 -07:00
gholt
7b38b9a19a Make unit tests not require /etc/swift/*.ring.gz files 2010-07-13 14:23:39 -07:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00