Commit Graph

103 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 ea16305442
signup wizard experiment. (#415)
* signup wizard experiment.

* better signon wizard page logos (shuffled)

* adding border shadow.

* remove duplicate logo.

* adding join mailing list button.

* make sure unnecessary admin user is removed from the database.

* updated fasten-sources to fix incorrectly merged epic brands. see https://github.com/fastenhealth/fasten-onprem/issues/366
2024-02-12 17:56:53 -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 b469fbbe7b
fixing migration. 2024-01-17 19:00:19 -08:00
Jason Kulatunga 7e0205b538
fixing tests. 2024-01-17 17:45:28 -08:00
Jason Kulatunga d66c63c888
fixing tests. 2024-01-17 17:07:48 -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
Jason Kulatunga a161f41998
make sure we migrate the database models. 2023-11-20 09:23:00 -08:00
Jason Kulatunga dbd868c796
adding meta prefix to all relevant meta keys. (#323)
* adding meta prefix to all relevant meta keys.
moved extractor functions into reusable script.

* adding comprensive tests and types for extracted data stored in tables.

* update with README.

* using choiceTypePaths to correctly append types to the search parameter queries.

* adding comment or `keyword` types

* better extraction of Date information.

* fix tests.
2023-11-19 11:09:23 -08:00
Jason Kulatunga 77cb81435c
Encryption At Rest (#284) 2023-11-07 15:17:00 -08:00
Jason Kulatunga 145eea6d6a
update uuid.Nil reference for special placeholder reference. 2023-10-17 20:25:23 -07:00
Jason Kulatunga 6858ae8d4c
added database migration framework. 2023-10-17 11:46:08 -07:00
Jason Kulatunga 9087f590b2
fixing test suite. 2023-10-16 21:49:15 -07:00
Nicholas Murray d154d9e811 Merge main
Picked up on most recent change with DeleteSource func
2023-10-16 07:49:45 -07:00
Nicholas Murray 8be1e34e68 backend/pkg/database: add postgres package and postgres specific db instantiation 2023-10-14 10:52:17 -07:00
Nicholas Murray c90f3c0d88 backend/pkg/database: to squash, git add renamed files 2023-10-14 10:33:37 -07:00
Nicholas Murray abbfa9a93e backend/pkg/database: move all common Gorm functionality to new files 2023-10-13 16:57:43 -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 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 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 21dc5ebe92
WIP paginate graph (medical history view) 2023-10-03 17:19:13 -07:00
Jason Kulatunga 595541f3a0
correctly handle query for token with system but no code. 2023-10-02 16:07:25 -07:00
Jason Kulatunga 623c9ab663
adding tests for processing aggregation parameters.
make sure frontend code uses new aggregation parameter structure.
2023-10-02 14:27:35 -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 af2344ec00
add sort_date as a DB field that can be queried.
make sure that order_by is automatically desc for date fields.
2023-10-01 19:15:24 -07:00
Jason Kulatunga 6d831f6ee7
make sure we can send limit and offset when querying.
list the diagnostic reports in the dropdown for filtering.
2023-10-01 17:05:55 -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 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 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 0a9eb88b1b
fixing module name (fasten-onprem vs fastenhealth-onprem) 2023-08-27 17:09:46 -07:00
Jason Kulatunga 9a4dcf9852 adding tests for dashboard settings
fixing database persistence for settings.
using reflection instead of abusing AppConfig for parsing UserSettingsEntries to UserSettings struct.
2023-08-25 08:36:12 -07:00
Jason Kulatunga 31479a4fc4 adding support for user settings (Remote Dashboard Locations) 2023-08-25 08:36:12 -07:00
Jason Kulatunga 3fe72918fd
adding ability to count by wildcard (source_resource_type).
internal fields like `id`, `source_id`, `source_resource_id` and `source_resource_type` are now queryable via keyword type.
2023-08-23 12:24:08 -07:00
Jason Kulatunga 2a8b302319 fixing tests. 2023-08-17 17:19:26 -06:00
Jason Kulatunga 3c30298b7c fixing tests. 2023-08-17 17:19:26 -06:00
Jason Kulatunga 2f292397f7 where possible store the SourceURI with the resource.
requires updated version of Fasten sources (better Binary compatibility)
2023-08-17 17:19:26 -06:00
Jason Kulatunga b3a173df01 working aggregation code 2023-08-14 17:23:36 -06:00
Jason Kulatunga 6f56fa9c3b working aggregation code.
added tests for sql generation.
2023-08-14 17:23:36 -06:00
Jason Kulatunga 2c5133bef7 adding testing framework for Aggregation code.
WIP.
2023-08-14 17:23:36 -06:00
Jason Kulatunga 410696c26f adding pagination to the explore page. fixes #216
simplified fallback component for table list
2023-08-12 10:27:46 -06:00
Jason Kulatunga 0397a2f0cb sort all resources by "sort_date" column during query
return units when querying
rename all usages of "source" page to "explore"
adding new explore page.
fix dashboard widgets to correctly
2023-08-08 21:08:17 -07:00