Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / migrations @ 1e3612ac

Name Size
0001_initial.py 8.1 kB
0002_auto__add_field_astakosuser_third_party_identifier.py 5.9 kB
0003_auto__add_unique_invitation_username.py 5.9 kB
0004_auto__add_field_astakosuser_email_verified.py 6 kB
0005_auto__add_field_astakosuser_has_credits.py 6.1 kB
0006_auto__add_approvalterms__add_field_astakosuser_has_signed_terms__add_f.py 7.6 kB
0007_auto__chg_field_astakosuser_email_verified__chg_field_astakosuser_has_.py 9 kB
0007_auto__del_field_invitation_accepted__del_field_invitation_is_accepted.py 6.8 kB
0008_auto__add_emailchange.py 7.8 kB
0009_auto__add_service.py 8.6 kB
0010_auto__add_field_astakosuser_activation_sent__chg_field_service_url.py 8.4 kB
0011_set_old_activation_sent.py 8.3 kB
0012_auto__add_additionalmail.py 8.7 kB
0013_auto__del_unique_additionalmail_email.py 8.2 kB
0014_auto__add_unique_astakosuser_third_party_identifier_provider.py 8.6 kB
0015_auto__add_chain__add_project__add_projectmembership__add_unique_projec.py 39.6 kB
0016_auth_providers_and_projects.py 25.4 kB
0017_auto__add_field_resource_uplimit__chg_field_astakosuserquota_capacity_.py 23.4 kB
0018_auto__chg_field_approvalterms_date__chg_field_project_creation_date__c.py 24.8 kB
0019_clear_service_auth_token.py 21.8 kB
0020_auto.py 21.9 kB
0021_auto__chg_field_project_name.py 22 kB
0022_auto__chg_field_project_id__chg_field_projectapplication_chain.py 23.2 kB
0023_auto__add_usersetting__add_unique_usersetting_user_setting.py 23.2 kB
0024_auto__add_field_projectapplication_response.py 22.8 kB
0025_auto__add_authproviderpolicyprofile.py 27.6 kB
0026_auto__del_resourcemetadata__del_field_astakosuserquota_import_limit__d.py 30.2 kB
0027_rename_services_resources.py 23 kB
0028_auto__add_field_resource_allow_in_projects.py 22 kB
0029_auto__chg_field_projectmembership_request_date__chg_field_projectmembe.py 23.2 kB
0030_auto__del_field_astakosuser_provider__del_field_astakosuser_third_part.py 26.9 kB
0031_new_user_fields.py 24.5 kB
0032_auto__add_field_service_type.py 23.1 kB
0033_service_type.py 23.3 kB
0034_auto__add_component__add_field_resource_service_type.py 24.7 kB
0035_components.py 24.4 kB
0036_auto__del_service__del_field_resource_service.py 23.9 kB
0037_auto__add_endpointdata__add_unique_endpointdata_endpoint_key__add_serv.py 25.8 kB
0038_auth_tokens.py 24.8 kB
0039_auto__add_unique_astakosuser_auth_token__add_unique_component_auth_tok.py 24.5 kB
0040_auto__chg_field_astakosuser_auth_token__chg_field_component_auth_token.py 24.7 kB
0041_auto__add_field_resource_service_origin.py 24.4 kB
0042_service_origin.py 24.5 kB
0043_uninitialized_projects.py 24.6 kB
0044_auto__chg_field_projectapplication_chain__chg_field_project_id.py 25.1 kB
0045_auto__del_field_projectapplication_precursor_application.py 24.3 kB
0046_auto__add_projectmembershiplog.py 25.6 kB
0047_membership_logs.py 27.2 kB
0048_auto__del_projectmembershiphistory__del_field_projectmembership_reques.py 25.6 kB
0049_auto__add_projectlog__add_field_projectapplication_response_actor__add.py 27.4 kB
0050_project_logs.py 25.8 kB
0051_auto__del_field_project_last_approval_date__del_field_project_deactiva.py 25.7 kB
0052_auto__del_serial__add_projectlock.py 25.4 kB
0053_auto__add_field_component_base_url.py 25.2 kB
0054_reduce_bigint.py 25.3 kB
0055_auto__chg_field_resource_uplimit__chg_field_astakosuserquota_capacity_.py 26.2 kB
0056_user_quota.py 25.4 kB
0057_auto__del_field_resource_allow_in_projects__add_field_resource_ui_visi.py 25.3 kB
0058_moderation_fix.py 25.6 kB
0059_sign_terms.py 25 kB
0060_fix_uuids.py 25 kB
0061_auto__chg_field_astakosuser_uuid.py 25.1 kB
0062_accept_with_usage.py 29.1 kB
__init__.py 0 Bytes

Latest revisions

# Date Author Comment
1e3612ac 01/08/2014 05:02 pm Giorgos Korfiatis

astakos: Accept users with non-zero quota usage

Due to a non-handled case during the introduction of the user moderation
framework, there can exist non-accepted users with non-zero quota usage.
This can have happened if a user was set inactive before that migration....

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

astakos: Make user uuid field non-null

Set a uuid to any user missing one and set the field null=False.

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

d5421da4 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Revert moderation of non-verified users

Migration 0031 accepted users to whom activation email had been sent, even
if their email had not been verified. This is an inconsistent state. We
set moderated = False for inactive users. If there are any active users in...

f72ba65d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve existing quota on default change

View the resource defaults as a skeleton to be consulted when accepting
a new user. All users keep their quota in AstakosUserQuota.

Operate resource-modify in bulk, in order to avoiding updating the
quotaholder separately for each resource.

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.

41e92ef2 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Replace decimal field with bigint

Any values that happen to be greater than the new max (2**63-1)
are reduced to this value.

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

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.

View revisions

Also available in: Atom