Change pithos api public object handling
Expose public URL information only to the object owners.
Change pithos public URL implementation
Refs: commit: 56f3c759
Do not include encoded serial in the public URL.
Change PITHOS_PUBLIC_URL_MIN_LENGTH setting toPITHOS_PUBLIC_URL_SECURITY.
Log public set/unset functions.
pool context manager, http pool AssertionError fix
Refs #3492
- Introduce a generic PooledObject class to act both as a context manager for getting and putting back an object from a pool.
- Implement a class PooledHTTPConnection(PooledObject) as a sublcass of the one in (1)...
Change pithos public implementation
Public URLs should consist of a random part.A public URL should be unique and should not beequal to any deleted public URL.Finally publishing a public object has no effect.Therefore, to generate a new public URL for an...
Eliminate mutable default arguments
Integrate Pithos usage listing and reseting,globally and per-user.
Refs: #3309
Substitute pithos-reset-usage withpithos-usage management commandand extend it to list also account usage.
Fix pithos get object metadata response headers
X-Object-Modified-By header was accidentallyeliminated in the response
Remove pithos logger from pithos settings
Loggers for all synnefo components should be configured insnf-webproject setting file '10-snf-webproject-logging.conf'.
Clear pithos InternalServerError response
Do not include in the InternalServerError responsethe actual error.
Fix inadvertent use of shared objects
Fix inadvertent use of shared objects in synnefo/lib/astakos.py andpithos/api/delegate.py, since current use is racy when running multiplerequests under gunicorn. Create a private, per-request copy instead.
View revisions
Also available in: Atom