Statistics
| Branch: | Tag: | Revision:

root / snf-common @ d2c9adac

# Date Author Comment
d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

762b93d7 05/15/2013 04:43 pm Christos Stavrakakis

pep8 fixes

85646ad7 05/14/2013 01:47 pm Christos Stavrakakis

common: Remove obsolete 'queue' module

2ed35e9a 05/13/2013 11:36 am Giorgos Korfiatis

Remove synnefo.lib.commissioning

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

16bcc6e8 05/01/2013 11:39 pm Giorgos Korfiatis

Remove synnefo.lib.quotaholder

Use astakosclient to access the quotaholder instead.

a971d6fe 04/30/2013 08:08 pm Kostas Papadimitriou

common: Recursive dictionary merge helper method

65fb5cf6 04/25/2013 04:22 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
astakosclient/astakosclient/__init__.py
astakosclient/astakosclient/errors.py
astakosclient/astakosclient/tests.py
docs/index.rst

b2f34c77 04/23/2013 06:28 pm Kostas Papadimitriou

common: Fix resolving of SOUTH_TESTS_MIGRATE

in synnefo.settings.test

3b1ab480 04/23/2013 05:37 pm Kostas Papadimitriou

common: Test settings improvements

- Avoid settings overrides from conf files inside SYNNEFO_SETTINGS_DIR
Tests are expected to succeed with exact setting values defined either
in tests modules/cases or in the default synnefo setting modules. To
ensure this we temporarily set SYNNEFO_SETTINGS_DIR environmental variable...

58161871 04/23/2013 03:43 pm Constantinos Venetsanopoulos

Merge branch 'feature-admin-guide-update' into develop

34e79416 04/23/2013 03:40 pm Constantinos Venetsanopoulos

Make docs.dev.grnet.gr URL oblsolete

Everything should point to http://www.synnefo.org/*
This patch updates the URL everywhere in the repo.

7627ec6f 04/22/2013 10:10 am Christos Stavrakakis

amqp_puka: Fix wrong import of ordereddict

b830f774 04/19/2013 12:29 pm Giorgos Korfiatis

Move transaction.py to snf_django package

b052f360 04/19/2013 12:23 pm Giorgos Korfiatis

Move intdecimalfield.py to snf_django package

Rename it to fields.py and update all migrations that reference the field.

222a4f6a 04/19/2013 11:09 am Giorgos Korfiatis

Move managers.py to snf_django package

befa5997 04/11/2013 02:07 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/api/service.py
snf-quotaholder-app/quotaholder_django/quotaholder_app/callpoint.py

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

e7f22a2a 04/10/2013 07:05 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
snf-astakos-app/astakos/im/messages.py

5ede2c79 04/08/2013 08:11 pm Constantinos Venetsanopoulos

Make all Changelog files prior to 0.13 obsolete

Since v0.13, all Synnefo components will have the same version and the
same Changelog, NEWS, Upgrade, Copyright file. This patch addresses
old Changelog, NEWS and Upgrade files:

  • Move all separate Changelog files under docs/older/...
04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

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

4427df6f 04/08/2013 04:36 pm Christos Stavrakakis

Add objpool to snf-common dependencies

30333691 04/08/2013 04:27 pm Christos Stavrakakis

Move code and PEP8 fixes

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

09fbe62f 04/08/2013 03:59 pm Christos Stavrakakis

Remove override_users option from astakos options

1052bb2b 04/08/2013 11:07 am Christos Stavrakakis

Remove obsolete Ganeti RAPI client from snf-common

This Ganeti RAPI client has been moved to snf-cyclades-app.

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

Move parsedate module to snf_django

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

Move common test code to snf_django.lib.testing

39b2cb50 04/05/2013 06:48 pm Giorgos Korfiatis

wip Restructure astakos views

Replace custom transaction context with:

- decorator `commit_on_success_strict', which uses
transaction.commit_manually and ensures that
the transaction rolls back on any exception

- context ExceptionHandler, which logs and...

f770d29f 04/02/2013 12:56 pm Kostas Papadimitriou

Merge branch 'release-0.13' into develop

Conflicts:
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views.py
version

878d9cf3 04/02/2013 08:49 am Kostas Papadimitriou

Merge branch 'tmp-common-email-recipients' into develop

354b9b6f 04/01/2013 07:02 pm Kostas Papadimitriou

Merge branch 'feature-astakos-authpolicies' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-create.py
version

3eea2bc3 03/29/2013 01:21 pm Constantinos Venetsanopoulos

Update setup.py for every snf-* component

5607fc6c 03/28/2013 10:47 am Christos Stavrakakis

Pep8 fixes

f96257d8 03/27/2013 11:01 pm Kostas Papadimitriou

Introduce CONTACT_EMAIL setting

applications can use the setting as to point users in which email
address they should get in contact for support.

bd0778e4 03/27/2013 11:00 pm Kostas Papadimitriou

Provide additional user lists in common settings

To be used as recipients in applications notification messages

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

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

remove obsolete example code module http_request

6f25ec42 03/26/2013 03:50 pm Kostas Papadimitriou

Merge branch 'release-0.13' into feature-astakos-authpolicies

1c53bc1d 03/22/2013 05:25 pm Stratos Psomadakis

Fix deref before None check in http pool

1fd14d3d 03/22/2013 04:23 pm Giorgos Korfiatis

Return EmptyQuerySet on an EmptyResultSet

Refs #3489

Call to as_sql() raises EmptyResultSet in a couple of occasions,
more importantly when filtering based on an empty list: filter(field__in=[]).

a6a152d6 03/22/2013 03:55 pm Giorgos Korfiatis

Move managers.py in synnefo.lib.db

This makes it easier to maintain, since it is used in multiple applications
(astakos.im and quotaholder_app).

76a13815 03/20/2013 07:42 pm Christos Stavrakakis

Move UserCache from cyclades.common to lib.astakos

Move UserCache from synnefo.management.common to synnefo.lib.astakos.
Also, update ListCommand with 'astakos_url' and 'astakos_token' class
attributes, which must be declared only when 'user_uuid_field' is used.

f09da76e 03/15/2013 07:49 pm Kostas Papadimitriou

Common synnefo testing utils lib

New synnefo.util.testing lib added. Currently including helper decorator and
context processor to override django settings.

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

693bebea 02/26/2013 02:11 pm Stratos Psomadakis

Make docs (devflow) version-'aware'

784dcbdb 02/15/2013 01:41 pm Georgios D. Tsoukalas

fix quotaholder nested exception JSON failure

also, log http 500 on server side

0275cd41 02/15/2013 12:13 pm Giorgos Korfiatis

pep8 fixes and copyright notice

dd1089b7 02/14/2013 04:27 pm Giorgos Korfiatis

udec: decode an object into a unicode object

c5d7bb5d 02/14/2013 04:27 pm Giorgos Korfiatis

Simplify handler's call

9e20fcee 02/08/2013 11:53 am Christos Stavrakakis

Remove mac2eui64 dependency

Import mac2eui64 code which is already shipped under util/mac2eui64 instead
of shipping it as a seperate script.

8c6585ca 02/08/2013 11:53 am Christos Stavrakakis

Fix setup.py of snf-common

5adcc57e 02/07/2013 02:14 pm Christos Stavrakakis

Fixes to setup.py

Update author/maintainer name/email of all synnefo projects. Also fix
short description and some whitespace issues.

74d988b0 02/01/2013 04:00 pm Christos Stavrakakis

pep8 fixes to snf-common

f77af2cc 01/30/2013 03:39 pm Giorgos Korfiatis

Rollback, even if transaction is not dirty

This is a temporary bug fix for
https://code.djangoproject.com/ticket/9964 .
Django prior to 1.3 does not set a transaction
dirty when the DB throws an exception, and thus
does not trigger rollback, resulting in a...

ef67f714 01/29/2013 06:19 pm Christos Stavrakakis

Grammar fix

778081b0 01/29/2013 06:19 pm Christos Stavrakakis

Do not automatically update version files

Do not automatically update version files from setup.py. From now
on, version files are updated using 'update_version.py' script and
'devflow'.

Also removed autopkg.conf and created devflow.conf configuration file.

3a6e0fd0 01/29/2013 11:26 am Georgios D. Tsoukalas

uenc: convert to repr(utf8) if encoding fails.

11ed5cdc 01/28/2013 09:05 pm Giorgos Korfiatis

Do not postprocess if it's marked for rollback

26e15cff 01/28/2013 07:39 pm Giorgos Korfiatis

Run postprocess in a transaction context too

e31e4274 01/28/2013 03:43 pm Sofia Papagiannaki

Change error handling in uuid to displayname pithos path migration.

Stop migraton if it fails to retrieve a uuid/displayname.

aff28f5f 01/25/2013 07:58 pm Georgios D. Tsoukalas

uenc: utility function for encoding unicode to str

1. Motivation.

Too often a programmer outputs an object that can either be str or
unicode. The default python encoding of 'ascii' cannot handle all of
unicode text, but this will not crash until such a text is encountered....

aaf73e65 01/25/2013 12:46 pm Georgios D. Tsoukalas

strbigdec: smart big decimal number-to-string

7d95385b 01/24/2013 12:00 pm Giorgos Korfiatis

Cleanup transaction context

86b446dd 01/23/2013 10:06 pm Kostas Papadimitriou

Cleanse middleware fix

patch only once

1c65202f 01/23/2013 07:00 pm Giorgos Korfiatis

Remove a debugging print

d55d4f34 01/23/2013 06:56 pm Giorgos Korfiatis

Custom transaction context

A context which can be used as a decorator;
it commits the transaction if no exception was raised and
the rollback flag was not checked.
Executes customizable code after committing.

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

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
115fc1d6 01/18/2013 03:58 pm Georgios D. Tsoukalas

Merge 'develop' into feature-projects

Needed for building devflow packages from feature-projects.

473e2b08 01/17/2013 04:37 pm Christos Stavrakakis

Remove devflow form build dependency

5d3daee1 01/16/2013 01:01 pm Christos Stavrakakis

Remove devtools and rename to devflow

7f7863bb 01/15/2013 09:04 pm Kostas Papadimitriou

Cloudbar flickering fix

prepend body placeholder (using border-top) to avoid flickering caused
due to late rendering of the cloudbar element

db6865fc 01/15/2013 05:01 pm Georgios D. Tsoukalas

Merge branch 'latest-quota' into develop

bring quotas, projects, astakos logins, pithos/RADOS
into the new synnefo development workflow

c9b113ac 01/14/2013 06:54 pm Vangelis Koukis

WIP commit for the devtools build system

0f0dd7df 01/14/2013 05:50 pm Giorgos Korfiatis

Additional parameters in the field constructor

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

Provide pithos call for getting account name from uuid

1de7fd6d 01/11/2013 04:35 pm Kostas Papadimitriou

Additional common helper methodt

96a212f7 01/11/2013 01:29 pm Georgios D. Tsoukalas

make str(CallError) force unicode to utf8

52468c16 01/09/2013 03:16 pm Christos Stavrakakis

Merge branch 'devel-0.13' into develop

Conflicts:
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py

c11dc0ce 01/07/2013 05:20 pm Giorgos Korfiatis

Redefine IntDecimalField to allow support for south migration;
apply the new field to astakos.im.ProjectResourceGrant

08ce0e6f 01/07/2013 01:52 pm Giorgos Korfiatis

wip Use decimals to store quota values; infinite quotas no more supported

39462ae0 01/07/2013 01:52 pm Giorgos Korfiatis

Define custom integer field that is stored in the DB as decimal

7bffb0bd 01/07/2013 12:12 pm Kostas Papadimitriou

User usage enhancement in astakos client helpers

`get_user`, `user_for_token` and `authenticate` methods now accept a `usage`
parameter which requests user usage quotas to be returned along with
authenticated user information. Server side handling has also been...

050485bd 01/03/2013 06:18 pm Sofia Papagiannaki

Changes in common astakos library.

  • It should optionally work with user dictionary
    instead of contacting astakos.
  • Fix pep8 errors
cd5033bd 12/28/2012 02:41 pm Sofia Papagiannaki

Provide error feedback during pithos database path migration to container uuid instead of email

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

e6bba30c 12/21/2012 05:14 pm Giorgos Korfiatis

Register keyword args in CallError

f631150c 12/21/2012 05:14 pm Giorgos Korfiatis

Add details in exceptions raised in issue_commission

Exceptions regarding limit violations now carry details
as specified in CommissionValueException

83204389 12/19/2012 09:01 pm Kostas Papadimitriou

Update astakos client to use user.uuid

d2b32360 12/19/2012 02:21 pm Giorgos Korfiatis

New add_quota API to handle infinity

Separately handle subtractions and additions of quotas
Adapt get_diff_quota plus various bug fixes

2fd11a01 12/18/2012 03:31 pm Giorgos Korfiatis

Do not record arguments of add_quota.
Add call query_serials separate from ack_serials.

ef0fa70b 12/17/2012 06:32 pm Giorgos Korfiatis

Record arguments of add_quota and return them in ack_serial

789d202d 12/17/2012 04:40 pm Giorgos Korfiatis

Add a serial in the add_quota API call

6de5850a 12/14/2012 06:22 pm Christos Stavrakakis

Fix test settings

LOGGING has been renamed to LOGGING_SETUP

8c165b27 12/14/2012 03:08 pm Sofia Papagiannaki

Merge branch 'devel-0.13' into latest-quota

Conflicts:
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py

4ec8c043 12/13/2012 05:53 pm Giorgos Korfiatis

add_quota API call

6d20b7f3 12/11/2012 02:17 pm Vangelis Koukis

Migrate default settings to files under conf/

Migrate default settings to files under conf/ for every
Synnefo component.

TODO: Obliterate snf-cyclades-app/synnefo/appt_settings/default/*
and similar files. Make import of synnefo settings common throughout...

eeba67ab 12/10/2012 07:34 pm Giorgos Korfiatis

Make side-effecting quotaholder API calls fail completely,
if part of the request is rejected.

If such a call returns a non-empty list, this means that
the entire call failed due to the actions mentioned in the list.

c05b0cbe 12/04/2012 03:22 pm Giorgos Korfiatis

Better version of the bug fix 39cefb25