-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dynamic qrcode generation via frontend (#1143)
* feat(frontend): add qrcode-generator dependency * fix: use existing task-list for frontend qrcodes * build: add migration to remove qrcode table, add odk_token * build: add cryptography to dependencies for Fernet * fix(frontend): incorrect import path for SelectFormValidation * feat: add ENCRYPTION_KEY var, with encrypt/decrypt db val methods * refactor: remove qr code from db, add odk_token field for tasks * feat(backend): remove qrcode from tasks, replace with odk_token only * feat(frontend): dyanamic qrcode generation on click * fix: case when project_log.json does not exist * feat: add default odk credentials to organisation models * feat: encrypt project odk credentials by default * refactor: move field_validator for odk password to base model * build: small migrations script to convert existing qrcodes * build: update osm-fieldwork --> 0.4.2, fmtm-splitter --> 1.0.0 * build: move qrcode_to_odktoken script to migrations dir * refactor: remove assigned vars when not used * refactor: move password decrypt to model_post_init * build: set central-db restart policy unless-stopped * refactor: update odk password type to obfuscated SecretStr
- Loading branch information
1 parent
299fad2
commit 814db0d
Showing
27 changed files
with
680 additions
and
518 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
Oops, something went wrong.