Ben West
41fdb8e88f
respect per route body-parser configuration
...
This change allows each route to express policies for interpreting and parsing
the request body. Before this change uploads to entries or treatments api
would error if they were larger than 100Kb due to the preference being set for
the whole server. This change removes the global preference in favor of
allowing each route to choose it's own request size limit.
We also refactor usage of body-parser to be more consistent throughout the code
base. Most routes can use jsonParser, rawPraser, and urlencodedParser provided
by the common wares component. Anything doing something else should be called
out as such. For example, treatments, activity, and entries allow uploads up
to 50Mb. Other v1 endpoints are using the common configuration set to 1Mb.
2021-10-12 22:57:03 -07:00
Ben West and GitHub
88071b50f9
Merge pull request #7123 from nightscout/wip/bewest/share2nightscout-bridge-update
...
bump share2nightscout-bridge version
2021-10-07 10:29:21 -07:00
Ben West
8b93cca718
bump share2nightscout-bridge version
...
Use npm update --save share2nightscout-bridge to update package-lock.json and
package.json. This should assist in updates intended to help unify Dexcom Account management.
2021-09-30 14:20:58 -07:00
8d752007e6
Fixing a bad URL that sends the user to docs if they have an open site ( #7005 )
...
Fixing a bad URL that sends the user to docs if they have an open site
http://nightscout.github.io/nightscout/security/#how-to-turn-off-unauthorized-access
Co-authored-by: Sulka Haro <sulka@sulka.net >
2021-04-29 13:08:58 +03:00
Sulka Haro and GitHub
ccfa07e106
New Crowdin updates ( #6917 )
...
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Czech)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Hungarian)
* New translations en.json (Russian)
* New translations en.json (Romanian)
* New translations en.json (Italian)
* New translations en.json (Italian)
* New translations en.json (Tamil)
* New translations en.json (Portuguese)
* New translations en.json (Slovenian)
* New translations en.json (Slovenian)
* New translations en.json (Slovenian)
* New translations en.json (Slovenian)
* New translations en.json (Slovenian)
* New translations en.json (Slovenian)
* New translations en.json (Chinese Simplified)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (French)
* New translations en.json (Turkish)
* New translations en.json (Turkish)
* New translations en.json (Chinese Simplified)
* New translations en.json (Chinese Simplified)
2021-04-29 12:57:16 +03:00
Lennart Goedhart and GitHub
562364ae09
Add docker-compose support ( #6903 )
...
* Create docker-compose.yml file for easy deployment
* Restore invalid password, to force change
2021-03-11 18:38:52 +11:00
Sulka Haro
2189bea307
* Bump version to 14.2.3
...
* Change packaging to include full moment.js locale library to fix date processing issues for some users
2021-02-23 14:54:32 +02:00
Sulka Haro and GitHub
8516fe922f
New translations en.json (Hungarian) ( #6908 )
2021-02-22 10:16:44 +02:00
Sulka Haro and GitHub
50b21925d9
Merge branch 'master' into dev
2021-02-20 18:26:28 +02:00
Sulka Haro and GitHub
d263a04f59
New translations en.json (Hungarian) ( #6907 )
2021-02-20 18:18:59 +02:00
Sulka Haro and GitHub
ddd11f8a75
Merge pull request #6889 from nightscout/crowdin_incoming
...
New Crowdin updates
2021-02-20 13:56:31 +02:00
Sulka Haro
6d4982e995
New translations en.json (Hungarian)
2021-02-19 22:11:09 +02:00
Sulka Haro
3a6f5f2264
New translations en.json (Swedish)
2021-02-19 17:08:33 +02:00
Sulka Haro
253433dcd5
New translations en.json (Spanish)
2021-02-19 17:08:28 +02:00
Sulka Haro
1223e6dd5e
New translations en.json (Czech)
2021-02-19 17:08:26 +02:00
Sulka Haro
ea85560a5c
New translations en.json (Danish)
2021-02-19 17:08:24 +02:00
Sulka Haro
c036829796
New translations en.json (German)
2021-02-19 17:08:23 +02:00
Sulka Haro
18eced75e7
New translations en.json (Finnish)
2021-02-19 17:08:21 +02:00
Sulka Haro
82716d5e98
New translations en.json (Norwegian Bokmal)
2021-02-19 17:08:19 +02:00
Sulka Haro
47213e2f6e
New translations en.json (Dutch)
2021-02-19 17:08:15 +02:00
Sulka Haro
98dd02a956
New translations en.json (Portuguese)
2021-02-19 17:08:04 +02:00
Sulka Haro
f8bd9fd225
Update source file en.json
2021-02-19 17:07:58 +02:00
Sulka Haro
f4c4f29bba
New translations en.json (Slovak)
2021-02-19 14:02:41 +02:00
Sulka Haro
b27c8c099d
New translations en.json (Greek)
2021-02-19 14:02:40 +02:00
Sulka Haro
d07cd16992
New translations en.json (Swedish)
2021-02-19 14:02:38 +02:00
Sulka Haro
2efb59b502
New translations en.json (Russian)
2021-02-19 14:02:37 +02:00
Sulka Haro
46c3a83585
New translations en.json (Romanian)
2021-02-19 14:02:35 +02:00
Sulka Haro
d029726a97
New translations en.json (French)
2021-02-19 14:02:34 +02:00
Sulka Haro
ba6c17ca61
New translations en.json (Spanish)
2021-02-19 14:02:32 +02:00
Sulka Haro
93c484188e
New translations en.json (Bulgarian)
2021-02-19 14:02:31 +02:00
Sulka Haro
6722805d91
New translations en.json (Czech)
2021-02-19 14:02:29 +02:00
Sulka Haro
850a9b4390
New translations en.json (Danish)
2021-02-19 14:02:28 +02:00
Sulka Haro
dc13d2d278
New translations en.json (German)
2021-02-19 14:02:27 +02:00
Sulka Haro
8acc5e5356
New translations en.json (Finnish)
2021-02-19 14:02:25 +02:00
Sulka Haro
84ee8f2f8f
New translations en.json (Hungarian)
2021-02-19 14:02:23 +02:00
Sulka Haro
4f7ec4662c
New translations en.json (Norwegian Bokmal)
2021-02-19 14:02:22 +02:00
Sulka Haro
5b0a87c44b
New translations en.json (Italian)
2021-02-19 14:02:21 +02:00
Sulka Haro
941870eef9
New translations en.json (Korean)
2021-02-19 14:02:19 +02:00
Sulka Haro
c51ce39bc0
New translations en.json (Dutch)
2021-02-19 14:02:18 +02:00
Sulka Haro
9b921c3cab
New translations en.json (Polish)
2021-02-19 14:02:16 +02:00
Sulka Haro
0c9cacb677
New translations en.json (Slovenian)
2021-02-19 14:02:15 +02:00
Sulka Haro
1991c2c70e
New translations en.json (Turkish)
2021-02-19 14:02:14 +02:00
Sulka Haro
b9fc18961b
New translations en.json (Chinese Simplified)
2021-02-19 14:02:12 +02:00
Sulka Haro
02034de7ca
New translations en.json (Chinese Traditional)
2021-02-19 14:02:11 +02:00
Sulka Haro
be592da12f
New translations en.json (Portuguese, Brazilian)
2021-02-19 14:02:09 +02:00
Sulka Haro
7028d3a7c6
New translations en.json (Croatian)
2021-02-19 14:02:08 +02:00
Sulka Haro
b6fea42cbd
New translations en.json (Hindi)
2021-02-19 14:02:06 +02:00
Sulka Haro
ebf64e92b0
New translations en.json (Arabic)
2021-02-19 14:02:05 +02:00
Sulka Haro
6a60440402
New translations en.json (Portuguese)
2021-02-19 14:02:03 +02:00
Sulka Haro
79dbe7ffdf
New translations en.json (Japanese)
2021-02-19 14:02:02 +02:00