Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / util.py @ 7deaaa5f

History | View | Annotate | Download (9.6 kB)

# Date Author Comment
64492c49 01/16/2013 03:33 pm Kostas Papadimitriou

Proper next parameter handling in third party logins

Excluding shibboleth all auth modules require two additional redirects
causing `next` parameter to be absent on the final url.

2f732a9b 01/14/2013 04:54 pm Sofia Papagiannaki

Fix model_to_dict utility

43332a76 01/10/2013 04:06 pm Kostas Papadimitriou

Signup workflow changes

- Validate signup email over verified emails. Additional signups with
an existing unverified email will replace those entries.
- Redirect on signup success instead of just rendering a template.

9efcce2a 01/04/2013 02:26 pm Sofia Papagiannaki

Extend model_to_dict utility to include object
properties and obj string representation

6936103e 12/21/2012 03:37 pm Kostas Papadimitriou

login_url helper

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

e5966bd9 12/17/2012 05:16 pm Kostas Papadimitriou

Improve email/username handling

- New helper methods in AstkosUser.objects
- Check uniquness between username/email on user creation process
- Allow login using both username/email fields
- Keep email case intact
- Store lowercase email in username field

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

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

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

b2ffa772 11/27/2012 04:54 pm Sofia Papagiannaki

Force astakos cookie to follow session state.

25b9a413 11/26/2012 07:53 pm Sofia Papagiannaki

Ensure ASTAKOS_COOKIE is not set if there is no django session cookie.

55baa300 11/19/2012 12:15 pm Sofia Papagiannaki

restrict_next should not affect relative paths

Refs: #3008

217994f8 11/16/2012 08:17 pm Sofia Papagiannaki

Restrict next url parameter

Refs: #3008

d1a767f7 11/14/2012 12:27 pm Olga Brani

Merge branch '0.6.4' of https://code.grnet.gr/git/astakos into 0.6.4

Conflicts:
snf-astakos-app/astakos/im/templates/im/astakosgroup_form.html
snf-astakos-app/astakos/im/templates/im/astakosgroup_form_demo.html.BACKUP.21131.html

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

Back up file

674f9a52 11/13/2012 01:56 pm Sofia Papagiannaki

Isolate astakos messages in separate module

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

Merged demo

77fc637a 10/12/2012 06:39 pm Sofia Papagiannaki

Handle AttributeError in case of other than GET or POST method

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

Fix code formatting to conform to the PEP 8 style guide

f627a979 09/06/2012 04:22 pm Sofia Papagiannaki

fix get_query utility in case of HEAD request

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

remove unused imports & code refinement

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

named reverse urls

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

Log main astakos functions

Refs: #2448

12d07b02 05/07/2012 12:29 pm Sofia Papagiannaki

remove unnecessary import

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

handle AstakosUser model validation error

b42b0987 04/24/2012 01:13 pm Sofia Papagiannaki

set session cookie expiration to user auth_token expiration date

Refs: #2291

09e7393c 04/24/2012 01:09 pm Sofia Papagiannaki

remove has_signed_terms utility, introduce AstakosUser signed_terms function instead

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

ff073f58 03/27/2012 02:05 pm Sofia Papagiannaki

fix has_signed_terms function

Refs: #2019

d8f63346 03/27/2012 11:54 am Sofia Papagiannaki

do not show approval terms checkbox if there are no terms

Refs: #2019

a9164f06 03/26/2012 05:21 pm Sofia Papagiannaki

if no registered approval terms bypass approval terms mechanism

Refs: #2019

e905a3f5 03/26/2012 05:10 pm Sofia Papagiannaki

if no registered approval terms bypass approval terms mechanism

Refs: #2019

e06793ea 03/23/2012 06:44 pm Sofia Papagiannaki

clear has_singed_terms in case of updated terms

Refs: #2019

270dd48d 03/21/2012 03:35 pm Sofia Papagiannaki

Force user to accept service terms

Refs: #2019

ebd369d0 03/09/2012 03:05 pm Sofia Papagiannaki

merge with master

5c8d2fbc 02/23/2012 05:36 pm Kostas Papadimitriou

Merge branch 'master' into packaging

27993be5 02/23/2012 05:36 pm Kostas Papadimitriou

Repo refactor and webproject hooks fixes