Ben West
52cca32bf3
task: tidy project root
...
This change moves the azure deployment script from the root of the project into
the bin subdirectory with a name that makes its purpose more clear.
.deployment file has been updated to execute the new path.
2021-02-18 10:08:34 -08:00
Ben West
3149bf8b95
task: clean project root
...
setup.sh appears to be a developer utility to assist in bootstrapping a debian
based system. It is intended to help install the dependencies needed to run
node, and not used in any automated deploy pipeline.
Instructions have been updated to suite this change which simply moves the
developer tool out of the project repo and into the bin subdirectory.
2021-02-18 10:02:00 -08:00
Ben West
5953f082df
remove empty file from project root
2021-02-18 09:59:15 -08:00
Ben West
5ae162cc6b
task: clean project root
...
Move update image into docs folder, away from project root.
2021-02-18 09:55:47 -08:00
Ben West
3bb4f6be01
move script for repo maintenance aside
...
This script is used to help prep release branches and tags. Since it's not
crucial to the business of remote monitoring and only useful as a maintenance
tool, we're moving it away from the project root.
2021-02-18 09:52:11 -08:00
Ben West
a42408b0a7
task: clean repo root
...
This change seeks to continue tidying up the repo.
* The database_configuration.json file is not used and has not been used since
the project was published on github. We remove the ability to look at files
inside the source tree for database credentials.
* Move example-profiles.md to the relevant documentation for plugins area and
update the link to match.
2021-02-18 09:46:29 -08:00
Ben West
be183f5d1b
include standard header for server.js at root.
2021-02-18 09:09:02 -08:00
Ben West
22f4336e7f
re-install server.js at root
...
This continues to allow using server.js programmatically from the root of the
project.
2021-02-18 09:05:15 -08:00
Sulka Haro
d73de56b5b
Fix adminnotifies test
2021-02-18 18:23:40 +02:00
Sulka Haro
3200af6299
* Bump dev to 14.2.2
...
* Add ADMIN_NOTIFIES_ENABLED feature flag
* Skip setting language code if language value is not null
2021-02-18 18:10:50 +02:00
Sulka Haro and GitHub
f086d36fc4
Merge pull request #6878 from nightscout/crowdin_incoming
...
New Crowdin updates
2021-02-17 15:59:48 +02:00
Sulka Haro
02aabba9d3
New translations en.json (Norwegian Bokmal)
2021-02-17 00:36:02 +02:00
Sulka Haro
d42ef4b0e7
New translations en.json (Norwegian Bokmal)
2021-02-16 21:36:15 +02:00
Sulka Haro
9890770714
* Bump version to 14.2.1
...
* Update socket.io
2021-02-16 16:35:10 +02:00
Sulka Haro and GitHub
f9c5a7cd08
New Crowdin updates ( #6874 )
...
* New translations en.json (Czech)
* New translations en.json (Czech)
* New translations en.json (Spanish)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
2021-02-16 12:49:33 +02:00
Sulka Haro and GitHub
37c7bf8350
New translations en.json (Romanian) ( #6869 )
2021-02-15 09:07:32 +02:00
Sulka Haro and GitHub
3d3a8ffc33
* Only run CodeQL in NS repo ( #6873 )
...
* Fix server.js location for Azure
2021-02-15 09:06:52 +02:00
Sulka Haro and GitHub
3cd149fc52
New Crowdin updates ( #6858 )
...
* New translations en.json (Greek)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Greek)
* New translations en.json (Hebrew)
* New translations en.json (Japanese)
* New translations en.json (Portuguese)
* New translations en.json (Arabic)
* New translations en.json (Hindi)
* New translations en.json (Croatian)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Chinese Traditional)
* New translations en.json (Chinese Simplified)
* New translations en.json (Turkish)
* New translations en.json (Slovenian)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Korean)
* New translations en.json (Italian)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Hungarian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Bulgarian)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Romanian)
* New translations en.json (Russian)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Slovak)
* Update source file en.json
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Greek)
* New translations en.json (Swedish)
* New translations en.json (Russian)
* New translations en.json (Romanian)
* New translations en.json (French)
* New translations en.json (Czech)
* New translations en.json (Danish)
* New translations en.json (Portuguese)
* New translations en.json (German)
* New translations en.json (Dutch)
* New translations en.json (Polish)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Polish)
* New translations en.json (Romanian)
* New translations en.json (Romanian)
* New translations en.json (Greek)
* New translations en.json (Finnish)
* New translations en.json (Russian)
2021-02-14 12:52:27 +02:00
Sulka Haro
9d2f9d44ea
Fix version number generation
2021-02-11 17:32:35 +02:00
Sulka Haro
c24d0f9ba4
Notify users if they're reusing the API_SECRET for Mongo password
2021-02-11 11:43:57 +02:00
Sulka Haro and GitHub
83d7fb2a82
New Crowdin updates ( #6849 )
...
* New translations en.json (Greek)
* New translations en.json (Dutch)
* New translations en.json (Swedish)
* New translations en.json (Russian)
* New translations en.json (Russian)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
2021-02-10 17:53:55 +02:00
a9ec65aa12
Api3 remove Date header ( #6855 )
...
* APIv3: isolating documents from tests (not allowing clashes of calculated identifiers)
* removing unused async keyword
* fixing api v3 swagger and moving it to /api3-docs
* APIv3: finishing cache invalidation tests
Co-authored-by: Petr Ondrusek <petr.ondrusek@seznam.cz >
Co-authored-by: Petr Ondrůšek <petr.ondrusek@okin.eu >
Co-authored-by: Sulka Haro <sulka@sulka.net >
2021-02-10 17:53:34 +02:00
Sulka Haro
271c7ad375
Use password entropy analysis for determining password strength
2021-02-10 16:19:15 +02:00
Sulka Haro
b128002cfa
Fix Brazilian Portuguese language code
2021-02-09 16:37:14 +02:00
Sulka Haro
0653c1ec23
Remove broken header definition
2021-02-09 16:28:20 +02:00
Sulka Haro
ebb58141cd
Fix json decoding for some api endpoints
2021-02-09 12:52:23 +02:00
Sulka Haro
4d4b7b844d
Fix form parsing
2021-02-08 22:08:20 +02:00
Sulka Haro and GitHub
6a044523a8
Cgm delta fix ( #6848 )
...
* If CGM value has changed, push it to server
* Fix VScode overeager code add
* Merge updated CGM data into client dataset
2021-02-08 19:28:49 +02:00
Sulka Haro
3103af71f3
Reduce the amount of false positives reported
2021-02-08 10:37:21 +02:00
Sulka Haro
4cfe045649
Fix bug with previous removal
2021-02-08 10:24:08 +02:00
Sulka Haro
ed4a9cb674
Removes an undocumented feature that has a javascript injection vulnerability
2021-02-08 10:23:04 +02:00
Sulka Haro
4a9f492ea5
Fix issue reported by CodeQL
2021-02-08 10:10:17 +02:00
Sulka Haro and GitHub
ba8286f00c
New Crowdin updates ( #6837 )
...
* New translations en.json (Hebrew)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Spanish)
* New translations en.json (German)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Dutch)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Swedish)
* New translations en.json (Bulgarian)
* New translations en.json (Danish)
* New translations en.json (French)
* New translations en.json (Danish)
* New translations en.json (Greek)
* New translations en.json (Danish)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
* New translations en.json (Greek)
* New translations en.json (Greek)
* New translations en.json (Russian)
* Update source file en.json
* New translations en.json (Hebrew)
* New translations en.json (Japanese)
* New translations en.json (Arabic)
* New translations en.json (Hindi)
* New translations en.json (Croatian)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Chinese Traditional)
* New translations en.json (Chinese Simplified)
* New translations en.json (Turkish)
* New translations en.json (Slovenian)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Korean)
* New translations en.json (Italian)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Hungarian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Bulgarian)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Romanian)
* New translations en.json (Russian)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
* New translations en.json (Spanish)
* New translations en.json (Greek)
* New translations en.json (Russian)
* New translations en.json (Portuguese)
* New translations en.json (Portuguese)
* New translations en.json (Norwegian Bokmal)
* Update source file en.json
* New translations en.json (Hebrew)
* New translations en.json (Japanese)
* New translations en.json (Arabic)
* New translations en.json (Hindi)
* New translations en.json (Croatian)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Chinese Traditional)
* New translations en.json (Chinese Simplified)
* New translations en.json (Turkish)
* New translations en.json (Slovenian)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Korean)
* New translations en.json (Italian)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Hungarian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Bulgarian)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Romanian)
* New translations en.json (Russian)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
* Update source file en.json
* New translations en.json (Japanese)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Spanish)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
* New translations en.json (French)
* New translations en.json (Greek)
* New translations en.json (Hebrew)
* New translations en.json (Japanese)
* New translations en.json (Arabic)
* New translations en.json (Hindi)
* New translations en.json (Croatian)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Chinese Traditional)
* New translations en.json (Chinese Simplified)
* New translations en.json (Turkish)
* New translations en.json (Slovenian)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Korean)
* New translations en.json (Italian)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Hungarian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Bulgarian)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Romanian)
* New translations en.json (Russian)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
* Update source file en.json
* Update source file en.json
* New translations en.json (Slovenian)
* Update source file en.json
* New translations en.json (Hebrew)
* New translations en.json (Japanese)
* New translations en.json (Portuguese)
* New translations en.json (Arabic)
* New translations en.json (Hindi)
* New translations en.json (Croatian)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Chinese Traditional)
* New translations en.json (Chinese Simplified)
* New translations en.json (Turkish)
* New translations en.json (Slovenian)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Korean)
* New translations en.json (Italian)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Hungarian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Bulgarian)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Romanian)
* New translations en.json (Russian)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Slovak)
* Update source file en.json
* New translations en.json (Portuguese)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Greek)
* New translations en.json (French)
* New translations en.json (Portuguese)
2021-02-07 17:30:15 +02:00
1c349527a1
Update webpack to v5 ( #6844 )
...
* upgrade webpack info
* cleanup eslint findings
* fix eslint formatter stylish error
* lazy is invalid option for webpack dev middleware
* upgrade webpack to 5.x
* remove unsupported terser option
* fix missing process polyfill dependency
* try alternate proces fix
* fix css image reference
* add statements to import missing css files to index.html
* TerserPlugin no longer required
* add missing css links
* remove terser
Co-authored-by: Jeremy Cunningham <jpcunningh@gmail.com >
Co-authored-by: Sulka Haro <sulka@sulka.net >
2021-02-07 17:25:19 +02:00
Sulka Haro
bc188d9163
* Disabling tests that interfere with other tests
...
* Fix view include syntax
* Change Slovenian name to correct language
2021-02-06 19:11:36 +02:00
Sulka Haro
157eddfe26
* Add Slovenian and fix Slovakian language code
...
* Hide Traditional Chinese due to low coverage
* Add Portuguese to the menu
2021-02-06 14:46:34 +02:00
Sulka Haro
5bf4d5134b
* Better unit test for admin notifications.
...
* Localisable API_SECRET warning
* Fix admin message time display when message is recent
2021-02-06 14:25:19 +02:00
Sulka Haro
3230e59d21
Remove duplicate key
2021-02-06 09:12:31 +02:00
Sulka Haro
36dcf42b6a
Change authentication dialog button label to be more descriptive
2021-02-06 09:05:05 +02:00
Sulka Haro
8ac5c5ada8
* Fix hard to understand loopalyzer localization key
...
* Fix websocket in unauthenticated cases
2021-02-05 14:08:26 +02:00
Sulka Haro and GitHub
5bc694d738
Add unit test for socket.io connect ( #6845 )
...
* Add unit test for socket.io connect
* Fix white space
2021-02-04 23:07:52 +02:00
Sulka Haro
c65916c256
* Fix #6843
...
* Don't do sync file access on requests to swagger files or service worker
* Adds an API test
2021-02-04 21:46:30 +02:00
Sulka Haro
f3147073d2
Fix admin message localization, timer presentation
2021-02-04 13:21:19 +02:00
Sulka Haro
2d6585d8d7
Revert to old token hash generation method
2021-02-03 15:28:31 +02:00
Sulka Haro
1c5a7e64df
Fix Procfile, Dockerfile
2021-02-02 20:13:57 +02:00
Sulka Haro
b3ccaf3505
Bump version to 14.2.0
2021-02-02 19:57:10 +02:00
Sulka Haro and GitHub
d7e011d8f5
Refactoring organisation, bundling and security improvements ( #6765 )
...
* * Simplified bundling to just one bundle
* Removed cache invalidation token from bundling
* Generate strong persistent random string on deploy to use for JWT signing
* WIP: moving api-secret and JWT signing to a separate centralized security component
* Moved some server components away from project root
* Fix issues reported by linter
* Ignore detect-object-injection everywhere but the client
* Make admin message button red
* Remove alarms for some security alerts on code
* api_secret is now fully contained in the enclave
2021-02-02 19:53:30 +02:00
Sulka Haro and GitHub
3ab718ca37
New Crowdin updates ( #6833 )
...
* New translations en.json (Portuguese)
* New translations en.json (Spanish)
* New translations en.json (Hebrew)
* New translations en.json (Japanese)
* New translations en.json (Arabic)
* New translations en.json (Hindi)
* New translations en.json (Croatian)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Chinese Traditional)
* New translations en.json (Chinese Simplified)
* New translations en.json (Turkish)
* New translations en.json (Slovenian)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Korean)
* New translations en.json (Italian)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Hungarian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (Danish)
* New translations en.json (Czech)
* New translations en.json (Bulgarian)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Romanian)
* New translations en.json (Russian)
* New translations en.json (Swedish)
* New translations en.json (Greek)
* New translations en.json (Portuguese)
* Update source file en.json
* New translations en.json (Finnish)
* New translations en.json (German)
2021-02-02 19:35:13 +02:00
6643eb9c20
Added a specific rendering for BG Check events on the Day to Day report. ( #6530 )
...
Added an option to hide BG Check and other events on the Day to Day report.
Co-authored-by: Sulka Haro <sulka@sulka.net >
2021-02-02 19:23:08 +02:00
d762694b83
Bolus settings ( #6834 )
...
* Add bolus plugin and restructure rendering settings
* Add setting to prevent automated micro boluses from triggering notifications and snoozing alarms
* clean up
* Small change to the bolus-settings branch so it supports flexible configuration that enables the old behavior
* Translations
* Fix settings default
Co-authored-by: Jason Calabrese <jason@cbrese.com >
2021-02-02 19:14:32 +02:00