Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos @ 904fd3cd

# Date Author Comment
904fd3cd 05/31/2013 01:01 pm Kostas Papadimitriou

astakos: Dynamically set hand indicator in landing page

removed the hardcoded mapping between cloudbar and dashboard elements

27168a58 05/30/2013 01:42 pm Giorgos Korfiatis

astakos: Fix typo

23381834 05/30/2013 12:02 pm Kostas Papadimitriou

Merge branch 'feature-projects-ux' into develop

f5389699 05/29/2013 07:14 pm Kostas Papadimitriou

astakos: Handle project approval failures

when project approval fails chain_id is set to None causing reverse to fail.
Resolved by redirecting admin user to the projects list.

9df6f541 05/29/2013 07:13 pm Kostas Papadimitriou

astakos: common_detail views helper fix

early initialiaztion of variables that used only when project is available

75b8439a 05/29/2013 05:56 pm Olga Brani

Merge branch 'develop' of https://code.grnet.gr/git/synnefo into develop

acf78de3 05/29/2013 05:56 pm Olga Brani

branding: Improve footer appearance

Capitilize 'synnefo' in footer and remove space between v and version
number in footer

59eb6ec5 05/29/2013 04:40 pm Kostas Papadimitriou

astakos: Use redirect_back on project members actions

redirect browser back to tha page the action called from

06086f91 05/29/2013 04:32 pm Kostas Papadimitriou

asatkos: Include chain_id in logging message

5f21fc15 05/29/2013 04:31 pm Kostas Papadimitriou

astakos: Allow admin to access project members

440f7c0c 05/29/2013 04:28 pm Kostas Papadimitriou

astakos: Add redirect_back helper

used to redirect user back to the referer page if it's safe and possible

2faabbcd 05/29/2013 03:38 pm Olga Brani

astakos: Improve project members' actions UX

Show reject/approve button in 'project pending members' page.
Remove confirm dialog when user clicks outside dialog area.
Minor style changes.

bd93595d 05/29/2013 03:19 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
8eb176ab 05/29/2013 12:58 pm Kostas Papadimitriou

astakos: Include missing context variables

c363a678 05/29/2013 12:56 pm Kostas Papadimitriou

astakos: Include missing members_action view

cdf0a80b 05/29/2013 12:52 pm Kostas Papadimitriou

Merge branch 'feature-projects-ux' of https://code.grnet.gr/git/synnefo into feature-projects-ux

Conflicts:
snf-astakos-app/astakos/im/views/projects.py

9b846781 05/29/2013 12:36 pm Kostas Papadimitriou

astakos: Batch members actions template integration

udpated project members template to properly post selected membership ids to
the appropriate urls.

272ba9b9 05/29/2013 12:33 pm Kostas Papadimitriou

astakos: Batch project members action view

added new view to handle multiple project members actions. View accepts
multiple `members` parameters containing project membership ids.

/<chain_id>/members/remove/ -> removes project membership ids
/<chain_id>/members/accept/ -> approves posted membership ids...

b4a8228e 05/29/2013 12:31 pm Kostas Papadimitriou

astakos: Allow multiple args in confirm_link

0c27cc1b 05/29/2013 11:40 am Kostas Papadimitriou

astakos: Remove ^M's from common.js

7971e5da 05/29/2013 10:48 am Kostas Papadimitriou

astakos: Only allow owners/admins to access member views

0b058d6f 05/29/2013 10:39 am Kostas Papadimitriou

astakos: Only allow owners/admins to access member views

b6e2252e 05/29/2013 10:36 am Kostas Papadimitriou

astakos: Remove project members input limit

460b907d 05/29/2013 10:15 am Kostas Papadimitriou

Merge branch 'develop' into feature-projects-ux

Conflicts:
snf-astakos-app/astakos/im/templates/im/projects/intro.html
snf-astakos-app/astakos/im/templatetags/astakos_tags.py
snf-astakos-app/astakos/im/urls.py
snf-astakos-app/astakos/im/views.py

551381cd 05/29/2013 12:42 am Sofia Papagiannaki

astakos: add missing template

49005665 05/28/2013 07:56 pm Sofia Papagiannaki

astakos: provide authenticate keystone token api call

f870efe2 05/28/2013 07:56 pm Sofia Papagiannaki

snf-django-lib: Fix proxy issue

The ``X-Forwarded-Host`` header should not be forwared to the target
because django appends its value to the Host header and
results in validate_host() failure.

a4451f59 05/28/2013 06:22 pm Giorgos Korfiatis

quotaholder: Add management commands for commissions

Add commands `commission-list' and `commission-show' to display
pending commissions. The former supports option `--overdue' to
restrict the age of pending commissions.

Refs #3557

bd20edc6 05/28/2013 06:21 pm Giorgos Korfiatis

astakos: Handle datetime in API json response

Automatically convert a datetime to string using isoformat from
snf_django.lib.api.utils

164e64d5 05/28/2013 06:21 pm Giorgos Korfiatis

quotaholder: Store timestamps using DateTimeField

Add new fields issue_datetime in Commission and issue_datetime,
log_datetime in ProvisionLog. Migrate away from custom string-based
issue_time and log_time fields.

a39b3e16 05/28/2013 06:21 pm Giorgos Korfiatis

astakos: Remove invitation management commands

Also add a notice in docs that inviting is currently disabled.

5e1ea6f7 05/28/2013 02:20 pm Giorgos Korfiatis

docs: Update list of astakos commands

Also fix some help messages.

4548db7b 05/28/2013 01:54 pm Sofia Papagiannaki

astakos: rename full-cleanup command to cleanup-full

9577d199 05/28/2013 01:50 pm Kostas Papadimitriou

astakos: Rename group/authpolicy commands

- removed `user-` prefix for shorter command names
- condensed auth-policy to authpolicy

cfb7dd4f 05/28/2013 12:32 pm Giorgos Korfiatis

astakos: Move email subjects from settings to messages

Email subjects are parameterized by site name and application-
specific data. Other than that they should be constants rather
than settings.

Remove unused GROUP_CREATION_SUBJECT.

be2e3875 05/27/2013 06:35 pm Giorgos Korfiatis

astakos: Remove unused billing settings

Remove unused settings BILLING_FIELDS and QUEUE_CONNECTION.

85c9d0d8 05/27/2013 05:53 pm Kostas Papadimitriou

astakos: Include contrib.auth context processor

ea1369dc 05/27/2013 05:27 pm Giorgos Korfiatis

quotaholder: pep8 fixes

bf3b7d2d 05/27/2013 05:27 pm Giorgos Korfiatis

astakos: Add missing import in management command

190a2743 05/27/2013 05:27 pm Giorgos Korfiatis

astakos: Convert list-like settings to tuple

Settings ADMINS, MANAGERS, and HELPDESK are tuples even though they could
naturally be lists. If one sets by mistake one of these to list, this
triggers an error in notification code, which tries to concatenate them:...

17138f12 05/27/2013 05:19 pm Kostas Papadimitriou

astakos: Update tests

GET is not allowed to remove auth provider urls

93614ef0 05/27/2013 05:05 pm Kostas Papadimitriou

astakos: LinkedIn provider fix

initialize client in login view

933d3219 05/27/2013 05:05 pm Kostas Papadimitriou

astakos: Typo fix

incorrect variable use. Retrieve message from provider object instead of
astakos_messages module.

680c383d 05/27/2013 05:05 pm Kostas Papadimitriou

astakos: User auth methods handling fix

do not include third party logins of disabled provider modules (modules which
are not set in ASTAKOS_IM_MODULES). This fixes user's provider remove policy
resolution when user has multiple providers assigned but only one is enabled...

327a4c1e 05/27/2013 05:01 pm Olga Brani

astakos: Change auth provider remove HTTP method

Convert provider removal links to forms (using POST), in order to be able
to remove GET from the remove view allowed HTTP methods.

Refs #3793

aae2103e 05/27/2013 03:57 pm Kostas Papadimitriou

astakos: Update user-add command

removed activate option. User status can be changed using additional
user-modify commands (--verify, --accept etc.)

591068ae 05/27/2013 03:14 pm Kostas Papadimitriou

astakos: Conditionally autoexpand classic signup form

if classic signup ('local') appears first in IM_MODULES setting

07395a9a 05/27/2013 03:14 pm Kostas Papadimitriou

cloudbar: Handle relative service icon urls

df456124 05/27/2013 01:53 pm Giorgos Korfiatis

astakos: Add confirmation step in service-add

Since there is no way to delete a registered service, confirmation
is needed to register a service.

Add also a `--no-confirm' option to bypass this check in service-add
as well as in user-modify.

81bf669e 05/24/2013 05:49 pm Giorgos Korfiatis

astakos: Disable service renaming

Service name is significant: UI presentational data are indexed by
it; resource names are prefixed by it.

d8c7557c 05/24/2013 05:49 pm Giorgos Korfiatis

astakos: Fix args reading in service-add

Service URL and API URL where set the other way around.
Also add checks for the URLs being in use.

81846314 05/24/2013 01:23 pm Giorgos Korfiatis

astakos: Set type for existing services

Following Keystone there is now a `type' field in model Service.
This adds a data migration in order to set the type for existing
services as follows:
astakos: identity
cyclades: compute
pithos: storage

77fd77bf 05/24/2013 12:50 pm Giorgos Korfiatis

astakos: Show value even for unknown resource

Do not fail when looking up the unit, if resource is not found.

aae971b5 05/24/2013 12:50 pm Giorgos Korfiatis

astakos: Fix permissions of service-add.py

Unset execute bit for file service-add.py

e9eb1fb4 05/24/2013 12:50 pm Giorgos Korfiatis

astakos: Remove commands deleting services and resources

We do not support removing a registered service or resource.

22a46ee9 05/24/2013 12:50 pm Giorgos Korfiatis

astakos: Add new command service-show

Leave the most important fields of Service in service-list;
show all fields with service-show.

ab7ca50a 05/23/2013 05:44 pm Sofia Papagiannaki

astakos: fix astakos api tests

48646327 05/23/2013 04:41 pm Giorgos Korfiatis

Remove deprecated quotaholder settings

Remove remaining astakos and pithos-related references of quotaholder
from settings and docs.

c2f55dc8 05/23/2013 04:41 pm Giorgos Korfiatis

astakos: Remove setting PENDING_APPLICATION_LIMIT

7ac2131c 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: provide get_endpoints api call

58350a50 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: move get_services back to astakos im services

67920ea0 05/23/2013 02:07 pm Giorgos Korfiatis

astakos: Strengthen authentication in user_from_token

All user-related API calls make use of this decorator to authenticate
the user. Previously it used to check only for the existence of the token;
now it makes all checks previously found in the `authenticate' API call....

a0fcfb35 05/23/2013 01:58 pm Giorgos Korfiatis

astakos: Support changing resource's allow_in_projects

5a8067ad 05/23/2013 01:58 pm Giorgos Korfiatis

astakos: Cleanup management commands' common file

9fb7a900 05/23/2013 01:58 pm Giorgos Korfiatis

astakos: Move ExceptionHandler in views.util

It is view-specific and did not deserve a separate file.

44f510e1 05/22/2013 06:51 pm Giorgos Korfiatis

astakos: Support units in resource-related commands

Add library synnefo.util.units for parsing numerical values
with an optional unit suffix and printing integer values based
on a given style.

Styles `b', `kb', `mb', etc allow printing in the respective multiples...

9cd9bfe7 05/22/2013 01:31 pm Olga Brani

branding: Renaming SYNNEFO_JS_LIB_VERSION to SYNNEFO_VERSION

0be81d73 05/21/2013 07:41 pm Sofia Papagiannaki

astakos: move get_menu service under astakos im services

get_menu is used only by astakos cloudbar:
it should not be under astakos api services

8998f09a 05/21/2013 06:28 pm Sofia Papagiannaki

astakos: unified settings handling

Import astakos settings module instead of importing specific settings

398a9604 05/21/2013 03:06 pm Giorgos Korfiatis

astakos: Include project membership info in commands

`user-show --projects': Memberships and ownerships for a given user
in separate tables
`project-show --members': Members of the given project
7820534a 05/21/2013 03:06 pm Giorgos Korfiatis

astakos: Improve output of quota commands

67cf14bf 05/21/2013 03:06 pm Giorgos Korfiatis

astakos: Filter project listing by name or owner

Use a custom way to retrieve and filter project data; ListCommand is
not suitable when multiple tables must be consulted.

c34abd9c 05/21/2013 12:52 pm Kostas Papadimitriou

astakos: Update tests

ffcb71c3 05/21/2013 12:45 pm Kostas Papadimitriou

astakos: service-remove change to accept service id

instead of name

7bb081f5 05/21/2013 12:41 pm Kostas Papadimitriou

astakos: Respect module specific policies

also disable switch policy of shibboleth and local providers by default.
In the case of local provider it just doesn't make sense. Shibboleth doesn't
allow us to create a url which would force user to login with different...

cf40ee90 05/21/2013 12:41 pm Kostas Papadimitriou

astakos: Improve provider in use message

explicitly display the type/name of the `in use` provider

35e67254 05/21/2013 12:41 pm Kostas Papadimitriou

astakos: New user fields migration improvement

set accepted_policy to 'migration' for already accepted users which have not yet
a verified email address (old flow)

25769d1b 05/21/2013 12:41 pm Kostas Papadimitriou

astakos: Add AstakosUser status_display property

the property provides a status outline of the current user status.

3e0a032d 05/21/2013 11:54 am Sofia Papagiannaki

astakos: remove unused imports

70e11eaa 05/20/2013 09:18 pm Sofia Papagiannaki

astakos: reorganize views

  • split project views from the rest views
  • move third party authentication views (astakos.im.target)
    under astakos.im.views
  • move view decorators to a separate module
  • move utility methods utilized by views to a separate module
f7b7da5d 05/20/2013 05:48 pm Giorgos Korfiatis

quotaholder: Lock holdings in a single query

Order by primary key when selecting multiple holdings for update;
this most probably ensures that locking will happen in that order.

As per commit 2f90645, we select all holdings for the given holders,
rather that specifying all tuples (holder, source, resource), in order...

3715f954 05/20/2013 05:36 pm Giorgos Korfiatis

astakos: Remove code handling UserSetting

Keep UserSetting model; to be removed in a future version.

baa9073a 05/20/2013 04:16 pm Kostas Papadimitriou

astakos: Clean up tables on test completion

to get over sqlite driver issues to properly clean up database on transaction
test cases.

770dba12 05/20/2013 03:14 pm Giorgos Korfiatis

astakos: Update stress test code

2e7924de 05/20/2013 03:14 pm Giorgos Korfiatis

astakos: Remove some unused imports

Also add a missing import in quotas.py

3c22bad0 05/20/2013 03:14 pm Giorgos Korfiatis

astakos: Lock chain for projects, user for syncing

Lock project's chain for every operation affecting either a project or
an application. Subsequently, lock user when needing to sync or to issue
commission to update pending_app quota.

In views, replace locking qh_add_pending_app with check_pending_app_quota,...

734107ef 05/20/2013 03:09 pm Kostas Papadimitriou

branding: Use branding util to render email templates

Use synnefo_branding.util.render_to_string accross synnefo apps to be able to
use branding variables within the templates.

2af1eb9c 05/20/2013 03:09 pm Kostas Papadimitriou

astakos: Fix reset password email

cdf83989 05/20/2013 03:08 pm Kostas Papadimitriou

astakos: Remove hardcoded urls from templates

use IM_STATIC_URL instead

e182fc26 05/20/2013 03:02 pm Sofia Papagiannaki

astakos: do not catch send mail errors

The user should not be informed if for any reason
the server can not send an email.

860bb9f7 05/20/2013 02:25 pm Sofia Papagiannaki

Revert "astakos: fix send mail error handling"

This reverts commit 903ce7dccb44db3d3e5fd280a7683747dfa37d7f.

903ce7dc 05/20/2013 01:58 pm Sofia Papagiannaki

astakos: fix send mail error handling

Restore SendMailError, ChangeEmailError and SendFeedbackError exceptions
(deleted by previous commit) since they are still used.

14a7ba1a 05/20/2013 12:53 pm Sofia Papagiannaki

astakos: add astakos.im.decorators module

222305b7 05/20/2013 12:44 pm Sofia Papagiannaki

astakos: replace CookieAuthenticationMiddleware with a view decorator

reverse commits ab30f5f163a13dfc7f9bec4d263208dd35f09d16 &
1439d6383113b151b6a3316e320a0418fa30d421

decorate also ``django.contrib.auth.views`` utilized by
astakos

0b817216 05/20/2013 10:35 am Kostas Papadimitriou

astakos: Minor improvements in email change process

- Explicit handling of invalid email change activation code.
- Permission denied response if user is authenticated and email change code
is assigned to another user.
- Improve logging
- Updated tests

2d5b79ac 05/20/2013 08:37 am Kostas Papadimitriou

astakos: Update django requirements in synnefo settings

since session and messages middleware classes removed from webproject we should
explicitly set them on astakos settings.

e585664e 05/17/2013 10:41 am Christos Stavrakakis

astakos: Fix typo in tests

ab30f5f1 05/16/2013 08:30 pm Sofia Papagiannaki

astakos: fix incomplete previous commit

commit 1439d6383113b151b6a3316e320a0418fa30d421

1439d638 05/16/2013 08:27 pm Sofia Papagiannaki

astakos: api calls authenticated via X-Auth-Token shall not affect cookie

CookieAuthenticationMiddleware.process_request() synchronizes
the astakos cookie with the request user.
If an astakos cookie is set but there is no logged in user,
the middleware deletes the cookie....

1ac3349d 05/16/2013 07:54 pm Kostas Papadimitriou

astakos: Split settings in separate modules