Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / functions.py @ 20a29096

History | View | Annotate | Download (25.5 kB)

# Date Author Comment
6cee26a0 01/30/2013 05:20 pm Giorgos Korfiatis

Restrict argument of approve_application() to application id

610d0948 01/26/2013 09:28 pm Giorgos Korfiatis

Remove obsolete function get_project_id_of_application_id

a75dbd7b 01/25/2013 12:26 pm Giorgos Korfiatis

View for cancelling a pending application

d4660e00 01/24/2013 07:04 pm Giorgos Korfiatis

Changes in project_detail

Distinguish project/application view as well as
owner/simple user mode

8cf9b2dd 01/23/2013 06:59 pm Giorgos Korfiatis

Use custom project_transaction_context in project views

7d145e78 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback email sender and body

aad0e329 01/22/2013 06:55 pm Giorgos Korfiatis

Option to cancel membership request

3e3743f2 01/22/2013 05:56 pm Giorgos Korfiatis

wip More progress with chains

ff67242a 01/22/2013 01:28 pm Giorgos Korfiatis

wip Project views by chain_id

01bdbd17 01/22/2013 11:58 am Giorgos Korfiatis

Checks for operations on applications

14f7f6a5 01/22/2013 11:30 am Giorgos Korfiatis

Fix membership checks

d4fc6292 01/21/2013 11:45 pm Giorgos Korfiatis

Checks for membership functions

f9224cc0 01/21/2013 09:11 pm Sofia Papagiannaki

Fix unicode urlencoding in feedback call

3c049f6d 01/21/2013 02:16 pm Giorgos Korfiatis

Better log printing

84a3f701 01/18/2013 04:59 pm Giorgos Korfiatis

Advances in syncing quotaholder with astakos

Factor out trigger_sync() as lock_sync() to be used for other
sync processes in addition to sync_projects().
Implement sync_users(), which registers users and their quotas.
Use both sync processes in astakos-qh-sync management command.

7eadc230 01/17/2013 06:52 pm Giorgos Korfiatis

Management command to check and perform project expiration

db99f198 01/15/2013 02:56 pm Giorgos Korfiatis

Implement project suspension and resumption

Merge membership's SUSPENDED and TERMINATED states into PROJECT_DEACTIVATED.

79991070 01/14/2013 07:40 pm Giorgos Korfiatis

Remove unused update_application()

3c638f72 01/14/2013 07:40 pm Giorgos Korfiatis

Add states DISMISSED and CANCELLED in ProjectApplication and related calls
Fix defaults in DateTimeFields

0514bcc7 01/14/2013 05:50 pm Giorgos Korfiatis

Changes in registering to quotaholder

Add an 'uplimit' (default) field in Resource;
change AstakosUserQuota fields to IntDecimalField;
pass all four limits of initial quotas to the quotaholder;
register services and resources explicitly upon creation;
a wrapper for get_quota.

19eb3ee6 01/11/2013 04:33 pm Giorgos Korfiatis

Implement application denial

21e0fdad 01/10/2013 05:40 pm Giorgos Korfiatis

Register a user to quotaholder only when is activated

b6fe8bb8 01/10/2013 04:31 pm Giorgos Korfiatis

New state handling for astakos projects and memberships

Distinguishes is_active, is_pending flags from actual states in ProjectMembership;
likewise is_active, is_modified flags in Project.
Splits syncing in pre-process, actual syncing, and post-process.

a3eb3a95 01/08/2013 07:17 pm Giorgos Korfiatis

Refactor notifications

907f15db 01/08/2013 06:56 pm Giorgos Korfiatis

Remove bypass checks; refactor some checks

ee4aa6eb 01/08/2013 04:19 pm Giorgos Korfiatis

Check user credentials in submit_application

8c3e6cb5 01/08/2013 04:00 pm Kostas Papadimitriou

Missing var

69c822cc 01/08/2013 03:57 pm Giorgos Korfiatis

wip Simplify submit/update application

15ca2bea 01/08/2013 03:57 pm Giorgos Korfiatis

Refactor submit application; always mark precursor as REPLACED

1352dabb 01/08/2013 03:32 pm Kostas Papadimitriou

Fix typo

4e057833 01/08/2013 02:19 pm Sofia Papagiannaki

Fix policy checking

e47fb17a 01/08/2013 01:38 pm Sofia Papagiannaki

Perform membership checks during add member form validation

be4811c0 01/08/2013 11:16 am Giorgos Korfiatis

Fix a dict iteration

b0686c16 01/07/2013 06:20 pm Giorgos Korfiatis

Fix join/leave policy checks

272cf735 01/04/2013 09:36 pm Sofia Papagiannaki

Membership policies kept in settings instead of db

5b9e9530 01/04/2013 07:32 pm Giorgos Korfiatis

Project deactivation/termination

a073c3b2 01/04/2013 12:02 pm Giorgos Korfiatis

Add member limit check in do_join_project

c8dfbe98 01/04/2013 11:21 am Giorgos Korfiatis

Fix some arg names

8dcaa6ac 01/03/2013 11:29 pm Giorgos Korfiatis

Simple refactor: do_* methods always take a project_id argument;
select_for_update for project and membership

fcc1e93f 12/21/2012 05:48 pm Sofia Papagiannaki

Delete more obsolete code

eb9ff37a 12/21/2012 04:41 pm Sofia Papagiannaki

Project update and suspend functions

03869281 12/20/2012 02:09 am Sofia Papagiannaki

Fix leave project in case of auto_accept policy

7dd3047d 12/19/2012 11:07 pm Sofia Papagiannaki

Separate function for enroll member

f7fc5a34 12/19/2012 06:11 pm Giorgos Korfiatis

Fix typos

fc61dfb7 12/19/2012 05:30 pm Sofia Papagiannaki

Fix member join when join policy is auto_accept

5cfd4acb 12/19/2012 05:26 pm Sofia Papagiannaki

Fix add_quota, use user id as quotaholder entity

974ee6a6 12/19/2012 04:34 pm Sofia Papagiannaki

Several fixes

3e47bb0b 12/19/2012 02:57 pm Sofia Papagiannaki

Trigger syncing from the views

3d4a0a9b 12/19/2012 10:59 am Sofia Papagiannaki

Fix notification error messages

172ce682 12/18/2012 04:21 pm Sofia Papagiannaki

Merge branch 'devel-0.13' of https://code.grnet.gr/git/astakos into latest-quota

Conflicts:
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/notifications.py
snf-astakos-app/astakos/im/urls.py
snf-astakos-app/astakos/im/views.py

34a76cdb 12/17/2012 07:29 pm Kostas Papadimitriou

Change email process improvements

- Allow replacement of previously email change requests
- Cleanup expired email change requests in change email view
- Log email change
- Warn user for existing pending requests
- Redirect to profile on change email actions (failed or succeded)

4327c8fc 12/17/2012 07:27 pm Kostas Papadimitriou

Avoid verbose logging output

47b77c8b 12/14/2012 03:52 pm Sofia Papagiannaki

Merge branch 'devel-0.13' of https://code.grnet.gr/git/astakos into latest-quota

Conflicts:
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/management/commands/service-add.py
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/models.py...

73fbaec4 12/14/2012 11:24 am Sofia Papagiannaki

Single model for ProjectApplication & Definition - Membership sync

f1ab6639 12/13/2012 03:47 pm Kostas Papadimitriou

Set sent_activation date on user activation

in case admin activates user skiping email activation process

4bdd7e3d 12/13/2012 02:40 pm Kostas Papadimitriou

User state fixes

- Never reset activation_sent date
- Check for inactive users too for email/username uniqueness
- Check both email/username uniquness in user creation process
- Activated users should have both email_verified/activation_sent fields
set

ccab6eb5 12/10/2012 12:04 am Sofia Papagiannaki

Progress VI

f9aea9c8 12/03/2012 05:49 pm Sofia Papagiannaki

Update snf-manage commands in email templates. Fix authentication token renewal.

c3c2212a 12/03/2012 12:40 pm Sofia Papagiannaki

Fix import error in astakos.im.functions

c0b26605 11/29/2012 05:08 pm Sofia Papagiannaki

Merge remote-tracking branch 'origin/0.12' into devel-0.13

Conflicts:
snf-astakos-app/astakos/im/activation_backends.py
snf-astakos-app/astakos/im/api/admin.py
snf-astakos-app/astakos/im/auth_backends.py
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/functions.py...

bf0c6de5 11/28/2012 12:02 pm Sofia Papagiannaki

Flush other user sessions during password/token change

Refs: #3007

ef20ea07 11/15/2012 05:37 pm Sofia Papagiannaki

Refine shibboleth signup mechanism

Refs: #3041

ae497612 11/13/2012 05:45 pm Olga Brani

Back up file

29b87e7c 11/08/2012 05:53 pm Sofia Papagiannaki

Fix group creation summary view

9a06d96f 11/05/2012 03:38 pm Olga Brani

Merged demo

8cc49f4d 09/27/2012 11:34 am Sofia Papagiannaki

Merge remote-tracking branch 'origin' into dev

Conflicts:
snf-astakos-app/Changelog
snf-astakos-app/README
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/functions.py
snf-astakos-app/astakos/im/settings.py
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js...

a2436cb6 09/25/2012 04:07 pm Sofia Papagiannaki

merge with 0.6.4

4f78c22c 09/13/2012 04:21 pm Sofia Papagiannaki

merge with origin 0.6.4

5ce3ce4f 09/10/2012 01:52 pm Sofia Papagiannaki

Fix code formatting to conform to the PEP 8 style guide

ab51aff1 09/07/2012 06:55 pm Kostas Papadimitriou

Inject user email in notification mail subjects

1fcf4a99 09/07/2012 03:12 pm Kostas Papadimitriou

Configurable subjects for all emails send by astakos

1cbce16f 09/03/2012 07:00 pm Sofia Papagiannaki

use django ADMIN & SERVER_EMAIL settings instead of DEFAULT_ADMIN_EMAIL & DEFAULT_FROM_EMAIL

04e8a251 09/02/2012 06:01 pm Sofia Papagiannaki

move aquarium listener in endpoints

aab4d540 08/29/2012 01:52 pm Sofia Papagiannaki

remove unused imports & code refinement

3abf6c78 08/28/2012 01:45 pm Sofia Papagiannaki

Progress VIII

send admin notification upon group creation

f6e8cca4 08/27/2012 10:47 am Sofia Papagiannaki

change helpdesk notification email subject

6ff7a7ca 08/03/2012 01:02 pm Sofia Papagiannaki

named reverse urls

eedb3923 07/31/2012 04:03 pm Sofia Papagiannaki

Preserve local password for shibboleth users

Bug #2535

142e3647 07/31/2012 03:26 pm Sofia Papagiannaki

call ``send_greeting`` from ``switch_account_to_shibboleth`` instead of ``activate`` view

23b9b72f 07/31/2012 03:14 pm Sofia Papagiannaki

rewrite ``activate`` view

a0be6a0c 07/31/2012 02:00 pm Sofia Papagiannaki

Send helpdesk notification on account activation

Refs: #2674

35f8ccf1 06/01/2012 05:40 pm Sofia Papagiannaki

Merge branch 'refs/heads/0.6'

Conflicts:
docs/source/backends.rst
docs/source/conf.py
docs/source/devguide.rst

c9e378c7 05/31/2012 02:52 pm Sofia Papagiannaki

Configurable enable/disable additional logging

Refs: #2448

111f3da6 05/31/2012 12:04 pm Sofia Papagiannaki

Log main astakos functions

Refs: #2448

751d24cf 05/30/2012 01:38 pm Sofia Papagiannaki

Register the date a user activation email sent and reset it when the user becomes active (for future use)

This field can have the following values:
  • epoch: signifies the user has been created before adding the specific field (so we have no actually information whether an activation email has been sent or not)...
57d65473 05/09/2012 08:01 pm Sofia Papagiannaki

change next parameter to index page in activate url

49790d9d 05/07/2012 12:29 pm Sofia Papagiannaki

Provide email change mechanism

Refs: #2363

27e26a41 04/26/2012 01:35 pm Sofia Papagiannaki

handle AstakosUser model validation error

0a569195 04/21/2012 11:00 pm Sofia Papagiannaki

ask acknowledgment for switching local account to shibboleth one

  • unique email and is_active combination (use django model validation)
  • use different template for rendering shibboleth signup form
  • do not show groups in profile page
  • do not show provider in third-party signup forms...
4e30244e 04/09/2012 05:26 pm Sofia Papagiannaki

support shibboleth with invitations & enable modifyuser command to remove a user group

Refs: #2167

18ffbee1 04/07/2012 06:36 pm Sofia Papagiannaki

add support for groups

8f5a3a06 04/03/2012 02:35 pm Sofia Papagiannaki

change authentication methods: progress I

067961d3 03/16/2012 01:40 pm Sofia Papagiannaki

Merge branch 'master' into aquarium

Conflicts:
snf-astakos-app/Changelog
snf-astakos-app/README
snf-astakos-app/astakos/im/api.py
snf-astakos-app/astakos/im/backends.py
snf-astakos-app/astakos/im/context_processors.py
snf-astakos-app/astakos/im/functions.py...

c37263ea 03/15/2012 12:25 pm Sofia Papagiannaki

more changes in email templates

683cf244 03/14/2012 05:14 pm Sofia Papagiannaki

change signup flow, remove activateuser command and introduce sendactivation command

4abc7b29 03/13/2012 05:05 pm Sofia Papagiannaki

change email templates

59f598f1 03/12/2012 02:00 pm Sofia Papagiannaki

add creditevent listener to set user ``has_credits`` flag and pass the information to ``authenticate`` response

Refs: #1824

fc28d013 02/24/2012 02:08 pm Sofia Papagiannaki

fix bugs

  • welcome_email.txt template location
  • in activateuser do not change user's state in case of send_email failure
  • fix inviteuser
27993be5 02/23/2012 05:36 pm Kostas Papadimitriou

Repo refactor and webproject hooks fixes