Commit Graph
100 Commits
Author SHA1 Message Date
Sulka Haro 22272b4aa2 New translations en.json (French) 2025-04-19 20:32:25 +03:00
Sulka Haro a350207b83 New translations en.json (Spanish) 2024-10-25 16:21:13 +03:00
Sulka Haro cd1c54b86d New translations en.json (Chinese Traditional) 2024-09-23 19:16:01 +03:00
Sulka Haro fa0905be49 New translations en.json (Chinese Traditional) 2024-09-23 16:11:31 +03:00
Sulka Haro 274a80a3dc New translations en.json (Chinese Traditional) 2024-09-19 20:07:38 +03:00
Sulka Haro 475c5519bf New translations en.json (Chinese Traditional) 2024-09-19 16:41:19 +03:00
Sulka Haro b3ea91a222 New translations en.json (Chinese Traditional) 2024-09-17 19:35:24 +03:00
Sulka Haro 6f04c9e13a New translations en.json (Chinese Traditional) 2024-09-17 16:28:47 +03:00
Sulka Haro 9edf90a35a New translations en.json (Chinese Traditional) 2024-09-15 19:44:03 +03:00
Sulka Haro c455867667 New translations en.json (Chinese Traditional) 2024-09-15 16:29:50 +03:00
Sulka Haro 2b68a0b7b8 New translations en.json (Chinese Traditional) 2024-09-09 06:20:52 +03:00
Sulka Haro 14509e46a1 New translations en.json (Chinese Traditional) 2024-09-09 03:14:44 +03:00
Sulka Haro dc226957b6 New translations en.json (Chinese Traditional) 2024-09-07 17:10:32 +03:00
Sulka Haro 198b857bad New translations en.json (Chinese Traditional) 2024-09-07 07:29:21 +03:00
Sulka Haro 0c9cf90f95 New translations en.json (Chinese Traditional) 2024-09-07 04:11:51 +03:00
Sulka Haro 86419e8202 New translations en.json (Chinese Traditional) 2024-09-06 19:27:53 +03:00
Sulka Haro 698dfdd5de New translations en.json (Chinese Traditional) 2024-09-05 16:18:01 +03:00
Sulka Haro 00f5aa1a99 New translations en.json (Chinese Traditional) 2024-09-02 19:49:27 +03:00
Sulka Haro b88b505eeb New translations en.json (Chinese Traditional) 2024-09-02 15:55:25 +03:00
Sulka Haro 3567ae1d91 New translations en.json (Chinese Traditional) 2024-08-29 17:47:55 +03:00
Sulka Haro 05668595fa New translations en.json (Arabic) 2024-08-24 18:52:50 +03:00
Sulka Haro 422f30c877 New translations en.json (Russian) 2024-08-08 21:08:54 +00:00
Sulka Haro d437f5a478 New translations en.json (Portuguese) 2024-05-20 11:10:45 +03:00
Sulka Haro 6e8e161351 New translations en.json (Turkish) 2024-03-25 09:46:14 +02:00
Sulka Haro 3ee6565529 New translations en.json (Italian) 2023-10-30 23:26:15 +02:00
Sulka Haro a37970ce9b New translations en.json (Italian) 2023-10-30 20:25:58 +02:00
Sulka Haro ed10ca1be4 New translations en.json (Chinese Simplified) 2023-09-15 12:02:06 +03:00
Sulka Haro 0b44d5d747 New translations en.json (Spanish) 2023-09-15 07:45:55 +03:00
Sulka Haro b0756cc9d4 New translations en.json (Chinese Simplified) 2023-09-15 07:45:54 +03:00
Sulka Haro c59129252b New translations en.json (Chinese Simplified) 2023-09-14 12:17:31 +03:00
Sulka Haro 0e485b4d0d Enable Ukrainian in translations 2023-09-13 23:20:02 +03:00
Sulka HaroandGitHub 2ba788d68f Merge branch 'dev' into crowdin_incoming 2023-09-13 23:14:29 +03:00
Sulka Haro b4ab7cef31 New translations en.json (Greek) 2023-08-21 16:01:11 +03:00
Sulka Haro e99a166b4e Fix null values in the summary API 2023-06-28 14:32:55 +03:00
Sulka Haro cd766c214a New translations en.json (Ukrainian) 2023-06-21 18:34:34 +03:00
Sulka Haro 726a99ae3a New translations en.json (Ukrainian) 2023-06-21 15:02:49 +03:00
Sulka Haro e9d087dc25 Update Docker to use the same Node version as defined in .nvmrc 2023-06-17 15:46:14 +03:00
Sulka Haro 99a152fe5b Only include noise if there is noise 2023-06-06 13:59:18 +03:00
Sulka Haro d09355e97a Rename files to match api
Further minize returned data
2023-06-06 13:40:23 +03:00
Sulka Haro d2c9838e7a * Rename API to Summary
* Preprocess temp basals and profile to create a temp basal dataset
* Cleaner profile output
* Support hours GET parameter (up to 48 hours)
2023-06-06 09:18:48 +03:00
Sulka Haro 69dba90e89 Fix loading SBX 2023-06-04 17:58:39 +03:00
Sulka Haro 7f05018df7 * Creates new V2 API to load minimized current system state in one request for use in watchfaces and other display-only applications
* Cleans V2 API implementation
* Removes unnecessary server init calls in API calls that were unnecessary
* Expose latest SBX state through the CTX object
2023-06-04 17:48:48 +03:00
Sulka Haro ea56b79415 Fix authorization storage 2023-06-02 09:44:13 +03:00
Sulka Haro 32163a0cd1 * Fix storage so tests pass with new Mongo driver
* Removes old openaps-storage feature
2023-06-01 22:45:07 +03:00
Sulka Haro 93ffb25147 Upgrade Mongo driver to latest legacy-API compatible version 2023-06-01 12:20:36 +03:00
Sulka Haro cf5646bb7a Increase debounce for data loads to 15 seconds and trigger a data-loaded event to process local data updates even if the call is debounced 2023-05-29 08:28:09 +03:00
Sulka HaroandGitHub aa4faa6d23 New Crowdin updates (#7869)
* New translations en.json (French)

* New translations en.json (Bulgarian)

* New translations en.json (Bulgarian)
2023-03-29 19:24:54 +03:00
Sulka HaroandGitHub ec83b570bb Merge branch 'master' into dev 2023-02-26 19:47:56 +02:00
Sulka Haro d7f44324d4 * Add a unit test to check the /entries endpoint returns values in correct order
* Fix a bug in CGM entry insertion, where entries that were inserted without a dateString but with a numeric date were always using the current time
2023-02-25 13:44:34 +02:00
Sulka Haro 32b2376bc9 Fixes #7910 2023-02-25 11:20:45 +02:00
Sulka HaroandGitHub 4e1f36489e Fix loading JWT when auth subject has no permissions (#7894)
* Fix an issue reported by Milos, when a JWT is loaded with a subject that has no permissions

* Add unit test to cover this case
2023-02-18 10:26:56 +02:00
Sulka HaroandGitHub 27958924a2 Add event type to event on treatment notify if it's missing (#7888) 2023-02-13 12:52:11 +02:00
Sulka HaroandGitHub d185cf63e8 Update Mongo URL parser to 1.0.2 to fix issues Scott H found (#7606)
* Update Mongo URL parser to 1.0.2 to fix issues Scott H found

* Reset the lockfile

* Update lock to include new component
2023-01-27 08:34:46 +02:00
Sulka HaroandGitHub 250b808f9e New Crowdin updates (#7808)
* New translations en.json (German)

* New translations en.json (Russian)
2023-01-24 20:54:18 +02:00
Sulka HaroandGitHub 6a543c8bd9 Merge branch 'dev' into wip/bewest/daytoday-redo-03 2023-01-24 20:15:54 +02:00
Sulka HaroandGitHub 6a9358a993 Merge branch 'master' into dev 2023-01-24 20:05:30 +02:00
Sulka HaroandGitHub 28e75a67b4 Possibly fix Loop time zones not being recognised in profile editor and reports (#7833)
* * Change profile editor so it works when client uploads profiles where string case doesn't match editor expectations
* Re-enable culling down time zone data sent to client

* Add a workaround to fix Loop uploading non-ISO compliant time zone identifier
2023-01-24 20:04:48 +02:00
Sulka HaroandGitHub 0426b019ca Fix api v3 users seeing gaps in CGM data (#7853)
* Change runtime cache to support item timestamp be defined in either mills or date field.

* Fix typo

* Return mills in v1 api when returning data from cache

* Also parse created_at in the cache

* Fix copy paste error
2023-01-24 19:48:51 +02:00
26a8cf1775 Downgrade jsdom to version 11.11.0 (#7851)
* rollback compatibility issues for tests

Revert "Bump jsonwebtoken from 8.5.1 to 9.0.0 (#7787)"

This rolls back changes to node_modules via package-lock.json as a
result of new dependencies.  More work is needed before involving these
changes.  Without this rollback, the tests do consistently complete within
the allowed time in a reproducible way.

* Test Github Actions with jsdom 11.11.0

* Upgrade github actions as requested by the actions runner

* Lock generated using 6.14.18

* Upgrade actions/checkout@v2 to v3

* restore jsonwebtoken upgrade

Co-authored-by: Ben West <bewest@gmail.com>
2023-01-24 19:43:45 +02:00
05de94e5a6 Delete v3 api identifiers when cloning a record in profile editor (#7839)
* Delete v3 api identifiers when cloning a record

* Refactored to use lodash omit

* Move cleaning logic to correct function, add _id to list of cleaned properties

* Add back a line that was accidentally deleted

* profileeditor: add created_at, srvModified too on save to simulate API v3

Co-authored-by: Milos Kozak <m.kozak@sysop.cz>
2023-01-23 16:20:53 +02:00
bc8ccc8578 Merge master to dev so Git is in sync (#7834)
* Allow DELETE via PATCH/UPDATE operation too

* rollback wrong commit

Co-authored-by: Milos Kozak <m.kozak@sysop.cz>
2023-01-15 12:50:25 +02:00
Sulka HaroandGitHub fd701e9ce5 Fixes a bug introduced in #7273 (#7825)
* Fixes a bug introduced in #7273

* Oops somehow managed to commit a wrong file version

* Cleaner code based on feedback from Ben
2023-01-12 07:59:41 +02:00
Sulka Haro c1de8a5d84 Disabling some date magic from Careportal that's breaking date entry 2023-01-09 19:31:41 +02:00
Sulka Haro bdcb7065bc Generate package-lock with npm 6 to fix deployment issues on various cloud providers 2023-01-06 12:09:34 +02:00
Sulka Haro 3636f37427 Update actions/checkout action to v3 2023-01-05 18:43:15 +02:00
Sulka Haro 30216aafdb Update codeQL actions to v2 2023-01-05 18:35:33 +02:00
Sulka Haro 6bccede79e Change automated tests to run against the major Mongo releases from last two years 2023-01-05 18:25:35 +02:00
Sulka Haro 8e59864238 Adding USE_NPM_INSTALL to the Heroku deploy file so new deploys work 2023-01-05 14:08:29 +02:00
Sulka HaroandGitHub 3a0629578e Refactor moment to be loaded from ctx (#7331)
* Experimental branch that replaces momentjs with dayjs in the client

* Revert unintentional change

* feat

* Turns out dayjs is a no-go, but this has some good restructuring so submitting that
2023-01-01 19:14:59 +02:00
Sulka HaroandGitHub e1f75cba6c Change viewport scale to fix layout on iPhone (#7623) 2023-01-01 13:26:46 +02:00
Sulka HaroandGitHub 6ad4ef1814 Update socket.io and uuid packages (#7793)
* This commit updates the uuid and socket.io packages to latest versions and enables compression over websocket

* Drop the compression threshold down to 512 bytes

* Enable http compression down to 512 bytes and request long poll transport only, as per current release

* Add the socket.io-client back in

* Use polling with the NS client

* Update express to latest in 4.x line, fix tests
2023-01-01 12:57:57 +02:00
Sulka Haro 68348227a4 Update package-lock so it matches the package.json 2023-01-01 12:47:13 +02:00
Sulka Haro ad7706dd4a Merge branch 'master' into dev 2023-01-01 12:45:56 +02:00
Sulka HaroandGitHub 05bbc55715 Update codeql-analysis.yml 2022-12-31 10:37:40 +02:00
Sulka HaroandGitHub 79e80c5023 New Crowdin updates (#7238)
* New translations en.json (Hungarian)

* New translations en.json (Turkish)

* New translations en.json (Hungarian)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Arabic)

* New translations en.json (Turkish)

* New translations en.json (Slovak)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Hungarian)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Estonian)

* New translations en.json (Estonian)

* New translations en.json (Estonian)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Portuguese, Brazilian)

* New translations en.json (Ukrainian)

* New translations en.json (Ukrainian)

* New translations en.json (Ukrainian)

* New translations en.json (Ukrainian)

* New translations en.json (German)

* New translations en.json (Spanish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Estonian)

* New translations en.json (Estonian)
2022-12-30 22:39:03 +02:00
bd40046602 Change the SHA1 validation to be case insensitive (#7780)
Co-authored-by: Ben West <bewest@gmail.com>
2022-12-30 22:15:48 +02:00
Sulka Haro 8594a2d219 Regenerated package-lock with newer NPM and fixed a unit test that broke as a result 2022-12-30 20:31:13 +02:00
Sulka HaroandGitHub 2e4551efe0 Merge branch 'dev' into new_cache_location 2022-08-30 15:06:39 +03:00
Sulka Haro 6978a90083 Fix package running the post script 2022-08-30 13:16:29 +03:00
Sulka Haro 6c03dcdc64 Remove mkdir from package.json and change key generation to a post script 2022-08-30 12:54:10 +03:00
Sulka Haro ec3cf94355 * Fix tests
* Change | to && in package.json
2022-08-30 12:49:01 +03:00
Sulka Haro a6eb1561e9 Fix app.js 2022-08-29 10:40:55 +03:00
Sulka Haro 37a2a0d004 Try .cache in node_modules 2022-08-29 10:28:09 +03:00
Sulka Haro 7b01d49577 Experimenting around changing build artefact location to go to node_modules, so the content is retained across cached builds in various PAAS environments 2022-08-28 09:37:04 +03:00
Sulka HaroandGitHub e6017170ec Merge branch 'dev' into master 2022-06-29 17:54:46 +03:00
Sulka HaroandGitHub aca8d5ab49 Fixes an issue where treatment units were all rewritten on load, regardless of units (#7273) 2022-01-05 10:03:23 +02:00
Sulka Haro c09616c388 Add Arabic as an option to translations 2021-12-11 13:15:42 +02:00
Sulka Haro 0df986fb29 New translations en.json (Chinese Simplified) 2021-12-06 09:05:59 +02:00
Sulka Haro cdc18b96ea New translations en.json (Chinese Simplified) 2021-12-06 06:05:22 +02:00
Sulka Haro 327051e391 New translations en.json (Hebrew) 2021-12-01 01:00:46 +02:00
Sulka Haro c0a566d7aa New translations en.json (Turkish) 2021-11-30 22:05:04 +02:00
Sulka Haro 8b17eb798c New translations en.json (Turkish) 2021-11-27 23:50:25 +02:00
Sulka Haro 27dd88ee52 New translations en.json (Turkish) 2021-11-27 20:46:41 +02:00
Sulka Haro 39cba5ca46 New translations en.json (Polish) 2021-11-22 11:37:52 +02:00
Sulka Haro e9b50e7f09 New translations en.json (Polish) 2021-11-22 08:35:00 +02:00
Sulka Haro 780e5b04d6 New translations en.json (Portuguese, Brazilian) 2021-11-19 15:19:39 +02:00
Sulka Haro 4e0d8fd4de New translations en.json (Portuguese, Brazilian) 2021-11-19 12:22:41 +02:00
Sulka Haro 1b780cb478 New translations en.json (Polish) 2021-11-13 15:24:49 +02:00
Sulka Haro 321592f60d New translations en.json (Polish) 2021-11-13 12:24:52 +02:00
Sulka Haro c65230fcff New translations en.json (Polish) 2021-11-13 09:25:00 +02:00