uptime-kuma/server
Chongyi Zheng 499429858c
Use API v2 for Bark notification (#2759)
* Use API v2 for Bark notification

* API v2 endpoint should end with path `/push`

* Support both v1 and v2

* Flip the bool

* Allow selecting api version

* Apply review suggestion

Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>

* Add translated string to `en.json`

* Apply review suggestion

Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>

---------

Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
2023-09-21 21:08:04 +08:00
..
jobs Uptime calculation improvement and 1-year uptime (#2750) 2023-09-01 05:19:21 +08:00
model Fix: subtract time taken to run heartbeat (#3072) 2023-09-21 20:11:04 +08:00
modules Relocate and fix jsesc issue 2023-02-04 16:58:39 +08:00
monitor-types Chore: Extracted the dns monitor to its own monitor-type (#3413) 2023-09-09 18:14:55 +08:00
notification-providers Use API v2 for Bark notification (#2759) 2023-09-21 21:08:04 +08:00
routers Uptime calculation improvement and 1-year uptime (#2750) 2023-09-01 05:19:21 +08:00
socket-handlers Feat: Translate toast messages by adding msgi18n to callbacks (#3263) 2023-09-01 20:51:28 +08:00
utils chore(jsdoc):Linting fixes (#3703) 2023-09-07 15:42:44 +08:00
2fa.js Add JSDoc to server/* 2022-04-20 19:56:40 +01:00
auth.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
cacheable-dns-http-agent.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
check-version.js Fixed update checker making requests to uptime.kuma.pet even when turned off (#2281) 2023-07-03 15:28:03 +08:00
client.js Merge remote-tracking branch 'origin/2.0.X' into 2.0.X 2023-09-01 05:23:52 +08:00
config.js Feat: Add placeholders for badge generator 2023-06-29 07:11:58 +08:00
database.js Allow missing patch files for downgrade or testing pr. 2023-09-21 20:12:10 +08:00
docker.js Merge branch 'master' into 2.0.X 2023-08-30 01:39:16 +08:00
embedded-mariadb.js chore(jsdoc):Linting fixes (#3703) 2023-09-07 15:42:44 +08:00
google-analytics.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
image-data-uri.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
jobs.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
notification.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
password-hash.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
prometheus.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
proxy.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
rate-limiter.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
server.js Merge branch '1.23.X' 2023-09-18 03:26:59 +08:00
settings.js Added JSDoc to ESLint (#3529) 2023-08-11 15:46:41 +08:00
setup-database.js chore(jsdoc):Linting fixes (#3703) 2023-09-07 15:42:44 +08:00
uptime-calculator.js chore(jsdoc):Linting fixes (#3703) 2023-09-07 15:42:44 +08:00
uptime-kuma-server.js Chore: Extracted the dns monitor to its own monitor-type (#3413) 2023-09-09 18:14:55 +08:00
util-server.js Uptime calculation improvement and 1-year uptime (#2750) 2023-09-01 05:19:21 +08:00