Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im @ 14a7ba1a

# Date Author Comment
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

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

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

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

0b48a1b4 05/14/2013 05:01 pm Giorgos Korfiatis

astakos: Indent json output of resource export

8b9e871d 05/14/2013 03:14 pm Olga Brani

Merge branch 'develop' into feature-branding

Conflicts:
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
snf-astakos-app/astakos/im/templates/im/base.html
snf-astakos-app/astakos/im/templates/im/landing.html
snf-astakos-app/astakos/im/views.py...

1e23ceb2 05/14/2013 12:32 pm Olga Brani

Synnefo branding: Remove greek text & verbal fixes

Emails sent to Astakos Users do not contain greek translations any more.
Minor verbal corrections are made and title attribute are added to logos
links.

764d99c4 05/14/2013 10:41 am Giorgos Korfiatis

astakos: Remove command user-set-initial-quota

To change base quota for a specified user:
snf-manage user-modify user --set-base-quota resource limit

To import base quota in batch from a file:
snf-manage astakos-quota --import-base-quota filename

Rename `initial' to `base quota' in command output....

38aff106 05/13/2013 05:40 pm Sofia Papagiannaki

astakos: remove obsolete code

91eca048 05/13/2013 04:00 pm Giorgos Korfiatis

astakos: List quotas in user-show with `--quotas'

Refs #3530

Use the same utility function as astakos-quota. Update the latter
to a SynnefoCommand.

95f33116 05/13/2013 01:56 pm Giorgos Korfiatis

astakos: Use DateTimeField for enhanced precision

Refs #3717

Replace instances of DateField in ProjectMembership and
ProjectMembershipHistory.

5dcf6618 05/13/2013 01:44 pm Giorgos Korfiatis

Revert "astakos: Fix bug in getting membership"

This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e.

Update astakos tests to use membership id.

2215cd87 05/13/2013 11:47 am Giorgos Korfiatis

astakos: Remove an obsolete function

b095201e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove astakos.im.api module

Replace all AstakosCallpoint references

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

126f6a55 05/09/2013 06:45 pm Christos Stavrakakis

fix typo

95150b7d 05/09/2013 06:40 pm Christos Stavrakakis

astakos: Fix one test

Fix race condition in one of Astakos tests.

2a88057d 05/09/2013 04:15 pm Christos Stavrakakis

astakos: Various fixes to tests

Do not user 'assertItemsEqual' method of unittest is only supported in
python 2.7.

Also, some arguments have been renamed.

7ce770be 05/09/2013 04:14 pm Christos Stavrakakis

astakos: Fix bug in getting membership

Search based on 'person__id' and not 'id'.

6e28eafd 05/09/2013 03:37 pm Olga Brani

Further improvents to branding settings

5c34b421 05/08/2013 06:34 pm Giorgos Korfiatis

astakos: Remove deprecated Project methods

add_member, remove_member were not used.

415c4a56 05/08/2013 06:24 pm Giorgos Korfiatis

astakos: Visually separate apps in project-show

68a81d58 05/08/2013 06:10 pm Olga Brani

Synnefo branding: settings improvements

34a857c0 05/08/2013 03:25 pm Kostas Papadimitriou

astakos: Handle prompt for additional login methods

8ee54f74 05/08/2013 03:24 pm Kostas Papadimitriou

astakos: Exclude non existing services form Service.catalog

Always return services that exist in database. If a known service exists
use the predefined presentation data as base dict upon which we build up
the returned info by merging the data stored in service model and the...

7f3c4920 05/02/2013 03:49 pm Giorgos Korfiatis

astakos: Control project members by membership id

64d0c13e 05/02/2013 12:56 pm Giorgos Korfiatis

astakos: Add reason for all actions on applications

For cancel and dismiss, it is for now just a placeholder.

a6e18fd1 05/02/2013 12:14 pm Giorgos Korfiatis

astakos: Cleanup some project methods

6da04174 05/02/2013 11:54 am Giorgos Korfiatis

astakos: Make submit_application arguments explicit

5a6420ec 05/01/2013 11:35 pm Giorgos Korfiatis

astakos: Remove unneeded import of a constant

eee9ec4d 05/01/2013 05:28 pm Giorgos Korfiatis

astakos: Cleanup input of submit_application

Form passes only a tuple (name, limit) for each selected resource,
omitting presentational data.

3966d268 05/01/2013 04:43 pm Giorgos Korfiatis

astakos: Handle pair of exceptions properly

6be5bb34 05/01/2013 03:54 pm Giorgos Korfiatis

astakos: Remove unused project_error_view

52346a89 04/30/2013 08:17 pm Kostas Papadimitriou

Merge branch 'tmp-allow-in-projects' into feature-quotas

37d59b27 04/30/2013 08:09 pm Kostas Papadimitriou

astakos: Resources metadata improvements

- Allow admin to overwrite default resources presentation data using
ASTAKOS_RESROUCES_META setting. dict_merge is used to accomodate admin
from declaring all available metadata parameters.
- Enforce allow_in_projects resource policy in project application...

ffdc2320 04/30/2013 06:54 pm Olga Brani

Synnefo branding images & retina.js

21a9ae81 04/30/2013 05:00 pm Christos Stavrakakis

Merge branch 'develop' into feature-quotas

c8618788 04/30/2013 03:45 pm Giorgos Korfiatis

astakos: Control exposing resources in projects

Add attribute `allow_in_projects' in Resource model (True by default).
Set this flag for astakos.pending_app to False in the description
of astakos resources.

3f5851eb 04/29/2013 05:11 pm Giorgos Korfiatis

astakos: Reconcile resources

Sync number of pending applications to quotaholder.

9e3af524 04/29/2013 05:11 pm Giorgos Korfiatis

astakos: accept commission immediately after issue

Unify these operations when registering a pending application,
in order to make sure no commission can be left pending.

67cd4980 04/29/2013 12:55 pm Kostas Papadimitriou

Merge remote-tracking branch 'origin/develop' into feature-branding

Conflicts:
snf-astakos-app/astakos/im/templates/im/footer.html
snf-cyclades-app/setup.py

ec5e00aa 04/29/2013 12:13 pm Giorgos Korfiatis

Revert quotaholder's name to quotaholder_app

In order to facilitate migrations.

68b991bc 04/29/2013 12:12 pm Giorgos Korfiatis

quotaholder: Rename counters to usage_min, usage_max

f6e7a826 04/29/2013 11:14 am Giorgos Korfiatis

quotaholder: Impose non-null commission name

Default to empty string

0644dc92 04/26/2013 08:41 pm Sofia Papagiannaki

astakos: remove unwanted logging

29576723 04/26/2013 07:13 pm Sofia Papagiannaki

astakos: Fix twitter access token request failure

The oauth_verifier received from the executed callback has to be passed
to the access_token request (it is no more optional)
https://dev.twitter.com/discussions/16443#comment-36666

Updated twitter oath service urls

20f68e60 04/26/2013 04:41 pm Giorgos Korfiatis

astakos: Migrate service and resource names

- Rename 'pithos+' to 'pithos'
- Prepend resource names with 'service_name.'

bd7fe7c1 04/26/2013 12:47 pm Sofia Papagiannaki

Merge branch 'feature-change-astakos-commands' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/management/commands/resource-list.py
snf-astakos-app/astakos/im/management/commands/service-list.py
snf-astakos-app/astakos/im/management/commands/service-modify.py...

65fb5cf6 04/25/2013 04:22 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
astakosclient/astakosclient/__init__.py
astakosclient/astakosclient/errors.py
astakosclient/astakosclient/tests.py
docs/index.rst

3a527b3a 04/25/2013 04:01 pm Giorgos Korfiatis

astakos: Separate importing resources from setting limits

`snf-manage resource-import' does not provide a way to change the
default base quota any more. When importing a resource for the first
time, it sets the limit to zero.

Use `snf-manage resource-modify' to change limits. It supports both...

ba886e03 04/23/2013 06:27 pm Kostas Papadimitriou

astakos: Update projects tests

e4a6c11d 04/23/2013 06:19 pm Giorgos Korfiatis

astakos: Define and export local resources

0a7a4104 04/23/2013 06:04 pm Kostas Papadimitriou

astakos: Replace some explicit settings imports

importing setting names explicitly makes it hard to write tests that
depend on specific setting values and polutes the module namespace.

In this commit only settings that are currently used in tests where
refactored.

450c7fb0 04/23/2013 05:09 pm Kostas Papadimitriou

astakos: Initial tests for project views

271d2c4c 04/23/2013 03:40 pm Giorgos Korfiatis

astakos: Rename get_service_quotas to service_get_quotas

So that it follows the naming scheme of other astakosclient calls.

9770ba6c 04/23/2013 02:50 pm Giorgos Korfiatis

Handle max pending applications as a quotable resource

Assume a resource `astakos.pending_app' related to service `astakos'.
On submitting an application, issue a commission that will update the
related counter if possible, and accept the commission on success....

948e15bc 04/22/2013 06:47 pm Giorgos Korfiatis

Turn callpoint into a module of functions

Class structure is no more needed; there is no need for initialization,
since the code is used internally.

a0b34382 04/22/2013 06:33 pm Giorgos Korfiatis

astakos: Reintroduce foreign key from Resource to Service

Also merge all migrations from 0026 to 0032.

9b126f13 04/22/2013 05:50 pm Giorgos Korfiatis

astakos: Move helper function from qh to quotas.py

abdf6d92 04/22/2013 05:29 pm Giorgos Korfiatis

astakos: Use `with' to open file in management command

5cf5eb56 04/22/2013 05:23 pm Giorgos Korfiatis

astakos: Sync users when importing base quotas from file

d07ce657 04/22/2013 04:18 pm Giorgos Korfiatis

astakos: Standardize arguments of project calls

All calls take a request_user (of type AstakosUser) argument.

7a08e179 04/22/2013 04:18 pm Giorgos Korfiatis

pep8 and style changes

e05c541e 04/22/2013 04:17 pm Giorgos Korfiatis

astakos: Enroll in project even if request is pending

08043775 04/22/2013 04:14 pm Giorgos Korfiatis

astakos: Move get_resources in resources.py