Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ ea1369dc

# Date Author Comment
ea1369dc 05/27/2013 05:27 pm Giorgos Korfiatis

quotaholder: pep8 fixes

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.

64242f0a 05/23/2013 04:41 pm Giorgos Korfiatis

astakos: Update services and resources settings

Replace ASTAKOS_SERVICES and ASTAKOS_RESOURCES_PRESENTATION_DATA with
ASTAKOS_SERVICES_META and ASTAKOS_RESOURCES_META in conf files
respectively.

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.

ed8c7696 05/23/2013 01:28 pm Constantinos Venetsanopoulos

Make README files of sub-components obsolete

Since v0.14 everything belonging in a README file should be written
as part of the documentation and thus under docs/. Remove all
unnecessary README files, adjust MANIFEST.in and setup.py files
accordingly and move README files that should be merged into the...

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

8c26221c 05/22/2013 06:14 pm Olga Brani

branding: Correct commented settings in all *.conf files

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.

4b01493d 05/17/2013 05:25 pm Georgios D. Tsoukalas

fix dependency snf-branding-app -> snf-branding

7d6c08c1 05/17/2013 05:25 pm Georgios D. Tsoukalas

astakos: remove okeanos reference from cloudbar 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

f78059a4 05/16/2013 07:34 pm Kostas Papadimitriou

astakos: Update activation email content

0c46608c 05/16/2013 07:14 pm Kostas Papadimitriou

astakos: Clean up user-list filter options

removed deprecated options `-p` and `-n`. Admins should use
`--pending-moderation` and `--pending-verification` instead.

abf57c77 05/16/2013 07:09 pm Kostas Papadimitriou

astakos: Allow admin to verify user from command line

using the new option `--verify` added in `user-modify` command

5aa83766 05/16/2013 06:57 pm Kostas Papadimitriou

Merge branch 'feature-branding' into develop

Conflicts:
snf-astakos-app/astakos/im/templates/im/account_pending_moderation_notification.txt
snf-astakos-app/astakos/im/templates/im/group_creation_notification.txt
snf-astakos-app/astakos/im/views.py

205cc8d3 05/16/2013 06:41 pm Giorgos Korfiatis

Catch QuotaLimit exception when reconciling resources

This can happen, if the actual usage registered by a service exceeds
the quota limit.
Advise the user to try the --force option.

369628b8 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Let qh errors through when issuing commission

When registering pending apps, catch only NoCapacityError. No other
QuotaholderError is expected and should not be treated here.

de292e89 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Do not show obsolete user settings

Also fix printing user quota.

01b8fb9a 05/16/2013 06:41 pm Giorgos Korfiatis

quotaholder: Ignore force option when releasing

Since negative usage makes no sense, we always check this lower
boundary when issuing a commission.

103086a4 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Force query eval when used in __in filter

Related to commit aee9a38

Also fix call of qh_sync_users in migration script.

fa186923 05/16/2013 06:41 pm Giorgos Korfiatis

astakos: Allow submitting application with no resources

315fe235 05/16/2013 06:30 pm Christos Stavrakakis

astakos: check that request.user is a 'User'

Update astakos 'get_menu' API method, to check if request.user is an
instance of django User model. This view function called by astakos
context processor. However, if astakos and helpdesk are installed
together, the request.user will not hold an AnonymousUser, but a...

39e16ecc 05/16/2013 06:09 pm Kostas Papadimitriou

astakos: Update tests

Enforce Group entries flush. As a fix to strange errors raised while running
tests using sqlite database. The driver doesn't seem to be able to properly
cleanup related database entries, a procedure that takes place after each
execution of a TransactionTestCase test.

0d48fd8f 05/16/2013 05:40 pm Kostas Papadimitriou

astakos: Typo fix

ea36d0d3 05/16/2013 04:25 pm Kostas Papadimitriou

astakos: Fix provider_login_url template tag

263cb456 05/16/2013 03:47 pm Olga Brani

Synnefo branding: Documentation correction & minor fixes

d6af92ac 05/16/2013 03:00 pm Kostas Papadimitriou

Merge branch 'develop' into feature-astakos-userflow

aba462a2 05/16/2013 02:55 pm Giorgos Korfiatis

astakos: Adapt tests to 2.6-style unittest

Define assertGreater, assertIn, assertRaises in snf_django.utils.testing

93a77d30 05/16/2013 02:55 pm Giorgos Korfiatis

common: Disable proxy in tests

Do not follow redirections in im tests.

e7cb4085 05/15/2013 07:03 pm Kostas Papadimitriou

astakos: User activation flow improvements

Major refactoring on user email verification/activation process
---------------------------------------------------------------
Activation logic moved from dispersed code in functions/view modules to
ActivationBackend methods. All user activation handling code in astakos views...

ba27316a 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Update tests

- In sync with new AstakosUser model
- Remove nested settings wrappers to slightly increase tests performance

3dfb68fe 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Remove deprecated AstakosUser fields

7beef200 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Avoid using dicts as default arguments

07e2a93d 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove obsolete code

Remove project_tests.py, empty package im.endpoints and fixtures

251b83be 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove membership policy settings

Available join and leave policies are internally defined and should
not be changed by settings. Move policy descriptions to presentation.py.

Do not convert to string the lookup key in templatetags/filters.py

9e812adf 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove obsolete keyword argument ctx

e336910f 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Improve quota syncing

- Split code that lists and syncs quotas
- Merge the latter with qh_sync_users
- Move qh_sync_projects in quotas.py; sync only active members
- Add missing select for update in project suspend
- Clean up quotas.py
781c7b4b 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Remove two options from resource-import

--service: We do not support automatic importing of resources
--conf: Use resource-modify to configure resource limit

d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

14381fd0 05/15/2013 06:20 pm Sofia Papagiannaki

astakos: keep top level api urls for this version

6609821f 05/15/2013 06:13 pm Sofia Papagiannaki

astakos: change authenticate api call

``/astakos/api/authenticate`` call
does not include any more resource usage in the reply.
(``usage`` request parameter has become obsolete)
The services in order to get the resource usage should call
``/astakos/api/quotas`` instead.

075b91de 05/14/2013 06:53 pm Giorgos Korfiatis

astakos: Rename astakos-quota command to quota

Also replace `quotas' with `quota' in strings and command line options.

c80722ce 05/14/2013 05:46 pm Giorgos Korfiatis

astakos: Tests for quota API calls

1e361a6d 05/14/2013 05:14 pm Giorgos Korfiatis

astakos: Return empty dict when no user quotas found

73c02f75 05/14/2013 05:04 pm Giorgos Korfiatis

astakos: Return resource object upon creation