1. 03 Dec, 2013 1 commit
  2. 29 Oct, 2013 1 commit
  3. 16 Sep, 2013 1 commit
  4. 12 Sep, 2013 1 commit
    • Sofia Papagiannaki's avatar
      pithos: Add missing locks · 01f2fbc6
      Sofia Papagiannaki authored
      _lookup_container() locks the container path
      but it was not called by some write backend methods
      which expected the container path to be locked.
      In those cases optionally _lookup_object() calls
      the _lookup_container() in order to lock the container path.
      Also lock the container path before container metadata updates
      and container deletes.
  5. 09 Sep, 2013 1 commit
  6. 08 Aug, 2013 2 commits
  7. 31 Jul, 2013 1 commit
  8. 17 Jul, 2013 1 commit
  9. 03 Jul, 2013 2 commits
  10. 02 Jul, 2013 3 commits
  11. 19 Jun, 2013 3 commits
  12. 18 Jun, 2013 1 commit
  13. 17 Jun, 2013 1 commit
  14. 10 Jun, 2013 3 commits
  15. 06 Jun, 2013 2 commits
    • Sofia Papagiannaki's avatar
      pithos api: Adjustable max number of items listed · f8a424df
      Sofia Papagiannaki authored
      Openstack storage api sets to 10000 the maximum number of
      items returned by the listing functions.
      However to test this behaviour is time consuming.
      Change this threadhold to be adjustable via the settings
      (still defaults to 10000) so the tests can override it.
    • Sofia Papagiannaki's avatar
      snf_django: Optionally use other default serialization than json · a008eb5b
      Sofia Papagiannaki authored
      Pithos api default serialization for listing is text insted of json.
      However the common api decorator if not specified otherwise used to
      json as the default serialization.
      So we introduced a new optional argument (defaults to json) to override
      the default serialization for the api method.
  16. 05 Jun, 2013 1 commit
    • Sofia Papagiannaki's avatar
      pithos: Weaken X-Object-Public exposure requirement · 06552cee
      Sofia Papagiannaki authored
      has restricted the X-Object-Public exposure
      in container detailed list requests
      only to the object owner and if public parameter is supplied.
      Now we have weaken this requirement so this information
      is returned only to the object owner regardless of
      the public parameter existence.
      The pithos api guide has been updated also appropriately.
  17. 03 Jun, 2013 1 commit
    • Georgios D. Tsoukalas's avatar
      make synnefo URLs consistent and configurable · 79f2ca3b
      Georgios D. Tsoukalas authored
      |___________________________________| |__________| |________| |_______|
                   BASE_HOST                  BASE_PATH    PREFIX    Hardcoded
      - Introduce <SERVICE>_BASE_URL setting, and <API>_PREFIX constants
        for all services. Extract BASE_HOST, BASE_PATH from the setting.
      - Use settings and constants to construct top-level patterns
        (base-path/api-prefix) in services' urls.py
      - Refactor/extend proxy() to be compatible with the above.
      - Change URLs passed around (ui, e-mails) to be compatible.
        (needs more work)
      This configuration REQUIRES that any rewriting and proxying on the
      front-end must eventually result in the application server (gunicorn)
      getting the original path of the request, otherwise the view-generated
      URLs will be different.
      - set top-level urlpatterns from <SERVICE>_BASE_URL
      - rename setting: APP_INSTALL_URL to CYCLADES_BASE_URL
      - rename setting: ASTAKOS_URL to ASTAKOS_BASE_URL everywhere
      - introduce setting: PITHOS_BASE_URL
      - update shipped .confs, quick install admin guide, upgrade guide
      - fix urls/views/reverse()/other that were broken
      - (more not listed)
  18. 30 Apr, 2013 2 commits
  19. 16 Apr, 2013 2 commits
    • Sofia Papagiannaki's avatar
      pithos: Change conflict handling in object write · ab73ab61
      Sofia Papagiannaki authored
      Pithos in case of missing blocks during smart object write
      (using hashmap) used to raise an api fault with payload
      the list with the missing blocks serialized in json format.
      However, the common api_method decorator in case of api fault
      returns a different response content format containing details about
      the fault.
      This causes problem to pithos clients which expect
      a specific response content format in that case.
      The solution was adopted is:
      when pithos server detects such a case returns directly
      an HttpResponse with the same status code (409) as before
      and the expected content.
    • Christos Stavrakakis's avatar
      Fix API decorator response Content-Type · 3b538afa
      Christos Stavrakakis authored
      Remove check for response Content-Type, since 'django.http.HttpResponse'
      has always a default Content-Type of 'text/html; charset=utf-8'. Views
      defining their response 'Content-Type' should set the
      'override_serialization' attribute of response to 'True'.
  20. 15 Apr, 2013 2 commits
  21. 08 Apr, 2013 4 commits
  22. 29 Mar, 2013 1 commit
  23. 28 Mar, 2013 1 commit
  24. 14 Feb, 2013 2 commits