Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos @ fb4ef6eb

# Date Author Comment
fb4ef6eb 10/16/2013 09:21 pm Kostas Papadimitriou

astakos: Activation view improvements

Reject empty activation code requests

4ed19ae2 10/15/2013 03:34 pm Giorgos Korfiatis

astakos: Add missing save in reject_user

3848b521 10/15/2013 03:34 pm Giorgos Korfiatis

astakos: Handle quota for accepted users

A user is accepted if moderated=True and is_rejected=False. Only
accepted users have entries in the quotaholder.

63c07fdd 10/07/2013 04:00 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.

ed355f9a 10/07/2013 03:26 pm Kostas Papadimitriou

astakos: Store arbitrary shibboleth headers

additionally to common shibboleth headers, append any arbitrary shibboleth
headers (SHIB_*) set from the IdP.

64cfc21e 10/07/2013 02:58 pm Kostas Papadimitriou

astakos: Correctly set user password in user-add

password field contains the user password in hashed format. The proper way
to populate the field is by using the set_password method of the user object.

1b27f8a2 10/04/2013 01:55 pm Giorgos Korfiatis

astakos: Handle quota for moderated users only

At some points, verified users where mistakenly assumed.

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

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.

90e8267c 09/25/2013 10:26 am Christos Stavrakakis

Add messages context processor to default settings

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

wheezy: urls module doesn't export defaults

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.

5718706f 09/12/2013 06:26 pm Giorgos Korfiatis

astakos: Add missing cyclades service in script

759b8a43 09/12/2013 06:26 pm Giorgos Korfiatis

pithos: Clear pithos_public endpoint's versionId

pithos_public service is not an API and should not be versioned; the
public URLs operated by pithos do not include a version segment, anyway.

Also make its type more specific, since type `public' is too generic.

347b2ba1 09/12/2013 06:26 pm Giorgos Korfiatis

common: Strip trailing slash from endpoints

Remove trailing slash from the endpoints' publicURL field in service
definitions. These values end up in the response of POST /tokens, and,
according to the keystone API, should not end in slash. A trailing slash...

beb2b785 08/30/2013 12:01 pm Christos Stavrakakis

Move middlewares from snf-common to snf-webproject

49044e69 08/30/2013 12:01 pm Christos Stavrakakis

Move context_processors from common to middleware

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.

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

astakos: Fix arg passing in messages

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

astakos: Fix arg in terminate function

4ef6b22c 07/12/2013 11:43 am Christos Stavrakakis

astakos: Add region value in POST /tokens

Add hardcoded 'default' value in region attribute.

Refs #4086

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

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

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

astakos: Update tests

fix pithos:// redirect params extraction

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.

05c1b849 06/28/2013 11:35 am Giorgos Korfiatis

astakos: Force usage registration during migration

Register usage for astakos.pending_app even if limit is exceeded.

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.

e7726e14 06/19/2013 04:09 pm Kostas Papadimitriou

astakos: Fix regression in signup view

when recpatcha is enabled in astakos settings

db4761e6 06/18/2013 12:21 pm Giorgos Korfiatis

astakos: Update pithos_public definition in script

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

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

a1ed6730 06/18/2013 10:39 am Kostas Papadimitriou

astakos: Typo fix

a53f77ee 06/18/2013 10:39 am Kostas Papadimitriou

astakos: Explicit transaction handling in commit_manually views

since django 1.3, when using the ``transaction.commit_manually`` decorator,
transaction is required to be closed (using either commit/rollback) even if
only read db operations are executed from within the wrapped method.

85ad2a86 06/17/2013 03:59 pm Giorgos Korfiatis

astakos: Fix typo in message

67e42ae9 06/17/2013 03:59 pm Giorgos Korfiatis

astakos: Remove obsolete versioning from init

ffdb9fcc 06/17/2013 03:17 pm Olga Brani

cloudbar: Add class to body when user is authenticated

68a8935f 06/17/2013 01:35 pm Giorgos Korfiatis

astakos: Fix dangerous list default value

Initialize the argument with the desired list in runtime rather than
load time; set the default to None.

967a99e1 06/14/2013 06:01 pm Kostas Papadimitriou

astakos: Proper content type for .kamakirc view

Django response object content_type attribute is not used. Pass desired content
type in HttpResponse constructor.

b940f71d 06/14/2013 05:59 pm Olga Brani

astakos: Fix typo in api_access template

5836ccb9 06/14/2013 03:25 pm Olga Brani

astakos: Verbal changes to Dashboard API access page

35ea56ac 06/14/2013 01:18 pm Kostas Papadimitriou

astakos: Remove default components presentation urls

since component registration requires both api url and web url

34f96255 06/13/2013 06:00 pm Olga Brani

astakos: New projects icon for Dashboard Usage tab

452436aa 06/13/2013 06:00 pm Olga Brani

astakos: Sent emails appearance fix.

Removing extra lines and spaces from email templates.
Decode contact email special characters.

0c5f437e 06/13/2013 06:00 pm Olga Brani

astakos: Add "sign in" link to Sign up page

039761fd 06/13/2013 05:47 pm Giorgos Korfiatis

astakos: Better examples base URLs in helper script

80a30d20 06/13/2013 05:23 pm Kostas Papadimitriou

astakos: Document ASTAKOS_USAGE_UPDATE_INTERVAL setting

cb26c74e 06/13/2013 03:08 pm Georgios D. Tsoukalas

astakos: fix duplicate test method names

82bda7bb 06/13/2013 01:15 pm Olga Brani

astakos: Alter projects intro message (revised)

31240d2c 06/13/2013 01:15 pm Olga Brani

astakos: Adding info for other clients in API access page

31b499f3 06/13/2013 01:15 pm Olga Brani

astakos: change renew token button style (API access page)

fdb7ff88 06/13/2013 01:15 pm Olga Brani

branding: Alter projects intro message

4b805d30 06/13/2013 11:22 am Kostas Papadimitriou

astakos: By default exclude pending_apps from usage view

3466f0a3 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: API access page url fix

remove trailing /tokens from `Authentication URL`

630e6b6d 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Some additional tests

d75baafa 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Redirect local login GET requests to login

1ca02d1a 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Kamaki sample config file view

b6496f0c 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Dynamically resolve login_url in login_required

duplicated django user_passes_test and login_required decorators to be able
to dynamicaly resolve the url to which we redirect unauthorized users. Replaced
django login_required with astakos.im.views.decorators.login_required.

63bcab00 06/12/2013 04:42 pm Giorgos Korfiatis

astakos: Fix sqlite-related issues in migration

In migration 0022, ProjectApplication's field `chain' is altered from
a plain integer field to a foreign key. This triggers a south command
to create an index for the said field. However, it seems that sqlite...

8aaf4f0d 06/12/2013 04:12 pm Georgios D. Tsoukalas

astakos: test 400 on wrong astakos API paths

a01eb018 06/12/2013 04:06 pm Sofia Papagiannaki

astakos: allow empty tenantName in POST /tokens

a08f9369 06/12/2013 03:11 pm Giorgos Korfiatis

astakos: Update pithos_public in helper script

11366070 06/12/2013 02:33 pm Sofia Papagiannaki

astakos: slight change in POST /tokens

tenantName is options in the request input.
Howver, if it is provided, the call should check whether
it conforms with the token holder.

2968180f 06/12/2013 02:33 pm Sofia Papagiannaki

astakos: fix tests

269ac8de 06/12/2013 02:28 pm Christos Stavrakakis

Ensure we return cloud faults under any API prefix

02928611 06/12/2013 01:41 pm Olga Brani

astakos: firefox text alignment bug fix for API access page

9c6bd23f 06/11/2013 07:17 pm Olga Brani

astakos: Improved style for API access page

7f8af0e9 06/11/2013 05:56 pm Sofia Papagiannaki

astakos: slight change in POST /tokens

Return the web login url also in the custom ``SNF:webloginURL``
attribute

559f8135 06/11/2013 04:39 pm Giorgos Korfiatis

astakos: Add weblogin definition in helper script

07860de2 06/11/2013 02:25 pm Sofia Papagiannaki

pithos: change POST /tokens

move SNF:uiURL under each endpoint

1ecda536 06/11/2013 02:21 pm Kostas Papadimitriou

astakos: Separate index/login views

- Login view added. The view renders the login template.
- Index view acts as a gateway to landing/login views based on whether the
user is authenticated.

900325e8 06/11/2013 02:21 pm Kostas Papadimitriou

astakos: Additional user info in activated notification

336fb8fb 06/11/2013 01:56 pm Sofia Papagiannaki

astakos: fix POST /tokens in case of missing content length

Catch this case and reply with the non authentication protected
information (public mode)

bdb325a1 06/11/2013 12:42 pm Georgios D. Tsoukalas

astakos: add weblogin service for non-web clients

7c3549f0 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Improved restrict_next utility

Validate url against both provided domain and allowed_schemes

9dd94cc7 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Remove uuid parameter from weblogin redirect

url only contains token parameter. Clients can use the identity/tokens endpoint
using the gathered token to access the uuid information.

5b65fb47 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Updated tests

include weblogin view tests

fce2ebcb 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Update tests

properly clean up database on each test tearDown

65dad30c 06/10/2013 09:37 pm Sofia Papagiannaki

astakos: change web login view

  • allow only GET method
  • ignore next request parameter unless it has pithos scheme
d29f0371 06/10/2013 09:37 pm Sofia Papagiannaki

astakos: change authenticate keystone api call

If no request body is provided (no request content length),
the response returns only non authentication protected information
(before it used to return BadRequest)

948dd719 06/10/2013 06:52 pm Olga Brani

astakos: Api token view firefox bug fix

Auth url and API token in API access page are disabled html inputs.
On firefox, these inputs are replaced by <span> elements to allow them to
be selected on user click.

b4109758 06/10/2013 06:11 pm Giorgos Korfiatis

astakos: Rename helper script for uniformity

Rename snf-register-components to snf-component-register.