Skip to content

Commit 96aa911

Browse files
authored
Merge pull request #36 from buildingSMART/main
Merge main into dev
2 parents 8231dcb + a9306dc commit 96aa911

File tree

4 files changed

+52
-26
lines changed

4 files changed

+52
-26
lines changed

.github/workflows/dispatch.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 5.1.7 on 2025-03-17 20:45
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('ifc_validation_models', '0011_useradditionalinfo_is_vendor_self_declared'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='useradditionalinfo',
15+
name='is_vendor_self_declared',
16+
field=models.BooleanField(blank=True, help_text='Whether this user has self-declared an affiliation with an Authoring Tool vendor (optional)', null=True, verbose_name='is vendor (self declared)'),
17+
),
18+
]
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by Django 5.1.1 on 2025-05-08 09:38
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('ifc_validation_models', '0012_alter_useradditionalinfo_is_vendor_self_declared'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='model',
15+
name='status_signatures',
16+
field=models.CharField(choices=[('v', 'Valid'), ('i', 'Invalid'), ('n', 'Not Validated'), ('w', 'Warning'), ('-', 'Not Applicable')], db_index=True, default='n', help_text='Status of the Digital Signatures Validation.', max_length=1),
17+
),
18+
migrations.AlterField(
19+
model_name='validationtask',
20+
name='type',
21+
field=models.CharField(choices=[('SYNTAX', 'STEP Physical File Syntax'), ('SCHEMA', 'Schema (EXPRESS language)'), ('MVD', 'Model View Definitions'), ('BSDD', 'bSDD Compliance'), ('INFO', 'Parse Info'), ('PREREQ', 'Prerequisites'), ('HEADER', 'Header Validation'), ('NORMATIVE_IA', 'Implementer Agreements (IA)'), ('NORMATIVE_IP', 'Informal Propositions (IP)'), ('INDUSTRY', 'Industry Practices'), ('INST_COMPLETION', 'Instance Completion'), ('DIGITAL_SIGNATURES', 'Digital Signatures')], db_index=True, help_text='Type of the Validation Task.', max_length=25),
22+
),
23+
]

models.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,16 @@ class License(models.TextChoices):
614614
help_text="Status of the Header Validation."
615615
)
616616

617+
status_signatures = models.CharField(
618+
max_length=1,
619+
choices=Status.choices,
620+
default=Status.NOT_VALIDATED,
621+
db_index=True,
622+
null=False,
623+
blank=False,
624+
help_text="Status of the Digital Signatures Validation."
625+
)
626+
617627
uploaded_by = models.ForeignKey(
618628
to=settings.AUTH_USER_MODEL,
619629
on_delete=models.RESTRICT,
@@ -896,6 +906,7 @@ class Type(models.TextChoices):
896906
NORMATIVE_IP = 'NORMATIVE_IP', 'Informal Propositions (IP)'
897907
INDUSTRY_PRACTICES = 'INDUSTRY', 'Industry Practices'
898908
INSTANCE_COMPLETION = 'INST_COMPLETION', 'Instance Completion'
909+
DIGITAL_SIGNATURES = 'DIGITAL_SIGNATURES', 'Digital Signatures'
899910

900911
class Status(models.TextChoices):
901912
"""

0 commit comments

Comments
 (0)