Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / userdata @ d984eedc

Name Size
  migrations
  templates
__init__.py 0 Bytes
asn1.py 5 kB
models.py 4.2 kB
rest.py 8.9 kB
tests.py 9.8 kB
urls.py 2.2 kB
util.py 2.8 kB
views.py 3.6 kB

Latest revisions

# Date Author Comment
02990794 01/10/2014 06:01 pm Kostas Papadimitriou

userdata: Log create/update/delete actions

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.

View revisions

Also available in: Atom