Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos / api @ 67100dd2

# Date Author Comment
ad0efdb3 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

67100dd2 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

c72c19e4 04/17/2013 06:21 pm Sofia Papagiannaki

pithos: Change default container quota policy

Set PITHOS_BACKEND_CONTAINER_QUOTA to 0
(to disable by default the container quota check)
instead of setting to something big

Refs: #3543

18cd931f 04/17/2013 06:20 pm Sofia Papagiannaki

pithos dispatcher: change erroneous import

19ddd41b 04/17/2013 06:17 pm Sofia Papagiannaki

Change pithos default container policy quota to unlimited

Refs: #3543

  • Substitute the PITHOS_BACKEND_QUOTA setting with two
    distinct settings: PITHOS_BACKEND_ACCOUNT_QUOTA &
    PITHOS_BACKEND_CONTAINER_QUOTA
  • Set PITHOS_BACKEND_CONTAINER_QUOTA default value...
e9d94604 04/16/2013 08:44 pm Sofia Papagiannaki

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 payload
the list with the missing blocks serialized in json format.

However, the common api_method decorator in case of api fault...

b698d39d 04/16/2013 08:22 pm Christos Stavrakakis

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'. Views
defining their response 'Content-Type' should set the
'override_serialization' attribute of response to 'True'.

b32d9fae 04/16/2013 03:37 pm Sofia Papagiannaki

pithos: optionally fix unresolved commissions

provide --fix option for the pithos-reconcile-commissions command

Refs: #3594

8108c68c 04/16/2013 02:35 pm Sofia Papagiannaki

Fix pithos-usage command help

Refs: #3591

989576a6 04/16/2013 02:15 pm Sofia Papagiannaki

Update pithos-usage command to list/reset diverging quotas

Refs: #3591

e1e37cf9 04/16/2013 11:59 am Sofia Papagiannaki

Fix pithos-reconcile-commissions command

Get pending commissions specifically for pithos

Refs: #3594

f0fdf427 04/15/2013 07:18 pm Sofia Papagiannaki

Provide a pithos-reconcile-commissions command

Refs: #3594

47ef53d5 04/15/2013 05:17 pm Christos Stavrakakis

Make 'api_method' to take astakos_url as argument

6dd0fc7c 04/15/2013 04:53 pm Christos Stavrakakis

Add ASTAKOS_URL to pithos.api.settings

4ab620b6 04/15/2013 04:11 pm Christos Stavrakakis

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 in
commit 8df4fae).

Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...

9c0c8aa9 04/12/2013 12:35 pm Sofia Papagiannaki

Improve pithos-usage command performance

  • Compute statistics only for the current object versions
    (not history and deleted)
  • Deactivate by default the statistics table consistency
    verification (use --verify option to enable it)
f0001470 04/11/2013 11:34 am Christos Stavrakakis

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

591e1df0 04/09/2013 10:54 am Sofia Papagiannaki

Deactivate pithos md5 update by default

Refs: #3554

61c5b615 04/08/2013 07:10 pm Sofia Papagiannaki

Make pithos backend pool size configurable

Refs: #3561

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

1a736ca8 04/08/2013 04:27 pm Christos Stavrakakis

Use 'python-objpool' instead of 'synnefo.lib.pool'

Use the python-objpool package for pooling resources as object, instead
of the pooling code that existed in snf-common ('synnefo.lib.pool')

Refs #3524

896754a6 04/08/2013 11:07 am Christos Stavrakakis

Move parsedate module to snf_django

bcfd8e6b 04/08/2013 11:07 am Christos Stavrakakis

Add ASTAKOS_URL setting to PITHOS

Common 'api_method' decorator, needs the ASTAKOS_URL setting to
authenticate with Astakos. Create this setting for Pithos based
on PITHOS_AUTHENTICATION_URL.

8df4fae6 04/08/2013 11:07 am Christos Stavrakakis

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 by
tests to bypass communication with astakos, a mocking library should
be used.

65bbcd43 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator in pithos api

Update all pithos API methods to use the new common 'api_method'
decorator. However, this decorator is not enough for pithos since
pithos methods require some extra tasks:
  • Create a PithosBackend connection...
cf5f17b6 04/08/2013 11:06 am Christos Stavrakakis

Add fault.xml template to pithos and astakos

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

8a0c7040 03/29/2013 12:17 pm Georgios D. Tsoukalas

minor refactor object_list for clarity

6fe32fb6 03/28/2013 10:57 pm Sofia Papagiannaki

Change pithos api public object handling

Expose public URL information only to the object owners.

4a105ce2 03/28/2013 05:21 pm Sofia Papagiannaki

Change pithos public URL implementation

Refs: commit: 56f3c759

Do not include encoded serial in the public URL.

Change PITHOS_PUBLIC_URL_MIN_LENGTH setting to
PITHOS_PUBLIC_URL_SECURITY.

Log public set/unset functions.

4ab1af1a 03/27/2013 06:59 pm Georgios D. Tsoukalas

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)...

56f3c759 03/27/2013 06:51 pm Sofia Papagiannaki

Change pithos public implementation

Public URLs should consist of a random part.
A public URL should be unique and should not be
equal to any deleted public URL.
Finally publishing a public object has no effect.
Therefore, to generate a new public URL for an...

78348987 03/19/2013 01:24 pm Sofia Papagiannaki

Eliminate mutable default arguments

3e1b20d6 03/19/2013 11:22 am Sofia Papagiannaki

Integrate Pithos usage listing and reseting,
globally and per-user.

Refs: #3309

Substitute pithos-reset-usage with
pithos-usage management command
and extend it to list also account usage.

7273ee62 03/19/2013 11:22 am Sofia Papagiannaki

Fix pithos get object metadata response headers

X-Object-Modified-By header was accidentally
eliminated in the response

66643114 03/15/2013 02:46 pm Sofia Papagiannaki

Remove pithos logger from pithos settings

Loggers for all synnefo components should be configured in
snf-webproject setting file '10-snf-webproject-logging.conf'.

f5a1e653 03/15/2013 01:53 pm Sofia Papagiannaki

Clear pithos InternalServerError response

Do not include in the InternalServerError response
the actual error.

b9818693 03/13/2013 04:43 pm Christos Stavrakakis

Fix inadvertent use of shared objects

Fix inadvertent use of shared objects in synnefo/lib/astakos.py and
pithos/api/delegate.py, since current use is racy when running multiple
requests under gunicorn. Create a private, per-request copy instead.

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

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...

4dcfe1c4 02/28/2013 07:01 pm Georgios D. Tsoukalas

fix and better document quota export/import

9521d937 02/22/2013 04:38 pm Georgios D. Tsoukalas

Rename synnefo.local -> example.synnefo.org

As determined by a spontaneous committee, based on

- .local is used

- 'example' strongly hints to configuration action

- synnefo.org is under control.

e30537f1 02/21/2013 07:47 pm Sofia Papagiannaki

Bug fixing

77a345fc 02/19/2013 12:04 pm Georgios D. Tsoukalas

cleanup astakos settings

c08b1f79 02/19/2013 12:01 pm Georgios D. Tsoukalas

cleanup pithos settings

1f3f907f 02/19/2013 12:00 pm Sofia Papagiannaki

Explicitly enabled/disable pithos quotaholder component

Use PITHOS_USE_QUOTAHOLDER setting

61ae9b74 02/18/2013 10:23 pm Sofia Papagiannaki

Add missing pithos setting documentation

12fca521 02/18/2013 06:09 pm Sofia Papagiannaki

More pithos documentation

fe3d6077 02/18/2013 06:03 pm Sofia Papagiannaki

Fix pithos configuration

384dee7e 02/18/2013 02:52 pm Sofia Papagiannaki

Update pithos-reset-usage command

Enable reset pithos usage for specific accounts

fa8b2092 02/18/2013 02:52 pm Sofia Papagiannaki

Change default pithos url settings

Point to astakos host.

7c740d3c 02/14/2013 06:12 pm Georgios D. Tsoukalas

rename to pithos-reset-usage.py

4a9e3f32 02/14/2013 04:28 pm Sofia Papagiannaki

Fix pithos sharing translation

Perform only one split to separate group owner from name

f483f65d 02/14/2013 04:28 pm Sofia Papagiannaki

Add missing uuid translation

Translate X-Source-Account if TRANSLATE_UUIDS is set

46c7945b 02/14/2013 04:27 pm Georgios D. Tsoukalas

pep8 compliance

99c11993 02/14/2013 04:27 pm Sofia Papagiannaki

Change pithos-manage-accounts options

a4f3b17c 02/14/2013 04:27 pm Sofia Papagiannaki

Do not call user_catalogs if AUTHENTICATION_USERS is set

0325be55 02/14/2013 04:27 pm Sofia Papagiannaki

Check for None in is_uuid

94bff756 02/14/2013 04:27 pm Sofia Papagiannaki

Provide command for managing pithos duplicate accounts

09e69b8a 02/14/2013 04:27 pm Georgios D. Tsoukalas

pep8 compliance

469d0997 02/14/2013 04:26 pm Georgios D. Tsoukalas

ui compatibility: translate uuids to display names

2150482f 02/14/2013 04:26 pm Sofia Papagiannaki

Fix get_user argument

f5b1b80e 02/14/2013 04:26 pm Sofia Papagiannaki

Change pithos service user_catalogs url

e012cc49 02/06/2013 04:52 pm Sofia Papagiannaki

Change pithos user catalog api call path

6674f31d 01/31/2013 01:48 am Sofia Papagiannaki

Pithos set usage send only current quota (not history/deleted)

a7447c76 01/30/2013 06:04 pm Sofia Papagiannaki

pithos-set-quota: rename and refactor for clarity and correctness

d776b3c3 01/30/2013 04:25 pm Sofia Papagiannaki

Quotaholder error handling during sending existing pithos usage

If quotaholder fails if a pithos account is not registered,
retry by sending the usage for the rest.

dfa2d4ba 01/30/2013 04:25 pm Sofia Papagiannaki

Catch quota errors in pithos server

5933ff75 01/29/2013 02:32 pm Sofia Papagiannaki

Fix pithos settings

ccfd4e44 01/29/2013 01:31 pm Sofia Papagiannaki

Pithos: handle quotaholder exception errors

09572034 01/28/2013 03:46 pm Sofia Papagiannaki

Change default astakos service urls in pithos settings.

02d94254 01/24/2013 02:47 pm Sofia Papagiannaki

Update docs and settings

49d451df 01/23/2013 07:55 pm Sofia Papagiannaki

Fix urls

59a287b0 01/23/2013 07:47 pm Sofia Papagiannaki

Change astakos /login/redirect path to /login

27932481 01/23/2013 06:51 pm Sofia Papagiannaki

Fix name error

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
f9224cc0 01/21/2013 09:11 pm Sofia Papagiannaki

Fix unicode urlencoding in feedback call

32c7c3fc 01/18/2013 01:14 pm root

Change pithos-set-quota: send computed quota anyway

b8098f77 01/16/2013 02:47 pm Sofia Papagiannaki

Debit pithos object owner not the request user

2042a902 01/16/2013 12:57 pm Sofia Papagiannaki

Fix get_pithos_usage if no usage is returned by astakos.

ddea3095 01/16/2013 12:46 pm Sofia Papagiannaki

Fix detailed pithos object listing

Refs: #3149

a9420179 01/15/2013 05:04 pm Sofia Papagiannaki

Fix syntax error

7f1f0464 01/15/2013 04:46 pm Georgios D. Tsoukalas

fix radosblocker merge, fix some tabs/whitespace

7dc78140 01/15/2013 04:01 pm Sofia Papagiannaki

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

6255b97d 01/15/2013 03:09 pm Sofia Papagiannaki

Limit lines length to 80

0a444bb5 01/15/2013 03:09 pm Sofia Papagiannaki

Delete pithos account_name call

4d366a03 01/15/2013 03:09 pm Sofia Papagiannaki

Extend account_list pithos api call

Provide account name (not only uuid)

e3a8274b 01/14/2013 07:25 pm Sofia Papagiannaki

Hide pithos account_name api call

0308f3a7 01/14/2013 05:36 pm Sofia Papagiannaki

Provide pithos call for getting account name from uuid

88dd5c4d 01/14/2013 01:20 pm Sofia Papagiannaki

Replace account uuid with username in response headers

9a0a8eca 01/11/2013 01:37 pm Sofia Papagiannaki

Reset erroneous commit

c846fad1 01/11/2013 12:00 am Sofia Papagiannaki

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

6c997921 01/10/2013 08:58 pm Sofia Papagiannaki

Provide commands for importing/exporting existing user resource policies

9839cc96 01/07/2013 03:47 pm root

Check whether account is already uuid before transforming

874cddc7 01/07/2013 01:46 pm Sofia Papagiannaki

Catch correct Exception

32454501 01/07/2013 04:13 am Sofia Papagiannaki

Change pithos sharing to work with account uuids

02b8c298 01/07/2013 04:13 am Sofia Papagiannaki

Fix piths Object GET versionlist: catch ItemNotExists exception

4c03c942 01/02/2013 03:52 pm Sofia Papagiannaki

Migrate pithos user quota

c700f742 12/27/2012 06:29 pm Sofia Papagiannaki

Update Astakos API to provider calls for retrieving uuid from the username and vice versa, extend astakos client library (snf-common) and update pithos to use uuids instead of email for account identification

3173699c 12/20/2012 10:41 am Sofia Papagiannaki

Pithos backend should send the token to the quotaholder

019d9e19 12/20/2012 02:54 am Sofia Papagiannaki

Pithos issue_commission using user uuid instead of id