Commit Graph

127 Commits

Author SHA1 Message Date
Jason Kulatunga 8059a1a719
working signup wizard redirect (Show First Run Wizard) 2024-02-15 11:19:04 -08:00
Jason Kulatunga f8292c300f
working signup wizard. 2024-02-14 17:42:21 -08:00
Jason Kulatunga d450f8b4e4
update fasten-sources. Make sure we correctly handle error when endpoint not found. 2024-02-12 10:23:30 -08:00
Jason Kulatunga c85e829c46
Adding new system settings table. (#409)
* Adding new system settings table.
Adding associated database migration.
Added tests
Fixing tests for user-settings.

* updated migration, make sure default system settings are created.
Added database commands to create and update system settings.
Added generic response wrapper.

* make sure we can get related versions (fasten sources, onprem and desktop) when starting the app.
2024-02-09 09:10:06 -08:00
Jason Kulatunga 74a18194a5
make sure the request body is correctly passed to the ReverseProxy.
fixes https://github.com/fastenhealth/fasten-onprem/issues/404
2024-02-02 12:33:35 -08:00
Jason Kulatunga c48af66f00
CORS Proxy for Athena providers (#398)
Handle cors_relay_required = true for Providers in UI.
Added a safe CORS Proxy, which support for Whitelisted endpoints only.
2024-01-29 19:45:21 -08:00
Jason Kulatunga 78a1935d13
fixed test for related count. 2024-01-29 14:23:49 -08:00
Jason Kulatunga 870f6ffee2
added test to verify that wizard resource creation works correctly.
update fasten-sources (contains fix for silently ignoring failures during wizard resource creation).
fixed file upload error in wizard.
Fixed data structure error in wizard for DocumentReference.

fixes #393
2024-01-26 22:01:34 -08:00
Jason Kulatunga ac5359c332
better error handling for User.
Adding an endpoint that allows user to create background job errors.
2024-01-21 09:58:56 -08:00
Jason Kulatunga efd2fb3655
verbose error messages. make sure backend error messages during sync & source creation are propagated to the frontend. 2024-01-20 21:59:17 -08:00
Jason Kulatunga c88751c5b7
make sure lighthouse environment is passed to the source credential. 2024-01-17 13:45:19 -08:00
Jason Kulatunga dec1914b91
adding version, and migrate cli.
adding better migration support.
migrate between legacy source type to brands,portals and endpoints.
2024-01-16 21:13:52 -08:00
Jason Kulatunga 86b336e489
adding ability to delete user account completely 2024-01-11 13:31:36 -08:00
Jason Kulatunga d23af018e7
Timeline based Manual Entry form (#330) 2023-12-03 18:40:16 -08:00
Jason Kulatunga 2061684aed
WIP adding medical history timeline view. (#325) 2023-11-23 08:51:01 -08:00
Mohanish Patel f2cb6a904c
added tests for resource_fhir_test.go -> ListResourceFhir (#302) 2023-11-14 04:32:53 -08:00
Jason Kulatunga 77cb81435c
Encryption At Rest (#284) 2023-11-07 15:17:00 -08:00
Jason Kulatunga bba1dde606
better error messages when dynamic client registration fails. 2023-11-05 10:53:30 -08:00
Sharif Nassar 11386dbf00
Spleling fix (#296) 2023-11-04 16:01:00 -07:00
mohanish2504 ca450f5793 update:
sepated logic to hit invalid source,resource id during test case.
2023-10-30 23:30:37 +05:30
mohanish2504 f4a776d175 adding: resource_fhir_test.go
update: source_test.go moved test data creating to a common logic.
2023-10-29 19:27:25 +05:30
Jason Kulatunga 6f4067d179
adding unsafe selective sync endpoint for testing purposes. 2023-10-17 21:35:30 -07:00
Nicholas Murray d154d9e811 Merge main
Picked up on most recent change with DeleteSource func
2023-10-16 07:49:45 -07:00
Jason Kulatunga c25b164035
adding loading + empty panel support to the records summary widget. 2023-10-13 21:37:22 -07:00
Jason Kulatunga 8e999e6b79
adding records summary to dashboard. 2023-10-13 20:41:42 -07:00
Jason Kulatunga 1008b31ef6
adding a care team widget. 2023-10-13 18:26:33 -07:00
Jason Kulatunga d427f79ffc
adding icons and updated dashboard.
Added new way to register widgets with Gridstack (comes from widgetModule directly)
2023-10-13 18:26:32 -07:00
Jason Kulatunga 13e21b580b
always update source credential when doing unsafe raw request. 2023-10-12 22:06:35 -07:00
Jason Kulatunga 504cd4264c
[WIP] adding factory pattern support to Database package.
Users can select database type using database.type configuration when calling NewRepository()
2023-10-12 14:19:12 -07:00
Jason Kulatunga a6edb24aa0
move registration code into the sourceCredential.
Added ability to Reconnect/Update source
make sure re-connect function is disabled for manual sources.
2023-10-11 20:43:27 -07:00
Jason Kulatunga c590663537
adding ability to delete source + associated records. 2023-10-11 07:54:18 -07:00
Jason Kulatunga e5f920c2ec
when server restarts, we should unlock all locked jobs, and set their status to failed
make sure we can customize the limit value for Background Job query.

fixes #267
2023-10-09 17:16:18 -07:00
Jason Kulatunga cae3afce72
adding ability to submit support tickets in-app.
added logos to the patient profile menu
added link to fundraising doc in-app
update fontawesome version.

fixes #272
2023-10-09 16:38:17 -07:00
Jason Kulatunga c1f057a15a
make sure api calls are not cached in the desktop app.
fixes #270
2023-10-09 10:51:38 -07:00
Jason Kulatunga dcabfc8cd9
Background Jobs (#266) 2023-10-08 16:29:26 -07:00
Jason Kulatunga 1fda51074e
finishing pagination for medical history page. 2023-10-03 17:27:08 -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 01c293bf40
provide mechanism to call functions when doing aggregations.
provide a standardized format for token aggregation ($.system|$.code)
2023-10-02 13:42:41 -07:00
Jason Kulatunga cce4a2577b fixed tests. 2023-09-20 14:57:05 -07:00
Jason Kulatunga c8718b2d8f adding NoopEventBus version. Fixing tests. 2023-09-20 14:57:05 -07:00
Jason Kulatunga b6da493d62 removed singleton eventbus. Moved to application init.
Added interface for eventbus.
verified working.
2023-09-20 14:57:05 -07:00
Jason Kulatunga 85986cf95c disabling eventbus on windows, causes deadlock. 2023-09-13 13:57:17 -07:00
Jason Kulatunga ce8efdb753 making all references to EventBusListeners pointers
adding a keepalive event type.
2023-09-13 13:57:17 -07:00
Jason Kulatunga 7078f784c4
fixing dashboard on windows - https://github.com/golang/go/issues/45230 2023-09-13 11:31:11 -07:00
Jason Kulatunga 70ca68a6ec
added background context todo 2023-09-13 09:43:56 -07:00
Jason Kulatunga 9e1c7455d1 moved event bus into its own package.
created models for event bus messaging.
added logger.
added source complete and sync events.
2023-09-10 09:25:15 -07:00
Jason Kulatunga 74fc682dbf renamed sse endpoint to events. Using the technology name in the API isnt a good idea. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 6a3afe150e working private event notifications. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 862e3d6ea7 pass in the event bus to the DatabaseRepository for notifications. 2023-09-10 09:25:15 -07:00
Jason Kulatunga 8ff42142fb deriving background context based on Gin Contex.
Removed testing message bus heartbeats -> moved to /health endpoint.
2023-09-10 09:25:15 -07:00