Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / forms.py @ b1cb2583

History | View | Annotate | Download (38.3 kB)

# Date Author Comment
2c6bc262 12/20/2013 02:07 pm Kostas Papadimitriou

astakos: Update astakos tests

d0d3646d 12/20/2013 02:00 pm Kostas Papadimitriou

astakos: Handle third party unverified user change password form submition

bd2c6bc5 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Improved email validator

Custom EmailValidator class backported from django 1.6

69a6ca1a 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Prerender password input value in profile form

733f013d 11/25/2013 04:54 pm Giorgos Korfiatis

astakos: Associate only accepted users with projects

Allow project enrollment and ownership only for users that are accepted,
not just email_verified.

Also change base quota only for accepted users.

1808f7bc 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Refactor user creation

Provide auth.make_user() as the single way to create a new user. This
function is responsible to set all automatically generated fields, such as
username, uuid, and token. Clean up AstakosUser.save(), that used to
update these fields, and remove AstakosUser.__init__(). Remove trigger...

ef1fb98b 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Reset user sign flags when adding new terms

When new terms are added, set has_signed_terms=False for all users, forcing
them to accept the new terms. If there are no terms, a new user is created
with has_signed_terms=True.

With this change we can skip querying the terms when authenticating a user,...

5ae8216a 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Remove unused user creation forms

InvitedLocalUserCreationForm, InvitedThirdPartyUserCreationForm,
ShibbolethUserCreationForm, and InvitedShibbolethUserCreationForm
were not used.

2dc27ac1 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Add resource visibility flags

Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.
The former entails the latter.

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

0eb1f53a 09/27/2013 02:13 pm Ilias Tsitsimpis

Fix a python syntax error

In python 2 we cannot have keyword-only arguments (PEP 3102).
And even if we could, this was not the right way to
declare a python function.

60b59fed 09/26/2013 02:47 pm Ilias Tsitsimpis

astakos: Fix `save() got unexpected argument'

From Django documentation:
"""
It’s also important that you pass through the arguments that can be
passed to the model method – that’s what the *args, **kwargs bit does.
Django will, from time to time, extend the capabilities of built-in...

e98239db 08/28/2013 04:36 pm Giorgos Korfiatis

astakos: Force a members limit in project applications

c4028837 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Remove precursor_application field

Submit a project modification by specifying a project id rather than
an application

866e5768 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Cleanup checks for membership actions

b2369828 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Set project-wise resource limit in new app

f12bcb3d 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Raise project-specific exceptions on failure

Replace IOError and PermissionDenied with project-specific exceptions.

3e87075a 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Use units common code in the UI

51db2da2 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix some issues pointed out by pyflakes

890f3d4c 07/12/2013 01:22 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views/target/__init__.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...

36f1eabb 07/09/2013 04:34 pm Kostas Papadimitriou

astakos: Prevent empty passwords in profile form

abe6915b 06/28/2013 09:12 pm Christos Stavrakakis

Merge branch 'release-0.14' into develop

Conflicts:
snf-astakos-app/astakos/im/views/target/redirect.py
snf-cyclades-app/synnefo/logic/backend.py
version

95d49da0 06/19/2013 06:32 pm Sofia Papagiannaki

astakos: fix reset password confirmation url

139eae46 06/19/2013 05:38 pm Kostas Papadimitriou

astakos: Fix third party creation form kwargs handling

view always passes request argument. Avoid propagating it to ModelForm
constructor.

e7726e14 06/19/2013 04:09 pm Kostas Papadimitriou

astakos: Fix regression in signup view

when recpatcha is enabled in astakos settings

8fb8d0cf 06/17/2013 04:22 pm Giorgos Korfiatis

astakos: pep8 fixes

bebd2649 06/05/2013 08:06 pm Kostas Papadimitriou

astakos: Profile fields clean up

- Direct access to user uuid is no longer useful to the users.
- `auth token`, `auth token expires` and `renew token action` are now accessed
from the api access view.

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

astakos: remove BASEURL, use BASE_URL setting

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

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.

8998f09a 05/21/2013 06:28 pm Sofia Papagiannaki

astakos: unified settings handling

Import astakos settings module instead of importing specific settings

3e0a032d 05/21/2013 11:54 am Sofia Papagiannaki

astakos: remove unused imports

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.

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

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

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.

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

astakos: Make submit_application arguments explicit

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.

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

3f3dc4b7 04/24/2013 05:35 pm Olga Brani

Astakos: Improve UX for project details/members page.

4161cb70 04/18/2013 12:20 pm Giorgos Korfiatis

Move resource data away from astakos settings

UI-related presentation data go to presentation.py.
Remove load_service_resources call and related astakos-init
management command.

26551b92 04/18/2013 12:20 pm Kostas Papadimitriou

Remove resource/service model dependencies

- Remove foreign key dependency between Service/Resource model. Replace
it with a service CharField to keep track of the service identifier
that the resource was registered from.
- Remove all references to resource service name in resource lookups

75380308 04/18/2013 12:20 pm Kostas Papadimitriou

Use updated resource models in projects views

878d9cf3 04/02/2013 08:49 am Kostas Papadimitriou

Merge branch 'tmp-common-email-recipients' into develop

31bc3a62 03/27/2013 11:26 pm Kostas Papadimitriou

Astakos email notification improvements

- Use project setting SERVER_EMAIL as sender to all email notifications.
- Remove astakos specific DEFAULT_CONTAC_EMAIL in favor of snf-common's
CONTACT_EMAIL setting.
- Remove DEFAULT_CONTACT_EMAIL and ADMINS astakos specific settings in favor of...

42732c26 03/26/2013 06:42 pm Giorgos Korfiatis

Preserve owner info when modifying project

An admin can modify a project, i.e. create an application based on
a previous application. We distinguish the initial applicant, called
the `owner', from the user who submitted the current application,
called the `applicant'....

9d20fe23 03/15/2013 07:49 pm Kostas Papadimitriou

Authentication providers improvements

Major authentication provider refactoring to support

- Modular and easily configurable messages with common context
- Fine grained provider policies to support appling specific policies to
users and/or groups

Key points:...

c9a6e558 02/27/2013 04:54 pm Constantinos Venetsanopoulos

Verbal updates wrt help texts of astakos forms

98b84806 02/26/2013 01:12 pm Kostas Papadimitriou

Prevent changes of readonly user profile fields

some user profile properties require special actions to be performed by
the user in order to be altered. Additional workflows are provided for
these properties to be changed (e.g. email verification urls/views for...

f911f6d3 02/14/2013 04:27 pm Kostas Papadimitriou

Replace dummy messages

d6ea9b3d 02/14/2013 04:26 pm Olga Brani

Style fixes

New style for resource usage page
Temporary help_text for profile form
Css fixes

97e93991 02/14/2013 04:26 pm Kostas Papadimitriou

Ensure only verified users are added to a project

since users get registered at quotaholder during the activation process
(qh_register_user_with_quotas call in `activate` method -- im/functions.py).

An additional safer check in `create_membership` method might be...

c53afd76 02/14/2013 04:26 pm Georgios D. Tsoukalas

Fix project form texts

e01dcd43 02/14/2013 04:26 pm Sofia Papagiannaki

Do not allow negative project member number

ccaadd41 01/25/2013 02:54 pm Sofia Papagiannaki

Add uuid in user profile view

ec2e67f4 01/24/2013 06:07 pm Kostas Papadimitriou

Explicit groups/resources order

28f4439f 01/24/2013 04:23 pm Sofia Papagiannaki

Fix send reset password email

e9e692be 01/24/2013 03:58 pm Kostas Papadimitriou

Auth providers fixes

- Respect CAN_REMOVE provider setting
- Verbal differences in create password form (based on if user requests
to add local password method or just tries to change the password)

260f1021 01/24/2013 03:58 pm Kostas Papadimitriou

Improve unusable password validation error message

7b4ca7fe 01/24/2013 12:27 pm Olga Brani

Fix empty new email validation

835e2ee3 01/24/2013 11:51 am Olga Brani

New texts

Text for sign up/contact form/ reset password

f5001ffb 01/23/2013 10:06 pm Kostas Papadimitriou

Fix empty email validation

861458fd 01/23/2013 07:07 pm Kostas Papadimitriou

Remove debug shibboleth statement

4a13d054 01/23/2013 04:14 pm Kostas Papadimitriou

Fix third party signup form

- Do not user `provider` context variable when iterating through auth
provider objects since it's already passed in context from the signup
view

1177e91b 01/23/2013 03:12 pm Olga Brani

Bug fixes

b87429e1 01/23/2013 03:10 pm Olga Brani

Bug/style fixes

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

wip Project views by chain_id

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

Fix unicode urlencoding in feedback call

003d8fcf 01/18/2013 11:56 am Olga Brani

Profile auth methods fixes/Landing page

- New landing page (missing icons)
- Auth methods js bug fixes
- Style fixes

2da6f56b 01/17/2013 03:05 pm Kostas Papadimitriou

Success messages on profile form submit

display messages based on action request after uses submitted the
profile form successfully

649f2d36 01/17/2013 03:05 pm Kostas Papadimitriou

Check if local provider supports email changet

95cb469b 01/17/2013 03:05 pm Kostas Papadimitriou

Fix reset password via extended profile form

c55e39e7 01/16/2013 03:45 pm Kostas Papadimitriou

Keep fields_list in instance context

2b7a87d7 01/16/2013 03:36 pm Olga Brani

New profile form KeyOrder fix

d0632ab1 01/16/2013 03:07 pm Olga Brani

New profile form

17ad5d37 01/15/2013 06:46 pm Kostas Papadimitriou

Conform profile form with EMAILCHANGE_ENABLED setting

- Do not display email change fields

3fbf7863 01/15/2013 05:40 pm Kostas Papadimitriou

Combined profile form updates

- Handle local account existance and accordingly display password change
fields
- Remove pending email changes before creating a new email change
request in EmailChangeForm object save method
- Pass request instance in form save

f7400729 01/15/2013 05:12 pm Kostas Papadimitriou

Initial commit of the combined profile form

The new profile form supports change email and password change actions
by propagating submited data to internal EmailChangeForm and
ExtendedPasswordChangeForm instances.

8172d87d 01/14/2013 02:18 pm Sofia Papagiannaki

Do not use global variable for current date

a1d151a8 01/14/2013 01:30 pm Kostas Papadimitriou

Fix third party signup form

when active approval terms exist

01223f04 01/14/2013 12:44 pm Sofia Papagiannaki

Fix date validations in project application form

05617ab9 01/11/2013 06:42 pm Kostas Papadimitriou

New states views Part 1

564a2292 01/11/2013 12:52 pm Kostas Papadimitriou

Auth providers improvements

- Enrich login/logout messages.
- Clear unverified accounts when user adds the same third party account
to an existing account.
- Other minor improvements.

f03b9ba6 01/11/2013 12:53 am Sofia Papagiannaki

Check project dates (better implementation)

c846fad1 01/11/2013 12:00 am Sofia Papagiannaki

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

Conflicts:
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/functions.py

f568d0f4 01/10/2013 11:46 pm Sofia Papagiannaki

In case of project update bypass start date check

2ef98527 01/10/2013 11:13 pm Sofia Papagiannaki

Change join/leave project policies

69b26576 01/10/2013 10:51 pm Sofia Papagiannaki

Perform date checks

during project add form validation

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.

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

Check user credentials in submit_application

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

0cc7fae7 01/08/2013 02:31 pm Olga Brani

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

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

Perform membership checks during add member form validation

4cac5b8e 01/08/2013 12:34 pm Olga Brani

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

3ff82dca 01/08/2013 12:34 pm Olga Brani

Various fixes
Change placeholder for homepage url

80da92f0 01/08/2013 12:33 pm Kostas Papadimitriou

Project form/summary fixes

- Sane member join default value
- Fix summary join/leave policy display

c82bd52b 01/07/2013 01:32 pm Kostas Papadimitriou

Fix project form included fields

67980f56 01/07/2013 11:47 am Georgios D. Tsoukalas

update project creation form texts