-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Hub data logs rollover daily. closes #36 * data files now saved under /media/data. closes #37 * Better handling of failures writing logs to disk . closes #38 * Removing the hub_data volume (no longer needed). Might cause data loss in existing projects
- Loading branch information
1 parent
0f47f68
commit 7bec53f
Showing
18 changed files
with
1,201 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
openbadge-server/openbadge/migrations/0006_auto_20180515_1354.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models, migrations | ||
import datetime | ||
from django.utils.timezone import utc | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('openbadge', '0005_auto_20180511_2151'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='datafile', | ||
old_name='last_update_timestamp', | ||
new_name='last_chunk', | ||
), | ||
migrations.AddField( | ||
model_name='datafile', | ||
name='date', | ||
field=models.DateTimeField(default=datetime.datetime(2018, 5, 9, 17, 54, 40, 184045, tzinfo=utc)), | ||
preserve_default=False, | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
openbadge-server/openbadge/migrations/0007_auto_20180515_1424.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models, migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('openbadge', '0006_auto_20180515_1354'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='datafile', | ||
name='hub', | ||
field=models.ForeignKey(related_name='data', to='openbadge.Hub', null=True), | ||
), | ||
] |
24 changes: 24 additions & 0 deletions
24
openbadge-server/openbadge/migrations/0008_auto_20180516_1520.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models, migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('openbadge', '0007_auto_20180515_1424'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='datafile', | ||
name='date', | ||
field=models.DateField(), | ||
), | ||
migrations.AlterField( | ||
model_name='datafile', | ||
name='filepath', | ||
field=models.CharField(unique=True, max_length=128, blank=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.