Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / models.py @ f2c27eb6

History | View | Annotate | Download (81.1 kB)

# Date Author Comment
d74111be 01/26/2013 09:14 pm Giorgos Korfiatis

Fix presentation in project template

7f31a7a3 01/25/2013 06:30 pm Giorgos Korfiatis

Check if a user other than the owner can view a project

fa153211 01/25/2013 06:12 pm Giorgos Korfiatis

Remove duplicate function

d1b04b96 01/25/2013 05:42 pm Giorgos Korfiatis

Remove obsolete user_status and its clients

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

View for cancelling a pending application

8a510584 01/24/2013 07:18 pm Kostas Papadimitriou

Preserve auth provider order across views

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

Changes in project_detail

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

b8b8fdde 01/24/2013 06:58 pm Constantinos Venetsanopoulos

Update Astakos help text message

Change the message on the form in which the user
changes his/her password.

94e49e22 01/24/2013 06:39 pm Kostas Papadimitriou

Skip project homepage response validation

e1017df9 01/24/2013 04:00 pm Giorgos Korfiatis

Set Project.name None when terminated so that it can be reused

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)

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

Enrich local login method profile display

- Include username/email

2a2c6876 01/24/2013 03:05 pm Giorgos Korfiatis

Use admin version of state display

d77b32f2 01/24/2013 02:32 pm Giorgos Korfiatis

Changes in state display, plus some queries

57f5ea5c 01/24/2013 11:26 am Giorgos Korfiatis

Use locking function as a decorator

0e79735c 01/23/2013 10:04 pm Kostas Papadimitriou

Several auth providers fixes/improvements

- Allow third party signup if existing account with the same third party
identifier is not yet verified. Subsequent registrations will replace
previous ones (pending/unverified accounts will be removed).
- Merge common third party code in target/__init__.py...

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
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

7184f408 01/22/2013 03:29 pm Giorgos Korfiatis

wip 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

93c4dc6b 01/22/2013 10:57 am Giorgos Korfiatis

Output log for project-sync

d5570293 01/21/2013 02:21 pm Giorgos Korfiatis

Check sync status only for active users

5aac5dc4 01/21/2013 01:04 pm Giorgos Korfiatis

In sync_users log quotas computed by astakos

b98e1df0 01/18/2013 07:23 pm Sofia Papagiannaki

Provide project details command

762900a2 01/18/2013 06:56 pm Giorgos Korfiatis

Collect reporting info for sync_projects()

140da2d1 01/18/2013 06:05 pm Giorgos Korfiatis

Split management command into astakos-quota-verify and project-sync

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.

ddcc0dd9 01/18/2013 02:31 pm Kostas Papadimitriou

Merge remote-tracking branch 'synnefo/feature-projects' into feature-astakos-newstyles

a96c495d 01/18/2013 01:41 pm Olga Brani

Improvements in auth_methods js in profile page

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

Management command to check and perform project expiration

e1f31e63 01/17/2013 06:48 pm Giorgos Korfiatis

Display project state

72a6e1e8 01/17/2013 06:45 pm Giorgos Korfiatis

Make is_alive equal to not is_terminated

9307cd46 01/17/2013 06:44 pm Giorgos Korfiatis

Rename PROJECT_STATE_DISPLAY to APPLICATION_STATE_DISPLAY

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

Check if local provider supports email changet

4d0bdd3b 01/17/2013 03:05 pm Kostas Papadimitriou

Some code refactoring

8eb36753 01/17/2013 03:05 pm Kostas Papadimitriou

Exclude local accounts in unverified accounts cleanup

If an authenticated user tries to add a third party login method, reset
existing pending users created using the same third party identifier.

e5bc7bc9 01/17/2013 02:55 pm Giorgos Korfiatis

Add an assertion check in all_quotas

689226c3 01/17/2013 02:55 pm Giorgos Korfiatis

Compiled project queries for optimization

2a666c36 01/16/2013 05:22 pm Giorgos Korfiatis

Set membership inactive when syncing in PROJECT_DEACTIVATED state

cd633c29 01/16/2013 04:45 pm Giorgos Korfiatis

Fix typo

18516fa0 01/16/2013 02:44 pm Giorgos Korfiatis

Revert "Remove unneeded related_names in ProjectMembership"

This reverts commit e2a15b6a507f716f47c960003089da2f0e32fa2e.

e2a15b6a 01/16/2013 01:01 pm Giorgos Korfiatis

Remove unneeded related_names in ProjectMembership

69ab4df9 01/16/2013 01:01 pm Giorgos Korfiatis

DB index for ProjectApplication state

9deadfcd 01/15/2013 03:32 pm Georgios D. Tsoukalas

fix broken intDecimalField initialization

7db8c163 01/15/2013 03:32 pm Georgios D. Tsoukalas

add pending members indication in projects

8989f446 01/15/2013 03:24 pm Sofia Papagiannaki

Fix TypeError: quota_values() takes no arguments (1 given)

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

Implement project suspension and resumption

Merge membership's SUSPENDED and TERMINATED states into PROJECT_DEACTIVATED.

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

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

99463445 01/14/2013 05:50 pm Giorgos Korfiatis

Fix check for conflicting projects in approve

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.

a3530159 01/14/2013 03:52 pm Georgios D. Tsoukalas

fix project table queryset, minor other fixes

f5991951 01/14/2013 01:51 pm Kostas Papadimitriou

Project action fix

show leave action also when user requested to join the project

0f703cba 01/14/2013 01:21 pm Georgios D. Tsoukalas

fix user_visible_by_last_of_chain()

ProjectApplication.objects.user_visible_by_last_of_chain()
would erroneously list more than one application per chain.
This was due to this behaviour (bug?) in django:

x = objects.values('chain').annotate(last_id=Min('id'))...
efc58b65 01/14/2013 12:41 pm Kostas Papadimitriou

Project details fixes

- Proper labels based on project application status

bd9af366 01/14/2013 12:21 pm Kostas Papadimitriou

Additional project views fixes

b7f503a1 01/14/2013 12:08 pm Kostas Papadimitriou

Merge remote-tracking branch 'synnefo/latest-quota' into latest-quota-new-states-views

67598031 01/14/2013 11:03 am Sofia Papagiannaki

Remove obsolete AstakosUser email, is_active unique together check

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

New states views Part 1

0801358a 01/11/2013 04:33 pm Giorgos Korfiatis

Set a project application REPLACED only when PENDING

Application state has historical significance:
we need to keep track which have been APPROVED/DENIED.

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

Implement application denial

d0e78bbe 01/11/2013 03:13 pm Giorgos Korfiatis

Change projects, eliminate development migrations

Change Project's state field and ProjectMembershipHistory's person field;
replace all migrations starting 0015 with a single new one.

Need to check for missing data migrations.

943d5554 01/11/2013 02:23 pm Giorgos Korfiatis

Fix typo

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.

c4892cd2 01/11/2013 12:38 pm Sofia Papagiannaki

Composite index chain, id in project application table

3d6dade7 01/11/2013 12:03 pm Sofia Papagiannaki

Stylistic change

022c61cd 01/11/2013 12:01 pm Sofia Papagiannaki

Consider unlimited project members

a769d7ba 01/11/2013 12:00 pm Sofia Papagiannaki

Do not add owner to the project during approve

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

6c997921 01/10/2013 08:58 pm Sofia Papagiannaki

Provide commands for importing/exporting existing user resource policies

9e5eecab 01/10/2013 06:44 pm Giorgos Korfiatis

No need to set precursor application to REPLACED in approve()
(it is set when submitting a new application)

a9ba418f 01/10/2013 06:42 pm Giorgos Korfiatis

Add an id for a chain of applications; this is also the project id

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.

123be68a 01/10/2013 04:21 pm Giorgos Korfiatis

wip Generalize project state

61a1b2d2 01/10/2013 04:12 pm Georgios D. Tsoukalas

astakos-qh-sync: skip email-unverified users

Astakos-qh-sync will create quotas for all eligible users.
Users that have unverified emails are not considered eligible.
When users are activated by an admin via user-update --set-active,
their email is also marked as verified, therefore they become eligible.

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.

7795764b 01/09/2013 04:22 pm Kostas Papadimitriou

Missing patch

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

393e4a45 01/08/2013 03:57 pm Giorgos Korfiatis

Delete old version of submit

9b32e2fb 01/08/2013 03:36 pm Kostas Papadimitriou

Projects list improvements

db9a498c 01/08/2013 03:34 pm Kostas Papadimitriou

Project details view improvements

e729f165 01/08/2013 12:33 pm Kostas Papadimitriou

Allow empty project start date

c11dc0ce 01/07/2013 05:20 pm Giorgos Korfiatis

Redefine IntDecimalField to allow support for south migration;
apply the new field to astakos.im.ProjectResourceGrant

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

Fix project list queryset

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

update project creation form texts

de50d96d 01/07/2013 10:33 am Kostas Papadimitriou

Avoid duplicate entries in user projects list

f3a45fc6 01/07/2013 10:25 am Kostas Papadimitriou

Fix membership admin actions

- Require POST request in membership reject/remove views
- Fix members table actions cell content
- Fix reject/remove actions urls

8bd9786f 01/04/2013 11:04 pm Kostas Papadimitriou

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

3c7528c9 01/04/2013 11:02 pm Kostas Papadimitriou

Fix user projects filter

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

Membership policies kept in settings instead of db

243c4275 01/04/2013 07:33 pm Sofia Papagiannaki

Internationalize project application help text fields

8c7b8bb8 01/04/2013 07:32 pm Giorgos Korfiatis

str for Project and ProjectMembership

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

Project deactivation/termination

480ce06b 01/04/2013 06:33 pm Sofia Papagiannaki

Do not allow user whose project acceptation is
pending to leave the project.

7b51a360 01/04/2013 04:25 pm Kostas Papadimitriou

Merge branch 'feature-astakos-tables' into latest-quota

6dcf53eb 01/04/2013 04:24 pm Kostas Papadimitriou

Merge branch 'latest-quota' into feature-astakos-tables

Conflicts:
snf-astakos-app/astakos/im/models.py
snf-astakos-app/astakos/im/views.py