40 Commits

Author SHA1 Message Date
John Dickinson
1ecf5ebba1 updated copyright date for all files
Change-Id: Ifd909d3561c2647770a7e0caa3cd91acd1b4f298
2012-03-19 13:45:34 -05:00
Juan J. Martinez
bb3bfe1dbd Consistent timestamp formatting for last_modified.
Fixes bug 798268.

Python datetime's isoformat() uses %Y-%m-%dT%H:%M:%S.%f format, but
the miliseconds part is not included when it's zero.

As consequence the compliant ISO 8601 format was not consistent
when performing a GET request over a container (listing objects info).

Change-Id: Ifed3f0adf3eaca47304c142615169bd3f1901631
2012-02-02 11:54:15 +00:00
Scott Simpson
dfb9a9f0a3 fixes bug lp 891247
added try/except around the accept header matcher
to catch the assertionerror that was being thrown
and return a more meaningful message.

Change-Id: I64184be0a40f8696f8e7e3801763d555ec2526dd
2011-11-23 11:50:09 -06:00
gholt
dd839048f1 Updated TimeoutError and except Exception refs...
Updated eventlet.TimeoutError (deprecated) references to
Timeout and, more importantly, updated many except Exception
clauses to except (Exception, Timeout).

Change-Id: Ib089265551bd20b94c00ea84f11140ccd795d301
2011-11-07 16:26:03 +00:00
gholt
872420efdb Expiring Objects Support
Please see the doc/source/overview_expiring_objects.rst for
more detail.

Change-Id: I4ab49e731248cf62ce10001016e0c819cc531738
2011-11-01 15:49:00 +00:00
David Goetz
d234461344 merge up to trunk, rollback xml 2011-07-22 12:58:22 -07:00
David Goetz
9be62bd9cd rolling back xml changes bzr merge -r319..318 2011-07-22 10:54:54 -07:00
David Goetz
065318a251 rolling back xml changes bzr merge -r323..322 2011-07-22 10:53:25 -07:00
gholt
498edf3e34 Reset container sync points when the sync-to changes 2011-07-14 20:07:45 +00:00
gholt
f4fa3d626c Merged from trunk 2011-07-14 18:43:08 +00:00
gholt
7b06c9855c Update to <?xml version="1.1" 2011-07-13 20:03:04 +00:00
gholt
8c24a70139 Merged from trunk 2011-06-30 21:52:09 +00:00
gholt
082b324bc3 Update to comply with XML 1.1: No NULLs in names allowed; control chars are converted to entities (ex: &#x4;) 2011-06-17 00:57:00 +00:00
gholt
f9fb4c739c consync: Now queries all primary nodes for a put and uses the newest object if it is newer or equal to the object to sync 2011-06-16 01:31:51 +00:00
gholt
78d417dda7 consync: More tests and slight refactor to be more testable 2011-06-16 00:59:55 +00:00
gholt
6587fd914e consync: Some more tests and bugfixes. 2011-06-15 02:01:01 +00:00
gholt
f68232bf89 Fixed account and container listings to return with charset=utf-8 instead of charset=utf8 2011-06-10 18:36:02 +00:00
Conrad Weidenkeller
68ec704cbc Modified Unit tests for XML change 2011-05-19 06:59:47 +00:00
gholt
d41e77417c Merge from trunk 2011-01-25 15:24:09 -08:00
gholt
cc00bd40e0 Fix tests to cleanup their /tmp dirs 2011-01-24 17:12:38 -08:00
gholt
217198b83b container-updater: temporrar account update suppression on errors 2011-01-21 12:43:50 -08:00
Clay Gerrard
e784f1c3a4 obsolete PATH_TO_TEST_XFS 2011-01-20 00:31:55 +00:00
gholt
9dd1e2ae84 Updates to remove _ usage that is not i18n related 2011-01-19 15:21:57 -08:00
Clay Gerrard
e64e21dd01 pep8 2011-01-19 16:19:43 -06:00
Clay Gerrard
105315dfc4 obsolete PATH_TO_TEST_XFS 2011-01-19 14:18:37 -06:00
Anne Gentle
8823427161 Changed copyright notices on py files and the single rst file with a copyright notice 2011-01-04 17:34:43 -06:00
gholt
57970bdeb5 Cleaned up the bins; patched the broken test (when run standalone) 2010-12-29 12:00:08 -08:00
Michael Barton
5d564a98b0 support text/xml 2010-11-02 16:04:15 +00:00
Michael Barton
cefcd568cd more tests 2010-10-29 10:28:19 +00:00
Michael Barton
58f3372360 shore up accept header parsing 2010-10-29 01:23:01 +00:00
gholt
e6e354c483 Added some missing test stubs so we can better see coverage (and get a little syntax-level "testing"). 2010-10-07 08:23:17 -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
cfcfdd3de1 Refactored auth and adding ACLs using repoze.what 2010-09-02 21:50:16 -07:00
Chuck Thier
158e6c3ae9 refactored bins to by more DRY 2010-08-31 23:12:59 +00: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
15009bb76e Added metadata to account and container servers 2010-08-10 12:18:15 -07:00
gholt
f381184ae2 Make xfs-based tests optional 2010-07-13 15:04:12 -07:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00