240 Commits

Author SHA1 Message Date
John Dickinson
25c775516c updated config file loading to work with paste.deploy configs 2010-09-13 11:11:12 -05:00
John Dickinson
e94faaff7f added execute perms to stats processor binaries 2010-09-11 00:01:04 -05:00
John Dickinson
803f26c306 merged with trunk 2010-09-10 15:09:41 -05:00
John Dickinson
d8ad8ae473 set up log-stats-collector as a daemon process to create csv files 2010-09-10 15:08:06 -05:00
gholt
118ffba216 Add container-level ACLs. Refactor auth to be more pluggable. Document how to make your own auth. 2010-09-10 15:37:02 +00:00
gholt
7057a7c3b3 Proof that test "coverage" != no obvious bugs 2010-09-10 07:52:10 -07:00
gholt
6b353a520f Fix bug on auto-container create during upload. 2010-09-09 10:42:41 -07:00
gholt
c931d7602a Updated included client.py in st 2010-09-09 10:28:50 -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
John Dickinson
de83ed2f9f merged with trunk 2010-09-07 09:54:13 -05:00
John Dickinson
560243f2f0 updated stats binaries to be DRY compliant 2010-09-07 09:53:26 -05: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
d0367fdf19 Updated direct_client to match the changes in client 2010-09-05 21:06:16 -07:00
gholt
2edfd2b951 Doc fixes and updates 2010-09-05 20:30:09 -07:00
gholt
235c0e9bd5 Fixed typos; bug fix in auth db upgrade; renamed a couple things to better reflect their new usage; updated docs 2010-09-05 19:53:08 -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
gholt
65eb19f103 Documentation of the new auth and acls middleware modules and bugfixes 2010-09-03 22:33:41 -07:00
gholt
bb01c22440 Updated tools and client.py to work with ACLs 2010-09-03 21:39:44 -07:00
gholt
28ac96b90d Simply auth middleware and document how to make your own 2010-09-03 20:47:43 -07:00
gholt
92b4ceaed9 Removed nosetests from setup.cfg as it causes coverage to be done with functtests and probetests, where it doesn't make much sense 2010-09-03 17:54:30 -07:00
gholt
b5ae6a2924 Pulled changes from lp:~gholt/swift/repozewhat 2010-09-03 17:42:52 -07:00
gholt
2ae8fb2bc3 Pulled changes from lp:~clay-gerrard/swift/skiptest 2010-09-03 17:41:14 -07:00
gholt
bf31f696a4 Merge from trunk 2010-09-03 17:06:38 -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
Clay Gerrard
971e98e6a1 merge repozewhat 2010-09-03 10:12:00 -05:00
Paul Jimenez
6a0e8bf44b Fix some minor typos in the docs and also add a -f to a suggested script to make it less noisy on first run. 2010-09-03 13:22:12 +00:00
gholt
cfcfdd3de1 Refactored auth and adding ACLs using repoze.what 2010-09-02 21:50:16 -07:00
John Dickinson
1f3d05d486 merged with trunk (utils fix) 2010-09-02 10:54:15 -05:00
John Dickinson
acf3a430b6 pass through the timeout parameter for calls to lock_parent_directory 2010-09-02 15:13:46 +00:00
John Dickinson
c297da4df9 pass through the timeout for calls to lock_parent_directory 2010-09-02 09:58:30 -05:00
Paul Jimenez
4104a7d581 fix some typos in the docs 2010-09-01 21:42:24 -05:00
John Dickinson
7763e541eb added (working) stats tests 2010-09-01 17:06:01 -05:00
John Dickinson
fc9e26a44e access log parsing tests pass 2010-09-01 16:33:44 -05:00
John Dickinson
1cae6e257d merged with trunk 2010-09-01 15:04:35 -05:00
John Dickinson
fed5e315eb first test working 2010-09-01 15:02:54 -05:00
Chuck Thier
8c69305f2b Refactored bin files to be more DRY 2010-09-01 18:27:08 +00:00
Chuck Thier
4a7abe71d9 oops 2010-09-01 15:56:37 +00:00
John Dickinson
1f83f7e6fd initial tests for the stats system 2010-09-01 09:35:54 -05:00
Chuck Thier
158e6c3ae9 refactored bins to by more DRY 2010-08-31 23:12:59 +00:00
John Dickinson
014d8e0d8d merged with trunk 2010-08-30 11:20:53 -05:00
Clay Gerrard
e2a66c597b added python-pastedeploy to debian package build docs, fixes lp626364 2010-08-30 14:27:06 +00:00
Clay Gerrard
94d2dbe192 added python-pastedeploy required for the middleware refactor 2010-08-30 09:04:39 -05:00
gholt
8fa151ead4 Fixed threading bug in test 2010-08-30 13:07:13 +00:00
John Dickinson
6a5f09a19d merged with trunk 2010-08-26 16:29:47 -07:00
gholt
8f5050234f Fixed threading bug in test 2010-08-26 09:03:08 -07:00
Chuck Thier
341acfc13f Fixed a couple of doc strings in proxy.server 2010-08-24 18:57:44 +00:00
Chuck Thier
608da06a9b Cleaned up a couple of doc strings in proxy.server 2010-08-24 18:48:00 +00:00
Chuck Thier
978984d18d Refactor of swift to make better use of middleware and to use paste.deploy 2010-08-24 18:27:38 +00:00