Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / userdata @ 19b2c29d

# Date Author Comment
bf18a788 01/08/2014 05:46 pm Kostas Papadimitriou

userdata: Improve public key submission

- Validate key submission content size. Maximum allowed content size is
configurable in userdata settings (USERDATA_SSH_KEY_MAX_CONTENT_LENGTH).
- Return 422 status code on submission validation errors.

a9d34f3b 01/08/2014 05:46 pm Kostas Papadimitriou

userdata: Update unit tests

91884d63 11/29/2013 02:26 pm Giorgos Korfiatis

Add some missing Copyright notices

Also add 2013 in package COPYRIGHT files.

e8e50dcc 10/29/2013 04:15 pm Ilias Tsitsimpis

Fix pep8 errors

b4b82ec4 10/29/2013 04:15 pm Giorgos Korfiatis

astakos: Remove call GET /authenticate

Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()
and replace its uses by AstakosClient.authenticate().

e407f159 10/29/2013 04:00 pm Ilias Tsitsimpis

snf-cyclades-app: Use the new AstakosClient

Change AstakosClient to use ASTAKOS_AUTH_URL as entry point to the
Astakos service, instead of ASTAKOS_BASE_URL it was using until now.

Remove ASTAKOS_BASE_URL from Cyclades settings, replace it with
ASTAKOS_AUTH_URL. Modify Cyclades to determine ASTAKOS_ACCOUNT_URL and...

d3e9d04b 10/29/2013 12:11 pm Ilias Tsitsimpis

cyclades: pep8 fixes

d495600d 10/29/2013 12:05 pm Ilias Tsitsimpis

cyclades: Fix userdata tests

Mock the 'snf_django.lib.astakos.get_user' function.
The way it was done didn't seem to work.

aaaf78f2 10/25/2013 06:27 pm Giorgos Korfiatis

cyclades: Fix userdata limit check

Argument passed to PublicKeyPair.user_limit_exceeded() was a dict
rather that a string (user uuid). Django would happily convert it
to a string and pass it through to the database query.

Also fix a minor bug in tests.

6b256427 10/01/2013 06:56 pm Christos Stavrakakis

Request Django=>1.4, <1.5

Drop support for Django 1.2. Remove compatibility code that were used in
order to support Django 1.2 and 1.4. Finally update django documentation
link in the docs.

b694875c 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

8299ef23 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Rename depricated HttpRequest attribute"

This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

cfc4b87c 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

a6b17d33 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: urls module doesn't export defaults

4691814d 07/09/2013 04:30 pm Ilias Tsitsimpis

pep8 changes

1fc7640d 07/03/2013 01:20 pm Kostas Papadimitriou

cyclades: Public IP's overlay in UI

- Introduce a new overlay for IP addresses management (create, remove, connect,
disconnect).
- The overlay is accessible from the UI's options menu.

b47b110d 06/03/2013 11:50 am Kostas Papadimitriou

cyclades: Remove userdata api from ui prefix

- Individualize userdata api by placing module under synnefo namespace and
urs under it's own USERDATA_PREFIX