1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-04 09:42:56 +02:00
uptime-kuma/server
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>
2023-02-15 00:39:29 +00:00
..
jobs Fixed negative retention time values 2023-01-08 19:09:06 +00:00
model Added expiry check for frontend 2023-02-14 22:41:06 +00:00
modules Relocate and fix jsesc issue 2023-02-04 16:58:39 +08:00
monitor-types HTTPS Monitor using Real Browsers + Limited plugin support (#1787) 2023-01-27 18:25:57 +08:00
notification-providers HTTPS Monitor using Real Browsers + Limited plugin support (#1787) 2023-01-27 18:25:57 +08:00
routers Feat: Expand and Simplify Badge Functionality (#2211) 2023-02-03 12:33:48 +08:00
socket-handlers Added API key authentication handler 2023-02-15 00:39:29 +00:00
2fa.js Add JSDoc to server/* 2022-04-20 19:56:40 +01:00
auth.js Added API key authentication handler 2023-02-15 00:39:29 +00:00
cacheable-dns-http-agent.js Added JSDoc for server/ 2023-01-05 22:19:05 +00:00
check-version.js Fix check version 2022-12-05 19:17:24 +08:00
client.js Added basic web interface for API keys 2023-02-14 19:49:04 +00:00
config.js Feat: Expand and Simplify Badge Functionality (#2211) 2023-02-03 12:33:48 +08:00
database.js Merge branch 'master' into feature/1685-prometheus-api-key 2023-02-14 19:53:33 +00:00
docker.js [Docker Monitor] Change tcp:// to http:// 2022-10-04 16:19:56 +08:00
git.js HTTPS Monitor using Real Browsers + Limited plugin support (#1787) 2023-01-27 18:25:57 +08:00
google-analytics.js Trim 2023-02-04 17:03:00 +08:00
image-data-uri.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
jobs.js Added JSDoc for server/ 2023-01-05 22:19:05 +00:00
notification.js Add Splunk Notifications 2023-01-09 13:33:10 +00:00
password-hash.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
plugin.js HTTPS Monitor using Real Browsers + Limited plugin support (#1787) 2023-01-27 18:25:57 +08:00
plugins-manager.js Fix plugin installation 2023-01-28 19:00:13 +08:00
prometheus.js Added JSDoc for server/ 2023-01-05 22:19:05 +00:00
proxy.js Add socks5h support 2022-11-22 11:18:16 +01:00
rate-limiter.js Merge branch 'master' into add-JSDoc-comments 2022-04-21 13:01:22 +01:00
server.js Added API key authentication handler 2023-02-15 00:39:29 +00:00
settings.js Fix Uptime Kuma cannot be stopped 2022-12-08 19:13:47 +08:00
uptime-cache-list.js Added JSDoc for server/ 2023-01-05 22:19:05 +00:00
uptime-kuma-server.js HTTPS Monitor using Real Browsers + Limited plugin support (#1787) 2023-01-27 18:25:57 +08:00
util-server.js Fix #2777 2023-02-15 02:50:49 +08:00