Skip to content

Commit

Permalink
Dropbox access token max lengte vergroten #1157
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Oct 19, 2020
1 parent 92fee67 commit 0ee5837
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ v4.5.0 - 2020-10-19
- ``Fixed``: Automatisch opnieuw verbinden bij MQTT-connectiefouten [`#1091 <https://github.com/dennissiemensma/dsmr-reader/issues/1091>`_]
- ``Fixed``: Change incorrect msgstr - by @gerard33 [`#1144 <https://github.com/dennissiemensma/dsmr-reader/issues/1144>`_]
- ``Fixed``: Add missing Telegram text parts to Admin: Notifications - by @gerard33 [`#1146 <https://github.com/dennissiemensma/dsmr-reader/issues/1146>`_]
- ``Fixed``: Dropbox access token max lengte vergroten [`#1157 <https://github.com/dennissiemensma/dsmr-reader/issues/1157>`_]


v4.4.3 - 2020-09-28
Expand Down
18 changes: 18 additions & 0 deletions dsmr_backup/migrations/0012_increase_dropbox_token_length.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.1.2 on 2020-10-19 15:20

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('dsmr_backup', '0011_remove_backupsettings_latest_backup'),
]

operations = [
migrations.AlterField(
model_name='dropboxsettings',
name='access_token',
field=models.CharField(blank=True, default=None, max_length=255, null=True, verbose_name='Dropbox access token'),
),
]
2 changes: 1 addition & 1 deletion dsmr_backup/models/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Meta:
class DropboxSettings(ModelUpdateMixin, SingletonModel):
""" Dropbox backup upload settings. """
access_token = models.CharField(
max_length=128,
max_length=255,
default=None,
null=True,
blank=True,
Expand Down
2 changes: 1 addition & 1 deletion dsmrreader/provisioning/downgrade/v4.5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Dump for DSMR-reader v4.5
./manage.py migrate dsmr_api 0003_create_api_user
./manage.py migrate dsmr_backend 0015_backend_restart_required
./manage.py migrate dsmr_backup 0011_remove_backupsettings_latest_backup
./manage.py migrate dsmr_backup 0012_increase_dropbox_token_length
./manage.py migrate dsmr_consumption 0018_allow_inversed_fixed_costs
./manage.py migrate dsmr_datalogger 0029_default_retention_to_month
./manage.py migrate dsmr_frontend 0043_default_color_update_tariff_2
Expand Down

0 comments on commit 0ee5837

Please sign in to comment.