Commit Graph

99 Commits (1e595eaa76cf35bdb8e8be24c56ede595dd1f38a)

Author SHA1 Message Date
LouisLam 9902c181bc Merge branch 'master' into public-dashboard
3 years ago
Nelson Chan 6e3a904aaa WIP: Add tags functionality
3 years ago
No0Vad 2617e1f4d8 Update database.js
3 years ago
No0Vad 91ee39ec60
Merge branch 'master' into retry-heartbeat-interval
3 years ago
LouisLam e205adfd7b [status page] developing
3 years ago
LouisLam f47f7758f9 Merge branch 'master' into public-dashboard
3 years ago
No0Vad 389d247463
Update server/database.js
3 years ago
No0Vad f8f9f59464 Added support for a retry interval to monitors
3 years ago
LouisLam 934685637a [Status Page] WIP: Checkpoint
3 years ago
Ponkhy 295ccba44b Adjusted for new db patch management
3 years ago
LouisLam 08de0090dc add a better approach for patching db, change setting.value from varchar to TEXT, restore Database.close() to 1.2.0
3 years ago
LouisLam 9f9c1007d7 increase sqlite cache size from 2MB to 12MB
3 years ago
Ponkhy 58240aceef Added the option for default notifications
3 years ago
LouisLam 582e14098d create data dir before copy
3 years ago
LouisLam 6e3e2fc85c fix db path
3 years ago
LouisLam b604807cfe create data dir if not exists
3 years ago
LouisLam c74986647e allow changing data dir
3 years ago
LouisLam e4b76717be revert back to node-sqlite3
3 years ago
LouisLam cd1a3a2fb9 revert back to node-sqlite3, as better-sqlite3 causes a lot of installation problems
3 years ago
LouisLam ada6606217 move the new sql to patch8.sql
3 years ago
LouisLam 46ac753c46 Merge branch 'master' into dns-monitor
3 years ago
LouisLam f96d792fa1 fix patch database using better-sqlite3
3 years ago
LouisLam 14652c9b5f Remove unused variables
3 years ago
LouisLam 2f50fc4c00 plan to switch to better-sqlite3, drop node-sqlite3
3 years ago
Ponkhy c79be19ec3 Added DNS Monitor Type
3 years ago
LouisLam b892a92fc8 retry if acquire error
3 years ago
LouisLam ec0dbf3cbe probably still memory leak over time, not sure what happen, change back to singal pool.
3 years ago
LouisLam 05680472a7 fix high memory usage
3 years ago
LouisLam 7ffdb2eb80 also backup sqlite shm, val file
3 years ago
LouisLam 440c178403 change sqlite to WAL mode
3 years ago
LouisLam 61e758d872 disable pool for sqlite, re-use a connection to improve the performance.
3 years ago
LouisLam eed6d3e847 add more query log for dev env
3 years ago
LouisLam fc76c2836b increase the query timeout
3 years ago
LouisLam d0aad3400c add reset password in cli
3 years ago
Louis Lam 44391117ab
Merge pull request #173 from chakflying/redirects&status
3 years ago
Nelson Chan 4ff68238c4
Chore: Improve logging during db development
3 years ago
LouisLam adcd251076 Merge branch 'master' into redirects&status
3 years ago
LouisLam a98ba41c8e minor
3 years ago
LouisLam a40816b948 fix high severity vulnerabilities by using my fork sqlite3 package
3 years ago
Nelson Chan 8f7885e58a Feat: Implement MaxRedirects & StatusCodes
3 years ago
Nelson Chan 0c3c59df4e Fix: [DB] Add default for created_date in monitor
3 years ago
LouisLam e032072900 eslint: allow while (true)
3 years ago
Nelson Chan 47b19ea2f2 ESLint: fix file
3 years ago
LouisLam 081abcb6a1 add util.ts for sharing common functions between frontend and backend
3 years ago
LouisLam 53a90347ca update database schema, add upside_down and ignore_tls
3 years ago
LouisLam 3666ebb931 change no-unused-vars from error to warn
3 years ago
LouisLam 06c4523ce3 update the latest db version to 3
3 years ago
Nelson Chan 96c60dd94a Feat: Add database storage for TLS info
3 years ago
LouisLam e02eb72863 add db migration
3 years ago