21 Commits

Author SHA1 Message Date
gholt
d2230e853d Merged from trunk 2011-06-14 22:20:23 +00:00
gholt
bdd2d99680 Updated functests to test for utf-8 2011-06-10 18:49:41 +00:00
gholt
7c9e542c02 Implemented object POST as COPY 2011-06-08 04:19:34 +00:00
gholt
bd22dbe712 Removing DevAuth 2011-03-14 02:56:37 +00:00
Clay Gerrard
bdba519e02 PEP8 2011-02-24 16:21:14 -06:00
Clay Gerrard
49ea0201f7 made functionalnosetests works with no account usernames 2011-02-23 11:29:06 -06:00
Clay Gerrard
a9201fc379 i need to pull in the changes to functionalnosetest/swift_testing.py 2011-02-22 22:25:38 -06:00
Clay Gerrard
d1fa1a0040 made functional tests more configurable
SWIFT_TEST_CONFIG_FILE can redirect both functional test suites to any conf
functional tests that don't require a account:username can now work with only
username for auth systems that don't support the account/namespace concept
2011-02-22 18:00:11 -06:00
Greg Lange
e5c5a3778e Made older functional tests look for default config file when env variable is unset 2011-01-12 21:09:39 +00:00
gholt
1665568458 Merge from trunk 2011-01-05 07:17:36 -08: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
35f3487879 Incorporated Swauth into Swift as an optional DevAuth replacement. 2010-12-01 17:08:49 -08:00
David Goetz
1fc40d6c29 catching invalid urls and adding tests 2010-10-29 13:30:34 -07:00
gholt
b56bf3a0f3 DevAuth support for reseller admins and an initial super admin. DevAuth server no longer needs the account ring or direct account server access. Proxy server supports account PUTs. 2010-09-10 13:40:43 -07:00
gholt
a5df15005b Got rid of inter-reseller ACLs. Enforce ACLs to only work within a reseller space. Updated docs and tests. We can expand to inter-reseller in the future with ACLs like .x:RESELLER_group 2010-09-09 10:24:25 -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
0066ed02d7 Per Chuck's suggestion, changed noaccess to admin access, where admin access is not the default. Also, changed swift-auth-create-account to swift-auth-add-user with changes to use optparse 2010-09-05 19:21:08 -07:00
Clay Gerrard
2477744704 updated skipped functional tests to raise nose.SkipTest 2010-09-03 11:20:28 -05:00
gholt
cfcfdd3de1 Refactored auth and adding ACLs using repoze.what 2010-09-02 21:50:16 -07:00
Chuck Thier
9bf26751d7 Removed tests for behavior that doesn't exist any more 2010-07-22 10:04:02 -05:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00