Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Submissions in journal (EXPOSUREAPP-14181) #5693

Merged
merged 57 commits into from
Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
e5b1b4f
Sever / API
mtwalli Nov 3, 2022
3d914fc
Merge branch 'feature/13454-srs' into fix/14188-server-api
mtwalli Nov 3, 2022
ae9b653
Lint
mtwalli Nov 3, 2022
9ee2bbc
Srs Device attestation
mtwalli Nov 3, 2022
3dde42f
Set steps
mtwalli Nov 3, 2022
c0224dd
Test / Run
mtwalli Nov 3, 2022
04ac634
Lint
mtwalli Nov 3, 2022
20f86d4
lint
mtwalli Nov 3, 2022
83cbf4c
Logs
mtwalli Nov 4, 2022
1cbe38e
Auth response / error codes
mtwalli Nov 4, 2022
7d88acc
Submission error codes
mtwalli Nov 4, 2022
70eb8cf
Split
mtwalli Nov 4, 2022
a88f84c
Revert Jackson converter
mtwalli Nov 4, 2022
2899dae
Refactor attestation
mtwalli Nov 4, 2022
a5b4848
Map safety net errors
mtwalli Nov 4, 2022
84175e3
Test
mtwalli Nov 4, 2022
93ed7a0
Tests
mtwalli Nov 4, 2022
9852961
otp flow
mtwalli Nov 7, 2022
1f0308a
Test Result
mtwalli Nov 7, 2022
0572edf
Log
mtwalli Nov 7, 2022
d418d0b
Update title
mtwalli Nov 7, 2022
77ac64b
Save last submission time
mtwalli Nov 7, 2022
4eb72e9
Update SubmissionTaskTest.kt
mtwalli Nov 7, 2022
c25a4d0
Update SrsSubmissionSettingsTest.kt
mtwalli Nov 7, 2022
f2696ca
Add test
mtwalli Nov 7, 2022
f031245
Update SrsSubmissionRepositoryTest.kt
mtwalli Nov 7, 2022
0dec11d
Device time
mtwalli Nov 7, 2022
b2648a5
Display submission time
mtwalli Nov 7, 2022
6b75f5d
Extend test menu
mtwalli Nov 7, 2022
24ec88e
Cover reset
mtwalli Nov 7, 2022
85384b7
Fix
mtwalli Nov 7, 2022
a6c3ad0
Check error code first
mtwalli Nov 8, 2022
ee7c29a
Create SrsPlaybookTest.kt
mtwalli Nov 8, 2022
121fcfc
Cover OTP error
mtwalli Nov 8, 2022
874c1c9
Lint
mtwalli Nov 8, 2022
3b5efc5
Create SrsSubmissionServerTest.kt
mtwalli Nov 8, 2022
2413c81
Update SrsSubmissionServerTest.kt
mtwalli Nov 8, 2022
b099c56
Merge branch 'feature/13454-srs' into feature/14188-server-api
mtwalli Nov 8, 2022
391ca44
add new options
mtwalli Nov 8, 2022
17751ce
Extend journal
mtwalli Nov 8, 2022
dd2f9d1
Report submission
mtwalli Nov 8, 2022
35682de
lint
mtwalli Nov 8, 2022
9bdc0e4
Logs
mtwalli Nov 8, 2022
b93ff19
Clean
mtwalli Nov 8, 2022
b723348
style
mtwalli Nov 8, 2022
5d78eec
Clean obsolete submissions in the diary
mtwalli Nov 9, 2022
ef3c266
Update ContactDiaryDataRetentionCalculationTest.kt
mtwalli Nov 9, 2022
1b2d44b
Reusable
mtwalli Nov 9, 2022
081e00f
Create SubmissionReporterTest.kt
mtwalli Nov 9, 2022
2c84fc4
Merge branch 'feature/13454-srs' into feature/14181-submission-journal
mtwalli Nov 9, 2022
816298a
Update ContactDiaryOverviewViewModelTest.kt
mtwalli Nov 9, 2022
0cc013d
Screenshots Test
mtwalli Nov 9, 2022
052df99
Update SrsSubmissionRepositoryTest.kt
mtwalli Nov 9, 2022
6a69175
DB test
mtwalli Nov 9, 2022
af000c2
Update SrsSubmissionRepositoryTest.kt
mtwalli Nov 9, 2022
0b402fa
Update ContactDiaryOverviewFragmentTest.kt
mtwalli Nov 9, 2022
cab3b81
Merge branch 'feature/13454-srs' into feature/14181-submission-journal
mtwalli Nov 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
{
"formatVersion": 1,
"database": {
"version": 5,
"identityHash": "205d70ce8edf69871f63fa3d2fe98ca6",
"entities": [
{
"tableName": "locations",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`locationId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `locationName` TEXT NOT NULL, `phoneNumber` TEXT, `emailAddress` TEXT, `traceLocationID` TEXT)",
"fields": [
{
"fieldPath": "locationId",
"columnName": "locationId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "locationName",
"columnName": "locationName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "phoneNumber",
"columnName": "phoneNumber",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "emailAddress",
"columnName": "emailAddress",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "traceLocationID",
"columnName": "traceLocationID",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"locationId"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "locationvisits",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `date` TEXT NOT NULL, `fkLocationId` INTEGER NOT NULL, `duration` INTEGER, `circumstances` TEXT, `checkInID` INTEGER, FOREIGN KEY(`fkLocationId`) REFERENCES `locations`(`locationId`) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "date",
"columnName": "date",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "fkLocationId",
"columnName": "fkLocationId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "duration",
"columnName": "duration",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "circumstances",
"columnName": "circumstances",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "checkInID",
"columnName": "checkInID",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_locationvisits_fkLocationId",
"unique": false,
"columnNames": [
"fkLocationId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_locationvisits_fkLocationId` ON `${TABLE_NAME}` (`fkLocationId`)"
}
],
"foreignKeys": [
{
"table": "locations",
"onDelete": "CASCADE",
"onUpdate": "CASCADE",
"columns": [
"fkLocationId"
],
"referencedColumns": [
"locationId"
]
}
]
},
{
"tableName": "persons",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fullName` TEXT NOT NULL, `phoneNumber` TEXT, `emailAddress` TEXT)",
"fields": [
{
"fieldPath": "personId",
"columnName": "personId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "fullName",
"columnName": "fullName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "phoneNumber",
"columnName": "phoneNumber",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "emailAddress",
"columnName": "emailAddress",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"personId"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "personencounters",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `date` TEXT NOT NULL, `fkPersonId` INTEGER NOT NULL, `durationClassification` TEXT, `withMask` INTEGER, `wasOutside` INTEGER, `circumstances` TEXT, FOREIGN KEY(`fkPersonId`) REFERENCES `persons`(`personId`) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "date",
"columnName": "date",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "fkPersonId",
"columnName": "fkPersonId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "durationClassification",
"columnName": "durationClassification",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "withMask",
"columnName": "withMask",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "wasOutside",
"columnName": "wasOutside",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "circumstances",
"columnName": "circumstances",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [
{
"name": "index_personencounters_fkPersonId",
"unique": false,
"columnNames": [
"fkPersonId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_personencounters_fkPersonId` ON `${TABLE_NAME}` (`fkPersonId`)"
}
],
"foreignKeys": [
{
"table": "persons",
"onDelete": "CASCADE",
"onUpdate": "CASCADE",
"columns": [
"fkPersonId"
],
"referencedColumns": [
"personId"
]
}
]
},
{
"tableName": "corona_tests",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `testType` TEXT NOT NULL, `result` TEXT NOT NULL, `time` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "testType",
"columnName": "testType",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "result",
"columnName": "result",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "submissions",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `submittedAt` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "submittedAt",
"columnName": "submittedAt",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '205d70ce8edf69871f63fa3d2fe98ca6')"
]
}
}
Loading