History | View | Annotate | Download (46 kB)
pithos: Fix further unicode issues
pithos: Retain query parameters during view authorization code grant.
Include view query parameters in the Redirection Endpoint
pithos: Optionally open object's content inline in the browser.
Refs: #5019
pithos: Reduce astakosclient instances
Use backend astakosclient instance to query the account quotas.
pithos: Fix view issue with unicode paths
pithos: Rename setting
Change PITHOS_SERVE_API_DOMAIN to PITHOS_UNSAFE_DOMAIN
pithos: Code simplification
pithos: Remove assigned but never used variable
pithos: Restrict file serving endpoints to a specific host
Introduce new setting ``PITHOS_SERVE_API_DOMAIN``. When set, all api viewsthat serve pithos file contents will be restricted to be served only underthe domain specified in the setting value.
astakos oa2: rename settings and url prefixes
Change setting and url prefixes from `oa2` to`oauth2`
pithos: Add missing import
pithos views: In case of invalid access token request a new one
Instead of raising PermissionDenied redirect to theobject view url to re-initiate the procedurefor acquiring a new access token.
pithos views: Fix astakos authorization endpoint url
The astakos authorization endpoint url should be an absolute url.
pithos: Change pithos views authorization/authentication
Pithos views no longer use the information stored inthe PITHOS_ASTAKOS_COOKIE_NAME cookiefor authenticating the user and authorizing access to thetargeted resource.They acquire, instead, from the authentication server (astakos)...
pithos: Minor changes in view decorator
snf-pithos-app: Use the new AstakosClient
pithos: Eliminate AssertionError in views
Remove check for not allowed request method in view_method() decorator.Let the api_method() decorator handle such cases.
Refs: #4501
Merge branch 'feature-pithos-performance-optimizations' into develop
pithos: Fix timestamps
pithos: Change error handling in views
The view_method decorator used to check the response status:in case of unexpected response used to returnInternal Server Error (500).This commit changes this behavior andthe view_method decorator returns whatever the api_method decorator...
Revert "pithos: Use pithos backend as context manager"
This reverts commit 23b41f6fefa1a066748810c4642e58e18a4b83f9.
pithos: Use pithos backend as context manager
Substitue pre_exec() and post_exec()
Merge branch 'hotfix-0.14.3' into develop
Conflicts: Changelog snf-astakos-app/astakos/im/messages.py snf-pithos-app/pithos/api/manage_accounts/__init__.py snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py snf-pithos-app/pithos/api/settings.py...
pithos: Pass full path of the next parameter in view redirect
pithos: Update view_method decorator
pithos: pep8 fixes
pithos: Handle backend transaction management
In commit 9f135224edf6e50386dc29e0a35806a92c56a50cthe transaction management has been movedfrom the pithos backend to pithos frontend.This commit updates all modules use pithos backendto handle transactions manually.
pithos: Cleanup api_method code
pithos: Optionally deactivate backend pooling
This is useful because the ``pithos.backends.lib.sqlite``backend module is not compatible with pooling.
Merge branch 'tmp-pithos-tests' into feature-pithos-atomic-api
Conflicts: snf-pithos-app/pithos/api/util.py
pithos: return always etag
Refs: #3554
If update md5 is deactivated Pithos does not return an etag header.Pithos in that case should return the merkle hash as etag
Merge branch 'tmp-pithos-tests' of https://code.grnet.gr/git/synnefo into tmp-pithos-tests
Conflicts: snf-astakos-app/astakos/api/tokens.py snf-astakos-app/astakos/im/tests/api.py snf-common/synnefo/settings/test.py snf-django-lib/snf_django/lib/api/__init__.py...
pithos: Change block size by configuration
This is useful for testing corner cases efficiently.
pithos: move transaction managment and quotaholder sync in frontend
Remove backend_method decorator and move logic in the pithos api method
pithos: Fix partial content responses
Refs: #4063
pithos: introduce lock_container_path api_method argument
pithos-app: Update pithos.api.util.api_method wrapper
to match the updated snf_django api_method decorator
pithos-api: Update api_method wrapper
pithos: HEAD object request returned erroneous content type
According to commit: b698d39dd6cbe4bf47b63ed0d6a98b9b126ca40eviews defining their response 'Content-Type' should set the'override_serialization' attribute of response to 'True'.However, this was missing in the specific view....
pithos: Fix X-Object-Public object header
Utilize settings.PITHOS_BASE_HOST instead of settings.PITHOS_BASE_URLto construct the header value
pithos: refine error handling in object_read view
pithos: create view for reading an object's content
Use cookie for retrieving the authentication token
pithos: fix public api
Pithos public api was broken since the pithos api decoratorused to call the common api decorator without passing the``token_required`` optional argument (default to True).As a result, all the requests failed with 401 Unauthorized status....
pithos: change X-Object-Public header
The header value should contain the absolute public url
pithos: fix UnboundLocalError in object read
snf_django: Optionally use other default serialization than json
Pithos api default serialization for listing is text insted of json.However the common api decorator if not specified otherwise used tojson as the default serialization.So we introduced a new optional argument (defaults to json) to override...
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
pithos: change resource usage retrieval
Replace ``astakosclient.get_info()`` with ``astakosclient.get_quotas()``
Merge branch 'feature-quotas-pithos' into feature-quotas
Conflicts: snf-cyclades-app/synnefo/plankton/backend.py snf-pithos-app/README snf-pithos-app/pithos/api/util.py
pithos: Rename backend quotaholder properties
Refer to astakosclient instead of quotaholder
WIP astakosclient for quotas in pithos
snf-pithos-app: Use astakosclient
PEP8 style fixes
Change pithos default container policy quota to unlimited
Refs: #3543
Make 'api_method' to take astakos_url as argument
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...
Merge branch 'feature-snf-django' into develop
Conflicts: docs/older/Changelog.pithos-app snf-astakos-app/astakos/im/api/__init__.py snf-pithos-app/pithos/api/util.py
Make pithos backend pool size configurable
Refs: #3561
Move astakos lib from snf-common to snf-django-lib
Move parsedate module to snf_django
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'.
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.
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...
Fix pithos get object metadata response headers
X-Object-Modified-By header was accidentallyeliminated in the response
Clear pithos InternalServerError response
Do not include in the InternalServerError responsethe actual error.
Fix+move HTTP quotaholder client in synnefo.lib
Allow per-service configuration of the (http) quotaholder client.Kamaki is no longer needed in service (or ganeti) nodes,because the client has been moved to snf-common.
Also fix the default quotaholder settings for pithos backend to be disabled...
Explicitly enabled/disable pithos quotaholder component
Use PITHOS_USE_QUOTAHOLDER setting
Fix pithos sharing translation
Perform only one split to separate group owner from name
Check for None in is_uuid
ui compatibility: translate uuids to display names
Fix get_user argument
Catch quota errors in pithos server
Fix name error
Change feedback & user_catalogs astakos && pithos api calls
Debit pithos object owner not the request user
Fix get_pithos_usage if no usage is returned by astakos.
Fix syntax error
fix radosblocker merge, fix some tabs/whitespace
Merge branch 'radosblocker' of https://code.grnet.gr/git/pithos into latest-quota
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/modular.py snf-pithos-backend/pithos/backends/util.py
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
Check whether account is already uuid before transforming
Catch correct Exception
Change pithos sharing to work with account uuids
Pithos backend should send the token to the quotaholder
Pithos issue_commission using user uuid instead of id
Fix pithos api_method
Merge branch 'dev' of https://code.grnet.gr/git/pithos into latest-quota
Conflicts: .gitignore devtools/fabfile.py snf-pithos-app/pithos/api/util.py
Fix pithos api_method assertions
Merge branch 'projects' of https://code.grnet.gr/git/astakos into latest-quota
Conflicts: .gitignore snf-astakos-app/conf/20-snf-astakos-app-settings.conf
Merge remote-tracking branch 'origin/dev' into radosblocker
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/lib/hashfiler/blocker.py snf-pithos-backend/pithos/backends/lib/hashfiler/mapper.py snf-pithos-backend/pithos/backends/modular.py...
make rados storage configurable
Merge branch 'dev' of https://code.grnet.gr/git/pithos into dev
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/modular.py