Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 3 semi-stable #10007

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1422ded
remove post-migrate signals from migration stream (#9964)
Johnetordoff Jun 24, 2022
222ce09
move createcachetable to post migrate signal (#9944)
Johnetordoff Jun 27, 2022
b2f6e94
[ENG-3836] Investigate waffle flags (#9950)
Johnetordoff Jul 1, 2022
4186d21
[ENG-3865] Create Licenses using post-migrate signal (#9961)
Johnetordoff Jul 12, 2022
2490d05
Merge branch 'develop' into feature/django_upgrade
Jul 13, 2022
4e63d3a
[ENG-3863] Move schema ensuring and schema blocks update to post-migr…
cslzchen Jul 13, 2022
fc4c982
[ENG-3868] Move blocked email domains to post-migrate signal (#9958)
Johnetordoff Jul 13, 2022
2c751d1
[ENG-3866] Move citation style population out of migration stream (#9…
Johnetordoff Jul 15, 2022
65b0360
[ENG-3867] Create Storage Regions on post migration signal (#9965)
Johnetordoff Jul 19, 2022
9c110bb
upgrade markdown
Jul 20, 2022
ae76da4
upgrade password-reset library for Django 3
Jul 20, 2022
d00e268
Merge branch 'feature/django_upgrade' of https://github.com/CenterFor…
Jul 28, 2022
92e9c2a
Merge branch 'feature/django_upgrade' of https://github.com/CenterFor…
Jul 28, 2022
de9db09
Merge branch 'feature/django_upgrade' of https://github.com/CenterFor…
Jul 28, 2022
19b7a9b
Merge branch 'feature/django_upgrade' of https://github.com/CenterFor…
Jul 28, 2022
d232133
remove password changing view due to disuse
Aug 4, 2022
07a74c5
remove markdown and migration/test tampering
Aug 10, 2022
4eb0d58
fix issues QS slicing issues for storage region
Aug 10, 2022
4f40887
resolve markdown issues by downgrading DRF version
Aug 10, 2022
f265eed
resolve markdown issues by downgrading DRF version
Aug 10, 2022
bb9b207
Merge branch 'feature/django_upgrade' of https://github.com/CenterFor…
Aug 11, 2022
bc06a9b
Merge branch 'feature/django_upgrade' of https://github.com/CenterFor…
Aug 11, 2022
f0d7cc4
test running with CSRF on
Aug 11, 2022
28e07f7
test moving `from_db_value` to JSON field
Aug 14, 2022
f5f5aa5
Merge branch 'upgrade-markdown' of https://github.com/johnetordoff/os…
Aug 14, 2022
bd783a1
flake fix
Aug 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion addons/bitbucket/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('osf', '0042_auto_20170707_1019'),
]

operations = [
Expand Down
1 change: 0 additions & 1 deletion addons/gitlab/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('osf', '0065_auto_20171024_1330'),
]

operations = [
Expand Down
1 change: 0 additions & 1 deletion addons/onedrive/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('osf', '0067_auto_20171121_1050'),
]

operations = [
Expand Down
54 changes: 50 additions & 4 deletions addons/osfstorage/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,74 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-03-23 20:34
from __future__ import unicode_literals
# Generated by Django 3.2 on 2022-08-08 15:38

import addons.base.models
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django_extensions.db.fields
import osf.models.base
import osf.utils.datetime_aware_jsonfield
import osf.utils.fields


class Migration(migrations.Migration):

initial = True

dependencies = [
('osf', '0001_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]

operations = [
migrations.CreateModel(
name='Region',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('_id', models.CharField(db_index=True, max_length=255)),
('name', models.CharField(max_length=200)),
('waterbutler_credentials', osf.utils.fields.EncryptedJSONField(default=dict)),
('waterbutler_url', models.URLField(default='http://localhost:7777')),
('mfr_url', models.URLField(default='http://localhost:7778')),
('waterbutler_settings', osf.utils.datetime_aware_jsonfield.DateTimeAwareJSONField(default=dict, encoder=osf.utils.datetime_aware_jsonfield.DateTimeAwareJSONEncoder)),
],
options={
'unique_together': {('_id', 'name')},
},
),
migrations.CreateModel(
name='UserSettings',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', django_extensions.db.fields.CreationDateTimeField(auto_now_add=True, verbose_name='created')),
('modified', django_extensions.db.fields.ModificationDateTimeField(auto_now=True, verbose_name='modified')),
('_id', models.CharField(db_index=True, default=osf.models.base.generate_object_id, max_length=24, unique=True)),
('is_deleted', models.BooleanField(default=False)),
('deleted', osf.utils.fields.NonNaiveDateTimeField(blank=True, null=True)),
('default_region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='addons_osfstorage.region')),
('owner', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='addons_osfstorage_user_settings', to=settings.AUTH_USER_MODEL)),
],
options={
'abstract': False,
},
bases=(models.Model, osf.models.base.QuerySetExplainMixin),
),
migrations.CreateModel(
name='NodeSettings',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', django_extensions.db.fields.CreationDateTimeField(auto_now_add=True, verbose_name='created')),
('modified', django_extensions.db.fields.ModificationDateTimeField(auto_now=True, verbose_name='modified')),
('_id', models.CharField(db_index=True, default=osf.models.base.generate_object_id, max_length=24, unique=True)),
('deleted', models.BooleanField(default=False)),
('is_deleted', models.BooleanField(default=False)),
('deleted', osf.utils.fields.NonNaiveDateTimeField(blank=True, null=True)),
('owner', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='addons_osfstorage_node_settings', to='osf.abstractnode')),
('region', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='addons_osfstorage.region')),
('root_node', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='osf.osfstoragefolder')),
('user_settings', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='addons_osfstorage.usersettings')),
],
options={
'abstract': False,
},
bases=(models.Model, osf.models.base.QuerySetExplainMixin, addons.base.models.BaseStorageAddon),
),
]
29 changes: 0 additions & 29 deletions addons/osfstorage/migrations/0002_auto_20170323_1534.py

This file was deleted.

29 changes: 0 additions & 29 deletions addons/osfstorage/migrations/0003_auto_20170713_1125.py

This file was deleted.

63 changes: 0 additions & 63 deletions addons/osfstorage/migrations/0004_storage_region_models.py

This file was deleted.

21 changes: 0 additions & 21 deletions addons/osfstorage/migrations/0005_region_mfr_url.py

This file was deleted.

36 changes: 0 additions & 36 deletions addons/osfstorage/migrations/0006_rename_deleted_field.py

This file was deleted.

2 changes: 1 addition & 1 deletion addons/osfstorage/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def save(self, skip_search=False, *args, **kwargs):

class OsfStorageFolder(OsfStorageFileNode, Folder):

is_root = models.NullBooleanField()
is_root = models.BooleanField(null=True, blank=True)

objects = OsfStorageFolderManager()

Expand Down
1 change: 0 additions & 1 deletion addons/wiki/migrations/0006_wikipage_wikiversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class Migration(migrations.Migration):

dependencies = [
('osf', '0077_add_maintenance_permissions'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('addons_wiki', '0005_auto_20170713_1125'),
]
Expand Down
Loading