Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im @ bb528b2e

# Date Author Comment
bb528b2e 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: pep8 fix

45a4e443 10/09/2013 02:40 pm Kostas Papadimitriou

astakos: Separate templates in project creation

instead of including application form summary template in the application form
view, render it from scratch. This resolves a bug caused when using django>1.2
since block tags within the included templates are not supported....

3407774b 10/08/2013 01:58 pm Kostas Papadimitriou

astakos: Additional login form test

test empty POST dict form submition

b8633f0c 10/08/2013 01:58 pm Kostas Papadimitriou

astakos: Cache cleanup for recaptcha tests to work

9eb2c9a6 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: user-modify command enhancements

New option ``--delete`` to permanently delete a user entry.
New option ``--set-email`` to change user's email address.

a661dfb2 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Test ratelimit/recaptcha functionality

c1f65a1e 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Set initial signup values if available

prefill third party signup form with initial values (first name, last name,
email) if available in the third party provider response.

6a80a0ae 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Shibboleth EPPN migration functionality

Prior to this commit astakos used the mod_shib2 EPPN header value as the
unique identifier for associating shibboleth idp users to astakos user entries.

This commit alters this behaviour and from now on astakos resloves unique...

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.

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

f98e9f6f 10/01/2013 04:58 pm Giorgos Korfiatis

astakos: Avoid spaces in field names

Rename fields in component-list management command so that they do not
contain spaces.

51356707 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Fix service update

When registering a service that already exists, update its attributes.

eb765213 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Store base URL in component

Deployer should provide it when adding a new component. Service endpoints
originating from a component are expected to match its base URL; otherwise,
a warning is issued during service registration. Re-registration with...

6ef1e2eb 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Show component details

Introduce management command `component-show', which lists component
attributes, including a list with the related registered services.

0eb1f53a 09/27/2013 02:13 pm Ilias Tsitsimpis

Fix a python syntax error

In python 2 we cannot have keyword-only arguments (PEP 3102).
And even if we could, this was not the right way to
declare a python function.

554ef175 09/27/2013 10:49 am Christos Stavrakakis

astakos: Replace commit_manually decorator

Replace commit_manually decorator with commit_on_success, since the
functions that were using this decorator did not really needed it.

60b59fed 09/26/2013 02:47 pm Ilias Tsitsimpis

astakos: Fix `save() got unexpected argument'

From Django documentation:
"""
It’s also important that you pass through the arguments that can be
passed to the model method – that’s what the *args, **kwargs bit does.
Django will, from time to time, extend the capabilities of built-in...

b2b32926 09/26/2013 01:04 pm Ilias Tsitsimpis

astakos: Don't use `user.__dict__'

In Django 1.4 the `request.user' returns a SimpleLazyObject instead
of a LazyUser. The equivalent of `user.__dict__' is now
`user._wrapped.__dict__'. In order to be backward compatible
we are requesting explicitely the attributes we want and not...

0e553052 09/25/2013 12:11 pm Giorgos Korfiatis

astakos: Fix project identification in test

Test was mistakenly using application id rather than project id in
some occasions.

bbefd4d7 09/25/2013 12:09 pm Giorgos Korfiatis

astakos: Fix quota API test

Sort list before comparing, since ordering in the response data is
not specified. Triggered when run with postgres.

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

wheezy: urls module doesn't export defaults

d915cf3c 09/24/2013 02:11 pm Giorgos Korfiatis

astakos: Remove duplicate project query

Enrolling a user in a project now returns 409 if the project does
not exist, rather than 404.

ed2064f8 09/18/2013 05:17 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.6' into develop

Conflicts:
Changelog
docs/admin-guide.rst
snf-cyclades-app/synnefo/api/management/commands/network-remove.py
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/api/tests/servers.py
snf-cyclades-app/synnefo/logic/backend.py...

9ab3c6a3 09/16/2013 10:18 am Olga Brani

branding: new setting FOOTER_EXTRA_MESSAGE

FOOTER_EXTRA_MESSAGE setting appears above Copyright message at the
Compute templates and the Dashboard UI. Accepts html tags.

fbc82ad1 09/10/2013 04:05 pm Constantinos Venetsanopoulos

astakos: fix verification message

The new registration process of Astakos allows to verify the new
user's email before actually activating the user:

1. User signs up providing an email
2. A verification email is sent to the user (with verification link)...

3d08cdca 09/04/2013 07:48 pm Sofia Papagiannaki

astakos: Fix approval_terms view

Fix crash when request user is not logged in.
Add tests

e98239db 08/28/2013 04:36 pm Giorgos Korfiatis

astakos: Force a members limit in project applications

a23ac2f7 08/28/2013 03:22 pm Giorgos Korfiatis

astakos: Restrict project naming in API call

Use the same regex as in the UI, which matches domain-name-like strings.

59fa4893 08/27/2013 05:16 pm Olga Brani

astakos: Style for resource:ip (Dashboard->Usage)

98ea47ae 08/27/2013 03:44 pm Olga Brani

astakos: Correct padding auth methods headers

82a53261 08/09/2013 11:54 am Giorgos Korfiatis

astakos: Disable pagination and ordering in project tables

Prepare the tables for client-side ordering.

bb74d166 08/09/2013 11:54 am Olga Brani

astakos: project table client-side sorting

Client-side sorting and pagination for project-list tables

a5aa11ee 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix enroll when already requested

Enrolling a user sets its membership state directly to ACCEPTED, also
in case of REQUESTED.

2556cf45 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Describe and implement API for projects

0656aaa7 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: pep8 fix

6d583e07 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Simplify project schema

Applications now point to a project (rather than an extra model Chain).
A Project is created upon submitting an application; it always points to
a single `reference' application.

Model Chain is kept as a sequence to generate project ids.

c4028837 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Remove precursor_application field

Submit a project modification by specifying a project id rather than
an application

1a14083b 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Change project membership schema

Replace ProjectMembershipHistory with ProjectMembershipLog, which
records every state transition. Never delete any ProjectMembership
entry; set it instead to an appropriate state.

f243d667 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Adapt UI to new project schema

Base tables on projects rather than applications; update templates.

dc946891 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Omit project_id in membership operations

Identify a membership by its id only.

6335ad6f 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Lock project rather than chain

866e5768 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Cleanup checks for membership actions

b2369828 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Set project-wise resource limit in new app

e1723ca1 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Return membership when joining project

9024ed2e 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Catch exceptions in submit app views

Ignore exceptions in custom _create_object and _update_object;
let the views handle exceptions and specify commit strategy.

f12bcb3d 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Raise project-specific exceptions on failure

Replace IOError and PermissionDenied with project-specific exceptions.

c5b0bbb7 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Define permission levels for project actions

71c741dc 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Refactor membership checks for conciseness

da4ac460 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Add log info in membership actions

Record user who performed the action and optional reason.

50f74340 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Adapt tests to the new project schema

5cdbe7cc 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix sqlite-related migration issues

As per 63bcab0, do not attempt to delete index when run on sqlite.

88beea39 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Improve logging for Projects and Applications

Introduce model ProjectLog as well as fields in ProjectApplication
in order to record all actions.

1b52192e 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Lock globally when approving application

We need to make sure that the name to be approved is unique
among all non-terminated projects. We thus acquire a global
lock before approving.

e872c133 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Allow re-activation of terminated projects

Define function `reinstate' to re-activate a terminated project. If its
name is taken by another active project, it fails.

5192a608 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Remove unused ExtendedManager

3e87075a 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Use units common code in the UI

51db2da2 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix some issues pointed out by pyflakes

9096ffbb 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Update the project stress test

b10ceccd 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Enhance project tables rendering

Prefetch data in bulk queries in order to avoid continuously querying
the database.

d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.

7cfc0cef 08/05/2013 12:45 pm Christos Stavrakakis

snf-django: Move ListCommand to snf-django

snf-webproject contained the generic ListCommand, and because of this it
had a dependency from snf-django-lib. This commit moves this command from
snf-webproject to snf-django-lib and removes this dependency. Also,...

bbf20a4c 08/02/2013 08:02 pm Sofia Papagiannaki

astakos: Catch unexpected request body in user_catalogs

The request expects a json formatted dictionary.
Raise 400 (BadRequest) otherwise.

d4e4e501 07/25/2013 12:46 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.3' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-pithos-app/pithos/api/manage_accounts/__init__.py
snf-pithos-app/pithos/api/management/commands/reconcile-resources-pithos.py
snf-pithos-app/pithos/api/settings.py...

b130ec7c 07/18/2013 06:17 pm Kostas Papadimitriou

snf-branding: Expose contact email through branding mechanism

although CONTACT_EMAIL is not a branding setting, we use the branding mechanism
to expose it to brandable templates for practical reasons.

This also fixes the missing contact email from all project related emails.

8ff1e8d9 07/18/2013 05:57 pm Giorgos Korfiatis

astakos: Use api_method_not_allowed in quota API

cfe52787 07/18/2013 03:03 pm Giorgos Korfiatis

astakos: Resume a deactivated project upon approval

When approving a modification, automatically set the project to active,
if it has been deactivated.

2d31dfd7 07/17/2013 01:02 pm Giorgos Korfiatis

astakos: Fix quota API test

Sort list before comparing, since ordering in the response data is
not specified. Triggered when run with postgres.

3805be31 07/16/2013 05:07 pm Giorgos Korfiatis

astakos: Fix arg passing in messages

890f3d4c 07/12/2013 01:22 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views/target/__init__.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...

9f715f94 07/12/2013 01:10 pm Giorgos Korfiatis

astakos: Fix arg in terminate function

cbc7a32c 07/11/2013 06:12 pm Kostas Papadimitriou

astakos: Shibboleth wording improvements

- Customized logout success message
- Customized add prompt message

07ad7b1c 07/10/2013 01:25 pm Kostas Papadimitriou

Revert "astakos: Improve invalid login handling"

This reverts commit 02c1f22a0f7396a7b2211677db78247586e10805.

36f1eabb 07/09/2013 04:34 pm Kostas Papadimitriou

astakos: Prevent empty passwords in profile form

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

pep8 changes

02c1f22a 07/09/2013 01:12 pm Kostas Papadimitriou

astakos: Improve invalid login handling

avoid redirecting user to signup view. Notify user the login credentials was
invalid instead.

830747d2 07/09/2013 12:54 pm Kostas Papadimitriou

astakos: Shibboleth improvements

- include shibboleth headers in provider_details
- display eppn instead of identifier in profile

feebcc02 07/08/2013 02:18 pm Kostas Papadimitriou

astakos: Fix shibboleth headers logging

54256e77 07/05/2013 07:33 pm Georgios D. Tsoukalas

Merge branch 'feature-pithos-atomic-api' into develop

3472d390 07/05/2013 04:56 pm Sofia Papagiannaki

astakos: Fix api tests (remove obsolete)

0f433ce2 07/05/2013 12:38 pm Giorgos Korfiatis

astakos: pep8 fixes

9b12caae 07/02/2013 04:23 pm Sofia Papagiannaki

astakos: modifications in POST /tokens (authenticate) api call

  • tenantName is optional in the request
  • check whether the token holder is active and the token has not been
    expired
  • update and fix the tests
  • update the docs
8cd117e8 07/02/2013 10:25 am Olga Brani

astakos: Different image on login page

A different image is shown in the login page when the main
login method is 'local' and its form is already expanded.

28a890d3 07/01/2013 07:49 pm Kostas Papadimitriou

astakos: Update tests

fix pithos:// redirect params extraction

6ce8ecce 07/01/2013 04:36 pm Kostas Papadimitriou

astakos: Update tests

fix pithos:// redirect params extraction

ce264c16 06/28/2013 09:27 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
snf-astakos-app/astakos/im/views/projects.py
snf-cyclades-app/synnefo/logic/backend.py
snf-django-lib/snf_django/lib/astakos.py
version

abe6915b 06/28/2013 09:12 pm Christos Stavrakakis

Merge branch 'release-0.14' into develop

Conflicts:
snf-astakos-app/astakos/im/views/target/redirect.py
snf-cyclades-app/synnefo/logic/backend.py
version

387eee94 06/28/2013 05:41 pm Kostas Papadimitriou

astakos: Update tests

caabf67f 06/28/2013 05:30 pm Giorgos Korfiatis

astakos: Fix call of helper function

34244dfa 06/28/2013 03:16 pm Giorgos Korfiatis

astakos: Disallow join/leave for non-alive projects

8c8f856b 06/28/2013 01:34 pm Olga Brani

astakos: Correct plural in 1 pending membership

d895de37 06/28/2013 01:34 pm Giorgos Korfiatis

astakos: Fix listing of approved members

Include leave requested and suspended members in the list of approved.

f7c3c4c4 06/28/2013 12:27 pm Sofia Papagiannaki

astakos: return uuid in weblogin

The weblogin used to return the user uuid.
However, this in 0.14 version had been removed since the uuid
can be retrieved using the POST /tokens authentication method.
However, the old pithos clients have no other way
to get the uuid, so we restore it temporarily.

184f551f 06/19/2013 06:46 pm Georgios D. Tsoukalas

astakos: REDIRECT_ALLOWED_SCHEMES hidden setting

95d49da0 06/19/2013 06:32 pm Sofia Papagiannaki

astakos: fix reset password confirmation url

a92289d3 06/19/2013 06:27 pm Georgios D. Tsoukalas

astakos: remove URL-distorting full stops in emails

139eae46 06/19/2013 05:38 pm Kostas Papadimitriou

astakos: Fix third party creation form kwargs handling

view always passes request argument. Avoid propagating it to ModelForm
constructor.

1c13522f 06/19/2013 05:31 pm Sofia Papagiannaki

astakos: modifications in redirect view

  • If there is no next request parameter, the view fails with 400
    (BadRequest) response status.
  • ``pithosdev`` added in allowed schemes for the next parameter
e7726e14 06/19/2013 04:09 pm Kostas Papadimitriou

astakos: Fix regression in signup view

when recpatcha is enabled in astakos settings

f86ceff1 06/19/2013 01:01 pm Christos Stavrakakis

Merge branch 'release-0.14' into develop

Conflicts:
version

238a9ce3 06/18/2013 11:22 am Olga Brani

cloudbar: Body class "user-not-authenticated "when user has not signed in.