Statistics
| Branch: | Tag: | Revision:

root @ 72bf812d

# Date Author Comment
a712571b 04/08/2013 11:06 am Christos Stavrakakis

Create 'snf-django-lib'

Create 'snf-django-lib', common Synnefo library for django.

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

72bf812d 04/08/2013 11:06 am Christos Stavrakakis

Implement single decorator for handling API calls

Create a single decorator for API methods to be used be accross all
synnefo. This decorator does the following:

  • Proper logging of 5xx faults and unexpected errors
  • Authentication with Astakos using snf-astakos-client...
27d564ba 04/07/2013 01:33 pm Christos Stavrakakis

Fix typo in network-list command

a1999b2e 04/05/2013 06:34 pm Giorgos Korfiatis

Merge branch 'release-0.13' into develop

c17bd3a7 04/05/2013 05:32 pm Sofia Papagiannaki

Update pithos installation guide

Refs: #3519

Add a stamp database revision section in the guide.

53f980c2 04/05/2013 12:16 pm Sofia Papagiannaki

astakos api: remove statements of no effect

9cdb86fd 04/05/2013 11:51 am Sofia Papagiannaki

Fix invite view

Invite view and function had the same name.

6837f014 04/04/2013 04:26 pm Ilias Tsitsimpis

astakosclient: Use objpool version 0.2

bc7e4f5f 04/03/2013 06:05 pm Stratos Psomadakis

Fix rst syntax error in docs

8b5be818 04/03/2013 04:24 pm Constantinos Venetsanopoulos

Remove the Integrator's Guide from the doc index

The Integrator's Guide is outdated, keep it as a file,
but remove it from the documentation's index page.

2988ae31 04/03/2013 04:17 pm Georgios D. Tsoukalas

set quotas, enable projects in docs/admin guide

ef06f09d 04/03/2013 01:12 pm Stratos Psomadakis

Update HIDDEN_COOKIES setting

28578e52 04/02/2013 01:49 pm Christos Stavrakakis

Use pprint_table in server-show command

d552dddd 04/02/2013 01:49 pm Christos Stavrakakis

Simple tests for synnefo.quotas

4e1133ab 04/02/2013 01:49 pm Christos Stavrakakis

Make 'type' parameter for network-create mandatory

Do not use a default value (was "MAC_FILTERED") for "type" parameter of
"network_create" API method. The client must explicitly choose the
network type.

f13aab5d 04/02/2013 01:49 pm Christos Stavrakakis

Delete Image without deleting file from Pithos

Until now, deleting an image resulted in deletion of the corresponding
file from Pithos. Plankton Images are files in Pithos with special
metadata on the 'plankton' metadata domain. Adding an Image to plankton...

4fb602b1 04/02/2013 01:49 pm Christos Stavrakakis

Fix plankton ItemNotFound exception

Plankton backend raised AssertionError when an Image was not found.
Change this to raise faults.ItemNotFound error. Temporary commit
until common API decorator is implemented.

Refs #3356

45aa2f06 04/02/2013 01:45 pm Constantinos Venetsanopoulos

Fix minor bug in admin-guide doc

f105d79d 04/02/2013 12:58 pm Christos Stavrakakis

Fix CSV output of ListCommand

Fix CSV output format of ListCommand using csv python module, instead
of manually trying to format them. Also fix small issues
with --no-headers option.

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

346e5b8e 04/02/2013 11:16 am Kostas Papadimitriou

Include helpdesk tests in ci script

19a992e3 04/02/2013 11:16 am Kostas Papadimitriou

Update astakos tests

handle new email recipients

cc5c8608 04/02/2013 10:29 am Kostas Papadimitriou

Allow helpdesk users to shutdown/start vms

Include an additional action to helpdesk view. Based on the current
status of the virtual machine helpdesk user is allowed to start it or
shut it down.

This comes handy since in most cases vm suspension needs to be...

24906909 04/02/2013 09:08 am Kostas Papadimitriou

Remove ui debug statement

51718b22 04/02/2013 09:05 am Kostas Papadimitriou

Update cyclades webproject settings

remove deprecated admin app entries

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

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

7ea1e4e2 04/01/2013 07:14 pm Kostas Papadimitriou

Include astakos app in ci/tests.sh

ad76a6db 04/01/2013 07:04 pm Kostas Papadimitriou

Sync astakos migrations

apply authpolicies migrations on top of recently added astakos migrations in
develop branch.

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

6019e6bd 03/29/2013 03:43 pm Christos Stavrakakis

Bump version

e3c026e7 03/29/2013 03:33 pm Kostas Papadimitriou

UI auth module typo fix

fix get_username to return user uuid instead of user token. The change
fix the resolving of image ownership of the current ui user.

6a8e005e 03/29/2013 03:22 pm Christos Stavrakakis

Bump version

678382d2 03/29/2013 03:18 pm Georgios D. Tsoukalas

fix pasted unicode non-break space in pithos conf

e5af44e5 03/29/2013 01:45 pm Ilias Tsitsimpis

Merge branch 'feature-astakosclient-docs' into develop

Refs #3439

1cd3daa1 03/29/2013 01:36 pm Constantinos Venetsanopoulos

`upgrade' dir under docs and update of admin-guide

e69bf719 03/29/2013 01:30 pm Christos Stavrakakis

Bump version

ee6a65bd 03/29/2013 01:24 pm Georgios D. Tsoukalas

change default project application limit to 0

By default projects are not visible in the UI,
therefore it makes sense to adjust the default
pending application limit to 0, too.

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

Update setup.py for every snf-* component

9ce32226 03/29/2013 12:55 pm Kostas Papadimitriou

Reasonable project application cancel url

direct user to the project's index view

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.

c77af544 03/28/2013 10:57 pm Sofia Papagiannaki

Change pithos backend DEFAULT_PUBLIC_URL_SECURITY

Change value from 8 to 16, to conform with the default
PITHOS_PUBLIC_URL_SECURITY setting.

44f2d10d 03/28/2013 08:13 pm Kostas Papadimitriou

Additional confirm widgets for join/leave actions

Also deny GET requests for those actions

d12e522d 03/28/2013 07:37 pm Kostas Papadimitriou

Deny GET requests for project actions requests

249026ef 03/28/2013 07:37 pm Kostas Papadimitriou

Add a reason parameter in project deny requests

if not set, None is passed

058b6ec7 03/28/2013 07:37 pm Kostas Papadimitriou

Astakos project details user actions improvenets

- Split actions partial in a separate template.
- Convert simple A html links to confirm forms and do action requests
using POST.
- Use a common tempalte tag ``confirm_link`` to prompt user an
additional step of action confirmation....

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.

7aac6b38 03/28/2013 05:01 pm Giorgos Korfiatis

Let admin see project status just like its owner

Admin is interested in projects `Pending for review'. They appeared
as `Unknown' in the project list before. With the current change,
the status of an admin being a member of a project is hidden,
since we don't present combined project/membership states.

ee5d26fc 03/28/2013 03:11 pm Kostas Papadimitriou

UI create vm errors fix

never forget to pass vm create callback arguments

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

Pep8 fixes

31bc3a62 03/27/2013 11:26 pm Kostas Papadimitriou

Astakos email notification improvements

- Use project setting SERVER_EMAIL as sender to all email notifications.
- Remove astakos specific DEFAULT_CONTAC_EMAIL in favor of snf-common's
CONTACT_EMAIL setting.
- Remove DEFAULT_CONTACT_EMAIL and ADMINS astakos specific settings in favor of...

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

5af5920c 03/27/2013 09:08 pm Kostas Papadimitriou

Delegate cyclades ui feedback calls to astakos

Mimic pithos app/ui feedback handling to avoid duplicating boilerplate
code.

New settings:
CYCLADES_USER_FEEDBACK_URL

Deprecated (removed) settings:
FEEDBACK_CONTACTS
FEEDBACK_EMAIL_FROM

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

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

00b501fc 03/27/2013 06:51 pm Sofia Papagiannaki

Fix user-set-initial-quota command

Do not display unnecessary message:
"Please use either `--from-file' or `--set-capacity' options"
while importing quotas from file.

8d15889c 03/27/2013 06:51 pm Sofia Papagiannaki

Fix send mail error handling

  1. Fix send change email error message
  2. Remove double logging
bc1e29f5 03/27/2013 05:56 pm Stratos Psomadakis

Fix verbose_name for network.private resource

dbe23431 03/27/2013 11:14 am Ilias Tsitsimpis

snf-astakos-client: Intersphinx mapping

8896e2aa 03/26/2013 08:20 pm Kostas Papadimitriou

Display additional vm backend info in helpdesk app

Refs #3452

42732c26 03/26/2013 06:42 pm Giorgos Korfiatis

Preserve owner info when modifying project

An admin can modify a project, i.e. create an application based on
a previous application. We distinguish the initial applicant, called
the `owner', from the user who submitted the current application,
called the `applicant'....

db472f3d 03/26/2013 06:42 pm Giorgos Korfiatis

Impose pending application limit on owner

We used to check the limit on applicant; however we would like to
to control pending applications per the original applicant, i.e the
owner. The check is ignored when the applicant is a project admin.

f30f0170 03/26/2013 06:42 pm Giorgos Korfiatis

Log project actions

984fec93 03/26/2013 05:39 pm Kostas Papadimitriou

Optionally display projects in astakos menu

New ASTAKOS_PROJECTS_VISIBLE setting (defaults to False) added to
control whether the projects menu should be visible in astakos user
views.

475e8578 03/26/2013 05:38 pm Kostas Papadimitriou

Typo fix

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

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

b14e3b9e 03/26/2013 03:27 pm Kostas Papadimitriou

Trigger user quota updates on sepcific ui api calls

- We force user quota information to be updated after the completion of
vm/network create/destroy actions.

2b745492 03/26/2013 01:30 pm Giorgos Korfiatis

Specify reason when denying project application

Add field `response' in ProjectApplication model.
Add option `-m' in project-control command.

Refs #3493

2c7c0756 03/26/2013 11:26 am Giorgos Korfiatis

Change helper function to allow multiple arguments

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

Fix deref before None check in http pool

642c426e 03/22/2013 05:19 pm Christos Stavrakakis

Fix bug in uses_commission decorator

Distinquish between exceptions in the decorated function and exceptions
in accepting/rejecting the commissions. The first one determines whether
serials should be accepted or rejected, while the second one is an error...

c58ae966 03/22/2013 05:12 pm Stratos Psomadakis

Fix plankton shared_from image listing

Commit 469d099 introduced a typo which caused /plankton/shared_images/
to raise an UnboundLocalError.

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

ef54eee4 03/22/2013 02:19 pm Christos Stavrakakis

Fix NIC's default state

Use "ACTIVE" as NIC's default state, to avoid addding a data migration.

794c94e6 03/22/2013 01:29 pm Ilias Tsitsimpis

astakosclient: Rename functions/methods

Rename functions/methods according to PEP-8 naming conventions.

2ef1e2d7 03/22/2013 12:35 pm Giorgos Korfiatis

Change output of astakos-quota --sync

Inform specifically which users, if any, have been synced, instead of
listing the whole diff. The latter can be recovered by giving the
option --verify.

8e7ea6d7 03/22/2013 11:38 am Ilias Tsitsimpis

Merge branch 'feature-tools-docs' into develop

f74d2b69 03/22/2013 11:27 am Ilias Tsitsimpis

Rename AstakosClient's authenticate method to getUserInfo

f6950864 03/21/2013 06:04 pm Giorgos Korfiatis

Sync only quotas that differ

Refs #3479

Database stack limit issue was triggered by syncing quotas for
all users. It is much faster to compare quotas locally and send
for sync to quotaholder only those that differ.

2f906450 03/21/2013 05:42 pm Giorgos Korfiatis

Simplify query to avoid hitting db stack limit

Refs #3479

Looking up (entity, resource) pairs created a huge query formula
in disjunctive normal form, which apparently brought the db parser
to its limits.

It has been replaced by selecting the holdings by entity only....

939d71dd 03/21/2013 05:05 pm Christos Stavrakakis

Create public NIC when creating VM

Until now, a server's public NetworkInterface was not created in the DB
until the arrival of the message from Ganeti hooks. However, the IPv4
address of the NIC is reserved before sending the OP_INSTANCE_CREATE
job to Ganeti....

980190ae 03/21/2013 04:44 pm Constantinos Venetsanopoulos

snf-burnin docs: Minor verbal fixes

2d35cfcd 03/21/2013 03:54 pm Kostas Papadimitriou

Fix available ram options in vm create view

typo fix that caused unavailable ram options due to user quota limits to
still be shown as selectable values.

4b92d3f7 03/21/2013 03:52 pm Constantinos Venetsanopoulos

snf-astakos-client docs: Minor verbal/format fixes

cc7312b1 03/21/2013 03:51 pm Christos Stavrakakis

flavor-create: warn if flavor is deleted

94ad2d07 03/21/2013 03:11 pm Christos Stavrakakis

Improve performance of cyclades-usage-verify

Get quotaholder holdings for all users in one call, to speed up
execution of 'snf-manage cyclades-usage-verify'.

336ddd59 03/20/2013 10:45 pm Kostas Papadimitriou

UI loading view improvements

Refs #3396
Refs #3397

- Use separate loading messages for each action to avoid confusion
caused due to aynchronous progress
- Enforce resolving of unknown machine image ids before the main view
gets rendered.

2d815668 03/20/2013 10:13 pm Kostas Papadimitriou

UI auth client fix

Fix early check for existing cookie contents

afe9ca75 03/20/2013 09:47 pm Kostas Papadimitriou

UI. Always extract user info from current cookie contents

Refs #3460

Token value set in api action/request is always retrieved from the
current cookie contents. When cookie contents change is detected ui
redirects user to log in.

Cookie changes are detected each time the app tries to use the user...

505a121e 03/20/2013 08:56 pm Kostas Papadimitriou

Helpdesk tests update

- Include suspend/release suspension tests
- Mock astakos displayname/uuid resolving methods
- Update fixtures with user uuids
- Test vmid lookup

4edee820 03/20/2013 08:56 pm Kostas Papadimitriou

Helpdesk logging improvements

Refs #3454

ba8ff608 03/20/2013 08:23 pm Kostas Papadimitriou

Allow user to search by vm id in helpdesk app

Refs #3453

VM lookup is triggered when search query matches the following patterns

- vm<id>
- vm-<id>

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.

84e01b4f 03/20/2013 07:12 pm Christos Stavrakakis

Remove obsolete cyclades.admin

d587329c 03/20/2013 06:09 pm Konstantinos Tompoulidis

Update the quick install admin guide for 0.13

  • Document the Quotas feature
  • Minor fixes and updates
  • pep8 fixes
ff7fc140 03/20/2013 03:54 pm Olga Brani

Remove alpha from logo & copyright period correction