Commit Graph

804 Commits

Author SHA1 Message Date
Jason Kulatunga c894c01687 update readme, add banner. 2022-10-13 08:44:14 -07:00
Jason Kulatunga 77c23e62f0
Merge pull request #7 from fastenhealth/spa 2022-10-13 08:16:04 -07:00
Jason Kulatunga e5daf0a7e5 added a mechanism to store updated source data in the db (after tokens have been refreshed)
refresh tokens are still broken/inconsistently refreshed.
2022-10-12 20:04:59 -07:00
Jason Kulatunga f851cad8f8 updating license -- GPLv3 2022-10-12 19:11:12 -07:00
Jason Kulatunga 947586c71d fixing genreated mock database.
fixing time on toasts.
2022-10-12 19:01:43 -07:00
Jason Kulatunga 9490cac8e5 fixing time spans. 2022-10-12 18:56:58 -07:00
Jason Kulatunga 4f90a9eedb provide a consistent way to retrun results from WebWorkers.
fixed Username field in login page.
added support for CORS relay
fixed spec files.
2022-10-12 18:47:12 -07:00
Jason Kulatunga 6af72266f6 better toast/notifications.
- configurable autohide
- success style
- notifications on sync ocomplete.
2022-10-12 08:53:24 -07:00
Jason Kulatunga b8112947cd WIP, writing directly to the remote DB. 2022-10-11 22:43:42 -07:00
Jason Kulatunga 53ab47531f fixing replication handler. 2022-10-11 07:27:21 -07:00
Jason Kulatunga ae9697331a working upsert logic based on upsert plugin.
Refresh token is broken again.
2022-10-10 21:56:01 -07:00
Jason Kulatunga 2401ab66c7 toast notifications 2022-10-10 18:03:00 -07:00
Jason Kulatunga 2e21176ad7 fixed standalone couchdb setup.
fixed couchdb sync.
2022-10-10 08:11:00 -07:00
Jason Kulatunga 981fcfbc7b fixed standalone couchdb setup. 2022-10-10 07:46:33 -07:00
Jason Kulatunga a4c5168823 typo. 2022-10-09 15:01:18 -07:00
Jason Kulatunga d89cb920af remove web.jwt.encryptionkey requirement
when running just CouchDB, make sure fasten services are not present.
added auth interceptor when session has expired.
2022-10-09 12:59:09 -07:00
Jason Kulatunga 8f933e626d cleanup config files and messages. 2022-10-09 12:30:26 -07:00
Jason Kulatunga fcb9d6b31f working couchdb reverse proxy behind webapp binary.
working dockerfile and dockercompose file
added s6-overlay to base image, built ontop of couchdb now.
Bootstrapping of couchdb now creates _users and other system databases.
2022-10-09 11:08:23 -07:00
Jason Kulatunga a7daae9047 working couchdb reverse proxy behind webapp binary. 2022-10-09 09:34:57 -07:00
Jason Kulatunga 0a36a179d5 added support for pouchencryption
disabled in GetDB() function.
2022-10-09 08:54:23 -07:00
Jason Kulatunga 009a85f93e automatically attempt sync if a user has an active session. 2022-10-08 22:53:30 -07:00
Jason Kulatunga 4bc1c1db75 WORKING APP & WORKER
- very few plugins work in the Web-worker context
- authentication working
- SYNC not working
- UPSERT not working
- CORS issues AETNA
- REFRESH TOKEN ISSUES
2022-10-08 22:38:26 -07:00
Jason Kulatunga cbac02415b clean FastenAPI service. 2022-10-08 20:44:20 -07:00
Jason Kulatunga c209ce681c migrating most FastenAPI logic to FastenDB class.
Update the User object to be just username and password.
2022-10-08 20:40:15 -07: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 f6681a8e62 tweaks. 2022-10-07 21:23:29 -07:00
Jason Kulatunga 99a9ac67d7 working app, everything except login and metadata is stored in browser storage. 2022-10-07 09:00:24 -07:00
Jason Kulatunga 17fa95008a working dashboard lookup.
fixed pouchdb plugins:
- upsert, find & crypto added (only find tested)
- added index
- using find for retrieving patients.
reorganizing package.json to move types into dev
updating tsconfig files.
TODO: fix "disabled" tsconfig entries .
2022-10-06 22:19:48 -07:00
Jason Kulatunga b13d3b78e0 removed pouchdb-find plugin, WORKING. 2022-10-06 18:30:55 -07:00
Jason Kulatunga d9038f700c removed unnecessary endpoints from fasten-api
documetnation for ligthouse.service
2022-10-06 18:07:09 -07:00
Jason Kulatunga 5b3aa03b7d working medical-sources. 2022-10-06 18:06:25 -07:00
Jason Kulatunga 054756c9b7 adding queue. 2022-10-06 18:04:17 -07:00
Jason Kulatunga 5442063c17 adding database changes & models. 2022-10-06 18:03:18 -07:00
Jason Kulatunga 349b627845 remove the CreateSource endpoint from backend api. 2022-10-06 17:57:31 -07:00
Jason Kulatunga e031163932 fixing clients 2022-10-06 17:54:40 -07:00
Jason Kulatunga c8ffe73057 adding all clients. 2022-10-05 23:51:59 -07:00
Jason Kulatunga 7f8e592f6a adding all FHIR client methods.
Adding documentation.
2022-10-05 23:15:11 -07:00
Jason Kulatunga 6425ea48f0 adding Base64 methods
Adding tests for BaseClient
Adding Fhir401Client
Adding fixtures for BaseClient and Fhir401Client
2022-10-05 22:01:23 -07:00
Jason Kulatunga 0a5d71691f moving models down to lib dir.
adding base client to conduit lib.
adding tests
renaming all Pouchdb record references to "Document".
2022-10-05 06:38:00 -07:00
Jason Kulatunga 5a61ed15c6 begin working on web-worker support.
Migrating DB layer in Go to typescript lib.
2022-10-04 19:41:38 -07:00
Jason Kulatunga 94d26ad075
Merge pull request #6 from fastenhealth/sandbox 2022-10-03 22:22:07 -07:00
Jason Kulatunga e9bbcbc5c0
Merge pull request #5 from fastenhealth/spa 2022-10-03 22:14:05 -07:00
Jason Kulatunga 81151c0318 fix issue with localstorage of codeverifier
make sure we update the connected list when connection successful.
2022-10-03 21:40:35 -07:00
Jason Kulatunga f03bdbd122 cleanup unused references.
simplify authorization url genreation
using fragment oauth mode to support stateless Lighthouse.
2022-10-03 20:59:26 -07:00
Jason Kulatunga 9f6e32119f added simpler logic for handling message passing between source auth window and app. 2022-09-28 22:23:52 -07:00
Jason Kulatunga 22f478a6e8 fixing build. 2022-09-27 22:23:40 -07:00
Jason Kulatunga 655e63ed2b make sure the seeded db is available in the container. 2022-09-27 22:14:01 -07:00
Jason Kulatunga 83e71d8b54 adding not implemented messages. 2022-09-27 21:36:09 -07:00
Jason Kulatunga 08ec12803e fixing header. 2022-09-27 18:03:26 -07:00
Jason Kulatunga cb431a95ff print error messages during login/signup. 2022-09-27 17:57:36 -07:00