25 Commits

Author SHA1 Message Date
Vadim
210447e3f5 feat: Enforcing Database Encryption & Enable HTTPS by default (#603)
* add placeholder stylus version

* FO-33 - First version encryption

* refactor: Refactor check token logic on FE and BE

[FO-33]

* FO-33 - Run server without token

* FO-33 - Optimization design for setup-token page

* FO-33 - First change

* FO-33 - Resolve undefined appConfig in handlers

* FO-33 - Remove encrypt_db from .gitignore

* FO-33 - Use literal string for encryption token

* FO-33 - Optimization server and handler

* FO-33-SSL - add ssl in dockerfile and app

* feat: Improve token wizard flow, add get token component and revamp restore token UI

[FO-33]

* feat: Add redirect to main page button after token is set

[FO-33]

* FO-33 - optimization run server

* feat: Adjust generate token flow, add mandatory download

[FO-33]

* FO-33 - Validation token connect db

* feat: Improve validate token flow, add test token functionality

[FO-33]

* FO-33 - fix validate token

* FO-33 - optimization when token is wrong

* FO-33-SSL - Remove mkcert from dockerfile

* FO-33-SSL - ignore only crt and key

* chore: remove unused var

* chore: remove unused volumes

* chore: rename var name

* chore: rename funct

* chore: refactor encryption-key related components and handlers

* chore: revert stylus change

* chore: remove unused member

* chore: revert exportable field

* chore: remove running server in a loop. making appEngine reinitialize logic self-contained

* misc: cleanup

* misc: cleanup

* misc: cleanup

* misc: cleanup

* chore: adjust tests

* chore: rename encryption packege to regular random

* chore: rename encryption_key

* chore: add opt-out for database encryption option

* chore: revert useless changes

* chore: refactor encryption-status-guard

* chore: cleanup

* chore: cleanup

* chore: cleanup

* chore: cleanup

* chore: fix config test

* chore: send encryption key as json

* fix: resolve client routing issue

* fix: bug on updating the state on encryption-key/wizard-restore

* fix: adjust backend config validation

* chore: revert config tests

* misc: cleanup

* chore: adjust backend tests

* chore: fix backend test

* chore: refactor encryption-key/wizard-restore flow

* chore: adjust the component with a minimalistic test spec

* chore: adjust the look of the get-encryption-key-wizard component

* chore: change the look of get-encryption-key-wizard component

* chore: make default config database.encryption false

* chore: revert Dockerfile changes

* chore: revert useless changes

* chore: add auto-gen certificates when server runs with https option on

* chore: adjust ng-cli dev mode options

* chore: adjust ng-cli dev options

* chore: mount shared certs folder in docker compose

* docs: update launching docs

* chore: put rootCA-key.pem into shared dir

* fix: adjust get-encryption-key component

* chore: define clear stanby flag for the server. refactor frontend flow arround the flag

* fix: clean broken deps

* fix: log messages

* fix: encryption-status guard logic

* chore: adjust tls-related info

* chore: misc

---------

Co-authored-by: Mihai Pop @ TSA <hello@techstackapps.com>
2025-10-13 20:44:24 -04:00
Mihai Pop @ TSA
548a50510a feature/ips-export: add header; add sources appendix 2025-07-21 10:21:05 +03:00
Mihai Pop @ TSA
7d60782320 feature/ips-export: add tests for PDF rendering 2025-07-21 10:21:05 +03:00
Mihai Pop @ TSA
d0cddc3648 feature/ips-export: pdf renderer utils changes 2025-07-21 10:21:05 +03:00
Mihai Pop @ TSA
a9f4fda948 feature/ips-export: generate pdf with maroto package 2025-07-21 10:21:05 +03:00
Mihai Pop @ TSA
441b822be3 feature/ips-export: update html templates 2025-07-21 10:21:05 +03:00
Jason Kulatunga
8ad7ce34d4 working Patient record merge. Fixing IPS Export Data model for more flexibility. 2025-07-21 10:21:05 +03:00
Jason Kulatunga
d87cfce328 safer handling of componentValueQuantity. 2025-07-21 10:21:05 +03:00
Jason Kulatunga
1d25d6aea0 working Observation components with/without units. 2025-07-21 10:21:05 +03:00
Jason Kulatunga
0cf344691c correctly handle complex Observations (ComponentValueQuantity - used by Blood Pressure - Diastolic vs Systolic) 2025-07-21 10:21:05 +03:00
Jason Kulatunga
92302331a9 when querying vital signs, use vital-signs category to find a list of all codes, which are then used to find the last 3 results for this code. 2025-07-21 10:21:05 +03:00
Jason Kulatunga
34039c3a64 better Observation value export & unit export - centralized in single include.
Added support for value rounding.
2025-07-21 10:21:05 +03:00
Jason Kulatunga
c922e396e7 working IPS export using github markdown. 2025-07-21 10:21:05 +03:00
Jason Kulatunga
d0ac97af59 fixed IPS generation. 2025-07-21 10:21:04 +03:00
Jason Kulatunga
a9c7834026 updated IPS generation. 2025-07-21 10:21:04 +03:00
Jason Kulatunga
d42ba6fc97 expand export summary. 2025-07-21 10:21:04 +03:00
Jason Kulatunga
68c2de2c0e working on rendering resources 2025-07-21 10:21:04 +03:00
Jason Kulatunga
bfe5820ae9 generating IPS render test. 2025-07-21 10:21:04 +03:00
Jason Kulatunga
c92f490d25 move all IPS/narrative code into utils. 2025-07-21 10:21:04 +03:00
Jason Kulatunga
f8292c300f working signup wizard. 2024-02-14 17:42:21 -08:00
Jason Kulatunga
597a80d381 fixing import path. 2023-10-03 19:12:54 -07:00
Jason Kulatunga
345b2d5cfd working medical history pagination
- performance improvements by using placeholder ids for graph
- only inflating with real resources once we've calculated pagination window.
2023-10-03 17:25:30 -07:00
Jason Kulatunga
0a9eb88b1b fixing module name (fasten-onprem vs fastenhealth-onprem) 2023-08-27 17:09:46 -07:00
Jason Kulatunga
f1f2da2dd3 Widget Dashboard Queries using extracted Search Parameters (#179) 2023-07-08 07:43:30 -07:00
Jason Kulatunga
f903c38b55 adding support for Composition resource type (Custom grouping) (#20) 2023-01-10 19:23:47 -08:00