Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / migrations @ 5083fc47

# Date Author Comment
1b25228f 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: Use bulk_create in migrations

eb765213 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Store base URL in component

Deployer should provide it when adding a new component. Service endpoints
originating from a component are expected to match its base URL; otherwise,
a warning is issued during service registration. Re-registration with...

6d583e07 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Simplify project schema

Applications now point to a project (rather than an extra model Chain).
A Project is created upon submitting an application; it always points to
a single `reference' application.

Model Chain is kept as a sequence to generate project ids.

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

1a14083b 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Change project membership schema

Replace ProjectMembershipHistory with ProjectMembershipLog, which
records every state transition. Never delete any ProjectMembership
entry; set it instead to an appropriate state.

5cdbe7cc 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix sqlite-related migration issues

As per 63bcab0, do not attempt to delete index when run on sqlite.

88beea39 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Improve logging for Projects and Applications

Introduce model ProjectLog as well as fields in ProjectApplication
in order to record all actions.

1b52192e 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Lock globally when approving application

We need to make sure that the name to be approved is unique
among all non-terminated projects. We thus acquire a global
lock before approving.

63bcab00 06/12/2013 04:42 pm Giorgos Korfiatis

astakos: Fix sqlite-related issues in migration

In migration 0022, ProjectApplication's field `chain' is altered from
a plain integer field to a foreign key. This triggers a south command
to create an index for the said field. However, it seems that sqlite...

064f42cd 06/10/2013 11:44 am Giorgos Korfiatis

astakos: Remove debug print from migration

64c5e1e8 06/06/2013 12:23 pm Giorgos Korfiatis

astakos: Remove data part from migration 0022

A data migration was mistakenly squashed in schema migration, causing
problems with newer south versions. This data migration is not needed
in a production system, because it affects only a table introduced in...

49cf3598 06/05/2013 06:55 pm Giorgos Korfiatis

astakos: Fix typo in service name

0e08e08e 06/04/2013 06:19 pm Giorgos Korfiatis

astakos: Record the service originating a resource

Add field service_origin in model Resource as well as in the
resource definitions, indicating the service where the resource
comes from. It is not a foreign key, in order to allow deleting
a component/service, without affecting registered resources and...

6d4190ba 06/04/2013 01:30 pm Giorgos Korfiatis

astakos: Generate tokens randomly

Token is now random 256 bits encoded as a base64 string.
Increase the auth_token database fields to accommodate it.

bea584e1 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Lift old-style services to components

Add model Component and migrate services along with their token
and UI URL to this new model. Rename service to component where
needed.

Add field service_type in Resource and fill it based on the name
of the service that used to own the resource.

0446cc58 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Add new-style services with endpoints

Drop old Service model and add models Service, Endpoint, and EndpointData.
Remove Resource's reference to Service.

7b0f970f 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Impose uniqueness on auth_token

Add uniqueness constraint in AstakosUser and Component models.
Before that, invalidate (set to None) any duplicate tokens.

When renewing a token, retry a couple of times, if generated token
is in use.

81846314 05/24/2013 01:23 pm Giorgos Korfiatis

astakos: Set type for existing services

Following Keystone there is now a `type' field in model Service.
This adds a data migration in order to set the type for existing
services as follows:
astakos: identity
cyclades: compute
pithos: storage

7ac2131c 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: provide get_endpoints api call

35e67254 05/21/2013 12:41 pm Kostas Papadimitriou

astakos: New user fields migration improvement

set accepted_policy to 'migration' for already accepted users which have not yet
a verified email address (old flow)

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

3dfb68fe 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Remove deprecated AstakosUser fields

95f33116 05/13/2013 01:56 pm Giorgos Korfiatis

astakos: Use DateTimeField for enhanced precision

Refs #3717

Replace instances of DateField in ProjectMembership and
ProjectMembershipHistory.

c8618788 04/30/2013 03:45 pm Giorgos Korfiatis

astakos: Control exposing resources in projects

Add attribute `allow_in_projects' in Resource model (True by default).
Set this flag for astakos.pending_app to False in the description
of astakos resources.

20f68e60 04/26/2013 04:41 pm Giorgos Korfiatis

astakos: Migrate service and resource names

- Rename 'pithos+' to 'pithos'
- Prepend resource names with 'service_name.'

a0b34382 04/22/2013 06:33 pm Giorgos Korfiatis

astakos: Reintroduce foreign key from Resource to Service

Also merge all migrations from 0026 to 0032.

362ff471 04/19/2013 06:28 pm Kostas Papadimitriou

Store service access url in database

b052f360 04/19/2013 12:23 pm Giorgos Korfiatis

Move intdecimalfield.py to snf_django package

Rename it to fields.py and update all migrations that reference the field.

0cdc5cc5 04/18/2013 06:50 pm Giorgos Korfiatis

astakos: Remove obsolete ProjectResourceGrant fields

2ec5a35c 04/18/2013 06:23 pm Giorgos Korfiatis

astakos: Remove obsolete fields of AstakosUserQuota

Remove quantity, import_limit, export_limit.
Update user-set-initial-quota management command.

673f8f42 04/18/2013 05:56 pm Giorgos Korfiatis

astakos: Remove obsolete project-related model fields

Several fields of models Project and ProjectMembership were related
to the external syncing to quotaholder and have become obsolete since
the inclusion of quotaholder in astakos.

34d3883a 04/18/2013 12:20 pm Giorgos Korfiatis

Make resource name independent of service name

Also remove unused ResourceMetadata model.

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

54bac253 04/18/2013 12:20 pm Kostas Papadimitriou

Astakos missing Service model migrations

ad76a6db 04/01/2013 07:04 pm Kostas Papadimitriou

Sync astakos migrations

apply authpolicies migrations on top of recently added astakos migrations in
develop branch.

6f25ec42 03/26/2013 03:50 pm Kostas Papadimitriou

Merge branch 'release-0.13' into feature-astakos-authpolicies

2b745492 03/26/2013 01:30 pm Giorgos Korfiatis

Specify reason when denying project application

Add field `response' in ProjectApplication model.
Add option `-m' in project-control command.

Refs #3493

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

c7c0ec58 02/27/2013 03:45 pm Giorgos Korfiatis

Add per-user limit on pending applications

Add UserSettings model for storing integer-valued settings.
If an entry is missing, a default synnefo setting is consulted.

The limit can be set/unset with snf-manage user-update.

88fb6c6f 02/21/2013 05:33 pm Sofia Papagiannaki

Create user uuid for inactive accounts

ad2b744d 01/28/2013 05:57 pm Sofia Papagiannaki

Disable problematic migration

5195c0e9 01/28/2013 12:00 pm Giorgos Korfiatis

Make Chain a proper db table

Keep chain IDs in table Chain and add foreign keys from ProjectApplication
and Project to Chain.

This will allow us to reference a possibly not yet approved project
in a more concise way.

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

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

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

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

3c41f3ef 01/17/2013 03:05 pm Kostas Papadimitriou

Additional audits in data migration

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

DB index for ProjectApplication state

8172ea5f 01/15/2013 03:17 pm Sofia Papagiannaki

Clear service token expiration

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.

55698132 01/11/2013 05:51 pm Sofia Papagiannaki

Fix migrations

a09a736c 01/11/2013 04:29 pm Kostas Papadimitriou

Astakos users and auth providers data migrations

6f979a1a 01/11/2013 03:41 pm Kostas Papadimitriou

Migration fix

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.

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

91956141 01/11/2013 12:36 pm Sofia Papagiannaki

Fix migrations

ea301775 01/11/2013 12:06 pm Sofia Papagiannaki

Database migration for user quota policies

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

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

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

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

2e15f9f6 01/09/2013 04:21 pm Kostas Papadimitriou

Service model `order` field

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

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

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

Remove foreign key constraints from ProjectMembershipHistory

4a45ab42 12/28/2012 02:42 pm Sofia Papagiannaki

Clear expiration date from Astakos services

2b80cfeb 12/28/2012 02:39 pm Sofia Papagiannaki

Increase username length to fit email values

c700f742 12/27/2012 06:29 pm Sofia Papagiannaki

Update Astakos API to provider calls for retrieving uuid from the username and vice versa, extend astakos client library (snf-common) and update pithos to use uuids instead of email for account identification

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

Delete more obsolete code

70627a39 12/19/2012 02:45 pm Sofia Papagiannaki

Fix migrations

5200e864 12/18/2012 08:24 pm Sofia Papagiannaki

Fix models

6b61a88f 12/18/2012 06:48 pm Sofia Papagiannaki

Fix migrations

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

836a0fb0 12/17/2012 07:33 pm Kostas Papadimitriou

Unique user identifier

auto generated user identifier

ad444e1b 12/14/2012 08:10 pm Sofia Papagiannaki

Merge migrations

Conflicts:
devtools/fabfile.py

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

1c8f2df3 12/13/2012 02:55 pm Kostas Papadimitriou

User status migrations

- Set email_verified and activation_sent to all active users

c630fee6 12/11/2012 05:16 pm Kostas Papadimitriou

Third party login providers fixes/improvements

- Store additional provider info in PendingThirdPartyUser entries
- Include third party registration logic in main signup view. Additional
per provider signup views removed.
- Unique email validation for all activation backend forms...

43e09b6c 12/11/2012 12:02 pm Sofia Papagiannaki

Set unique together resource name and service

bfe23b13 12/10/2012 05:57 pm Sofia Papagiannaki

Progress VII

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

Progress VI

8327782d 12/08/2012 03:26 am Sofia Papagiannaki

Progress V

0cc22d47 12/07/2012 07:08 pm Sofia Papagiannaki

Several fixes

b22de10a 12/07/2012 03:55 pm Sofia Papagiannaki

Update models

e1a80257 12/06/2012 03:52 pm Sofia Papagiannaki

Progress I

775d5ad7 12/04/2012 03:43 pm Sofia Papagiannaki

Fix migrations

16cf0f73 12/04/2012 02:22 pm Sofia Papagiannaki

Fix migrations

632b6458 12/04/2012 10:10 am Olga Brani

Style fixes
New menu

1dde22bd 11/30/2012 05:18 pm Kostas Papadimitriou

Proper commit files for b48b6a2

215e87da 11/30/2012 03:41 pm Kostas Papadimitriou

Create missing migrations

895c0deb 11/30/2012 03:38 pm Kostas Papadimitriou

Remove conflicting migrations

e13fae3d 11/30/2012 11:18 am root

Fix middleware AtributeError in case of non astakos request
Fix service-add command: check callpoint result

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

678b2236 11/16/2012 04:34 pm Sofia Papagiannaki

Customize third party signup form fields

Refs: #3041

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

Refine shibboleth signup mechanism

Refs: #3041