History | View | Annotate | Download (57.9 kB)
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
snf-pithos-app: Use astakosclient
PEP8 style fixes
pithos: Change conflict handling in object write
Pithos in case of missing blocks during smart object write(using hashmap) used to raise an api fault with payloadthe list with the missing blocks serialized in json format.
However, the common api_method decorator in case of api fault...
Fix API decorator response Content-Type
Remove check for response Content-Type, since 'django.http.HttpResponse'has always a default Content-Type of 'text/html; charset=utf-8'. Viewsdefining their response 'Content-Type' should set the'override_serialization' attribute of response to 'True'.
Add ASTAKOS_URL to pithos.api.settings
Improve settings related to ASTAKOS url
Rename 'PITHOS_AUTHENTICATION_URL' setting to 'ASTAKOS_URL'. Also remove'PITHOS_AUTHENTICATION_USERS' from docs (it was removed from code incommit 8df4fae).
Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...
Move astakos lib from snf-common to snf-django-lib
Remove PITHOS_AUTHENTICATION_USERS setting
Remove this setting as it introduces unnecessary complexity. Also,it will need to be supported by snf-astakos-client. If needed bytests to bypass communication with astakos, a mocking library shouldbe used.
Use common 'api_method' decorator in pithos api
Move cloud faults to 'snf_django.lib.api.faults'
Gather all faults from all synnefo projects into common'snf_django.lib.api.faults'.
minor refactor object_list for clarity
Change pithos api public object handling
Expose public URL information only to the object owners.
Add missing uuid translation
Translate X-Source-Account if TRANSLATE_UUIDS is set
Do not call user_catalogs if AUTHENTICATION_USERS is set
ui compatibility: translate uuids to display names
Catch quota errors in pithos server
Pithos: handle quotaholder exception errors
Fix name error
Change feedback & user_catalogs astakos && pithos api calls
Fix detailed pithos object listing
Refs: #3149
Limit lines length to 80
Extend account_list pithos api call
Provide account name (not only uuid)
Replace account uuid with username in response headers
Merge branch 'latest-quota' of https://code.grnet.gr/git/synnefo into latest-quota
Conflicts: snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py
Change pithos sharing to work with account uuids
Fix piths Object GET versionlist: catch ItemNotExists exception
Catch explicitly ContainerExists in container_create instead of NameError
Fix code formatting to conform to the PEP 8 style guide
fix indent
Fix broken compatibility with cloud files
Call for delete container contents
Refs: #2611
change backend to raise custom exceptions
Progess I
fix feedback response in case of URLError
fix detailed public listing
Refs: #2394
fix list_objects
change API calls to include public objects in shared by me
Solve OOS API compatibility problems.
Fixes #2300
Add dispatcher function for updating object checksums asynchronously.
Refs #1792
Make checksum updates optional.
Fix.
Use cookie to get token when retrieving objects.
Remove lib package.
Merge commit 'v0.9.0' into packaging
Conflicts: pithos/__init__.py pithos/api/management/commands/__init__.py pithos/backends/lib/rabbitmq/__init__.py pithos/backends/lib/rabbitmq/queue.py pithos/lib/user.py pithos/middleware/user.py pithos/settings.py...
Merge branch 'master' into packaging
Conflicts: pithos/__init__.py
Conflicts: pithos/settings.py snf-pithos-app/pithos/middleware/log.py snf-pithos-app/pithos/urls.py snf-pithos-backend/pithos/backends/__init__.py snf-pithos-tools/setup.py
Split pithos components in separate packages
- splitted pithos modules in separate reusable components- python packaging for all packages- snf-webproject support (entry_points) for pithos django applications