Matthew Nickson
b8720b46c3
Switched to using Authorization header
...
Prometheus doesn't support using custom headers for exporters, however
it does support using the Authorisation header with basic auth. As
such, we switched from using X-API-Key to Authorization with the basic
scheme and an empty username field.
Also added a rate limit for API endpoints of 60 requests in a minute
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
1d4af39820
Fixed JSDoc for one method
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Luke Hamburg
dd1d71530f
sorted tags on dashboard
...
see https://github.com/louislam/uptime-kuma/issues/2785
2 years ago
Matthew Nickson
01c71a0242
Fixed logic errors, removed dev leftovers
...
Fixed a logic error where a comma was used instead of an or, also
removed leftover console.logs from testing.
Date picker is now dissabled when don't expire is checked.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
d553c4c4f7
Added missing translation keys
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
e7feca1cd6
Added API key authentication handler
...
API key authentication is now possible by making use of the X-API-Key
header. API authentication will only be enabled when a user adds their
first API key, up until this point, they can still use their username
and password to authenticate with API endpoints. After the user adds
their first API key, they may only use API keys in future to
authenticate with the API.
In this commit, the prometheus /metrics endpoint has been changed over
to the new authentication system.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
cd796898d0
Added expiry check for frontend
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
05443f9bb7
Added language keys
...
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
d7f2fa982a
Merge branch 'master' into feature/1685-prometheus-api-key
2 years ago
Matthew Nickson
ee2eb5109b
Added basic web interface for API keys
...
Web interfaces for manging API keys have been added however translation
keys are still required.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
fdc3b2d57a
Update to 1.20.1
2 years ago
Louis Lam
e04a8203dc
Fix npm issue for deploy script
2 years ago
Louis Lam
2620ec3fae
Merge pull request #2767 from UptimeKumaBot/weblate-uptime-kuma-uptime-kuma
...
Translations update from Uptime Kuma Weblate
2 years ago
Louis Lam
1877b90b3a
Translated using Weblate (Finnish)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fi/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Michal
609a61e600
Translated using Weblate (Czech)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Michal <black23@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/cs/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
MrEddX
32ddff4e64
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: MrEddX <mreddx@chatrix.one>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/bg/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
AmadeusGraves
11b45dd274
Translated using Weblate (Spanish)
...
Currently translated at 97.7% (681 of 697 strings)
Co-authored-by: AmadeusGraves <angelfx19@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Jonne Saloranta
fb2f7179e9
Translated using Weblate (Finnish)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Jonne Saloranta <saloranta.jonne@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fi/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
eltionb
e3573ced65
Translated using Weblate (Albanian)
...
Currently translated at 3.2% (23 of 697 strings)
Added translation using Weblate (Albanian)
Co-authored-by: eltionb <eltion.it@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/sq/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Ömer Faruk Genç
8afc55db4e
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Ömer Faruk Genç <omer@farukgenc.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/tr/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Luiz Felipe Arcos Campos
31fa074ffc
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 38.8% (271 of 697 strings)
Co-authored-by: Luiz Felipe Arcos Campos <dino.bsb@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pt_BR/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Denys Konovalov
379d54e520
Translated using Weblate (German)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Denys Konovalov <privat@denyskon.de>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
victorpahuus
a518188e6f
Translated using Weblate (Danish)
...
Currently translated at 62.9% (439 of 697 strings)
Co-authored-by: victorpahuus <dibbohh@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/da/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
darkslash#2558
7d363ea146
Translated using Weblate (Japanese)
...
Currently translated at 28.1% (196 of 697 strings)
Added translation using Weblate (Chinese (Literary))
Added translation using Weblate (Mongolian)
Co-authored-by: darkslash#2558 <janisschelling@protonmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ja/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Louis Lam
d1175ff471
Fix #2777
2 years ago
Jonne Saloranta
aad087caac
Added Finnish language translation ( #2770 )
...
* Added Finnish language translation
* Changed fi-FI to fi
2 years ago
Matthew Nickson
0d6a8b2101
Added more options for confirm modal
...
The ability to set the title of the modal has been added, as well as
custom callbacks for the no option.
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Matthew Nickson
cd18b96f69
Added check to ensure backup exists when restoring ( #2779 )
...
A check to ensure that the backup database exists before deleting the
current database.
Fixes #2778
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
2 years ago
Louis Lam
c19dcdba44
Add reminder to keep healthcheck.js
2 years ago
Nelson Chan
d9316f43ac
Update README: Add npm as requirement ( #2773 )
2 years ago
Nelson Chan
33bb9f1ade
Feat: Add simple validation on input
2 years ago
Louis Lam
6048bc5dfc
Revert #2083's change of healthcheck.js
2 years ago
Louis Lam
5bf00fbe0b
Fix deploy-demo-server.js do not download the dist
2 years ago
Louis Lam
76bdb62a5b
Update to 1.20.0
2 years ago
Louis Lam
99eebf18b8
Merge pull request #2713 from UptimeKumaBot/weblate-uptime-kuma-uptime-kuma
...
Translations update from Uptime Kuma Weblate
2 years ago
Nelson Chan
1bcca60574
Translated using Weblate (Chinese (Traditional, Hong Kong))
...
Currently translated at 93.9% (655 of 697 strings)
Co-authored-by: Nelson Chan <chakflying@hotmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant_HK/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
aditya wahyudi
aeea1ff03f
Translated using Weblate (Indonesian)
...
Currently translated at 83.3% (581 of 697 strings)
Co-authored-by: aditya wahyudi <aditbaco@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/id/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Jonne Saloranta
b49e3b65c1
Translated using Weblate (Finnish)
...
Currently translated at 15.2% (106 of 697 strings)
Added translation using Weblate (Finnish)
Co-authored-by: Jonne Saloranta <saloranta.jonne@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fi/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
hamx01
e9876986eb
Translated using Weblate (Ukrainian)
...
Currently translated at 78.6% (548 of 697 strings)
Translated using Weblate (Russian)
Currently translated at 94.4% (658 of 697 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: hamx01 <asolianik2015@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pl/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ru/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/uk/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Louis Lam
9268ad2f2c
Translated using Weblate (Chinese (Traditional, Hong Kong))
...
Currently translated at 82.0% (572 of 697 strings)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hant_HK/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Istratov Dmitrii
f1aa567a50
Translated using Weblate (Russian)
...
Currently translated at 86.6% (604 of 697 strings)
Co-authored-by: Istratov Dmitrii <funkill2@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/ru/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Marchel Fahrezi
9d53db1504
Translated using Weblate (Indonesian)
...
Currently translated at 82.3% (574 of 697 strings)
Co-authored-by: Marchel Fahrezi <marchel.ace@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/id/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Asdrubal Duarte
a6f68a2e06
Translated using Weblate (Hungarian)
...
Currently translated at 58.8% (410 of 697 strings)
Translated using Weblate (Spanish)
Currently translated at 96.9% (676 of 697 strings)
Co-authored-by: Asdrubal Duarte <magyarlatin@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/hu/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Super Admin
2ef98c1b10
Translated using Weblate (English)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Super Admin <uptime@kuma.pet>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/en/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Leonardo Lope
fea33a6475
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 63.2% (441 of 697 strings)
Co-authored-by: Leonardo Lope <tutoriaisleo3@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/pt_PT/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Ferenc
3816c696cd
Translated using Weblate (German)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Ferenc <ferenc.y@tutanota.de>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/de/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
René Dyhr
51860261e9
Translated using Weblate (Danish)
...
Currently translated at 50.6% (353 of 697 strings)
Co-authored-by: René Dyhr <bazzo39@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/da/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Julien Millau
d8a517e843
Translated using Weblate (French)
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: Julien Millau <mxjulien@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/fr/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
Marcos
971977b295
Translated using Weblate (Spanish)
...
Currently translated at 96.4% (672 of 697 strings)
Co-authored-by: Marcos <djoser.horus@gmail.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/es/
Translation: Uptime Kuma/Uptime Kuma
2 years ago
AnnAngela
36c32c3636
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (697 of 697 strings)
Co-authored-by: AnnAngela <naganjue@vip.qq.com>
Translate-URL: https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/zh_Hans/
Translation: Uptime Kuma/Uptime Kuma
2 years ago