Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (78.2 kB)

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

f38084ce 01/04/2013 04:20 pm Kostas Papadimitriou

Merge remote-tracking branch 'synnefo/feature-astakos-tables' into feature-astakos-tables

Conflicts:
snf-astakos-app/astakos/im/tables.py

e87bbb41 01/04/2013 04:13 pm Kostas Papadimitriou

Helper methods to identify user/project relation

213ba781 01/04/2013 03:25 pm Sofia Papagiannaki

More informative member join/leave policies

3fa86bad 01/03/2013 11:26 pm Giorgos Korfiatis

Generalize member limit violation check

14695557 01/03/2013 09:48 pm Giorgos Korfiatis

Commit before trying to lock, to avoid blocking

02d2519e 01/03/2013 09:48 pm Giorgos Korfiatis

Remove foreign key constraints from ProjectMembershipHistory

7729e9cc 01/03/2013 09:48 pm Giorgos Korfiatis

Add ForUpdateManager for Project and ProjectApplication

91d3d92a 01/03/2013 09:48 pm Giorgos Korfiatis

Select for update existing Project in approve

8bc397e8 01/03/2013 07:42 pm Sofia Papagiannaki

Access resource presentation through the Resource model

c7b82fdc 01/03/2013 06:18 pm Sofia Papagiannaki

remove astakos obsolete code for billing & timeline

e6d284ef 01/03/2013 05:51 pm Olga Brani

Astakos tables fixes

a5cef8d0 01/03/2013 03:32 pm Kostas Papadimitriou

Projects list/search refactoring

2df3770c 01/03/2013 01:34 pm Kostas Papadimitriou

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

Conflicts:
snf-astakos-app/astakos/im/templates/im/projects/project_list.html
snf-astakos-app/astakos/im/views.py

08494423 12/28/2012 02:42 pm Sofia Papagiannaki

Service token should not expire by default

5550bcfb 12/27/2012 03:04 pm Kostas Papadimitriou

Initial use django-tables2

improves table view development by spliting table data access and presentation
onto separate layers.

4bf02ea5 12/24/2012 04:18 pm Giorgos Korfiatis

Do not attempt to add owner into a project when updating an existing one

8978cfbd 12/24/2012 12:11 pm Sofia Papagiannaki

Rewrite quotaholder calls

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

85d444db 12/20/2012 05:22 pm Sofia Papagiannaki

Merge project_all and project_search view - Exclude project where user is accepted member

37705b5f 12/20/2012 12:43 pm Giorgos Korfiatis

Better check for project inequality

60ca2f6f 12/20/2012 12:06 pm Giorgos Korfiatis

Ack serials even when there are no memberships

49b74233 12/20/2012 11:39 am Georgios D. Tsoukalas

Call reset_sync after non-successful qh call

3cc9637a 12/20/2012 10:57 am Giorgos Korfiatis

Set new project name in approve