Simon Larsen
4335377285
Add HOSTNAME environment variable to Probe Config and update Probe Index and Email Template Type
2024-03-29 16:47:56 +00:00
Simon Larsen
592ff4efb7
Refactor online check in monitor types
2024-03-29 11:46:33 +00:00
Simon Larsen
3e0c5e8846
Refactor OnlineCheck to use URL instead of Hostname
2024-03-29 11:11:59 +00:00
Simon Larsen
9a25f8ea00
Update package names
2024-03-14 13:43:21 +00:00
Simon Larsen
2310ab0929
Update author information in package.json files
2024-03-14 13:20:47 +00:00
Simon Larsen
2e9cb1de23
Update package.json licenses
2024-03-14 13:19:04 +00:00
Simon Larsen
49a2cbd579
fix newline
2024-03-12 10:43:14 +00:00
Simon Larsen
2bdc0b60f9
Fix bug in login functionality
2024-03-05 16:05:46 +00:00
Simon Larsen
d131ae2494
Refactor JSONFunctions.parse to JSONFunctions.parseJSONObject in MonitorUtil
2024-03-04 12:28:07 +00:00
Simon Larsen
44d405fb8c
Fix formatting issues in code
2024-02-27 18:32:04 +00:00
Simon Larsen
17cfffa16e
Fix bugs and improve code
2024-02-27 18:29:29 +00:00
Simon Larsen
7e256ab68c
Refactor code and fix imports
2024-02-27 16:14:23 +00:00
Simon Larsen
ad29eaad78
Fix import statements and add missing types
2024-02-27 15:56:47 +00:00
Simon Larsen
006a01d0a5
Refactor function signatures and handle errors in fetchCount
2024-02-27 15:42:27 +00:00
Simon Larsen
1034587fbe
Update function types in Git repository
2024-02-27 15:37:49 +00:00
Simon Larsen
35744b938f
Update import paths for FunctionsTypes
2024-02-27 15:18:22 +00:00
Simon Larsen
31875081e5
Update function type names
2024-02-27 15:17:39 +00:00
Simon Larsen
50770eb6e8
Refactor code formatting and types
2024-02-27 15:16:02 +00:00
Simon Larsen
b423d2c5e8
Fix PromiseRejectErrorFunctionType in code
2024-02-27 13:31:55 +00:00
Simon Larsen
1d19789573
Add new function types and update existing functions***
...
***Refactor function declarations to use type aliases***
***Fix function signature in FilePicker component***
***Refactor function declaration in DashboardHeader component***
***Fix type declaration in BaseAPI.test.ts***
***Import missing function type in PortMonitor.ts***
***Refactor type declaration in Helpers.ts
2024-02-27 13:29:06 +00:00
Simon Larsen
b952f0666b
Merge pull request #1180 from OneUptime/snyk-upgrade-31c1a2457789279317cffb063f11b971
...
[Snyk] Upgrade axios from 1.6.6 to 1.6.7
2024-02-16 09:15:15 +00:00
Simon Larsen
519daba294
Remove root user from Dockerfiles
2024-02-16 07:40:22 +00:00
snyk-bot
3ade0146ec
fix: upgrade axios from 1.6.6 to 1.6.7
...
Snyk has created this PR to upgrade axios from 1.6.6 to 1.6.7.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-02-16 02:25:17 +00:00
snyk-bot
43c0301ee9
fix: upgrade axios from 1.6.5 to 1.6.6
...
Snyk has created this PR to upgrade axios from 1.6.5 to 1.6.6.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-02-15 02:12:42 +00:00
Simon Larsen
b9b3580ca3
Add check for ONEUPTIME_URL in Config.ts
2024-01-29 12:54:43 +00:00
Simon Larsen
5137a07167
Update ONEUPTIME_URL in probe configuration and docker-compose file
2024-01-29 12:15:34 +00:00
Simon Larsen
865c7f0996
Update dependencies and remove unused code
2024-01-29 07:23:24 +00:00
Simon Larsen
8235149acd
Merge pull request #1133 from OneUptime/snyk-upgrade-da52d4336f2225518d3da4ac1176245c
...
[Snyk] Upgrade axios from 1.6.4 to 1.6.5
2024-01-28 06:09:40 +00:00
snyk-bot
b3d384e0b4
fix: Probe/Dockerfile.tpl to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6191692
2024-01-28 04:04:37 +00:00
snyk-bot
4d1fd2db17
fix: upgrade axios from 1.6.4 to 1.6.5
...
Snyk has created this PR to upgrade axios from 1.6.4 to 1.6.5.
See this package in npm:
https://www.npmjs.com/package/axios
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2024-01-28 03:57:19 +00:00
snyk-bot
acd85183d4
fix: Probe/package.json & Probe/package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6144788
2024-01-05 17:05:37 +00:00
snyk-bot
96f1e72e39
fix: Probe/package.json & Probe/package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
2023-12-27 14:25:27 +00:00
Simon Larsen
632ed7b782
Fix retry logic for response times exceeding 10 seconds
2023-12-13 13:53:55 +00:00
Simon Larsen
2b8b818bc7
Update dependencies and package.json files
2023-12-12 15:11:04 +00:00
Simon Larsen
c84cbe5575
Add dep-check script to package.json files
2023-12-12 13:48:44 +00:00
Simon Larsen
9801232a8c
Merge pull request #1025 from OneUptime/snyk-upgrade-ae228c91abe943bf5f30641698c015a7
...
[Snyk] Upgrade node-cron from 3.0.2 to 3.0.3
2023-12-03 17:15:12 +00:00
snyk-bot
565da66333
fix: upgrade @types/ping from 0.4.3 to 0.4.4
...
Snyk has created this PR to upgrade @types/ping from 0.4.3 to 0.4.4.
See this package in npm:
https://www.npmjs.com/package/@types/ping
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-12-03 17:11:27 +00:00
snyk-bot
6efb29faa1
fix: upgrade node-cron from 3.0.2 to 3.0.3
...
Snyk has created this PR to upgrade node-cron from 3.0.2 to 3.0.3.
See this package in npm:
https://www.npmjs.com/package/node-cron
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-12-03 17:11:23 +00:00
snyk-bot
0e0365007d
fix: Probe/Dockerfile.tpl to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6055795
2023-12-01 18:12:24 +00:00
Simon Larsen
39b0d6e7b6
Merge pull request #937 from OneUptime/snyk-upgrade-3765fb5997db5ec0013131e4ab84f78c
...
[Snyk] Upgrade @types/ping from 0.4.1 to 0.4.3
2023-11-22 19:28:19 +00:00
Simon Larsen
e1a0cd90e4
Refactor online check in monitor classes
2023-11-22 19:27:01 +00:00
Simon Larsen
ca52106c23
Add SSL certificate check function
2023-11-22 17:32:58 +00:00
snyk-bot
69e045d581
fix: upgrade @types/ping from 0.4.1 to 0.4.3
...
Snyk has created this PR to upgrade @types/ping from 0.4.1 to 0.4.3.
See this package in npm:
https://www.npmjs.com/package/@types/ping
See this project in Snyk:
https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/49c81d9c-12c2-4e8e-b9e8-72f98b1b595c?utm_source=github&utm_medium=referral&page=upgrade-pr
2023-11-22 17:19:13 +00:00
Simon Larsen
61d3604a9d
Fix formatting issues in MonitorType.ts,
...
MonitorCriteriaInstance.ts, ApiMonitor.ts,
CriteriaFilter.tsx, MonitorStep.tsx,
MonitorService.ts, WebsiteMonitor.ts, and
PingMonitor.ts
2023-11-22 16:40:19 +00:00
Simon Larsen
b375e8341d
Fix error handling and add timeout functionality
...
in PortMonitor
2023-11-22 16:37:37 +00:00
Simon Larsen
fd3694b93f
Refactor monitor classes to handle retry count
2023-11-22 16:25:38 +00:00
Simon Larsen
753141e524
Add MonitorType Port and update MonitorStep
...
component
2023-11-22 16:02:31 +00:00
Simon Larsen
7584bfd26c
Update hostname in PingMonitor test
2023-11-22 12:13:19 +00:00
Simon Larsen
eff654c117
Update ping test URLs and IP address
2023-11-22 11:57:12 +00:00
Simon Larsen
727f923dbb
Add clear-modules script to package.json files
2023-11-22 11:13:15 +00:00
Simon Larsen
7f93e953ee
Update Jest configurations for test coverage
2023-11-22 10:55:09 +00:00
Simon Larsen
8d9ec445b7
remove realtime docker build
2023-11-21 20:49:24 +00:00
Simon Larsen
640ce525c5
Update Probe npm install and test commands
2023-11-21 17:50:09 +00:00
Simon Larsen
a9a0466e49
Update axios version in package-lock.json
2023-11-21 13:18:23 +00:00
Simon Larsen
a5f2f4e338
Merge branch 'telemetry'
2023-11-21 13:15:53 +00:00
Simon Larsen
b276e6dfc4
Update axios version to 1.6.2
2023-11-21 13:15:39 +00:00
Simon Larsen
b8b79e0d73
Update coverage reporters in jest.config.json
2023-11-21 12:10:26 +00:00
Simon Larsen
aa38ebf8ba
Update typeRoots in tsconfig.json files
2023-11-21 12:09:33 +00:00
renovate[bot]
72d2297a02
fix(deps): update dependency axios to v1.6.0 [security]
2023-11-20 20:10:36 +00:00
Simon Larsen
62d1679938
Add BaseModel import to multiple files
2023-11-14 16:13:58 +00:00
Simon Larsen
99af4fe826
Fix formatting and remove unused imports
2023-11-14 15:24:05 +00:00
Simon Larsen
3023e22de3
refactor common server to add base api for analytics
2023-11-14 14:21:26 +00:00
Simon Larsen
c8f24affc3
add jest types to probe test
2023-11-10 12:53:50 +00:00
Simon Larsen
1d092240f9
fix tests
2023-11-09 21:47:11 +00:00
Simon Larsen
05a288c761
fix jest types
2023-11-02 11:11:36 +00:00
Simon Larsen
a9f503da9d
fix probe tests
2023-11-02 10:21:31 +00:00
Simon Larsen
c958893d67
increase timeout to 30 secs
2023-10-26 20:51:00 +01:00
Simon Larsen
4d5a49f11e
fix fmt
2023-10-26 19:09:29 +01:00
Simon Larsen
2d9b9950dd
when monitors are timeout mark them as offline.
2023-10-26 19:09:03 +01:00
Simon Larsen
301d7f124c
fix fmt
2023-10-14 12:01:06 +01:00
Simon Larsen
0453d995ba
if no ingestor then connect to oneuptime
2023-10-13 19:49:20 +01:00
Simon Larsen
199ef2b009
fix fmt
2023-10-12 20:04:37 +01:00
Simon Larsen
7e796dff42
probeapi request
2023-10-09 19:04:39 +01:00
Simon Larsen
34817a1066
probe-api to ingestor
2023-10-09 18:54:23 +01:00
Simon Larsen
c040d60da9
fix fmt for js expression
2023-10-05 16:56:55 +01:00
Simon Larsen
c85d9b8372
add docs
2023-10-05 15:59:10 +01:00
Simon Larsen
91adc172bd
Merge branch 'master' into parse-json-on-monitors
2023-10-04 19:36:55 +01:00
Simon Larsen
2d4bb56ffa
exit node process on app init fail
2023-10-04 19:22:25 +01:00
Simon Larsen
ed7708ba7c
remove change in config from npm
2023-10-04 19:11:51 +01:00
Simon Larsen
d3e3b7d918
fix docker file
2023-10-02 16:17:43 +01:00
Simon Larsen
2a6cb19405
add pnpm to docker build to speed up builds
2023-10-02 12:38:40 +01:00
Simon Larsen
6cd897c134
fix head request type with err status code
2023-09-28 19:00:41 +01:00
Simon Larsen
3576e86532
terminate if app init fails
2023-09-27 20:48:50 +01:00
Simon Larsen
002abb7498
add retry logic to register a probe
2023-09-22 21:30:10 +01:00
Simon Larsen
0e141b9b1a
add retry logic to register a probe
2023-09-22 21:28:55 +01:00
Simon Larsen
206c7d9bf1
add try catch in cron time parser
2023-09-22 16:36:04 +01:00
Simon Larsen
e16c9cb3b7
fix fmt
2023-09-22 13:04:54 +01:00
Simon Larsen
f63b910d78
add more probe logs
2023-09-22 12:49:51 +01:00
Simon Larsen
8254b635fb
add probe logs
2023-09-22 12:34:02 +01:00
Simon Larsen
112e2e4faa
add 1 second between retries
2023-09-22 08:15:45 +01:00
Simon Larsen
a567cee47f
fix lint
2023-09-21 18:15:21 +01:00
Simon Larsen
708a9ba4b8
increase npm timeout in docker files
2023-09-21 17:09:09 +01:00
Simon Larsen
91a60eabbb
fix fmt
2023-09-21 17:07:55 +01:00
Simon Larsen
7f0e07bd40
implement retry if the server is 500 status
2023-09-21 17:02:50 +01:00
Simon Larsen
b7e5cf78b9
fix fmt
2023-09-21 13:06:06 +01:00
Simon Larsen
d92d8c260b
add retry
2023-09-21 12:53:20 +01:00
Simon Larsen
0576199db8
add exception
2023-09-21 12:52:04 +01:00
Simon Larsen
6f5a804d77
refactor retry
2023-09-21 12:48:03 +01:00
Simon Larsen
2f6420152e
add retry if there's packet loss
2023-09-21 12:39:36 +01:00
Simon Larsen
4d2e66fce3
fix base
2023-09-13 13:56:36 +05:30
Simon Larsen
6057fafd97
fix docker files
2023-09-13 13:55:54 +05:30
Simon Larsen
57671c444c
refactor docker files
2023-09-13 13:53:26 +05:30
Simon Larsen
35d7f0ee59
remove update
2023-09-13 12:30:24 +05:30
Simon Larsen
cc548d9353
refactor into database config
2023-09-11 15:59:36 +05:30
Simon Larsen
b1bd44be59
add sha and version to docker file
2023-08-25 11:16:31 +01:00
Simon Larsen
50b9743a4b
fix commonui tests
2023-08-17 19:08:00 +01:00
Simon Larsen
3674641224
fix issue with HEAD request add fallback to GET
2023-08-17 17:39:11 +01:00
Simon Larsen
e370dd118d
fix Function types
2023-08-10 19:00:27 +01:00
Simon Larsen
9311daac8b
fix fucntion type
2023-08-10 18:25:15 +01:00
Simon Larsen
b6444f5eae
add probe failure reason to root casuse
2023-08-10 17:51:32 +01:00
Simon Larsen
2966924bcd
update node to current alpine
2023-08-09 11:55:19 +01:00
Simon Larsen
92a75def12
add timeout exception to probe
2023-08-09 09:44:36 +01:00
Simon Larsen
17826923f9
fix probe monitors
2023-08-09 09:32:48 +01:00
Simon Larsen
bf8b9527b6
add logs to probe
2023-08-08 16:39:46 +01:00
Simon Larsen
f553d1c995
fix add seconds
2023-08-07 16:34:05 +01:00
Simon Larsen
e409f3ec0e
add limit to probe
2023-08-07 15:22:45 +01:00
Simon Larsen
1d675eb1ab
fix issues with probe api
2023-08-07 10:18:12 +01:00
Simon Larsen
3687e50d37
fix fmt issues in probe
2023-08-07 09:45:54 +01:00
Simon Larsen
28a480681b
fix log in probe
2023-08-07 09:29:45 +01:00
Simon Larsen
894eafec43
add logs to probe
2023-08-07 08:57:36 +01:00
Simon Larsen
11b234cca6
remove await.
2023-08-06 22:11:28 +01:00
Simon Larsen
7dd77a505c
add threads to probe
2023-08-06 21:54:12 +01:00
Simon Larsen
0cc0c033f5
fix fmt
2023-08-06 20:29:42 +01:00
Simon Larsen
6d6bcb796d
monitor one monitor at a time
2023-08-06 20:29:14 +01:00
Simon Larsen
df16909e71
add probe online check
2023-08-06 20:22:45 +01:00
Simon Larsen
1d3c07326e
add is probe onloine on ping monitors
2023-08-06 20:14:54 +01:00
Simon Larsen
d00d97caa1
fix fmt
2023-08-06 20:07:29 +01:00
Simon Larsen
bda2aca4cd
add retry to probe
2023-08-06 20:06:02 +01:00
Jordan Jones
7af57b06b5
chore: update to use pascalcase
2023-07-30 06:15:31 -07:00
Simon Larsen
cd8f090a5e
add HTTP Head request
2023-07-26 12:38:00 +01:00
Simon Larsen
d5b4bdbf6b
remove env tpl
2023-07-17 20:06:01 +01:00
Simon Larsen
d5e07fc788
add logs to monitor probe
2023-06-25 10:23:42 +01:00
Simon Larsen
4297cead16
fix fmt
2023-06-14 19:59:26 +01:00
Simon Larsen
da021bbd10
add logs for api monitor
2023-06-14 19:53:50 +01:00
Simon Larsen
742ee7c3cf
fix fmt
2023-06-06 20:56:08 +01:00
Simon Larsen
05199efd12
fix labels and add logs for ping
2023-06-06 20:54:57 +01:00
Simon Larsen
639c4b13ae
fix issue with sending probe-id
2023-06-02 15:32:11 +01:00
Simon Larsen
6372caeadf
fix app name in probe
2023-05-26 00:20:06 +01:00
Simon Larsen
95c6cee3e2
add retry on probe
2023-05-25 23:44:20 +01:00
Simon Larsen
b4e1404828
Merge branch 'master' of github.com-simon:OneUptime/oneuptime
2023-05-15 10:55:00 +01:00
Simon Larsen
6a4cea838e
build probe server
2023-05-15 10:54:32 +01:00
Simon Larsen
48edfd9812
Merge pull request #442 from OneUptime/monitoring
...
Monitoring
2023-05-14 21:27:37 +01:00
Simon Larsen
61e590e161
fix settings
2023-05-14 21:13:51 +01:00
Simon Larsen
5baf3f0496
ping monitor
2023-05-14 21:07:28 +01:00
Simon Larsen
1ab1b4dcab
make website request work.
2023-05-14 20:39:18 +01:00
Simon Larsen
89239d60ee
fix api request body
2023-05-14 20:06:59 +01:00
Simon Larsen
a2f083bd12
fix probe responses
2023-05-14 14:30:26 +01:00
Simon Larsen
f15c20f6e5
change soft delete to hard delete
2023-05-14 13:10:20 +01:00
Simon Larsen
4257f1c576
fix ramdom fetch
2023-05-14 13:08:00 +01:00
Simon Larsen
82bd0741d0
fix fmt
2023-05-12 13:22:03 +01:00