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
c1f057a15a
make sure api calls are not cached in the desktop app.
...
fixes #270
2023-10-09 10:51:38 -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
ce8efdb753
making all references to EventBusListeners pointers
...
adding a keepalive event type.
2023-09-13 13:57:17 -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
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
Jason Kulatunga
0fd78b7533
refactoring. Created EventBus singleton.
2023-09-10 09:25:15 -07:00
Jason Kulatunga
2027e898b3
using Server-sent-events (SSE) for notifications support (and background processing)
...
WIP.
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
f903c38b55
adding support for Composition resource type (Custom grouping) ( #20 )
2023-01-10 19:23:47 -08:00
Jason Kulatunga
1a18319c8c
tweaks to jwt to be consistent.
2022-12-03 17:15:19 -08:00
Jason Kulatunga
e360369706
begin restoring Sqlite functionality. ( #11 )
2022-12-02 19:40:58 -08:00
Jason Kulatunga
f2bb44e8be
refactor backend to remove all storage logic. Just auth and metadata endpoints now.
...
Adding docker image for couchdb and addign docker-compose file.
2022-10-08 19:40:33 -07:00
Jason Kulatunga
02dcbcc507
working summary api
2022-09-17 10:14:59 -07:00
Jason Kulatunga
f845ae3716
make sure we wait for the token to be stored before reloading the page.
2022-09-14 08:19:28 -07:00
Jason Kulatunga
edd8587ab2
make sure that the jwt encryption key is configurable by the end user.
2022-09-13 21:41:10 -04:00
Jason Kulatunga
1535f139c1
when making requests to the db, use the current user context.
2022-09-12 21:20:56 -04:00
Jason Kulatunga
d67650eaf1
make sure we parse the auth header.
...
make sure the token signing method is one we expect.
2022-09-12 01:03:20 -04:00
Jason Kulatunga
6aa92674bc
working authentication check (via token presence in localstorage).
...
HTTP interceptor to always add token to header.
2022-09-12 00:58:19 -04:00
Jason Kulatunga
e657d73e0e
working frontend. adding database.
2022-08-25 18:26:29 -07:00
Jason Kulatunga
d46f12928e
rename
2022-08-22 18:11:00 -07:00
Jason Kulatunga
cc9948cd04
Initial commit
2022-08-22 17:51:46 -07:00