-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #306 from bcgov/release-v0.2.0
Release v0.2.0
- Loading branch information
Showing
163 changed files
with
11,873 additions
and
58,039 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[ | ||
{ | ||
"fields": { | ||
"description": "I confirm that records evidencing each matter reported under section 11.11 (2) of the Regulation are available on request.", | ||
"display_order": "1", | ||
"effective_date": "2018-01-01", | ||
"expiration_date": null | ||
}, | ||
"model": "api.signingauthorityassertion", | ||
"pk": "1" | ||
}, { | ||
"fields": { | ||
"description": "I confirm that I am an officer or employee of the fuel supplier, and that records evidencing my authority to submit this proposal are available on request.", | ||
"display_order": "2", | ||
"effective_date": "2018-01-01", | ||
"expiration_date": null | ||
}, | ||
"model": "api.signingauthorityassertion", | ||
"pk": "2" | ||
}, { | ||
"fields": { | ||
"description": "I certify that the information in this report is true and complete to the best of my knowledge and I understand that the Director may require records evidencing the truth of that information.", | ||
"display_order": "3", | ||
"effective_date": "2018-01-01", | ||
"expiration_date": null | ||
}, | ||
"model": "api.signingauthorityassertion", | ||
"pk": "3" | ||
} | ||
] |
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 -*- | ||
# Generated by Django 1.11 on 2018-05-07 17:34 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0007_credittradehistory_compliance_period'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='credittrade', | ||
options={'permissions': (('credit_trade_approve', 'Can approve credit transfers'),)}, | ||
), | ||
] |
50 changes: 50 additions & 0 deletions
50
backend/api/migrations/0009_signingauthorityassertion_signingauthorityconfirmation.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,50 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11 on 2018-05-14 15:38 | ||
from __future__ import unicode_literals | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0008_auto_20180507_1734'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='SigningAuthorityAssertion', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('create_timestamp', models.DateTimeField(auto_now_add=True, null=True)), | ||
('update_timestamp', models.DateTimeField(auto_now=True, null=True)), | ||
('description', models.CharField(blank=True, max_length=4000, null=True)), | ||
('effective_date', models.DateField(blank=True, null=True)), | ||
('expiration_date', models.DateField(blank=True, null=True)), | ||
('display_order', models.IntegerField()), | ||
('create_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='api_signingauthorityassertion_CREATE_USER', to=settings.AUTH_USER_MODEL)), | ||
('update_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='api_signingauthorityassertion_UPDATE_USER', to=settings.AUTH_USER_MODEL)), | ||
], | ||
options={ | ||
'db_table': 'signing_authority_assertion', | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='SigningAuthorityConfirmation', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('create_timestamp', models.DateTimeField(auto_now_add=True, null=True)), | ||
('update_timestamp', models.DateTimeField(auto_now=True, null=True)), | ||
('has_accepted', models.BooleanField()), | ||
('create_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='api_signingauthorityconfirmation_CREATE_USER', to=settings.AUTH_USER_MODEL)), | ||
('credit_trade', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='confirmations', to='api.CreditTrade')), | ||
('signing_authority_assertion', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='confirmations', to='api.SigningAuthorityAssertion')), | ||
('update_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='api_signingauthorityconfirmation_UPDATE_USER', to=settings.AUTH_USER_MODEL)), | ||
], | ||
options={ | ||
'db_table': 'signing_authority_confirmation', | ||
}, | ||
), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
""" | ||
REST API Documentation for the NRS TFRS Credit Trading Application | ||
The Transportation Fuels Reporting System is being designed to streamline | ||
compliance reporting for transportation fuel suppliers in accordance with | ||
the Renewable & Low Carbon Fuel Requirements Regulation. | ||
OpenAPI spec version: v1 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
""" | ||
|
||
from django.db import models | ||
|
||
from auditable.models import Auditable | ||
|
||
|
||
class SigningAuthorityAssertion(Auditable): | ||
description = models.CharField(max_length=4000, blank=True, null=True) | ||
effective_date = models.DateField(blank=True, null=True) | ||
expiration_date = models.DateField(blank=True, null=True) | ||
display_order = models.IntegerField() | ||
|
||
class Meta: | ||
db_table = 'signing_authority_assertion' |
Oops, something went wrong.