Commit graph

149 commits

Author SHA1 Message Date
Louis Lam cb55e23718 Add $root.username 2022-04-19 19:40:28 +08:00
Louis Lam d71c086447 Standardize array bracket spacing 2022-04-17 15:27:35 +08:00
Louis Lam 8d8c38b1a8 Allow unused vars in args and fix more eslint issues 2022-04-17 01:39:49 +08:00
Louis Lam f030487f7d Fix theme color that do not apply to status page with a custom domain 2022-04-10 13:46:00 +08:00
Louis Lam 04e3394d02 Merge branch 'master' into feature/request-with-http-proxy
# Conflicts:
#	package-lock.json
#	package.json
#	server/database.js
#	src/languages/en.js
#	src/mixins/socket.js
2022-04-01 14:57:35 +08:00
Louis Lam 82ea896bbc Improve the workflow of cloudflared 2022-03-30 11:59:49 +08:00
Louis Lam f1f4b3b377 Add reverse proxy setting page for controlling cloudflared 2022-03-30 01:49:45 +08:00
Louis Lam 40991fbc28 Show reverse proxy guide along with websocket error 2022-03-22 23:46:13 +08:00
Louis Lam 220e46bc83 [Status Page] Fix theme bug 2022-03-18 12:57:37 +08:00
Louis Lam 27bfae67af [Status Page] Add a new status page 2022-03-17 23:38:43 +08:00
Louis Lam 502c7f87e7 [Status Page] Listing: Better loading effect 2022-03-17 19:07:05 +08:00
Louis Lam 7c7dbf68c1 [Status Page] wip, sidebar for editor 2022-03-15 12:00:29 +08:00
Louis Lam d765b1c57a Merge branch 'master' into restructure-status-page
# Conflicts:
#	src/pages/StatusPage.vue
2022-03-12 15:50:42 +08:00
Louis Lam b9dfcd1291 [Favicon] Code refactoring 2022-03-12 15:10:45 +08:00
Louis Lam 04d93c2747 Merge branch 'master' into willianrod_feat/add-favicon-badges
# Conflicts:
#	package-lock.json
#	src/mixins/socket.js
2022-03-12 11:17:32 +08:00
Louis Lam 50d6e888c2 [new status page] wip 2022-03-10 21:34:30 +08:00
Uğur Erkan 78d76512ba Add http and https proxy feature
Added new proxy feature based on http and https proxy agents.
Proxy feature works like notifications, there is many proxy
could be related one proxy entry.

Supported features
- Proxies can activate and disable in bulk
- Proxies auto enabled by default for new monitors
- Proxies could be applied in bulk to current monitors
- Both authenticated and anonymous proxies supported
- Export and import support for proxies
2022-03-06 19:34:49 +03:00
Karel Krýda e7b2832967 The start and end dates of the maintenance are now stored in UTC, which allows it to be converted between time zones 2022-01-24 22:33:15 +01:00
Karel Krýda 0d3414c6d6 A complete maintenance planning system has been created 2022-01-23 15:22:00 +01:00
Louis Lam c50b2b636a [lazy load lang] load the language file on create 2021-11-29 16:45:52 +08:00
Louis Lam 50593f3edf [wip] lazy load language file 2021-11-26 16:31:19 +08:00
Louis Lam 95bae8289d Fix setting page when disabled auth 2021-11-09 22:37:05 +08:00
Louis Lam 1dbf1c3dea fix logout 2021-10-30 23:33:20 +08:00
Willian Rodrigues Barbosa 036218f711 Add badges to favicon 2021-10-29 22:25:32 -03:00
Nelson Chan b83c59e308 WIP: Add options for chart period
Fix: Fix callback, add toast on error

Fix: Improve styling

Fix: Restore default chart behavior

Fix: Replace 1h with 3h

draft only
2021-10-24 01:44:08 +08:00
Louis Lam 182597944d fix #721 2021-10-19 00:19:26 +08:00
LouisLam fc8d1e78b6 [push type] hide upside down mode, apply primary base url 2021-10-08 20:03:52 +08:00
LouisLam 73bf1216d1 [wip] more test 2021-10-05 20:27:43 +08:00
Nelson Chan 13bdfefa9d Feat: Improve Certificaet Info Display 2021-10-01 18:56:28 +08:00
LouisLam 3394e1f148 fix undefined callback 2021-10-01 15:47:51 +08:00
LouisLam 1ed4ac9494 add Push-based monitoring (#279) 2021-10-01 00:09:43 +08:00
Adam Stachowicz f9d633e02b Display created and updated time in local timezone. Fixes #491 2021-09-28 08:07:42 +02:00
LouisLam 87e213085f add /status, alias of /status-page (#471) 2021-09-25 22:44:29 +08:00
LouisLam 27d4c3c194 [status page] improve mobile layout 2021-09-23 16:31:45 +08:00
LouisLam 439f45d91e [status page] improve the entry 2021-09-23 13:57:24 +08:00
LouisLam 15c00d9158 upload logo and expose ./data/upload to url 2021-09-21 21:22:35 +08:00
LouisLam 7ee98d989c [status page] implement rest api for heartbeat 2021-09-19 23:24:51 +08:00
LouisLam fd95d41d9f [status page] many update and save group list 2021-09-19 19:04:51 +08:00
LouisLam 2955abb5d9 [status page] create incident 2021-09-16 22:48:28 +08:00
LouisLam 392f8275b3 Merge branch 'master' into public-dashboard
# Conflicts:
#	server/database.js
2021-09-16 16:53:54 +08:00
LouisLam 80322cbfe7 Merge branch 'import-export'
# Conflicts:
#	src/languages/it-IT.js
#	src/languages/nl-NL.js
2021-09-16 00:18:07 +08:00
LouisLam 512ff09cca set entry page 2021-09-15 20:40:26 +08:00
LouisLam 9902c181bc Merge branch 'master' into public-dashboard
# Conflicts:
#	src/components/MonitorList.vue
#	src/icon.js
2021-09-14 15:05:04 +08:00
LouisLam 9da2a01a74 [status page] checkpoint 2021-09-14 14:12:27 +08:00
LouisLam 35aca46b68 [status page] checkpoint 2021-09-13 19:21:39 +08:00
Nelson Chan 6e3a904aaa WIP: Add tags functionality
WIP: add color column, show tags

WIP: Improve TagsManager styling & workflow

WIP: Improve styling & validation, use translation

WIP: Complete TagsManager functionality

WIP: Add tags display in monitorList & Details

Fix: update tags list after edit

Fix: slightly improve tags styling

Fix: Improve mobile UI

Fix: Fix tags not showing on create monitor

Fix: bring existingTags inside tagsManager

Fix: remove unused tags prop

Fix: Fix formatting, bump db version
2021-09-13 14:12:11 +08:00
LouisLam f47f7758f9 Merge branch 'master' into public-dashboard
# Conflicts:
#	server/database.js
#	server/server.js
#	server/util-server.js
2021-09-13 01:09:01 +08:00
Ponkhy d313966d80
Merge branch 'master' into import-export 2021-09-12 18:46:11 +02:00
Ponkhy 7fee4a7ea7 Added import options 2021-09-11 21:53:17 +02:00
Ponkhy 8cd5bad44c
Merge branch 'master' into 2fa 2021-09-11 16:32:11 +02:00
LouisLam 3e25f0e9d9 [Status Page] WIP: Checkpoint 2021-09-11 19:40:03 +08:00
LouisLam 4b0a8087a2 do not connect to socket io for status page 2021-09-11 16:22:30 +08:00
LouisLam 2da77d8448 fix ipv6 connection problem 2021-09-11 14:37:05 +08:00
Ponkhy 403202d4d4 Added simple TOTP Two Factor Authentication 2021-09-09 21:10:31 +02:00
Ponkhy 242e494cb5
Merge branch 'master' into import-export 2021-09-07 14:12:53 +02:00
LouisLam da131a5156 Merge branch 'master' into clear-monitor-data
# Conflicts:
#	src/languages/da-DK.js
#	src/languages/en.js
#	src/languages/es-ES.js
#	src/languages/fr-FR.js
#	src/languages/ja.js
#	src/languages/ko-KR.js
#	src/languages/nl-NL.js
#	src/languages/ru-RU.js
#	src/languages/sr-latn.js
#	src/languages/sr.js
#	src/languages/sv-SE.js
#	src/languages/zh-CN.js
#	src/languages/zh-HK.js
2021-09-07 17:36:37 +08:00
LouisLam 5837c353b7 change the default theme to auto from light 2021-09-05 02:47:31 +08:00
LouisLam 299506ce45 reset the heartbeat list instead of reload the page after cleared events or heartbeats 2021-09-05 02:03:40 +08:00
Ponkhy 2f6c5963c5 Added import and export function 2021-09-01 17:09:32 +02:00
Ponkhy 7b92166d18 Added clear all db statistics function 2021-09-01 00:36:24 +02:00
Ponkhy 1952e34110 Added the possibility to clear monitor data 2021-08-29 18:47:01 +02:00
LouisLam 64498163e1 add /list for mobile 2021-08-19 18:12:52 +08:00
LouisLam 432388a905 Merge branch 'Ponkhy_master' 2021-08-18 15:09:56 +08:00
LouisLam c9c51e47e1 add some comments 2021-08-17 16:43:59 +08:00
LouisLam 5e52f230b1 create datetime mixin 2021-08-17 16:41:12 +08:00
Ponkhy 72f0724b9a
Update src/mixins/theme.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2021-08-16 17:14:21 +02:00
Ponkhy 35176a614f
Update src/mixins/theme.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2021-08-16 17:14:13 +02:00
Ponkhy 8e883c9c6a
Update src/mixins/theme.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2021-08-16 17:14:05 +02:00
Ponkhy 233c5661af Added user choice heartbeat bar 2021-08-15 20:46:21 +02:00
LouisLam 37f1d60f82 also change meta tag theme-color 2021-08-13 00:23:40 +08:00
Louis Lam 7ca80fc086
fix auto theme 2021-08-12 22:17:20 +08:00
LouisLam 9ba1743900 split mobile mixin from socket mixin 2021-08-10 15:02:46 +08:00
Philipp Dormann 123fca43a1
FEAT: darkmode (#155)
* darkmode fixes

* fix: darkmode: empty beats in active/ hovered state

* fix: color for empty beats

* fix: navbar background color

* Update src/assets/vars.scss

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>

* Update src/assets/app.scss

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>

* wip, split dark theme style by .dark and store light theme to normal

* add back missing css

* working switch theme button and tuning dark theme

* finish dark theme

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
Co-authored-by: LouisLam <louislam@users.noreply.github.com>
2021-08-08 13:47:29 +08:00
LouisLam 8ebaca4c5c improve disableAuth handling 2021-08-03 13:07:20 +08:00
LouisLam 6f868c9ec3 implement no auth 2021-07-31 23:41:24 +08:00
LouisLam 9f0be5f531 improve the connection error msg 2021-07-31 21:13:32 +08:00
Adam Stachowicz 4c8fdd07d9 Manual fixes 2021-07-27 19:53:59 +02:00
Adam Stachowicz 9648d700d7 Autofix on save 2021-07-27 19:47:13 +02:00
LouisLam 5b18a6a518 Merge branch 'master' into tls-expiry
# Conflicts:
#	server/model/monitor.js
2021-07-26 20:35:50 +08:00
Nelson Chan 96c60dd94a Feat: Add database storage for TLS info 2021-07-22 16:04:32 +08:00
Nelson Chan ccda6f05f5 Feat: Add Barebones certificate info display 2021-07-22 14:26:43 +08:00
Sam 02230930c5 Merge branch 'master' of https://github.com/Spiritreader/uptime-kuma 2021-07-19 18:26:00 +02:00
Sam a8b102ad4a add retries for pinging function
backend:
- new field for monitor: maxretries
- new pending status while service is retrying: 2
- pending status event is not marked important
- pending pings however register as downtime in the calculation

frontend:
- added pending status while service is retrying
- added color for new pending status
- added field to configure amount of retries

database:
- IMPORTANT: THIS REQUIRES MIGRATION!!!!
- added field: maxretries with default value 0
2021-07-19 18:23:06 +02:00
LouisLam 77af41bfff env default to production 2021-07-19 23:06:42 +08:00
Adam Stachowicz 5bd3184ebf Use connect_error event 2021-07-18 20:59:00 +02:00
Adam Stachowicz 59ebe134f1 Fix indentation 2021-07-18 20:46:45 +02:00
Adam Stachowicz 851ceef3d5 Use NODE_ENV from Express and Socket.IO 2021-07-18 20:21:17 +02:00
LouisLam 010ebea210 show version in the footer 2021-07-13 18:08:12 +08:00
LouisLam f9800a087e optimize for mobile 2021-07-11 15:23:28 +08:00
LouisLam ae07cd9c35 prepare for docker 2021-07-11 14:20:31 +08:00
LouisLam 5f89940ab6 add setup page 2021-07-11 13:47:57 +08:00
LouisLam 3bdf174e90 add telegram notification 2021-07-09 14:14:03 +08:00
LouisLam d4a651e211 implement remember me 2021-07-01 22:16:02 +08:00
LouisLam 55bd6b6d7a implement timezone 2021-07-01 21:47:14 +08:00
LouisLam 84c21b71c0 implement uptime 2021-07-01 13:11:16 +08:00
LouisLam 46f07fc17e many update again 2021-06-30 21:04:58 +08:00
Louis 9fa84a0a2b many update 2021-06-29 16:06:20 +08:00
LouisLam d02401b1c2 many update 2021-06-27 16:10:55 +08:00
LouisLam 0a4fb45a8c init 2021-06-25 21:55:49 +08:00