Commit graph

110 commits

Author SHA1 Message Date
Denis Freund b67b4d5afd add steam gameserver for monitoring 2021-09-27 11:17:57 +02:00
Nelson Chan 32c9dfbb31 Fix: clear important beats after deleteMonitor 2021-09-23 23:21:08 +08:00
LouisLam 15c00d9158 upload logo and expose ./data/upload to url 2021-09-21 21:22:35 +08:00
LouisLam 469e8f6fd6 Merge branch 'master' into public-dashboard
# Conflicts:
#	package-lock.json
2021-09-21 17:05:13 +08:00
LouisLam 4591adc05e second attempt: prebuilt node-sqlite3 and update SQLite to 3.36 2021-09-21 01:15:20 +08:00
LouisLam a8e170f6a8 Merge branch 'master' into public-dashboard
# Conflicts:
#	server/server.js
2021-09-20 18:48:44 +08:00
LouisLam b0e9c5bcb4 fix reset-password (#448) 2021-09-20 16:29:18 +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
Louis Lam 72783fd94c
Merge pull request #380 from No0Vad/retry-heartbeat-interval
Added support for a retry interval to monitors
2021-09-16 00:21:53 +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
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
No0Vad 2617e1f4d8 Update database.js 2021-09-13 00:25:18 +02:00
No0Vad 91ee39ec60
Merge branch 'master' into retry-heartbeat-interval 2021-09-13 00:19:51 +02:00
LouisLam e205adfd7b [status page] developing 2021-09-13 02:26:45 +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
No0Vad 389d247463
Update server/database.js
Co-authored-by: Adam Stachowicz <[email protected]>
2021-09-12 17:05:23 +02:00
No0Vad f8f9f59464 Added support for a retry interval to monitors
If a check fails and retries are used you can now specify a specific value for that. So you can check faster if the site goes back up again.
2021-09-11 18:54:55 +02:00
LouisLam 934685637a [Status Page] WIP: Checkpoint 2021-09-11 23:43:07 +08:00
Ponkhy 295ccba44b Adjusted for new db patch management 2021-09-11 16:37:33 +02:00
LouisLam 08de0090dc add a better approach for patching db, change setting.value from varchar to TEXT, restore Database.close() to 1.2.0 2021-09-10 17:23:45 +08:00
LouisLam 9f9c1007d7 increase sqlite cache size from 2MB to 12MB 2021-09-09 11:56:42 +08:00
Ponkhy 58240aceef Added the option for default notifications 2021-09-05 23:23:06 +02:00
LouisLam 582e14098d create data dir before copy 2021-09-02 21:10:18 +08:00
LouisLam 6e3e2fc85c fix db path 2021-09-02 21:08:00 +08:00
LouisLam b604807cfe create data dir if not exists 2021-09-02 20:42:55 +08:00
LouisLam c74986647e allow changing data dir 2021-09-02 20:27:18 +08:00
LouisLam e4b76717be revert back to node-sqlite3 2021-09-01 15:02:04 +08:00
LouisLam cd1a3a2fb9 revert back to node-sqlite3, as better-sqlite3 causes a lot of installation problems 2021-09-01 14:33:00 +08:00
LouisLam ada6606217 move the new sql to patch8.sql 2021-08-29 11:16:06 +08:00
LouisLam 46ac753c46 Merge branch 'master' into dns-monitor 2021-08-26 01:05:46 +08:00
LouisLam f96d792fa1 fix patch database using better-sqlite3 2021-08-25 01:11:19 +08:00
LouisLam 14652c9b5f Remove unused variables 2021-08-24 15:46:22 +08:00
LouisLam 2f50fc4c00 plan to switch to better-sqlite3, drop node-sqlite3 2021-08-23 17:27:03 +08:00
Ponkhy c79be19ec3 Added DNS Monitor Type 2021-08-23 00:05:48 +02:00
LouisLam b892a92fc8 retry if acquire error 2021-08-22 23:35:24 +08:00
LouisLam ec0dbf3cbe probably still memory leak over time, not sure what happen, change back to singal pool. 2021-08-22 14:43:26 +08:00
LouisLam 05680472a7 fix high memory usage 2021-08-22 02:07:10 +08:00
LouisLam 7ffdb2eb80 also backup sqlite shm, val file 2021-08-19 17:49:19 +08:00
LouisLam 440c178403 change sqlite to WAL mode 2021-08-17 18:18:41 +08:00
LouisLam 61e758d872 disable pool for sqlite, re-use a connection to improve the performance. 2021-08-17 15:59:23 +08:00
LouisLam eed6d3e847 add more query log for dev env 2021-08-17 02:09:40 +08:00
LouisLam fc76c2836b increase the query timeout 2021-08-17 01:22:22 +08:00
LouisLam d0aad3400c add reset password in cli 2021-08-09 13:34:44 +08:00
Louis Lam 44391117ab
Merge pull request #173 from chakflying/redirects&status
Feat: Implement Max.Redirects & Accepted Status Codes
2021-08-08 21:19:20 +08:00
Nelson Chan 4ff68238c4
Chore: Improve logging during db development 2021-08-08 15:04:20 +08:00
LouisLam adcd251076 Merge branch 'master' into redirects&status 2021-08-06 19:26:44 +08:00
LouisLam a98ba41c8e minor 2021-08-06 19:12:49 +08:00
LouisLam a40816b948 fix high severity vulnerabilities by using my fork sqlite3 package 2021-08-06 19:09:00 +08:00
Nelson Chan 8f7885e58a Feat: Implement MaxRedirects & StatusCodes 2021-08-05 19:04:38 +08:00
Nelson Chan 0c3c59df4e Fix: [DB] Add default for created_date in monitor 2021-08-03 17:42:57 +08:00
LouisLam e032072900 eslint: allow while (true) 2021-07-30 15:13:51 +08:00
Nelson Chan 47b19ea2f2 ESLint: fix file 2021-07-30 12:35:02 +08:00
LouisLam 081abcb6a1 add util.ts for sharing common functions between frontend and backend 2021-07-30 11:23:04 +08:00
LouisLam 53a90347ca update database schema, add upside_down and ignore_tls 2021-07-28 23:26:27 +08:00
LouisLam 3666ebb931 change no-unused-vars from error to warn 2021-07-28 20:52:49 +08:00
LouisLam 06c4523ce3 update the latest db version to 3 2021-07-26 23:05:04 +08:00
Nelson Chan 96c60dd94a Feat: Add database storage for TLS info 2021-07-22 16:04:32 +08:00
LouisLam e02eb72863 add db migration 2021-07-22 02:02:35 +08:00