Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im @ 5f28aa14

# Date Author Comment
4991129c 06/03/2013 03:17 pm Kostas Papadimitriou

astakos: Relative default redirect urls

5f28aa14 06/03/2013 03:17 pm Kostas Papadimitriou

astakos: Update auth tests

eb90fc82 06/03/2013 02:10 pm Giorgos Korfiatis

astakos: Purge services for a given component

Provide option `--purge-services' in command component-modify.
One can always use service-import to register the services again.

b55b9692 06/03/2013 02:09 pm Giorgos Korfiatis

common: Export only services specified as public

Employ helper function `filter_public' in service-export-* commands.
Also set `pithos_ui' service to non-public and clear version of
`astakos_ui'.

bea584e1 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Lift old-style services to components

Add model Component and migrate services along with their token
and UI URL to this new model. Rename service to component where
needed.

Add field service_type in Resource and fill it based on the name
of the service that used to own the resource.

0446cc58 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Add new-style services with endpoints

Drop old Service model and add models Service, Endpoint, and EndpointData.
Remove Resource's reference to Service.

252eef38 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Add commands to handle components

bd1f667b 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Import new-style services and resources

7b0f970f 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Impose uniqueness on auth_token

Add uniqueness constraint in AstakosUser and Component models.
Before that, invalidate (set to None) any duplicate tokens.

When renewing a token, retry a couple of times, if generated token
is in use.

484a79a1 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: configure prefixes from service catalog

6c7af65c 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: remove BASEURL, use BASE_URL setting

4080a1df 06/03/2013 11:50 am Georgios D. Tsoukalas

service catalogs: autofill endpoints from BASE_URL

d861a967 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: add service-export-astakos command

d5b50cf0 06/03/2013 11:50 am Giorgos Korfiatis

astakos: Move old scripts under astakos/scripts

Empty im/scripts directory.

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

3c5a2b21 05/31/2013 01:40 pm Kostas Papadimitriou

astakos: Configurable third party provider endpoints

not so often, but providers do seem to change urls

428c4e0a 05/31/2013 01:06 pm Kostas Papadimitriou

astakos: Remove debug assertion

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.

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.

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

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.