Statistics
| Branch: | Tag: | Revision:

root @ 4b01493d

# Date Author Comment
4b01493d 05/17/2013 05:25 pm Georgios D. Tsoukalas

fix dependency snf-branding-app -> snf-branding

00326543 05/17/2013 05:14 pm Kostas Papadimitriou

branding: include package static assets in setup.py

fe5ea1c4 05/17/2013 04:52 pm Christos Stavrakakis

Update changelog

Add changelog entry about lazy networks and 'type' attribute
in network create API request.

5790b031 05/17/2013 01:32 pm Ilias Tsitsimpis

astakosclient: Trick setup into loading version module

setup.py tries to load astakosclient.version module
before checking for astakosclient package dependencies
which leads to importErrors.

Trick setup to load only version module by changing sys.path.

9848f747 05/17/2013 12:21 pm Ilias Tsitsimpis

astakosclient: Use path given in astakos_url (if any)

0c568c14 05/17/2013 10:57 am Christos Stavrakakis

Add snf-branding version file to gitignore

fe9d5ab8 05/17/2013 10:54 am Giorgos Korfiatis

snf-branding: Remove version.py file

98464064 05/17/2013 10:52 am Christos Stavrakakis

ci: Install snf-branding before astakos

9b977424 05/17/2013 10:41 am Christos Stavrakakis

ci: Add snf-branding to projects

e585664e 05/17/2013 10:41 am Christos Stavrakakis

astakos: Fix typo in tests

ab30f5f1 05/16/2013 08:30 pm Sofia Papagiannaki

astakos: fix incomplete previous commit

commit 1439d6383113b151b6a3316e320a0418fa30d421

1439d638 05/16/2013 08:27 pm Sofia Papagiannaki

astakos: api calls authenticated via X-Auth-Token shall not affect cookie

CookieAuthenticationMiddleware.process_request() synchronizes
the astakos cookie with the request user.
If an astakos cookie is set but there is no logged in user,
the middleware deletes the cookie....

1ac3349d 05/16/2013 07:54 pm Kostas Papadimitriou

astakos: Split settings in separate modules

f78059a4 05/16/2013 07:34 pm Kostas Papadimitriou

astakos: Update activation email content

0c46608c 05/16/2013 07:14 pm Kostas Papadimitriou

astakos: Clean up user-list filter options

removed deprecated options `-p` and `-n`. Admins should use
`--pending-moderation` and `--pending-verification` instead.

abf57c77 05/16/2013 07:09 pm Kostas Papadimitriou

astakos: Allow admin to verify user from command line

using the new option `--verify` added in `user-modify` command

5aa83766 05/16/2013 06:57 pm Kostas Papadimitriou

Merge branch 'feature-branding' into develop

Conflicts:
snf-astakos-app/astakos/im/templates/im/account_pending_moderation_notification.txt
snf-astakos-app/astakos/im/templates/im/group_creation_notification.txt
snf-astakos-app/astakos/im/views.py

a6a2112e 05/16/2013 06:55 pm Kostas Papadimitriou

cyclades: Update proxy user services

use the common api.proxy method from snf-django-lib

205cc8d3 05/16/2013 06:41 pm Giorgos Korfiatis

Catch QuotaLimit exception when reconciling resources

This can happen, if the actual usage registered by a service exceeds
the quota limit.
Advise the user to try the --force option.

369628b8 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Let qh errors through when issuing commission

When registering pending apps, catch only NoCapacityError. No other
QuotaholderError is expected and should not be treated here.

de292e89 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Do not show obsolete user settings

Also fix printing user quota.

01b8fb9a 05/16/2013 06:41 pm Giorgos Korfiatis

quotaholder: Ignore force option when releasing

Since negative usage makes no sense, we always check this lower
boundary when issuing a commission.

103086a4 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Force query eval when used in __in filter

Related to commit aee9a38

Also fix call of qh_sync_users in migration script.

fa186923 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Allow submitting application with no resources

bcd80cd9 05/16/2013 06:30 pm Christos Stavrakakis

cyclades: Move common code to seperate function

Move common between API method and management command for creating a
server to a separate function.

eec66d97 05/16/2013 06:30 pm Christos Stavrakakis

cyclades: Fix bug in flavor-modify command

Fix bug in flavor-modify command, which resulted in flavors being always
deleted. Deleted option must be parsed to bool, otherwise is always
True.

e892db2d 05/16/2013 06:30 pm Christos Stavrakakis

helpdesk: Use 'mock' library to bypass auth

Use mock to library to bypass astakos authentication in helpdesk views.

f1e424a5 05/16/2013 06:30 pm Christos Stavrakakis

webproject: Do not disable existing loggers

Do not disable by default all existing loggers.

315fe235 05/16/2013 06:30 pm Christos Stavrakakis

astakos: check that request.user is a 'User'

Update astakos 'get_menu' API method, to check if request.user is an
instance of django User model. This view function called by astakos
context processor. However, if astakos and helpdesk are installed
together, the request.user will not hold an AnonymousUser, but a...

39e16ecc 05/16/2013 06:09 pm Kostas Papadimitriou

astakos: Update tests

Enforce Group entries flush. As a fix to strange errors raised while running
tests using sqlite database. The driver doesn't seem to be able to properly
cleanup related database entries, a procedure that takes place after each
execution of a TransactionTestCase test.

0d48fd8f 05/16/2013 05:40 pm Kostas Papadimitriou

astakos: Typo fix

ea36d0d3 05/16/2013 04:25 pm Kostas Papadimitriou

astakos: Fix provider_login_url template tag

263cb456 05/16/2013 03:47 pm Olga Brani

Synnefo branding: Documentation correction & minor fixes

d6af92ac 05/16/2013 03:00 pm Kostas Papadimitriou

Merge branch 'develop' into feature-astakos-userflow

aba462a2 05/16/2013 02:55 pm Giorgos Korfiatis

astakos: Adapt tests to 2.6-style unittest

Define assertGreater, assertIn, assertRaises in snf_django.utils.testing

93a77d30 05/16/2013 02:55 pm Giorgos Korfiatis

common: Disable proxy in tests

Do not follow redirections in im tests.

b3babac6 05/16/2013 02:50 pm Georgios D. Tsoukalas

robust version importing in docs build config

After changing sys.path, synnefo and synnefo.versions must be reloaded
because if they have been cached, the updated sys.path will not be
consulted because importing synnefo and synnefo.versions will stop at
the cache in sys.modules

1896d3e4 05/16/2013 02:47 pm Sofia Papagiannaki

pithos: fix tests

Change erroneous import

e7cb4085 05/15/2013 07:03 pm Kostas Papadimitriou

astakos: User activation flow improvements

Major refactoring on user email verification/activation process
---------------------------------------------------------------
Activation logic moved from dispersed code in functions/view modules to
ActivationBackend methods. All user activation handling code in astakos views...

ba27316a 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Update tests

- In sync with new AstakosUser model
- Remove nested settings wrappers to slightly increase tests performance

3dfb68fe 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Remove deprecated AstakosUser fields

7beef200 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Avoid using dicts as default arguments

07e2a93d 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove obsolete code

Remove project_tests.py, empty package im.endpoints and fixtures

251b83be 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove membership policy settings

Available join and leave policies are internally defined and should
not be changed by settings. Move policy descriptions to presentation.py.

Do not convert to string the lookup key in templatetags/filters.py

9e812adf 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove obsolete keyword argument ctx

e336910f 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Improve quota syncing

- Split code that lists and syncs quotas
- Merge the latter with qh_sync_users
- Move qh_sync_projects in quotas.py; sync only active members
- Add missing select for update in project suspend
- Clean up quotas.py
781c7b4b 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove two options from resource-import

--service: We do not support automatic importing of resources
--conf: Use resource-modify to configure resource limit

fed0b230 05/15/2013 06:38 pm Christos Stavrakakis

Replace 'synnefo.lib.http' with 'objpool.http'

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.

e4ce2d35 05/15/2013 06:35 pm Christos Stavrakakis

cyclades: fix db migration

Migration 0066 should not run on a fresh installation.

14381fd0 05/15/2013 06:20 pm Sofia Papagiannaki

astakos: keep top level api urls for this version

33c84784 05/15/2013 06:20 pm Sofia Papagiannaki

snf-django-lib: provide proxy functionality

aa153e99 05/15/2013 06:20 pm Sofia Papagiannaki

pithos: use common proxy functionality for astakos services

Remove pithos.api.delegate module
Keep top level api urls for this version

02de6286 05/15/2013 06:18 pm Sofia Papagiannaki

pithos: change resource usage retrieval

Replace ``astakosclient.get_info()`` with ``astakosclient.get_quotas()``

6609821f 05/15/2013 06:13 pm Sofia Papagiannaki

astakos: change authenticate api call

``/astakos/api/authenticate`` call
does not include any more resource usage in the reply.
(``usage`` request parameter has become obsolete)
The services in order to get the resource usage should call
``/astakos/api/quotas`` instead.

9c2edbf1 05/15/2013 06:12 pm Olga Brani

Snf-branding documentation

982f9532 05/15/2013 05:05 pm Christos Stavrakakis

ci: Install astakosclient before snf-django-lib

3dbd9457 05/15/2013 05:05 pm Christos Stavrakakis

cyclades: Make cyclades work with pycrypto==2.6

In PyCrypto 2.6, it is mandatory to use an IV of 16 bytes when using AES
encryption. This commit updates 'aes_encrypt' module to use a random IV.
Also, a data migration is required to re-encrypt the old passwords, as...

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

pep8 fixes

f58b0a14 05/15/2013 04:06 pm Olga Brani

Correct merging error

075b91de 05/14/2013 06:53 pm Giorgos Korfiatis

astakos: Rename astakos-quota command to quota

Also replace `quotas' with `quota' in strings and command line options.

f9259573 05/14/2013 05:51 pm Giorgos Korfiatis

ci: Add quotaholder_app to tests

c80722ce 05/14/2013 05:46 pm Giorgos Korfiatis

astakos: Tests for quota API calls

1e361a6d 05/14/2013 05:14 pm Giorgos Korfiatis

astakos: Return empty dict when no user quotas found

0148b2cb 05/14/2013 05:06 pm Giorgos Korfiatis

snf_django: Use wraps in transaction decorator

This is to preserve name of called function.

73c02f75 05/14/2013 05:04 pm Giorgos Korfiatis

astakos: Return resource object upon creation

0b48a1b4 05/14/2013 05:01 pm Giorgos Korfiatis

astakos: Indent json output of resource export

4d31ebc0 05/14/2013 03:15 pm Olga Brani

branding: correct snf-branding-app dependencies

8b9e871d 05/14/2013 03:14 pm Olga Brani

Merge branch 'develop' into feature-branding

Conflicts:
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
snf-astakos-app/astakos/im/templates/im/base.html
snf-astakos-app/astakos/im/templates/im/landing.html
snf-astakos-app/astakos/im/views.py...

c6c889f7 05/14/2013 02:09 pm Christos Stavrakakis

cyclades: Various fixes to tests

dbb6a975 05/14/2013 02:09 pm Christos Stavrakakis

ci: Add 'quotas' app to tests

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

common: Remove obsolete 'queue' module

02f6219f 05/14/2013 01:25 pm Christos Stavrakakis

Merge branch 'feature-no-hooks' into develop

065ac0f4 05/14/2013 01:25 pm Christos Stavrakakis

gtools: remove obsolete hooks

Remove obsolete hooks from Cyclades Ganeti tools. Hooks were only used
to send the notify Cyclades about the NICs of instances, which is now
performed by eventd.

449787d3 05/14/2013 01:25 pm Christos Stavrakakis

eventd: pep8 fixes

fd95834e 05/14/2013 01:25 pm Christos Stavrakakis

dispatcher: Handle NICs in callbacks.

Update 'update_db' callback to handle instance NICs together with
instance status.

Also update the relevant tests.

6df16263 05/14/2013 01:25 pm Christos Stavrakakis

gtools: Handle case of eventd not in master

Handle the case the 'snf-ganeti-eventd' is not running in Ganeti master
node, but in a master candidate. In such a case, we can not get a Ganeti
client. Until Ganeti conf daemon is implemented, we manually load and...

da7a8775 05/14/2013 01:25 pm Christos Stavrakakis

gtools: remove hook from entry points

be4d8aed 05/14/2013 01:25 pm Christos Stavrakakis

cyclades: simplify comparison of NICs

95059648 05/14/2013 01:25 pm Christos Stavrakakis

Remove 'snf-events-net' queue and binding

Remove 'snf-events-net' queue (together with the corresponding routing
key and binding) from the queues that snf-dispatcher is consuming
messages. This queue is no longer needed, because messages for instance
NICs will be sended by snf-ganeti-eventd to 'snf-events-op' queue....

0e1f3323 05/14/2013 01:25 pm Christos Stavrakakis

gtools: Make eventd send instance NICs

Update eventd daemon to get the instance NICs by querying Ganeti and
send them to Cyclades.

acfc71ef 05/14/2013 01:25 pm Christos Stavrakakis

cyclades: Fix deadlock when connecting vms

Fix deadlock caused by 'get_or_create' method, since it acquires an
implicit shared lock. Take an exclusive lock on network to fix this
deadlock.

5b0832fc 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix stale 'DeletedError' exception

a5781130 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix typo in comment

27cda06b 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fixes relevant to lazy networks

de1fed2b 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Simplify reconcile-networks checks

Refactor and simplify checks of reconcile-networks to take advantage
of lazy networks.

b471b597 05/14/2013 01:24 pm Christos Stavrakakis

cyclades: Fix bug in management command

Do not try to issue commission for networks without user (e.g. public
networks), when deleting them.

1e23ceb2 05/14/2013 12:32 pm Olga Brani

Synnefo branding: Remove greek text & verbal fixes

Emails sent to Astakos Users do not contain greek translations any more.
Minor verbal corrections are made and title attribute are added to logos
links.

e1feace1 05/14/2013 11:19 am Giorgos Korfiatis

astakos: Fix call to util function send_feedback

3a8e56bc 05/14/2013 11:14 am Giorgos Korfiatis

quotaholder: Unify included data in overLimit errors

Replace `available' with `usage' and `limit' in NoQuantityError
to make it similar to NoCapacityError.

764d99c4 05/14/2013 10:41 am Giorgos Korfiatis

astakos: Remove command user-set-initial-quota

To change base quota for a specified user:
snf-manage user-modify user --set-base-quota resource limit

To import base quota in batch from a file:
snf-manage astakos-quota --import-base-quota filename

Rename `initial' to `base quota' in command output....

38aff106 05/13/2013 05:40 pm Sofia Papagiannaki

astakos: remove obsolete code

f85992bc 05/13/2013 05:40 pm Sofia Papagiannaki

astakos: update commands in README

89362181 05/13/2013 05:40 pm Sofia Papagiannaki

pithos: remove dependency from synnefo.lib.queue.Receipt

91eca048 05/13/2013 04:00 pm Giorgos Korfiatis

astakos: List quotas in user-show with `--quotas'

Refs #3530

Use the same utility function as astakos-quota. Update the latter
to a SynnefoCommand.

95f33116 05/13/2013 01:56 pm Giorgos Korfiatis

astakos: Use DateTimeField for enhanced precision

Refs #3717

Replace instances of DateField in ProjectMembership and
ProjectMembershipHistory.

5dcf6618 05/13/2013 01:44 pm Giorgos Korfiatis

Revert "astakos: Fix bug in getting membership"

This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e.

Update astakos tests to use membership id.

87f9ff49 05/13/2013 01:37 pm Christos Stavrakakis

Merge branch 'feature-lazy-networks' into develop

1d04ef8b 05/13/2013 01:36 pm Christos Stavrakakis

cyclades: update tests for lazy networks

e34b35d9 05/13/2013 01:36 pm Christos Stavrakakis

cyclades: Update 'backend-add' for lazy networks

Do not create private networks when adding a new backend. Since,
"lazy networks" this is no longer needed.