Compare commits

...

1035 Commits

Author SHA1 Message Date
Simon Larsen
30c9b8ab90 Merge pull request #557 from Kashalls/fix-ghcr
feat: fix build numbers and merge test builds
2023-07-29 13:26:20 +01:00
Jordan Jones
db7e862a31 feat: fix build numbers and merge test builds 2023-07-29 05:23:18 -07:00
Simon Larsen
3b3a6f35f1 Merge pull request #556 from Kashalls/ghcr.io
Add support for ghcr.io as a mirror
2023-07-29 12:29:32 +01:00
Jordan Jones
e3ccf48251 chore: support deploying test releases 2023-07-29 04:26:09 -07:00
Jordan Jones
f01b6f1944 chore: re-add prerun for templating 2023-07-29 04:24:02 -07:00
Kashalls
832e88f288 chore: remove non-modifying raw commands and weirdly managed qemu emulator? 2023-07-29 03:46:59 -07:00
Kashalls
9ceb2d4fc4 feat: add support for building and pushing to ghcr.io 2023-07-29 03:44:22 -07:00
Simon Larsen
3b0c9ddaeb remove ghcr 2023-07-29 10:30:48 +01:00
Simon Larsen
c6df51aae3 fix push to github cr 2023-07-29 10:08:12 +01:00
Simon Larsen
606e8d8349 fix github token 2023-07-28 19:00:28 +01:00
Simon Larsen
b0ba865ea2 push images to ghcr.io 2023-07-28 17:54:29 +01:00
Simon Larsen
d48f86970c fix title length 2023-07-27 15:55:33 +01:00
Simon Larsen
44be11adbb fixc workflow json seralization issue 2023-07-27 13:45:51 +01:00
Simon Larsen
e0965390b9 add oneuptime automation 2023-07-27 13:03:29 +01:00
Simon Larsen
75a9763eb1 add last index to workflow 2023-07-27 10:36:50 +01:00
Simon Larsen
952865298c fix billing payment method perms 2023-07-26 18:08:45 +01:00
Simon Larsen
eb90e19d12 increase char limit on title 2023-07-26 16:49:11 +01:00
Simon Larsen
7f81ae4009 fix common server tests 2023-07-26 12:48:54 +01:00
Simon Larsen
cd8f090a5e add HTTP Head request 2023-07-26 12:38:00 +01:00
Simon Larsen
35f483c650 add type to result 2023-07-26 11:06:39 +01:00
Simon Larsen
8238ce4c5d fix json serilization issue 2023-07-26 11:01:37 +01:00
Simon Larsen
39ab39b024 make workflow code more readable 2023-07-26 10:44:39 +01:00
Simon Larsen
7e3f911225 fix json serialization issue with workflows 2023-07-25 15:12:18 +01:00
Simon Larsen
8a8f975369 fix blank page issues 2023-07-25 11:10:27 +01:00
Simon Larsen
bef9411dcc Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-24 21:52:38 +01:00
Simon Larsen
e861f4b53c update readme in config.example 2023-07-24 21:52:19 +01:00
Simon Larsen
757a66bafa add readme in config. 2023-07-24 21:47:54 +01:00
Simon Larsen
217ec6bcfc change default username to postgres 2023-07-24 21:26:20 +01:00
Simon Larsen
dd4f518a79 Merge branch 'master' into release 2023-07-24 21:06:46 +01:00
Simon Larsen
c87e1513d9 Merge pull request #552 from ckd/typo-emptystate
rename EmnptyState component
2023-07-24 20:51:56 +01:00
Carl Downing
b4e4eb7043 rename EnmptyState component 2023-07-24 12:20:47 -07:00
Simon Larsen
26a4ba606e fix issues with summary detail. 2023-07-24 20:02:20 +01:00
Simon Larsen
88cf88d125 Merge pull request #551 from ckd/more-copy-edits
More copy edits
2023-07-24 17:47:15 +01:00
Carl Downing
499dec5b95 here are 2023-07-24 09:43:59 -07:00
Carl Downing
9a107188aa grammar/copy 2023-07-24 09:41:03 -07:00
Carl Downing
6822dc4f3e request 2023-07-24 09:39:17 -07:00
Carl Downing
6977aec52d requests 2023-07-24 09:38:15 -07:00
Carl Downing
c9a3c23302 correct role descriptions 2023-07-24 09:37:47 -07:00
Simon Larsen
066f055a74 Merge pull request #550 from ckd/copy-edits
Copy edits
2023-07-24 17:15:06 +01:00
Carl Downing
1da7b9747f renaming hasReosurce 2023-07-24 09:08:08 -07:00
Carl Downing
e29af13b73 renaming getReosurceDictionaryByPath 2023-07-24 09:06:55 -07:00
Carl Downing
3e4074ef4b resources 2023-07-24 09:04:07 -07:00
Carl Downing
0f8330d110 copyedit 2023-07-24 08:43:43 -07:00
Carl Downing
4cba9d6042 open source 2023-07-24 08:41:47 -07:00
Carl Downing
556283e7f7 copyedit 2023-07-24 08:40:42 -07:00
Carl Downing
696a3b5fee grammar 2023-07-24 08:38:17 -07:00
Carl Downing
cdd2f241c7 grammar 2023-07-24 08:38:02 -07:00
Carl Downing
2a9978b539 grammar 2023-07-24 08:36:34 -07:00
Simon Larsen
e1917f1fd7 Merge branch 'master' into release 2023-07-24 16:15:42 +01:00
Simon Larsen
cb547790cf fix createdAt null check 2023-07-24 16:15:32 +01:00
Simon Larsen
c754101194 Merge pull request #547 from andersmmg/spelling-fix
Fix misspelled "propogate"
2023-07-24 10:35:41 +01:00
Simon Larsen
a1b772bda1 Merge pull request #548 from ckd/spelling-corrections
Spelling corrections
2023-07-24 10:35:21 +01:00
Carl Downing
a0e4b6b5c7 typos 2023-07-23 21:14:07 -07:00
Carl Downing
02cb4474a3 fix URL typo 2023-07-23 21:01:09 -07:00
Carl Downing
2db09a3aba consistent punctuation 2023-07-23 21:00:27 -07:00
Carl Downing
e09efd5917 consistent punctuation 2023-07-23 20:59:49 -07:00
Carl Downing
b45a47e167 consistent punctuation 2023-07-23 20:56:22 -07:00
Carl Downing
fab4be14dc on-call 2023-07-23 20:54:16 -07:00
Carl Downing
b717f0e09e grammar 2023-07-23 20:52:21 -07:00
Carl Downing
89fc67831c typo: integrate 2023-07-23 20:50:43 -07:00
Joshua Anderson
a504ac95d8 Fix misspelled "propogate" 2023-07-23 20:34:00 -06:00
Simon Larsen
a4f2206c83 Merge branch 'master' into release 2023-07-22 18:51:35 +01:00
Simon Larsen
271535d89f add env to gitignore 2023-07-22 18:51:21 +01:00
Simon Larsen
13f0723405 Merge pull request #546 from OneUptime/notification-settings
Notification settings
2023-07-22 18:50:01 +01:00
Simon Larsen
2159332317 fix fmt 2023-07-22 18:48:32 +01:00
Simon Larsen
3757ecb104 fix incidentservice 2023-07-22 18:33:45 +01:00
Simon Larsen
a40986d51b fix env in dev 2023-07-22 18:14:00 +01:00
Simon Larsen
d5aa9529fa fix docker compose files 2023-07-22 17:57:10 +01:00
Simon Larsen
edc7362fcd fix env in docker compose file for dev 2023-07-22 17:45:12 +01:00
Simon Larsen
e9de7fae51 fix env in docker compose for dev 2023-07-22 17:40:23 +01:00
Simon Larsen
8877536c14 fix fmt 2023-07-22 17:33:22 +01:00
Simon Larsen
5f0be6298c fix fmt 2023-07-22 17:31:57 +01:00
Simon Larsen
3d533db7c0 fix docker files for UI containers 2023-07-22 17:03:13 +01:00
Simon Larsen
46b14a4792 fix send email to subscribers 2023-07-22 16:22:21 +01:00
Simon Larsen
a0b203d9b8 fix notification events 2023-07-22 16:13:32 +01:00
Simon Larsen
b55b20a55f remove global config service 2023-07-22 16:09:51 +01:00
Simon Larsen
b91104e7bd fix compile err 2023-07-22 16:00:51 +01:00
Simon Larsen
478b4dc381 add base servicve 2023-07-22 15:33:24 +01:00
Simon Larsen
8d7c88d4d0 fix filters 2023-07-22 14:46:31 +01:00
Simon Larsen
9c35c26558 add workflow id to logs 2023-07-22 14:42:41 +01:00
Simon Larsen
16166a70f8 fix docker compose 2023-07-22 14:35:31 +01:00
Simon Larsen
42b80bab3c fix email log 2023-07-22 14:33:50 +01:00
Simon Larsen
2724f4eeed add mailservice 2023-07-22 14:14:54 +01:00
Simon Larsen
b6f67f8faa add logging to mailservice. 2023-07-22 14:13:40 +01:00
Simon Larsen
a0bfa75e55 fix send email to subscribers 2023-07-22 13:51:40 +01:00
Simon Larsen
1e0b19efd4 fix mail resources 2023-07-22 13:36:02 +01:00
Simon Larsen
e83d63c07e add more alerts to scheduled maintenance 2023-07-21 17:23:30 +01:00
Simon Larsen
7eb0b79d7b add email logs in project settings 2023-07-21 17:10:46 +01:00
Simon Larsen
2156c8f5d5 add notificatios to state changes 2023-07-21 16:52:25 +01:00
Simon Larsen
9564e57208 add message send service 2023-07-21 16:43:17 +01:00
Simon Larsen
2ba91d6ddf rename api 2023-07-21 14:18:49 +01:00
Simon Larsen
668c88db52 fix lint 2023-07-21 14:17:39 +01:00
Simon Larsen
e4faa3c995 update routemap 2023-07-21 14:15:59 +01:00
Simon Larsen
d86f3a0a33 notification log -> on call log 2023-07-21 14:15:33 +01:00
Simon Larsen
4dda09b406 fix fmt 2023-07-21 14:05:53 +01:00
Simon Larsen
ef605f1248 remove notification settings when the user is removed from the projct 2023-07-21 14:01:32 +01:00
Simon Larsen
632365da7f rename files 2023-07-21 13:48:35 +01:00
Simon Larsen
6ca3d003f7 rename files 2023-07-21 13:48:30 +01:00
Simon Larsen
889b6e00c4 add unsubscribe help text 2023-07-21 13:39:38 +01:00
Simon Larsen
dfa8591562 add unsubscribe help text 2023-07-21 13:39:32 +01:00
Simon Larsen
85d073f110 add migration job 2023-07-21 13:33:53 +01:00
Simon Larsen
55f6faaa60 fix UI issues 2023-07-21 13:23:34 +01:00
Simon Larsen
6939ee1f0d make env work in development. 2023-07-21 12:09:46 +01:00
Simon Larsen
316ef6ff53 add settings model 2023-07-20 20:28:47 +01:00
Simon Larsen
9fe2395796 remove comment 2023-07-20 18:58:48 +01:00
Simon Larsen
7b2a31ef96 remove overflow scroll 2023-07-20 14:14:03 +01:00
Simon Larsen
7971bb2abb Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-20 11:24:17 +01:00
Simon Larsen
5eacc2a18e bake template into nginx image 2023-07-20 11:24:01 +01:00
Simon Larsen
70d18ba49e Merge pull request #545 from OneUptime/release
add read env var
2023-07-20 07:24:16 +01:00
Simon Larsen
3c9628abdb add read env var 2023-07-20 07:14:34 +01:00
Simon Larsen
9793d95b80 remove flag 2023-07-19 22:07:07 +01:00
Simon Larsen
881b190fd8 fix fmt 2023-07-19 22:06:11 +01:00
Simon Larsen
e30565bce3 Merge pull request #543 from OneUptime/dependabot/npm_and_yarn/Common/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /Common
2023-07-19 20:33:58 +01:00
Simon Larsen
f9517412e5 Merge pull request #544 from OneUptime/dependabot/npm_and_yarn/Accounts/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /Accounts
2023-07-19 20:33:53 +01:00
dependabot[bot]
ed6d2faa8d Bump word-wrap from 1.2.3 to 1.2.4 in /Accounts
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 19:33:30 +00:00
Simon Larsen
a1ce939ffc Merge pull request #534 from OneUptime/dependabot/npm_and_yarn/Dashboard/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /Dashboard
2023-07-19 20:33:20 +01:00
Simon Larsen
b34cd86f05 Merge pull request #535 from OneUptime/dependabot/npm_and_yarn/CommonServer/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /CommonServer
2023-07-19 20:33:08 +01:00
dependabot[bot]
45e752cabf Bump word-wrap from 1.2.3 to 1.2.4 in /Common
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 19:33:04 +00:00
Simon Larsen
fa89f9d1a5 Merge pull request #536 from OneUptime/dependabot/npm_and_yarn/TestServer/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /TestServer
2023-07-19 20:33:00 +01:00
Simon Larsen
9db08a9347 Merge pull request #537 from OneUptime/dependabot/npm_and_yarn/ProbeAPI/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /ProbeAPI
2023-07-19 20:32:52 +01:00
Simon Larsen
24c4d37b2c Merge pull request #538 from OneUptime/dependabot/npm_and_yarn/Model/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /Model
2023-07-19 20:32:43 +01:00
Simon Larsen
1f866ee325 Merge pull request #539 from OneUptime/dependabot/npm_and_yarn/CommonUI/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /CommonUI
2023-07-19 20:32:34 +01:00
Simon Larsen
70a0087344 Merge pull request #540 from OneUptime/dependabot/npm_and_yarn/StatusPage/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /StatusPage
2023-07-19 20:32:25 +01:00
Simon Larsen
3dea55f035 Merge pull request #541 from OneUptime/dependabot/npm_and_yarn/Scripts/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /Scripts
2023-07-19 20:32:17 +01:00
Simon Larsen
f47a6e7c6b update readme 2023-07-19 20:30:18 +01:00
Simon Larsen
788e8363ef remove self signed certs generation 2023-07-19 20:29:29 +01:00
Simon Larsen
c9d1c95b38 remove ssl certs from nginx 2023-07-19 20:28:38 +01:00
Simon Larsen
b3a18d69cb add comment 2023-07-19 20:21:55 +01:00
Simon Larsen
3b9e982c35 fix nginx template 2023-07-19 20:20:31 +01:00
Simon Larsen
b28a832ba7 env var for nginx domain 2023-07-19 20:16:43 +01:00
Simon Larsen
38b96e86c3 add nginx to prod and dev docker 2023-07-19 20:02:14 +01:00
Simon Larsen
dafcd001f7 add nginx files 2023-07-19 20:00:53 +01:00
Simon Larsen
7882897466 fix typo 2023-07-19 19:47:08 +01:00
Simon Larsen
3e62082ac2 fix typo 2023-07-19 19:36:26 +01:00
Simon Larsen
e8d790925b Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-19 18:37:51 +01:00
Simon Larsen
83061b1ca8 fix typo in readme 2023-07-19 18:27:26 +01:00
Simon Larsen
554f353990 Merge pull request #542 from OneUptime/release
fix test script
2023-07-19 18:11:23 +01:00
Simon Larsen
d857de0406 fix test script 2023-07-19 18:07:33 +01:00
Simon Larsen
e4d4bbb680 expose postrges port 2023-07-19 16:34:20 +01:00
Simon Larsen
4e8631cec9 add dev readme 2023-07-19 16:33:17 +01:00
Simon Larsen
1f96504c34 package.json 2023-07-19 15:13:05 +01:00
Simon Larsen
c0153f0ecb fix docker compose files 2023-07-19 15:10:47 +01:00
Simon Larsen
42f8a90eeb add code mounts 2023-07-19 14:51:39 +01:00
Simon Larsen
090d68f4e1 add status response to link shortner 2023-07-19 14:27:41 +01:00
Simon Larsen
dcd04ddaa1 add networks 2023-07-19 14:25:00 +01:00
Simon Larsen
906438c325 refactor status check script 2023-07-19 14:21:39 +01:00
Simon Larsen
53ce3537e9 fix spaces 2023-07-19 13:06:39 +01:00
Simon Larsen
550d7f2621 fix probe config 2023-07-19 12:59:10 +01:00
Simon Larsen
b1707a28f8 add 443 port for external status apges 2023-07-19 12:54:37 +01:00
Simon Larsen
3eb15af79c update readme 2023-07-19 12:44:29 +01:00
Simon Larsen
bddd932eb8 remove sudo 2023-07-19 12:42:33 +01:00
Simon Larsen
8a73a7c7ab fix install script 2023-07-19 12:34:59 +01:00
Simon Larsen
a7b6f70ed4 remove secret generation 2023-07-19 12:29:54 +01:00
Simon Larsen
3dea88a97b add test setup 2023-07-19 12:25:50 +01:00
Simon Larsen
5728c1a18c fix test file 2023-07-19 12:16:29 +01:00
Simon Larsen
7da678e82b Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-19 12:01:20 +01:00
Simon Larsen
7b7cbbe6b8 fix config.example 2023-07-19 12:01:09 +01:00
dependabot[bot]
658b359c2c Bump word-wrap from 1.2.3 to 1.2.4 in /Scripts
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:45 +00:00
dependabot[bot]
ff9f97f095 Bump word-wrap from 1.2.3 to 1.2.4 in /StatusPage
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:35 +00:00
dependabot[bot]
558f963648 Bump word-wrap from 1.2.3 to 1.2.4 in /CommonUI
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:30 +00:00
dependabot[bot]
f5883d4840 Bump word-wrap from 1.2.3 to 1.2.4 in /Model
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:27 +00:00
dependabot[bot]
bfdecac3ba Bump word-wrap from 1.2.3 to 1.2.4 in /TestServer
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:26 +00:00
dependabot[bot]
43a765479a Bump word-wrap from 1.2.3 to 1.2.4 in /ProbeAPI
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:26 +00:00
dependabot[bot]
07b33b68ab Bump word-wrap from 1.2.3 to 1.2.4 in /CommonServer
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:24 +00:00
dependabot[bot]
e83b118904 Bump word-wrap from 1.2.3 to 1.2.4 in /Dashboard
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 10:43:22 +00:00
Nawaz Dhandala
fb798290a5 Merge pull request #529 from TobiasGrether/master
use overflow-x-scroll to stop nav bar from operlapping on mobile dashboard
2023-07-19 11:43:07 +01:00
Nawaz Dhandala
46c33b4d1e Merge pull request #533 from OneUptime/dependabot/npm_and_yarn/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-19 11:42:36 +01:00
Simon Larsen
3492e7f949 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-19 11:41:34 +01:00
Simon Larsen
5a5b861f69 expose port in local dev 2023-07-19 11:41:32 +01:00
dependabot[bot]
17938ddb3f Bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 08:24:35 +00:00
Nawaz Dhandala
3ea065a620 Merge pull request #531 from TobiasGrether/patch-1
Add docker network to docker-compose.yml
2023-07-18 17:02:57 +01:00
Tobias Grether
2f6f8044b8 Add docker network to docker-compose.yml 2023-07-18 10:16:13 +02:00
Tobias Grether
7a17eb12dc feat: use overflow-x-scroll to stop nav bar from operlapping on mobile dashboard 2023-07-18 09:25:59 +02:00
Nawaz Dhandala
dd8d9b3e3f Merge pull request #526 from OneUptime/dependabot/npm_and_yarn/CommonServer/fast-xml-parser-and-aws-sdk/credential-providers-4.2.5
Bump fast-xml-parser and @aws-sdk/credential-providers in /CommonServer
2023-07-17 20:49:22 +01:00
Nawaz Dhandala
22fc04f06a Merge pull request #527 from TobiasGrether/master
Use docker network instead of exposing all ports manually
2023-07-17 20:44:35 +01:00
Tobias Grether
9a121ec62e feat: use docker network instead of exposing all ports manually 2023-07-17 21:39:38 +02:00
Simon Larsen
7909bc95ee bash -> source 2023-07-17 20:33:19 +01:00
Simon Larsen
cad11997f4 bash -> source 2023-07-17 20:33:08 +01:00
Simon Larsen
908a7a2695 fix script 2023-07-17 20:17:30 +01:00
Simon Larsen
d5b4bdbf6b remove env tpl 2023-07-17 20:06:01 +01:00
Simon Larsen
bc482345ce add common vars to nginx 2023-07-17 19:56:14 +01:00
Simon Larsen
a04416e7e7 add default conf file 2023-07-17 19:54:44 +01:00
Simon Larsen
a04eb341e1 add docker compose name 2023-07-17 19:50:48 +01:00
Simon Larsen
687c1bbb67 fix fmt 2023-07-17 19:47:14 +01:00
Simon Larsen
4462ee9bc2 remove company name and phone from OSS install 2023-07-17 19:46:48 +01:00
Simon Larsen
2379a6fd86 read env vars from bash 2023-07-17 19:30:10 +01:00
Simon Larsen
99462978cc edit readme 2023-07-17 17:59:15 +01:00
Simon Larsen
ae7c32a32d makr coookie accepted as false and hide the banner 2023-07-17 17:56:59 +01:00
Simon Larsen
6e4b23293f update readme to make it only docker compose 2023-07-17 17:54:58 +01:00
Simon Larsen
21a017a8ba add docs around external cname 2023-07-17 17:45:07 +01:00
Simon Larsen
5a99e66427 add debugging ports 2023-07-17 17:38:15 +01:00
Simon Larsen
786e88eef5 change protocol to http 2023-07-17 17:32:38 +01:00
Simon Larsen
bb45041dec fix probe prod file 2023-07-17 17:29:57 +01:00
Simon Larsen
0f92ba3e63 add activate 2023-07-17 17:29:13 +01:00
Simon Larsen
25b065eef4 fix common tests 2023-07-17 17:18:56 +01:00
Simon Larsen
dcd35b4686 fix env var 2023-07-17 16:09:18 +01:00
Simon Larsen
a9fc2305eb fix configure 2023-07-17 16:06:22 +01:00
Simon Larsen
7f741cec1b add docker compose file 2023-07-17 16:05:38 +01:00
Simon Larsen
c03e8f2d67 fix configure script 2023-07-17 16:03:05 +01:00
Simon Larsen
4691444545 fix preinstall script 2023-07-17 15:59:56 +01:00
Simon Larsen
970e6c4af2 fix lint. 2023-07-17 15:57:05 +01:00
Simon Larsen
31e0376e62 fix script 2023-07-17 14:30:58 +01:00
Simon Larsen
cc24dad2cd fix package.json 2023-07-17 14:30:31 +01:00
Simon Larsen
74a36c6918 fix env config 2023-07-17 13:30:20 +01:00
Simon Larsen
ab0472005e Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-17 13:28:31 +01:00
Simon Larsen
e171a8c845 fix err in docker compose 2023-07-17 13:28:29 +01:00
Simon Larsen
5de055a350 add config.example.env 2023-07-17 13:08:02 +01:00
dependabot[bot]
3c04194dfd Bump fast-xml-parser and @aws-sdk/credential-providers in /CommonServer
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [@aws-sdk/credential-providers](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/credential-providers). These dependencies needed to be updated together.

Updates `fast-xml-parser` from 4.2.4 to 4.2.5
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.4...v4.2.5)

Updates `@aws-sdk/credential-providers` from 3.347.1 to 3.370.0
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-providers/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.370.0/packages/credential-providers)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: "@aws-sdk/credential-providers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 11:50:21 +00:00
Nawaz Dhandala
aee54309d8 Merge pull request #525 from OneUptime/dependabot/npm_and_yarn/Accounts/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /Accounts
2023-07-17 12:49:11 +01:00
dependabot[bot]
5831fdfa3e Bump tough-cookie from 4.1.2 to 4.1.3 in /Accounts
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-16 21:46:47 +00:00
Nawaz Dhandala
5267cdfbeb Merge pull request #522 from OneUptime/dependabot/npm_and_yarn/Common/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /Common
2023-07-16 22:45:52 +01:00
Simon Larsen
6094b577ef Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-15 13:43:28 +01:00
Simon Larsen
b1f734166f add poorts to docker compose base 2023-07-15 11:32:30 +01:00
Simon Larsen
52060d1393 add env var to docker compose base 2023-07-15 11:28:50 +01:00
Nawaz Dhandala
9a1589259f Merge pull request #523 from OneUptime/nzdhandala-patch-1
Create IPAddress.md
2023-07-14 21:01:05 +01:00
Nawaz Dhandala
12ae9a1b74 Create IPAddress.md 2023-07-14 21:00:56 +01:00
dependabot[bot]
ed7395db70 Bump tough-cookie from 4.1.2 to 4.1.3 in /Common
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 17:19:43 +00:00
Nawaz Dhandala
6a63556fd2 Merge pull request #521 from OneUptime/dependabot/npm_and_yarn/CommonServer/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /CommonServer
2023-07-14 18:19:01 +01:00
Simon Larsen
4ecfce4a5d fix grammar 2023-07-13 12:34:39 +01:00
Simon Larsen
6f827a68c0 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-13 12:29:40 +01:00
Simon Larsen
8afdf966f3 fix fmt 2023-07-13 12:29:13 +01:00
Simon Larsen
e9e5533372 fix on call page 2023-07-13 12:26:34 +01:00
Simon Larsen
e8acdad270 fix logo on status page 2023-07-13 12:08:28 +01:00
dependabot[bot]
d11116544c Bump tough-cookie from 4.1.2 to 4.1.3 in /CommonServer
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 09:34:58 +00:00
Nawaz Dhandala
4741028cc2 Merge pull request #518 from OneUptime/dependabot/npm_and_yarn/Playwright/semver-6.3.1
Bump semver from 6.3.0 to 6.3.1 in /Playwright
2023-07-13 10:34:16 +01:00
Nawaz Dhandala
56af44885d Merge pull request #512 from OneUptime/dependabot/npm_and_yarn/Dashboard/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /Dashboard
2023-07-13 10:34:00 +01:00
Nawaz Dhandala
cc30864ada Merge pull request #513 from OneUptime/dependabot/npm_and_yarn/CommonUI/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /CommonUI
2023-07-13 10:33:52 +01:00
Nawaz Dhandala
5291f78895 Merge pull request #517 from OneUptime/dependabot/npm_and_yarn/Accounts/semver-5.7.2
Bump semver from 5.7.1 to 5.7.2 in /Accounts
2023-07-13 10:33:47 +01:00
Nawaz Dhandala
731f4da92a Merge pull request #519 from OneUptime/dependabot/npm_and_yarn/CommonServer/semver-6.3.1
Bump semver from 6.3.0 to 6.3.1 in /CommonServer
2023-07-13 10:33:36 +01:00
Simon Larsen
da6615ad6f finish workflow page 2023-07-13 10:30:53 +01:00
Simon Larsen
251c763245 remove svg on the sides 2023-07-12 14:22:39 +01:00
Simon Larsen
ac29692485 add workflow images 2023-07-12 14:20:24 +01:00
Simon Larsen
2e0e8f6956 add workflow page 2023-07-12 13:36:13 +01:00
Simon Larsen
74e1532079 fix fmt 2023-07-12 12:15:44 +01:00
Simon Larsen
2657bca277 fix shortlinks 2023-07-12 11:53:08 +01:00
Simon Larsen
9704adba03 fix sms and calls for verification code. 2023-07-12 11:46:35 +01:00
Simon Larsen
a1960cb749 add PG_DBNAME env var 2023-07-12 11:38:40 +01:00
Simon Larsen
b288117b4f fix fmt 2023-07-12 11:03:50 +01:00
Simon Larsen
c22f3f3191 fix bug with logging on-call 2023-07-12 11:02:33 +01:00
Simon Larsen
3b4e0a8dbc add comments in timeout jobs 2023-07-12 10:24:22 +01:00
Simon Larsen
6ef9445b46 fix fmt in timeout jobs 2023-07-12 10:20:30 +01:00
Simon Larsen
55856e9ff0 add timeout jobs 2023-07-12 10:18:57 +01:00
Simon Larsen
8b8585f86c fix issues with service 2023-07-12 09:58:52 +01:00
Simon Larsen
ad427fa6b4 Merge branch 'release' 2023-07-12 09:32:01 +01:00
Simon Larsen
3d4519e2bd add https port 2023-07-12 09:31:50 +01:00
Simon Larsen
d0f0454a0c add docker base 2023-07-12 09:29:36 +01:00
Simon Larsen
e0601e75fa remove nginx docker build 2023-07-11 22:32:38 +01:00
Simon Larsen
a4951a264b add docker base 2023-07-11 22:31:38 +01:00
dependabot[bot]
b8485a1c3e Bump semver from 6.3.0 to 6.3.1 in /CommonServer
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 21:17:03 +00:00
dependabot[bot]
54b4f47b6a Bump semver from 6.3.0 to 6.3.1 in /Playwright
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 21:16:58 +00:00
Simon Larsen
c558909fd0 remove nginx jobs 2023-07-11 22:16:09 +01:00
Simon Larsen
da3f02f855 add nginx official container 2023-07-11 22:15:34 +01:00
dependabot[bot]
f1ea93719c Bump semver from 5.7.1 to 5.7.2 in /Accounts
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 21:03:13 +00:00
Simon Larsen
fc59f65fca add env folder 2023-07-11 20:26:35 +01:00
Simon Larsen
bddf072511 add data folder 2023-07-11 20:22:17 +01:00
Simon Larsen
f5a4cc3c1d remove lets encrypt to make deployment simpler 2023-07-11 11:57:54 +01:00
Nawaz Dhandala
a7e1430898 Merge pull request #516 from OneUptime/on-call-fixes
fix shortlink logs
2023-07-11 09:47:27 +01:00
Simon Larsen
d0cb4b5b17 fix shortlink logs 2023-07-11 09:28:16 +01:00
Nawaz Dhandala
f5055d744e Merge pull request #515 from OneUptime/on-call-fixes
On call fixes
2023-07-10 21:31:24 +01:00
Simon Larsen
8d308b0a7c fix workflow status 2023-07-10 19:23:44 +01:00
Simon Larsen
1515cd7478 running - executing 2023-07-10 19:23:11 +01:00
Simon Larsen
604a5c0c9f Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-10 08:28:43 +01:00
Simon Larsen
ba46931979 add docker jobs for link shortner 2023-07-10 08:28:23 +01:00
dependabot[bot]
7d620595d2 Bump tough-cookie from 4.1.2 to 4.1.3 in /CommonUI
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:59:16 +00:00
dependabot[bot]
d186adbbbb Bump tough-cookie from 4.1.2 to 4.1.3 in /Dashboard
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:57:56 +00:00
Nawaz Dhandala
3bc6794948 Merge pull request #511 from OneUptime/dependabot/npm_and_yarn/StatusPage/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /StatusPage
2023-07-09 20:57:20 +01:00
Nawaz Dhandala
f5e0f90e11 Merge pull request #510 from OneUptime/dependabot/npm_and_yarn/TestServer/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /TestServer
2023-07-09 20:57:12 +01:00
Nawaz Dhandala
536e0e3cf8 Merge pull request #509 from OneUptime/dependabot/npm_and_yarn/Model/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /Model
2023-07-09 20:57:04 +01:00
Nawaz Dhandala
b82c2acf67 Merge pull request #507 from OneUptime/dependabot/npm_and_yarn/ProbeAPI/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /ProbeAPI
2023-07-09 20:56:58 +01:00
Nawaz Dhandala
bd46971ad8 Merge pull request #506 from OneUptime/dependabot/npm_and_yarn/Scripts/tough-cookie-4.1.3
Bump tough-cookie from 4.1.2 to 4.1.3 in /Scripts
2023-07-09 20:56:49 +01:00
dependabot[bot]
61cbae6a3f Bump tough-cookie from 4.1.2 to 4.1.3 in /StatusPage
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:46:34 +00:00
dependabot[bot]
d9c13333ed Bump tough-cookie from 4.1.2 to 4.1.3 in /TestServer
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:46:29 +00:00
dependabot[bot]
6716339317 Bump tough-cookie from 4.1.2 to 4.1.3 in /Model
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:46:14 +00:00
Nawaz Dhandala
49b4388491 Merge pull request #508 from OneUptime/nzdhandala-patch-1
Update README.md
2023-07-09 20:45:59 +01:00
Nawaz Dhandala
6300416593 Update README.md 2023-07-09 20:45:43 +01:00
dependabot[bot]
c7aa6123b2 Bump tough-cookie from 4.1.2 to 4.1.3 in /ProbeAPI
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:45:41 +00:00
dependabot[bot]
df17c47dd4 Bump tough-cookie from 4.1.2 to 4.1.3 in /Scripts
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 19:45:35 +00:00
Nawaz Dhandala
5e8962917b Merge pull request #501 from OneUptime/on-call-duty
On call duty
2023-07-09 20:44:57 +01:00
Simon Larsen
112b72d2ed fix issues with on-call 2023-07-09 20:44:40 +01:00
Simon Larsen
3d3bf1d092 fix regex to include longer phone numbers 2023-07-09 19:49:43 +01:00
Simon Larsen
e5f7fc4cef fix domain and include za 2023-07-09 19:47:30 +01:00
Simon Larsen
bf82694b6e add sent states 2023-07-09 17:14:44 +01:00
Simon Larsen
d1fa52c8dc fix model required fields. 2023-07-09 17:06:10 +01:00
Simon Larsen
577d1dceea add resource notifictions 2023-07-09 16:31:53 +01:00
Simon Larsen
9b4e3172c3 add sidemenu 2023-07-09 15:52:20 +01:00
Simon Larsen
b7db3a42b5 underline on hover 2023-07-09 15:21:36 +01:00
Simon Larsen
a8292e5183 fix fmt 2023-07-09 15:14:22 +01:00
Simon Larsen
bf2b95fda7 fix fmt 2023-07-09 15:13:09 +01:00
Simon Larsen
3f1550096c fix sso docs 2023-07-09 15:11:01 +01:00
Simon Larsen
860beafd74 filter by severity 2023-07-09 13:39:46 +01:00
Simon Larsen
66839a01d6 fix filter 2023-07-09 13:27:14 +01:00
Simon Larsen
cf4fbdc8fc fix date filter 2023-07-09 13:19:29 +01:00
Simon Larsen
f2a1a0596d fix enum status 2023-07-09 13:04:46 +01:00
Simon Larsen
40e72a4c00 add pricing for on-call 2023-07-09 12:53:50 +01:00
Simon Larsen
30cae266b0 refactor into a table component 2023-07-08 22:43:29 +01:00
Simon Larsen
d54708b2c4 fix sidemenu style 2023-07-08 22:22:13 +01:00
Simon Larsen
f33d35a45b fix issues with oncall 2023-07-08 15:16:37 +01:00
Simon Larsen
de1f64aa6b add pricing to home 2023-07-08 14:56:46 +01:00
Simon Larsen
a325b66034 add call and sms pricing to home 2023-07-08 14:51:54 +01:00
Simon Larsen
031ed59108 refactor home project 2023-07-08 14:18:05 +01:00
Simon Larsen
8e78d74568 fix execution log view 2023-07-08 13:16:56 +01:00
Simon Larsen
1c3b462a8f add on call log ui 2023-07-07 22:14:24 +01:00
Simon Larsen
ee25e8f218 add notification timeline page. 2023-07-07 19:21:43 +01:00
Simon Larsen
573c074aef add new fields to timeline 2023-07-07 14:34:55 +01:00
Simon Larsen
53b55ac7f6 add notification logs page 2023-07-07 14:13:59 +01:00
Simon Larsen
f054b131e4 add notification logs page 2023-07-05 22:18:19 +01:00
Simon Larsen
f80ae8e806 fix infinate type 2023-07-05 21:18:48 +01:00
Simon Larsen
5464fed1a8 add workers for timelines 2023-07-05 20:20:46 +01:00
Simon Larsen
b4311d02d4 add dotdash logo 2023-07-05 09:41:15 +01:00
Simon Larsen
7778182f02 add types 2023-07-04 12:49:59 +01:00
Simon Larsen
b5fb766f3d add notification id to notification service 2023-07-04 12:42:22 +01:00
Simon Larsen
d236131171 add ack of incident 2023-07-04 12:26:49 +01:00
Simon Larsen
f88c0d5161 add call handler api 2023-07-03 22:15:17 +01:00
Simon Larsen
9eab1cd1c1 Merge branch 'master' into on-call-duty 2023-07-03 20:40:54 +01:00
Simon Larsen
a68cefd27c fix adding triggr node 2023-07-03 17:14:51 +01:00
Simon Larsen
71ce42476b add run to webhook 2023-07-03 17:07:34 +01:00
Simon Larsen
e795470ea7 add success port to webhook 2023-07-03 17:05:32 +01:00
Simon Larsen
f87f721487 add timelne service and events. 2023-07-02 22:28:37 +01:00
Simon Larsen
962c79e3dc add user notification rule 2023-07-02 13:39:51 +01:00
Simon Larsen
2ef0c9334d fix fmt 2023-07-01 13:08:50 +01:00
Simon Larsen
f18bb3a3de add url shortner 2023-07-01 12:58:59 +01:00
Simon Larsen
d724932660 link shortner 2023-07-01 12:01:54 +01:00
Simon Larsen
4de9a308bd add link shortner service 2023-07-01 11:57:53 +01:00
Simon Larsen
1760731fab add new fields in on-call-ex-log 2023-06-30 13:45:36 +01:00
Simon Larsen
88e554d26b add on call policy to incident 2023-06-30 12:32:02 +01:00
Simon Larsen
50dac60b65 fix fmt 2023-06-30 11:48:40 +01:00
Simon Larsen
c2fb75cdc5 add monitors 2023-06-30 11:27:06 +01:00
Simon Larsen
560acb7626 select on call policy 2023-06-30 10:56:01 +01:00
Simon Larsen
394571144d fix display of users and teams 2023-06-29 19:36:46 +01:00
Simon Larsen
35fef64623 add list props in table 2023-06-29 12:56:55 +01:00
Simon Larsen
fdaca5f804 fix sort order 2023-06-29 12:02:23 +01:00
Simon Larsen
716fe16487 enable drag and drop on list 2023-06-29 11:35:20 +01:00
Simon Larsen
7d63433f65 add err in findOneById 2023-06-28 13:53:10 +01:00
Simon Larsen
ea122c0e77 fix issue with fetching id. 2023-06-28 13:46:57 +01:00
Simon Larsen
f0d71bc65b fix link in on-call duty 2023-06-27 20:46:03 +01:00
Simon Larsen
c33b2b0946 add order to on-call escalation rule 2023-06-27 20:24:57 +01:00
Simon Larsen
0475c18b0f fix typo 2023-06-26 18:55:41 +01:00
Simon Larsen
8396d7cbd7 do not show view id btn causes confusion 2023-06-26 17:59:03 +01:00
Simon Larsen
66e34014b9 fix fmt 2023-06-26 12:00:25 +01:00
Simon Larsen
908c108116 add log statements to domain verification 2023-06-26 11:59:03 +01:00
Simon Larsen
8130bb3bb7 fix issues with incident auto-resolve 2023-06-26 11:50:45 +01:00
Simon Larsen
0813f1425f relaod bash 2023-06-26 11:09:58 +01:00
Simon Larsen
3f9ca54c61 add probe monitor response. 2023-06-25 20:09:22 +01:00
Simon Larsen
03c49bc5cc add id generation 2023-06-25 19:06:43 +01:00
Simon Larsen
7007834394 add auto resolve incident in montor response 2023-06-25 19:02:43 +01:00
Simon Larsen
e7ee37c218 add incident id 2023-06-25 17:03:31 +01:00
Simon Larsen
5590b4fde2 fix fmt 2023-06-25 15:16:39 +01:00
Simon Larsen
1750692328 add root casuse messages 2023-06-25 15:14:54 +01:00
Simon Larsen
03ceda4f77 fix grammar 2023-06-25 15:03:50 +01:00
Simon Larsen
110f596cf6 fix incident and monitor service 2023-06-25 14:56:14 +01:00
Simon Larsen
63288ab589 fix fmt 2023-06-25 14:51:38 +01:00
Simon Larsen
c9480bea8f fix permissions and root cause 2023-06-25 14:46:32 +01:00
Simon Larsen
3a78307c2e add root cause 2023-06-25 14:33:49 +01:00
Simon Larsen
89ed205b50 add root cause 2023-06-25 14:11:59 +01:00
Simon Larsen
490edf1859 add root cause to monitoring 2023-06-25 13:34:25 +01:00
Simon Larsen
5fb42b9c6d add logs to status timeline 2023-06-25 11:24:23 +01:00
Simon Larsen
d5e07fc788 add logs to monitor probe 2023-06-25 10:23:42 +01:00
Simon Larsen
c3c871f9cc add auto resolve types 2023-06-23 17:30:37 +01:00
Simon Larsen
72635b8c8f fix deserlization 2023-06-23 11:22:51 +01:00
Simon Larsen
057d895aaf add type checking 2023-06-23 11:00:51 +01:00
Simon Larsen
407fc1240a add pricing controls 2023-06-22 20:53:38 +01:00
Simon Larsen
2bc307c564 add column access pricing controls 2023-06-22 20:41:03 +01:00
Simon Larsen
c42790e6f2 center loader 2023-06-22 20:20:04 +01:00
Simon Larsen
ecdbea2aab remove company name from user settings 2023-06-22 20:12:12 +01:00
Simon Larsen
7cb98456b1 ad owner fields to project model 2023-06-22 20:03:21 +01:00
Simon Larsen
4f80317b14 add disabled settings 2023-06-22 18:55:55 +01:00
Simon Larsen
7a589d65a3 add disable monitor page 2023-06-22 18:07:07 +01:00
Simon Larsen
acd5d04ee9 fix createdAt 2023-06-22 17:56:16 +01:00
Simon Larsen
998c85e393 update project last active 2023-06-22 17:51:28 +01:00
Simon Larsen
70478bd1fa fix createdAt not populating 2023-06-22 17:41:19 +01:00
Simon Larsen
4c06feeb50 fix fmt 2023-06-21 19:40:44 +01:00
Simon Larsen
2acd6d5ce0 add disable monitoring 2023-06-21 19:39:17 +01:00
Simon Larsen
56e7c0c7d0 fix monitor type enum 2023-06-21 19:00:23 +01:00
Simon Larsen
7948070be6 add user limit 2023-06-21 18:47:35 +01:00
Nawaz Dhandala
a9139fcca0 Merge pull request #484 from OneUptime/on-call
On-Call Duty -> On Call Duty Policy
2023-06-21 15:57:16 +01:00
Simon Larsen
99b3dc65a7 rename file with typo 2023-06-21 14:25:32 +01:00
Simon Larsen
599c7a175e fix 2023-06-21 14:25:17 +01:00
Simon Larsen
0a03dc652c fix migrations 2023-06-21 14:20:00 +01:00
Simon Larsen
53f72c2192 fix case 2023-06-21 13:39:24 +01:00
Simon Larsen
53334ad3dc make notiifction rule work properly 2023-06-20 15:41:54 +01:00
Simon Larsen
4d7ddf7be1 add notification rule 2023-06-20 15:34:33 +01:00
Simon Larsen
9dfdd0841f add delete trigger to call email and sms 2023-06-20 12:47:26 +01:00
Simon Larsen
7f662291e4 fix rule 2023-06-20 12:03:22 +01:00
Simon Larsen
9bbd32424e Merge branch 'master' into on-call 2023-06-20 11:53:49 +01:00
Simon Larsen
41b5fe3a19 fix null issue with select 2023-06-20 11:51:54 +01:00
Simon Larsen
d35195a591 fix notification types 2023-06-20 11:43:54 +01:00
Simon Larsen
ee229d3711 fix relation fetch in table 2023-06-20 10:05:41 +01:00
Simon Larsen
9eb12a5348 fix issues with table 2023-06-20 10:02:11 +01:00
Simon Larsen
0bb8343f0b fix typo 2023-06-19 20:27:43 +01:00
Simon Larsen
d5c13f5c26 fix fmt 2023-06-19 19:52:24 +01:00
Simon Larsen
9e57fe1531 add notification rule 2023-06-19 19:49:15 +01:00
Simon Larsen
8b10e0d9f0 fix fmt 2023-06-19 19:40:38 +01:00
Simon Larsen
45d7dc90b3 add donation in readme 2023-06-19 19:06:51 +01:00
Simon Larsen
da2683391d add notification rule 2023-06-19 17:57:48 +01:00
Simon Larsen
ea50830dae add notification rule model. 2023-06-19 17:52:49 +01:00
Simon Larsen
985a7ca973 fix side menu link 2023-06-19 13:11:48 +01:00
Simon Larsen
2c649bed07 fix on call custom fields 2023-06-19 13:06:22 +01:00
Simon Larsen
78fad54d6a Merge branch 'master' into on-call 2023-06-19 12:31:44 +01:00
Simon Larsen
05c583fd81 add plan name in project model 2023-06-19 12:30:52 +01:00
Simon Larsen
b99912abd6 add plan name to project 2023-06-19 12:27:10 +01:00
Simon Larsen
c3a5a8a4e8 add custom fields 2023-06-19 12:07:53 +01:00
Simon Larsen
ad451fd9c9 Merge branch 'master' into on-call 2023-06-19 11:29:39 +01:00
Simon Larsen
ce31e0cfff Merge pull request #489 from OneUptime/created-at-refactor
fix createdat
2023-06-19 11:24:40 +01:00
Simon Larsen
545dcea3e8 fix createdat 2023-06-19 11:24:25 +01:00
Simon Larsen
29accb2e6f Merge branch 'master' into release 2023-06-19 10:35:28 +01:00
Simon Larsen
8cb8a1ed72 Merge pull request #488 from OneUptime/standard-workflows
add select clause to trigger
2023-06-19 10:34:02 +01:00
Simon Larsen
a8beed5c5c add select clause to trigger 2023-06-19 10:32:54 +01:00
Simon Larsen
8d59fdc732 Merge pull request #487 from OneUptime/master
Staus Page redirection fix
2023-06-16 19:45:16 +01:00
Simon Larsen
a7fe18fd65 fix rounded corners 2023-06-16 18:25:18 +01:00
Simon Larsen
e80835c380 Merge branch 'master' into on-call 2023-06-16 18:13:21 +01:00
Simon Larsen
bbd60075fa fix preview selector 2023-06-16 18:11:25 +01:00
Simon Larsen
622bb87b89 add call logs 2023-06-16 14:04:57 +01:00
Simon Larsen
3d3c9876eb add env var 2023-06-16 14:00:40 +01:00
Simon Larsen
ea588be0f7 Merge branch 'master' into on-call 2023-06-16 13:32:34 +01:00
Simon Larsen
0fe1779ce4 fix gtetId() 2023-06-16 13:30:06 +01:00
Simon Larsen
71f2d3b87a add side menu item 2023-06-16 13:29:11 +01:00
Simon Larsen
8d0670d05c add call log 2023-06-16 13:26:32 +01:00
Simon Larsen
1b6eccfb36 fix fmt 2023-06-16 12:33:16 +01:00
Simon Larsen
9a7c2cedf5 add call service 2023-06-16 12:25:37 +01:00
Simon Larsen
55b9a6bf9f Merge branch 'master' into on-call 2023-06-16 12:22:05 +01:00
Simon Larsen
9ddca843c8 refactor status page 2023-06-16 12:13:57 +01:00
Simon Larsen
2a1786147b fix status page set 2023-06-16 11:45:28 +01:00
Simon Larsen
1bc572c4be fix lint 2023-06-16 11:32:23 +01:00
Simon Larsen
f961796c7c fix sttaus page redirection 2023-06-16 11:14:32 +01:00
Simon Larsen
ff1f564527 add call config 2023-06-16 10:40:27 +01:00
Simon Larsen
6ef61221bf ad sms service 2023-06-15 15:07:34 +01:00
Simon Larsen
1b7d17fb9e fix terms in sla and make them clearer 2023-06-15 12:21:56 +01:00
Simon Larsen
04f7d1f8bf fix typo 2023-06-15 12:18:36 +01:00
Simon Larsen
2edbe0df08 add resend verifiction code 2023-06-14 21:16:07 +01:00
Simon Larsen
a96dc90104 fix template 2023-06-14 21:05:43 +01:00
Simon Larsen
3e8b966dc8 fix models 2023-06-14 21:02:10 +01:00
Simon Larsen
1ee94f10c4 fix fmt 2023-06-14 20:13:24 +01:00
Simon Larsen
74866edadb add workflow help banner 2023-06-14 20:07:44 +01:00
Simon Larsen
e402ebc14c Merge branch 'master' into on-call 2023-06-14 20:04:00 +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
ab48de6e9b add user settings 2023-06-14 19:41:03 +01:00
Simon Larsen
314b905e8f add api for user notification methods 2023-06-14 14:56:47 +01:00
Simon Larsen
db60c0fefb add more icons 2023-06-14 14:38:35 +01:00
Simon Larsen
713d9464a2 add default value capability 2023-06-14 14:04:32 +01:00
Simon Larsen
84cc4a35d4 fix user email 2023-06-14 13:55:38 +01:00
Simon Larsen
6a64b8658a add user emails for notifications. 2023-06-14 13:47:01 +01:00
Simon Larsen
b8ee827068 fix lint 2023-06-14 12:28:54 +01:00
Simon Larsen
8fea1b6e3d fix sidemenu 2023-06-14 12:19:03 +01:00
Simon Larsen
96934f5f22 fix app.tsx 2023-06-14 12:17:45 +01:00
Simon Larsen
a2ad4d30e7 fix populate route params 2023-06-14 12:11:53 +01:00
Simon Larsen
0623588019 fix lint. 2023-06-14 11:30:09 +01:00
Simon Larsen
f1d087da44 add services and api 2023-06-13 17:03:38 +01:00
Simon Larsen
5dca4a0fd3 add services 2023-06-13 16:57:02 +01:00
Simon Larsen
7d085274de add models of on-call 2023-06-13 16:46:25 +01:00
Simon Larsen
1da9184a14 Merge branch 'master' into on-call 2023-06-13 10:47:06 +01:00
Simon Larsen
12c429597c fix entity name 2023-06-13 10:44:23 +01:00
Simon Larsen
314a9ef61c fix company in legal 2023-06-13 10:37:24 +01:00
Simon Larsen
5961504577 fix redirect issue 2023-06-13 10:01:08 +01:00
Simon Larsen
a7757e547c On-Call Duty -> On Call Duty Policy 2023-06-12 19:59:38 +01:00
Simon Larsen
6a4e2cfcb7 make bool 2023-06-12 18:18:56 +01:00
Simon Larsen
6744c92cf3 fix issue with status api 2023-06-12 17:05:31 +01:00
Simon Larsen
7c4f2c3279 fix select type 2023-06-12 17:01:30 +01:00
Simon Larsen
d68b066127 fix lint 2023-06-12 16:50:03 +01:00
Simon Larsen
236fdbe8ab remove dup keys 2023-06-12 15:00:06 +01:00
Simon Larsen
92a5710055 fix getItem 2023-06-12 14:58:17 +01:00
Simon Larsen
f2715f7637 fix get list 2023-06-12 14:57:35 +01:00
Simon Larsen
4339abe9d6 fix get list 2023-06-12 14:57:30 +01:00
Simon Larsen
341f30e6a5 fix common ui 2023-06-12 14:51:56 +01:00
Simon Larsen
17967a691d remove populate 2023-06-12 14:45:53 +01:00
Simon Larsen
333160db8a remove populate 2023-06-12 14:45:47 +01:00
Simon Larsen
bb5ac117d8 populate -> SelectRelation 2023-06-12 14:15:13 +01:00
Simon Larsen
4277b8c1c4 fix workflow miss issue 2023-06-12 12:34:42 +01:00
Simon Larsen
8bd9bf4136 fix redirect issue 2023-06-12 11:15:47 +01:00
Simon Larsen
b5ac6c7f01 preinstall -> configure 2023-06-12 10:42:43 +01:00
Simon Larsen
829a97ffbb fix if name is null err 2023-06-12 10:10:53 +01:00
Simon Larsen
bc50e4f330 Merge branch 'release' 2023-06-12 10:10:05 +01:00
Simon Larsen
28c01a9d9f fix lint 2023-06-12 10:04:16 +01:00
Simon Larsen
94bcbc7c6a fix perms with billing payment method 2023-06-12 10:02:53 +01:00
Simon Larsen
6fb2b3d3ac add update script 2023-06-11 15:26:52 +01:00
Simon Larsen
d0ae06119f Update README.md 2023-06-10 13:08:01 +01:00
Simon Larsen
c68b41089a Update README.md 2023-06-10 13:07:34 +01:00
Simon Larsen
68d35d94de Merge pull request #483 from OneUptime/simlarsen-patch-1
Update README.md
2023-06-10 10:00:13 +01:00
Simon Larsen
72d5b4c186 Update README.md 2023-06-10 10:00:03 +01:00
Simon Larsen
e3c613c1a1 make manual recharge work 2023-06-09 18:42:24 +01:00
Simon Larsen
ded0e2638b make manual recharge work 2023-06-09 18:20:53 +01:00
Simon Larsen
bb609e2ccc add manual recharge option 2023-06-09 18:16:31 +01:00
Simon Larsen
ecbd725fb2 Merge branch 'master' into sms-service 2023-06-09 16:58:44 +01:00
Simon Larsen
3b5c2b2cc6 Merge branch 'release' 2023-06-09 16:56:37 +01:00
Simon Larsen
38000fdbec make api error message more descriptive. 2023-06-09 16:56:26 +01:00
Simon Larsen
f07d68c049 make error message more descriptive. 2023-06-09 16:55:01 +01:00
Simon Larsen
99a782e0e9 fix typo 2023-06-09 16:40:56 +01:00
Simon Larsen
05138909ca Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-06-09 14:03:21 +01:00
Simon Larsen
c495f3295e fix grammar 2023-06-09 14:03:18 +01:00
Simon Larsen
e2c99bd4e2 Merge pull request #481 from bionemesis/patch-4
Update SSO.tsx
2023-06-09 14:01:04 +01:00
Simon Larsen
9e695e5117 fix typo staus -> status 2023-06-09 13:58:56 +01:00
Simon Larsen
7c6100ff69 fix fmt 2023-06-09 13:57:31 +01:00
Simon Larsen
22361ea3a1 fix typo from staus to status 2023-06-09 13:56:15 +01:00
bionemesis
ff9706b3e4 Update SSO.tsx
Fix typo: staus > status
2023-06-09 06:52:55 -06:00
Simon Larsen
0b02f6027f Merge pull request #480 from bionemesis/patch-3
Update index.ejs
2023-06-09 13:51:49 +01:00
bionemesis
ac44e21db7 Update index.ejs
Fix typo: staus > status
2023-06-09 06:48:38 -06:00
Simon Larsen
e036492296 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-06-09 13:43:46 +01:00
Simon Larsen
4b49297e2a fix fmt in billing service 2023-06-09 13:43:25 +01:00
Simon Larsen
6e09a95431 Merge pull request #478 from bionemesis/patch-2
Update Groups.tsx
2023-06-09 13:42:20 +01:00
Simon Larsen
8110cca424 remove worker test 2023-06-09 13:41:38 +01:00
Simon Larsen
11bc9654ab Merge pull request #477 from bionemesis/patch-1
Update CriteriaFilter.ts
2023-06-09 13:40:37 +01:00
bionemesis
5d08a20a7d Update Groups.tsx
Fix typo: staus > status
2023-06-09 06:40:29 -06:00
Simon Larsen
1ed51a6dc2 implement emails for erorr states 2023-06-09 13:39:20 +01:00
bionemesis
3027f11164 Update CriteriaFilter.ts
Fix typo: staus > status
2023-06-09 06:38:24 -06:00
Simon Larsen
7baafd0db6 Merge branch 'sms-service' 2023-06-09 12:26:43 +01:00
Simon Larsen
d0f7831505 fix notification service 2023-06-09 12:25:17 +01:00
Simon Larsen
457a457eee fix bugs with auto recharge 2023-06-08 21:55:48 +01:00
Simon Larsen
f7ef0a8e96 Merge pull request #474 from OneUptime/dependabot/npm_and_yarn/CommonServer/fast-xml-parser-and-aws-sdk/credential-providers-4.2.4
Bump fast-xml-parser and @aws-sdk/credential-providers in /CommonServer
2023-06-08 20:59:26 +01:00
Simon Larsen
d3d0fa1593 dleet workflow logs older than 30 days 2023-06-08 20:55:57 +01:00
Simon Larsen
edc4e472e9 fix preinstall script 2023-06-08 20:52:25 +01:00
Simon Larsen
39c6e36e2f fix basic form 2023-06-08 20:52:10 +01:00
Simon Larsen
eeb5cf1cce fix fmt 2023-06-08 18:00:44 +01:00
Simon Larsen
c018f95e70 fix issue with dropdown 2023-06-08 17:38:43 +01:00
Simon Larsen
125c6417cf fix billing service 2023-06-08 17:32:30 +01:00
Simon Larsen
19be9f42b6 add payment method 2023-06-08 17:21:14 +01:00
Simon Larsen
4b17d3a125 fix issue in project service 2023-06-08 17:15:20 +01:00
Simon Larsen
d7c8edd598 hard delete tiems in the database 2023-06-08 17:14:05 +01:00
Simon Larsen
b0f4083297 fix project service 2023-06-08 16:19:04 +01:00
Simon Larsen
b840f78d1d refactor notification service 2023-06-08 15:55:32 +01:00
Simon Larsen
83289cc80e fix if cond 2023-06-08 14:42:53 +01:00
Simon Larsen
2a7f18fa60 fix fmt 2023-06-08 14:41:59 +01:00
Simon Larsen
aed03ffcb3 add invoice service 2023-06-08 14:38:55 +01:00
Simon Larsen
673f97404b fix sms service 2023-06-08 13:53:04 +01:00
Simon Larsen
8459e2873c send sms service 2023-06-08 13:40:03 +01:00
Simon Larsen
3b0904a01d add sms service 2023-06-08 13:34:34 +01:00
Simon Larsen
3f53053e1f add usd cents field 2023-06-08 12:05:43 +01:00
Simon Larsen
9a1e27db5c send sms 2023-06-08 11:58:58 +01:00
Simon Larsen
82849c28ce fix lint 2023-06-07 19:51:41 +01:00
Simon Larsen
08bd171b2f fix sms 2023-06-07 19:47:51 +01:00
Simon Larsen
844611d176 add service 2023-06-07 19:38:11 +01:00
Simon Larsen
aaa3b9af3e make logs page work 2023-06-07 19:26:42 +01:00
Simon Larsen
6c10f81226 add call and sms settings. 2023-06-07 19:17:16 +01:00
Simon Larsen
c2fe4d3e5e add sms log models. 2023-06-07 14:59:44 +01:00
Simon Larsen
fd3bc4dd86 add new fields in project 2023-06-07 14:41:09 +01:00
Simon Larsen
05d20e200f add support for arrays in workflows 2023-06-07 11:39:44 +01:00
Simon Larsen
7a2e44a404 fix config template 2023-06-07 10:55:28 +01:00
Simon Larsen
0eb28ee669 remove alert from nginx 2023-06-07 10:47:40 +01:00
Simon Larsen
77ac490b71 fix rmeove orphans 2023-06-07 10:45:34 +01:00
dependabot[bot]
a018b9fa94 Bump fast-xml-parser and @aws-sdk/credential-providers in /CommonServer
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [@aws-sdk/credential-providers](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/packages/credential-providers). These dependencies needed to be updated together.

Updates `fast-xml-parser` from 4.1.2 to 4.2.4
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.1.2...v4.2.4)

Updates `@aws-sdk/credential-providers` from 3.315.0 to 3.347.1
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-providers/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.347.1/packages/credential-providers)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: "@aws-sdk/credential-providers"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 09:11:33 +00:00
Simon Larsen
d16cf40914 Merge pull request #473 from OneUptime/refactor-notification-service
Refactor notification service
2023-06-07 10:06:56 +01:00
Simon Larsen
e0e6678f65 remove alert from docker compose 2023-06-07 09:52:08 +01:00
Simon Larsen
387f3a366e fix lint 2023-06-07 09:06:41 +01:00
Simon Larsen
e446583376 fix subject 2023-06-06 21:45:16 +01:00
Simon Larsen
85a1ee8ae7 add other features to notification service. 2023-06-06 21:36:32 +01:00
Simon Larsen
2a5c7cfbfe change port 2023-06-06 21:32:18 +01:00
Simon Larsen
fdbfcef3c0 fix env names 2023-06-06 21:31:42 +01:00
Simon Larsen
db50d12d8a rename config 2023-06-06 21:25:45 +01:00
Simon Larsen
0a07ad6cd3 rename mailservice 2023-06-06 21:23:56 +01:00
Simon Larsen
0970f453e4 remove alert service 2023-06-06 21:17:58 +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
c931698fd6 add hostname to ping monitor 2023-06-06 20:48:21 +01:00
Simon Larsen
39455e86eb fix var 2023-06-06 20:35:41 +01:00
Simon Larsen
057369ad4a Merge pull request #467 from beejay141/test/CommonServer/UserAuthorization
test: added unit test for file CommonServer/Middleware/UserAuthorization
2023-06-06 20:33:18 +01:00
Abolaji Oyerinde
c4ef932e13 fix: changed 'this' referecence to static functions to Class name 2023-06-06 14:52:52 +01:00
Simon Larsen
8523da6628 Merge pull request #465 from beejay141/test/CommonServer/Middleware
test: added unit tests for CommonServer/Middleware
2023-06-06 09:15:20 +01:00
Simon Larsen
42f94a468a Merge pull request #469 from beejay141/test/CommonUI/Card
test: added unit tests for Card Component
2023-06-06 09:07:28 +01:00
Simon Larsen
6ee03152f8 Merge pull request #471 from beejay141/test/CommonUI/SideOver
test: added unit tests for SideOver component
2023-06-06 09:06:54 +01:00
Simon Larsen
571b5d6ece fix typo 2023-06-06 09:05:38 +01:00
Abolaji Oyerinde
ce415d16e4 test: added unit tests for SideOver component 2023-06-05 15:03:50 +01:00
Abolaji Oyerinde
6f88062add test: added unit tests for Card Component 2023-06-05 13:26:27 +01:00
Abolaji Oyerinde
bf31b15930 test: refactored and added more unit tests 2023-06-04 21:00:19 +01:00
Abolaji Oyerinde
0426a86f62 refactor: splitted function getUserMiddleware into sub-functions 2023-06-04 14:57:37 +01:00
Abolaji Oyerinde
ad907aa854 refactor: changed hard-coded accessToken to ObjectID generated value 2023-06-03 22:26:14 +01:00
Abolaji Oyerinde
641b27101f test: added unit test for file CommonServer/Middleware/UserAuthorization 2023-06-03 22:07:01 +01:00
Abolaji Oyerinde
f0e77de240 test: added unit tests for CommonServer/Middleware 2023-06-02 23:11:23 +01:00
Simon Larsen
639c4b13ae fix issue with sending probe-id 2023-06-02 15:32:11 +01:00
Simon Larsen
e9af3e0b48 fix subprocessors 2023-06-02 09:35:35 +01:00
Simon Larsen
41b4092428 make redirect work 2023-06-01 20:19:27 +01:00
Simon Larsen
5f54f76698 fix probe-api conf 2023-06-01 19:58:43 +01:00
Simon Larsen
75e7a720f7 make url work 2023-06-01 08:03:38 +01:00
Simon Larsen
63211a69d8 fix email url 2023-06-01 08:02:12 +01:00
Simon Larsen
0efaec6b7b fix hidden text 2023-06-01 07:58:26 +01:00
Simon Larsen
39a00e9fc2 make terms clear 2023-05-27 09:35:18 +01:00
Simon Larsen
22ccdf444f remove posthog analytics 2023-05-26 19:26:24 +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
ab25a98372 fix issue with IP 2023-05-25 21:56:48 +01:00
Simon Larsen
5618f02992 add overview description to status page 2023-05-25 20:35:47 +01:00
Simon Larsen
932101677b fix render error 2023-05-25 09:47:43 +01:00
Simon Larsen
b3beca8c14 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-05-24 13:22:21 +01:00
Simon Larsen
bbbfb45cde fix regex in route 2023-05-24 13:21:47 +01:00
Simon Larsen
bc0085c330 Merge pull request #458 from OneUptime/dependabot/npm_and_yarn/ProbeAPI/socket.io-parser-4.2.3
Bump socket.io-parser from 4.2.2 to 4.2.3 in /ProbeAPI
2023-05-24 12:38:58 +01:00
Simon Larsen
dc0108939c Merge pull request #453 from OneUptime/dependabot/npm_and_yarn/Common/posthog-js-1.57.2
Bump posthog-js from 1.38.1 to 1.57.2 in /Common
2023-05-24 12:38:44 +01:00
dependabot[bot]
092449fdd3 Bump socket.io-parser from 4.2.2 to 4.2.3 in /ProbeAPI
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 11:38:39 +00:00
Simon Larsen
ce44710365 Merge pull request #454 from OneUptime/dependabot/npm_and_yarn/TestServer/posthog-js-1.57.2
Bump posthog-js from 1.38.1 to 1.57.2 in /TestServer
2023-05-24 12:38:38 +01:00
Simon Larsen
c55bdfc80d Merge pull request #455 from OneUptime/dependabot/npm_and_yarn/ProbeAPI/posthog-js-1.57.2
Bump posthog-js from 1.38.1 to 1.57.2 in /ProbeAPI
2023-05-24 12:38:31 +01:00
Simon Larsen
5897dfe598 Merge pull request #456 from OneUptime/dependabot/npm_and_yarn/Realtime/socket.io-parser-4.2.3
Bump socket.io-parser from 4.2.1 to 4.2.3 in /Realtime
2023-05-24 12:38:22 +01:00
Simon Larsen
2f60006f9c Merge pull request #457 from OneUptime/dependabot/npm_and_yarn/CommonServer/socket.io-parser-4.2.3
Bump socket.io-parser from 4.2.2 to 4.2.3 in /CommonServer
2023-05-24 12:38:12 +01:00
Simon Larsen
d5721524d0 Merge pull request #459 from OneUptime/dependabot/npm_and_yarn/TestServer/socket.io-parser-4.2.3
Bump socket.io-parser from 4.2.2 to 4.2.3 in /TestServer
2023-05-24 12:38:00 +01:00
dependabot[bot]
258efa9f1b Bump socket.io-parser from 4.2.2 to 4.2.3 in /TestServer
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 02:09:41 +00:00
dependabot[bot]
5627eae96b Bump socket.io-parser from 4.2.2 to 4.2.3 in /CommonServer
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 01:30:07 +00:00
dependabot[bot]
98e7a6a5f2 Bump socket.io-parser from 4.2.1 to 4.2.3 in /Realtime
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 00:51:28 +00:00
dependabot[bot]
681d3cc276 Bump posthog-js from 1.38.1 to 1.57.2 in /ProbeAPI
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.38.1 to 1.57.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.38.1...v1.57.2)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 20:36:49 +00:00
dependabot[bot]
f41fd6f17f Bump posthog-js from 1.38.1 to 1.57.2 in /TestServer
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.38.1 to 1.57.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.38.1...v1.57.2)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 20:36:48 +00:00
dependabot[bot]
9015e74371 Bump posthog-js from 1.38.1 to 1.57.2 in /Common
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.38.1 to 1.57.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.38.1...v1.57.2)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 20:36:39 +00:00
Simon Larsen
61a149c839 add protections for emails 2023-05-19 17:11:13 +01:00
Simon Larsen
020af0084c enfore project id in finding owners 2023-05-19 17:05:53 +01:00
Simon Larsen
856ba620cf fix state emails 2023-05-19 17:03:21 +01:00
Simon Larsen
369a65d46b disable emails 2023-05-19 16:56:59 +01:00
Simon Larsen
7375e6e528 add annnouncement email 2023-05-19 14:08:57 +01:00
Simon Larsen
adea15b069 fix date in detail 2023-05-19 13:57:59 +01:00
Simon Larsen
97217de1b8 make note created emails work 2023-05-19 13:50:27 +01:00
Simon Larsen
5733917fee make emails work 2023-05-19 13:50:20 +01:00
Simon Larsen
4e80778275 add note posted emails. 2023-05-19 13:23:11 +01:00
Simon Larsen
57e03bc3db fix incident service 2023-05-19 11:52:31 +01:00
Simon Larsen
4bb76db00c make scheduled maintenance emails work 2023-05-19 11:51:41 +01:00
Simon Larsen
57913a674d add state change emails 2023-05-19 11:39:10 +01:00
Simon Larsen
449e194aad add scheduled event state change email 2023-05-19 11:37:43 +01:00
Simon Larsen
6de0854892 fix incident state emails 2023-05-19 11:32:37 +01:00
Simon Larsen
7ec5e50b54 add history days in status page 2023-05-19 10:17:23 +01:00
Simon Larsen
f67e3a54a0 remove project admin 2023-05-19 09:39:32 +01:00
Simon Larsen
9b6a7915af fix billing payment certs 2023-05-19 09:33:16 +01:00
Simon Larsen
06ca30fcc7 fix issue with billing payment methods. 2023-05-19 09:31:50 +01:00
Simon Larsen
f8e3a3544f fix link in url 2023-05-19 09:17:12 +01:00
Simon Larsen
eb7002960d fix lint 2023-05-18 21:16:54 +01:00
Simon Larsen
4229561790 add owner emails 2023-05-18 21:15:24 +01:00
Simon Larsen
6241d701da add owner added emails 2023-05-18 18:13:27 +01:00
Simon Larsen
3c16c2c535 add owner email 2023-05-18 18:10:33 +01:00
Simon Larsen
a9e315ff15 add resource creation emails. 2023-05-18 17:22:44 +01:00
Simon Larsen
cff210d5df add resource created email 2023-05-18 17:13:22 +01:00
Simon Larsen
726bbf9c0d fix email 2023-05-18 15:25:31 +01:00
Simon Larsen
a3daff2a83 add monitor creation emails 2023-05-18 15:11:37 +01:00
Simon Larsen
435c8f083b add ownership email columns 2023-05-18 13:03:40 +01:00
Simon Larsen
759ffe72c8 fix plan 2023-05-18 10:37:10 +01:00
Simon Larsen
cd9f68d67c remove plan from growth 2023-05-18 10:33:37 +01:00
Simon Larsen
f5102f3e55 fix fmt 2023-05-17 21:27:19 +01:00
Simon Larsen
ac9eb27691 fix refactor 2023-05-17 20:15:07 +01:00
Simon Larsen
f3eb085986 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-05-17 20:14:41 +01:00
Simon Larsen
86e80e6084 fix email subject 2023-05-17 20:14:00 +01:00
Simon Larsen
2ad76f0a83 Merge pull request #450 from OneUptime/simlarsen-patch-1
Update README.md
2023-05-17 20:06:10 +01:00
Simon Larsen
e9e39ed1e4 Update README.md 2023-05-17 20:05:59 +01:00
Simon Larsen
9492674578 Add logos 2023-05-17 20:04:44 +01:00
Simon Larsen
9f60b59ec9 fix emails 2023-05-17 20:02:50 +01:00
Simon Larsen
c01600b32a fix parse err with emails 2023-05-17 20:02:06 +01:00
Simon Larsen
0a243381d6 staus page email edits 2023-05-17 19:54:04 +01:00
Simon Larsen
397bbfd3bf fix unsub block 2023-05-17 19:48:58 +01:00
Simon Larsen
bc2d5d5cac fix issue with sp loading 2023-05-17 19:47:46 +01:00
Simon Larsen
cdf025d326 refactor emails 2023-05-17 19:25:01 +01:00
Simon Larsen
e2f0dda07c refactor all emails 2023-05-17 18:32:31 +01:00
Simon Larsen
6ec237ec9d remove white paper 2023-05-17 18:07:08 +01:00
Simon Larsen
df97a2a67e remove unneeded files 2023-05-17 14:24:17 +01:00
Simon Larsen
8c8acb083a refactor emails. 2023-05-17 14:16:21 +01:00
Simon Larsen
c64161a52d refactor emails 2023-05-17 12:50:51 +01:00
Simon Larsen
d0fd03c180 fix types 2023-05-17 12:38:13 +01:00
Simon Larsen
307141b835 refactor emails 2023-05-17 12:33:30 +01:00
Simon Larsen
833f0504d0 add info email 2023-05-17 12:07:29 +01:00
Simon Larsen
9439fb337e refactor emails 2023-05-17 12:03:22 +01:00
Simon Larsen
89d45ea99a move labels to growth plan 2023-05-17 10:49:58 +01:00
Simon Larsen
adbda5ff9a custom smtp config on growth plan 2023-05-17 10:42:30 +01:00
Simon Larsen
4b5ea139d4 Merge branch 'owners-in-form' 2023-05-16 16:11:04 +01:00
Simon Larsen
51d28b0af5 fix issue with wizard form 2023-05-16 16:10:38 +01:00
Simon Larsen
06375f478e add owners to form 2023-05-16 15:32:24 +01:00
Simon Larsen
b72dcc691a skip py tests 2023-05-16 14:19:44 +01:00
Simon Larsen
4090fc9bd1 add in form. 2023-05-16 14:19:04 +01:00
Simon Larsen
008655b6eb fix fmt 2023-05-16 13:40:42 +01:00
Simon Larsen
73bf0a26c7 add more fields 2023-05-16 13:38:43 +01:00
Simon Larsen
fb3153cf2e clean up e2e tests 2023-05-16 12:19:59 +01:00
Simon Larsen
193508c0c7 fix fmt 2023-05-16 12:15:35 +01:00
Simon Larsen
64fa6e68ea fix playwright tests 2023-05-16 12:12:31 +01:00
Simon Larsen
c6de2b7514 fix run server in docker 2023-05-16 11:58:08 +01:00
Simon Larsen
489757dc96 refactor base url 2023-05-16 11:56:26 +01:00
Simon Larsen
3c9216755a rename 2023-05-16 11:54:56 +01:00
Simon Larsen
5c78bbb456 rename 2023-05-16 11:54:36 +01:00
Simon Larsen
965d731b25 Merge pull request #446 from OneUptime/dependabot/npm_and_yarn/CommonServer/vm2-3.9.18
Bump vm2 from 3.9.17 to 3.9.18 in /CommonServer
2023-05-16 11:26:58 +01:00
Simon Larsen
18595722f0 Merge pull request #447 from OneUptime/dependabot/npm_and_yarn/Workflow/vm2-3.9.18
Bump vm2 from 3.9.17 to 3.9.18 in /Workflow
2023-05-16 11:26:45 +01:00
Simon Larsen
1dfa269d2d Merge pull request #448 from OneUptime/dependabot/npm_and_yarn/ProbeAPI/vm2-3.9.18
Bump vm2 from 3.9.17 to 3.9.18 in /ProbeAPI
2023-05-16 11:26:37 +01:00
Simon Larsen
c833806441 Merge pull request #449 from OneUptime/dependabot/npm_and_yarn/TestServer/vm2-3.9.18
Bump vm2 from 3.9.17 to 3.9.18 in /TestServer
2023-05-16 11:26:29 +01:00
Simon Larsen
8a3099d85d Merge pull request #445 from OneUptime/resource-owners
Resource owners
2023-05-16 11:26:13 +01:00
Simon Larsen
04bf2bd1e4 add owners page to resources 2023-05-16 11:25:37 +01:00
Simon Larsen
f5e79ebd2e make owners work. 2023-05-16 11:12:06 +01:00
Simon Larsen
e4bb7b4019 fix basic form 2023-05-16 10:11:49 +01:00
Simon Larsen
31b0d6cb06 fix lint. 2023-05-16 10:07:02 +01:00
Simon Larsen
d5ef79de33 refactor basic form 2023-05-16 10:04:12 +01:00
dependabot[bot]
e7fd6dae3a Bump vm2 from 3.9.17 to 3.9.18 in /ProbeAPI
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 21:36:45 +00:00
dependabot[bot]
6eec2b54f7 Bump vm2 from 3.9.17 to 3.9.18 in /TestServer
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 21:36:45 +00:00
dependabot[bot]
8dbb768056 Bump vm2 from 3.9.17 to 3.9.18 in /Workflow
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 21:34:05 +00:00
dependabot[bot]
01d26b08a2 Bump vm2 from 3.9.17 to 3.9.18 in /CommonServer
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.17...3.9.18)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 21:27:59 +00:00
Simon Larsen
6e432d67e7 fix owners 2023-05-15 20:23:31 +01:00
Simon Larsen
d77381652a rename service 2023-05-15 17:58:57 +01:00
Simon Larsen
26d69b4a07 add owners page 2023-05-15 17:49:22 +01:00
Simon Larsen
d6fd7a47e5 Merge branch 'master' into resource-owners 2023-05-15 17:38:35 +01:00
Simon Larsen
2beb2414e6 add owners 2023-05-15 17:36:19 +01:00
Simon Larsen
05540db978 fix fmt 2023-05-15 17:28:42 +01:00
Simon Larsen
1a40e9af8e add owners page 2023-05-15 17:26:31 +01:00
Simon Larsen
63c89f5b1a add services 2023-05-15 17:10:40 +01:00
Simon Larsen
f7b1f5fa9a add services 2023-05-15 17:04:19 +01:00
Simon Larsen
e1f3b454ce fix workflow file 2023-05-15 16:47:24 +01:00
Simon Larsen
fa04df806c fix typo 2023-05-15 16:45:49 +01:00
Simon Larsen
749d1f0228 fix release 2023-05-15 16:41:46 +01:00
Simon Larsen
fde6c94351 fix build number 2023-05-15 16:39:20 +01:00
Simon Larsen
3810821fc2 fix version 2023-05-15 16:29:35 +01:00
Simon Larsen
74aa7c60b4 fix build number 2023-05-15 14:14:45 +01:00
Simon Larsen
39d56d13d5 add owners to scheduled event 2023-05-15 12:50:48 +01:00
Simon Larsen
2148ec7462 add models 2023-05-15 12:44:23 +01:00
Simon Larsen
303c68476e add models 2023-05-15 12:44:19 +01:00
Simon Larsen
cb797be1be fix release 2023-05-15 12:31:36 +01:00
Simon Larsen
d314c6fdbd fix tag 2023-05-15 11:55:52 +01:00
Simon Larsen
82ca306fbe fix tag version 2023-05-15 11:53:56 +01:00
Simon Larsen
095a29b39d quotes 2023-05-15 11:53:07 +01:00
Simon Larsen
e04c2f328c add echo 2023-05-15 11:34:41 +01:00
Simon Larsen
24b35de5b2 fix build number 2023-05-15 11:33:17 +01:00
Simon Larsen
278aea59d5 generate unique build number 2023-05-15 11:29:29 +01:00
Simon Larsen
ed42c36bbf fix status page issue 2023-05-15 11:15:52 +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
d35a1673fc fix fmt 2023-05-14 21:22:04 +01:00
Simon Larsen
ba4b990434 fix criteria for ip monitor 2023-05-14 21:20:27 +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
a666782384 fix response headers 2023-05-14 19:46:22 +01:00
Simon Larsen
ba1c5152db fix overlap ui 2023-05-14 14:54:10 +01:00
Simon Larsen
d38dc693cb fix incident styles 2023-05-14 14:43:46 +01:00
Simon Larsen
b306f82e68 fix compose file 2023-05-14 14:34:31 +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
e494fabd48 Merge pull request #443 from OneUptime/dependabot/npm_and_yarn/Probe/xml2js--removed
Bump xml2js from 0.4.23 to  in /Probe
2023-05-12 18:57:39 +01:00
Simon Larsen
b1c8d6f7e8 fix serialize deserialize issue 2023-05-12 18:51:31 +01:00
Simon Larsen
725824dfc2 fix probe api 2023-05-12 17:54:11 +01:00
Simon Larsen
991adc4874 query fix 2023-05-12 17:46:54 +01:00
Simon Larsen
82bd0741d0 fix fmt 2023-05-12 13:22:03 +01:00
Simon Larsen
80190fa156 make sure incidents are created 2023-05-12 13:16:48 +01:00
Simon Larsen
bc1d2f8335 fix issues with criteria 2023-05-12 12:52:31 +01:00
Simon Larsen
74cc556f7c fix date 2023-05-12 12:29:51 +01:00
dependabot[bot]
dec65d701a Bump xml2js from 0.4.23 to in /Probe
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) from 0.4.23 to .
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 10:59:19 +00:00
Simon Larsen
ed8f9ea839 Merge pull request #389 from munyanezaarmel/home-test
home tests
2023-05-12 11:50:27 +01:00
Simon Larsen
d9724cfd37 make website monitor work 2023-05-12 11:41:30 +01:00
Simon Larsen
996a1fa2f9 fix website request 2023-05-12 11:38:52 +01:00
Simon Larsen
e3421a72df Delete DockerFile 2023-05-12 11:02:43 +01:00
Simon Larsen
6868fc299e Update playwright.yml 2023-05-12 11:01:28 +01:00
Simon Larsen
4362923ff6 Merge pull request #437 from Sillyboi2001/Common/Billing
Test cases for Common/Billing
2023-05-12 11:00:38 +01:00
Simon Larsen
99f532ec7a fix website monitor 2023-05-12 09:26:36 +01:00
Simon Larsen
593660c805 remove dark mode 2023-05-12 09:24:55 +01:00
Simon Larsen
d959853ee3 fix bugs 2023-05-11 16:29:38 +01:00
Simon Larsen
cad5ba0af5 fix lint. 2023-05-11 13:35:38 +01:00
Simon Larsen
c1a97ede84 fix query 2023-05-11 13:25:40 +01:00
Simon Larsen
69031d1700 add sub sttaus enum 2023-05-11 12:58:49 +01:00
Simon Larsen
774a01ae36 fix project list issue 2023-05-11 12:28:50 +01:00
Simon Larsen
9cd36ead37 fix add card 2023-05-11 11:55:56 +01:00
Simon Larsen
6d82ffa2ad remove unneeded requirement 2023-05-10 21:26:32 +01:00
Simon Larsen
55fdea387e fix fmt in query helper 2023-05-10 19:47:23 +01:00
Simon Larsen
82b607f3e9 add more functions in query helper 2023-05-10 18:55:07 +01:00
Simon Larsen
c973b3b93b fix probes 2023-05-10 18:53:36 +01:00
Simon Larsen
0c0dd7fd73 fix billing service 2023-05-10 18:27:11 +01:00
Simon Larsen
b5a8ab0ae2 fix metered plan 2023-05-10 18:19:50 +01:00
Simon Larsen
d085b20290 fix subscription plan 2023-05-10 18:15:26 +01:00
Simon Larsen
7d683d4ebc remove unused columns from project 2023-05-10 18:08:40 +01:00
Simon Larsen
0a898a012d fix seats in project service 2023-05-10 18:07:21 +01:00
Simon Larsen
8885919b7e fix ignore hooks. 2023-05-10 18:02:49 +01:00
Simon Larsen
baf2c2c3af remove ignore hooks 2023-05-10 17:57:22 +01:00
Simon Larsen
433b246d64 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-05-10 17:47:26 +01:00
Simon Larsen
e831941744 fix billing service 2023-05-10 17:47:23 +01:00
Simon Larsen
6d79759f09 Merge pull request #441 from OneUptime/simlarsen-patch-1
Update README.md
2023-05-10 16:11:14 +01:00
Simon Larsen
683e261c98 Update README.md 2023-05-10 16:11:01 +01:00
Simon Larsen
3b322b155e is billing enabled 2023-05-10 15:09:58 +01:00
Simon Larsen
81cf9ab572 make server plan stataic 2023-05-10 15:08:42 +01:00
Simon Larsen
1a3e22db5d add metered plan on price change 2023-05-10 14:57:49 +01:00
Simon Larsen
c83ec93fb8 fix stripe biling 2023-05-10 14:17:27 +01:00
Simon Larsen
a12239c27e fix active monitoring 2023-05-10 13:36:25 +01:00
Silas Okpugie
e25995c617 made some changes 2023-05-10 12:31:01 +01:00
Simon Larsen
a6d608e63f Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-05-10 12:18:02 +01:00
Simon Larsen
7a8a102ca0 fix workflow page 2023-05-10 12:17:20 +01:00
Simon Larsen
83e34da353 Merge pull request #438 from OneUptime/dependabot/npm_and_yarn/ProbeAPI/engine.io-6.4.2
Bump engine.io from 6.4.1 to 6.4.2 in /ProbeAPI
2023-05-09 23:13:18 +01:00
Simon Larsen
7fc5c9d18d Merge pull request #439 from OneUptime/dependabot/npm_and_yarn/TestServer/engine.io-6.4.2
Bump engine.io from 6.4.1 to 6.4.2 in /TestServer
2023-05-09 23:13:09 +01:00
dependabot[bot]
3a649bf150 Bump engine.io from 6.4.1 to 6.4.2 in /TestServer
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 21:16:57 +00:00
dependabot[bot]
d8616b6e37 Bump engine.io from 6.4.1 to 6.4.2 in /ProbeAPI
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 21:16:20 +00:00
Simon Larsen
e8cd9d8b6a Merge pull request #416 from OneUptime/workflow-project
active monitoring project
2023-05-09 22:13:28 +01:00
Simon Larsen
54868715c7 fix compile error 2023-05-09 20:48:20 +01:00
Simon Larsen
3d881156cd add jobs 2023-05-09 19:37:38 +01:00
Simon Larsen
0137c906d4 fix fmt 2023-05-09 19:31:10 +01:00
Simon Larsen
6f8239cd73 fix app name in test server 2023-05-09 19:14:09 +01:00
Simon Larsen
64ef6541f7 fix docker compoe 2023-05-09 17:30:06 +01:00
Simon Larsen
4e02846e21 fix comments in docker file 2023-05-09 17:20:13 +01:00
Simon Larsen
adbbd6fe48 remove gitignore 2023-05-09 17:17:57 +01:00
Simon Larsen
07af319969 add test server 2023-05-09 17:06:52 +01:00
Simon Larsen
fd7b2d3db2 add http test server 2023-05-09 17:03:03 +01:00
Simon Larsen
71bea4e8ff fix fmt 2023-05-09 16:29:20 +01:00
Simon Larsen
29772bfaaa fix commin ui tests 2023-05-09 16:28:12 +01:00
Simon Larsen
e30ca1ddfd add jest config to probe 2023-05-09 16:23:29 +01:00
Simon Larsen
4320be66f1 fix fmt 2023-05-09 14:05:24 +01:00
Simon Larsen
fde3af7ab0 fix tests 2023-05-09 14:04:28 +01:00
Simon Larsen
d895636a44 fix common tests 2023-05-09 13:56:25 +01:00
Simon Larsen
cab5b5840e fix monitor steps 2023-05-09 13:40:10 +01:00
Simon Larsen
7f47a7344b add default monitor state to probe api. 2023-05-09 13:04:39 +01:00
Simon Larsen
edfed79272 add pricing for active monitors 2023-05-09 11:17:16 +01:00
Simon Larsen
64314de142 add api and website monitors 2023-05-09 10:47:22 +01:00
Simon Larsen
8c2a8ab303 fix probe monitor response 2023-05-09 10:38:05 +01:00
Simon Larsen
81c2daa44b add probe setup docs 2023-05-09 09:56:33 +01:00
Simon Larsen
b004d19efa write probe docs 2023-05-09 09:51:16 +01:00
Simon Larsen
0605fb820d remove common projects 2023-05-09 09:36:05 +01:00
Simon Larsen
2555e22bdf add website monitor 2023-05-08 22:08:51 +01:00
Simon Larsen
6d818e22cd add website monitor 2023-05-08 22:08:44 +01:00
Simon Larsen
ddd6b03852 Merge branch 'master' into workflow-project 2023-05-08 21:58:06 +01:00
Simon Larsen
bdeff997af fix json parse 2023-05-08 21:51:11 +01:00
Simon Larsen
00b3726407 refactor paths 2023-05-08 21:29:00 +01:00
Simon Larsen
fbc0577f0b make criteria work 2023-05-08 21:20:40 +01:00
Simon Larsen
63c7e30af3 add criteria filters 2023-05-08 21:05:46 +01:00
Simon Larsen
7e897d7d34 write criteria filters 2023-05-08 20:24:25 +01:00
Simon Larsen
e74d0a9599 work checkpoint 2023-05-08 20:24:15 +01:00
Simon Larsen
1d1c969169 Merge branch 'master' into workflow-project 2023-05-08 19:09:53 +01:00
Silas Okpugie
72ebe62b86 Test cases for Common/Billing 2023-05-08 18:40:31 +01:00
Simon Larsen
53c0f9e025 fix compile err on workers 2023-05-08 16:27:39 +01:00
Simon Larsen
b75b6434c0 turn on wordwrap for markdown 2023-05-08 14:51:08 +01:00
Simon Larsen
f3dd60e284 Merge branch 'fix-small-issues' 2023-05-08 14:36:59 +01:00
Simon Larsen
83abc61932 fix json parse error 2023-05-08 14:34:59 +01:00
Simon Larsen
ba4fc66684 format for json 2023-05-08 14:33:49 +01:00
Simon Larsen
6d88109fdd Merge pull request #434 from Sillyboi2001/CommonUI/Items
Test Cases for Common UI/OrderedStatesList/Items
2023-05-08 14:25:05 +01:00
Simon Larsen
22f17ce103 move to a better json parsing lib 2023-05-08 14:22:16 +01:00
Simon Larsen
218b6b99be fix fmt 2023-05-08 12:37:14 +01:00
Simon Larsen
83f8d57254 force navigate 2023-05-08 12:35:57 +01:00
Simon Larsen
ba57cce5d2 Merge pull request #435 from OneUptime/dependabot/npm_and_yarn/Realtime/engine.io-and-socket.io-6.4.2
Bump engine.io and socket.io in /Realtime
2023-05-08 12:30:54 +01:00
Simon Larsen
5a3968b6d7 Merge pull request #436 from OneUptime/dependabot/npm_and_yarn/CommonServer/engine.io-6.4.2
Bump engine.io from 6.4.1 to 6.4.2 in /CommonServer
2023-05-08 12:30:38 +01:00
Simon Larsen
d4c4a1c83d change home page 2023-05-06 12:48:00 +01:00
Simon Larsen
99c9b58c81 add monitor list api 2023-05-05 13:02:23 +01:00
Simon Larsen
bca11364a2 add monitor list api 2023-05-05 12:55:51 +01:00
Simon Larsen
c961215677 Merge branch 'master' into workflow-project 2023-05-04 20:34:05 +01:00
Simon Larsen
2d1942c789 fix typo 2023-05-04 20:29:09 +01:00
Simon Larsen
3d72b17091 fix api key error 2023-05-04 14:04:17 +01:00
Simon Larsen
d5b5cfbb50 Merge branch 'master' into workflow-project 2023-05-04 13:43:56 +01:00
Simon Larsen
3d29a103eb Merge branch 'master' into workflow-project 2023-05-04 13:33:03 +01:00
dependabot[bot]
c046366176 Bump engine.io from 6.4.1 to 6.4.2 in /CommonServer
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:35:48 +00:00
dependabot[bot]
6c5db4ec4f Bump engine.io and socket.io in /Realtime
Bumps [engine.io](https://github.com/socketio/engine.io) to 6.4.2 and updates ancestor dependency [socket.io](https://github.com/socketio/socket.io). These dependencies need to be updated together.


Updates `engine.io` from 6.2.1 to 6.4.2
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.1...6.4.2)

Updates `socket.io` from 4.5.4 to 4.6.1
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.5.4...4.6.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:08:50 +00:00
Simon Larsen
c959b0845f add probe auth 2023-05-03 21:13:00 +01:00
Simon Larsen
4aab4314c5 clean up probe 2023-05-03 17:47:47 +01:00
Simon Larsen
4fe92a1096 fix monitor probe service 2023-05-03 17:09:20 +01:00
Simon Larsen
e110aeb1b5 fix probe page 2023-05-03 15:27:21 +01:00
Simon Larsen
9ccbc50849 add probe page 2023-05-03 13:55:11 +01:00
Simon Larsen
79a4209745 add column to probe page 2023-05-03 13:33:27 +01:00
Simon Larsen
ba1e5487c2 add monitor type 2023-05-03 13:15:03 +01:00
Simon Larsen
74d57bbc27 refactor cron time 2023-05-03 12:43:58 +01:00
Simon Larsen
18665f81fd probe registration complete 2023-05-03 11:54:25 +01:00
Simon Larsen
d27b2585c2 fix tags 2023-05-03 11:17:48 +01:00
Simon Larsen
ef4cd85274 Merge branch 'master' into workflow-project 2023-05-03 08:47:28 +01:00
Simon Larsen
80be077c3a fix release 2023-05-02 21:50:46 +01:00
Simon Larsen
0897007f9b fix github actions 2023-05-02 21:46:00 +01:00
Simon Larsen
cc076f0994 fix lock files 2023-05-02 21:31:32 +01:00
Simon Larsen
8b6ac3341a fix fmt 2023-05-02 17:50:16 +01:00
Simon Larsen
c48dca0925 fix docker compose file 2023-05-02 17:44:49 +01:00
Simon Larsen
024777937e fix config 2023-05-02 17:01:01 +01:00
Simon Larsen
2fe8518828 add probe deploy jobs 2023-05-02 16:46:06 +01:00
Simon Larsen
9ed3413fa6 docker build 2023-05-02 16:42:43 +01:00
Simon Larsen
6aa7b8648a add compile jobs in one workflow 2023-05-02 16:15:58 +01:00
Simon Larsen
a1bcb45122 add gitignore files 2023-05-02 16:09:04 +01:00
Simon Larsen
27420261a0 add probe docker file 2023-05-02 15:29:22 +01:00
Simon Larsen
d873bafedb make probe api service 2023-05-02 13:44:21 +01:00
Simon Larsen
746de4ea9a refactor 2023-05-02 13:33:56 +01:00
Simon Larsen
0721970cc2 add probe status 2023-05-02 12:29:50 +01:00
Simon Larsen
2e2356e163 make probe page work 2023-05-02 12:20:06 +01:00
Silas Okpugie
e9394326c7 Test cases for Items.tsx 2023-05-02 12:16:16 +01:00
Simon Larsen
c19d203737 add service and api 2023-05-02 11:36:31 +01:00
Simon Larsen
78cd09f0ab add model 2023-05-02 11:34:49 +01:00
Simon Larsen
cef0b827eb add monitor probe table 2023-05-02 11:23:27 +01:00
Simon Larsen
a108c208d6 add probe table 2023-05-01 21:15:10 +01:00
Simon Larsen
0702b9331b add probe model 2023-05-01 20:54:42 +01:00
Simon Larsen
47b0d754a0 Merge branch 'master' into workflow-project 2023-05-01 20:48:30 +01:00
Munyaneza Armel
ce32efd51d added dockerfile 2023-05-01 18:38:10 +02:00
Silas Okpugie
32a5a79805 Added new test cases 2023-05-01 16:11:06 +01:00
Simon Larsen
0af4a71062 create read only user 2023-05-01 12:50:25 +01:00
Simon Larsen
3dc1dbfe25 add comments 2023-04-29 13:59:34 +01:00
Simon Larsen
027b9004b2 fix monitor criteria 2023-04-28 19:27:52 +01:00
Simon Larsen
46f9157170 fix bugs 2023-04-28 17:44:07 +01:00
Simon Larsen
0128657720 prefill incident 2023-04-28 14:47:08 +01:00
Simon Larsen
f20e7d3fe9 fix on change handler 2023-04-28 14:26:02 +01:00
Simon Larsen
5e5264f065 fix criteria filter form 2023-04-28 14:03:26 +01:00
Simon Larsen
e217da7ba1 make dropdown component simpler. 2023-04-28 13:38:56 +01:00
Simon Larsen
65570dad6e fix bugs 2023-04-28 12:43:41 +01:00
Simon Larsen
f300e51c2e Merge branch 'master' into workflow-project 2023-04-28 11:47:45 +01:00
Simon Larsen
9877a68830 fix fmt 2023-04-27 21:33:45 +01:00
Simon Larsen
72dfc21110 fix fmt 2023-04-27 21:32:34 +01:00
Simon Larsen
9c0f3bf01d hide criteria for manual monitors 2023-04-27 21:31:28 +01:00
Simon Larsen
56cc52391e align incidents properly. 2023-04-27 21:20:19 +01:00
Simon Larsen
2d51e781c0 make filters UI work 2023-04-27 21:18:39 +01:00
Simon Larsen
73b60b582c fix style 2023-04-27 21:05:08 +01:00
Simon Larsen
1d3641c74b fix side menu syle 2023-04-27 21:04:20 +01:00
Simon Larsen
3668c604f9 general improvements 2023-04-27 20:04:18 +01:00
Simon Larsen
a9e84e6ed0 fix fmt 2023-04-27 19:58:36 +01:00
Simon Larsen
3290c266e7 add defualt monitor status 2023-04-27 19:57:14 +01:00
Simon Larsen
c9c38ccfe6 fix status bubble. 2023-04-27 19:10:00 +01:00
Simon Larsen
101397cf35 add icons 2023-04-27 19:02:33 +01:00
Simon Larsen
db6f43af73 make ui better 2023-04-27 18:22:17 +01:00
Simon Larsen
8c468f145d fix fmt 2023-04-27 16:34:19 +01:00
Simon Larsen
4cc7972251 make page look better 2023-04-27 15:53:44 +01:00
Simon Larsen
f33fc59ab1 fix compile errors 2023-04-27 13:36:42 +01:00
Simon Larsen
b2291437a8 make view work 2023-04-27 13:32:30 +01:00
Simon Larsen
19417ac5d7 fix fmt 2023-04-27 13:24:12 +01:00
Simon Larsen
127d98f6e4 view components 2023-04-27 13:15:09 +01:00
Simon Larsen
33b4e7ffd7 fix criteria 2023-04-27 11:47:54 +01:00
Simon Larsen
6b34e0c559 add interval page 2023-04-27 11:30:54 +01:00
Simon Larsen
e94bc7634c fix fmt 2023-04-26 19:01:49 +01:00
Simon Larsen
2f9fbdaa09 fix dropdown 2023-04-26 19:00:54 +01:00
Simon Larsen
69e7444ffb add criteria page 2023-04-26 18:55:50 +01:00
Simon Larsen
5849184d69 fix monitor type 2023-04-26 18:45:40 +01:00
Simon Larsen
d741ee1c95 fix fmt 2023-04-26 18:41:25 +01:00
Simon Larsen
0fdc64e38d fix filters 2023-04-26 18:39:46 +01:00
Simon Larsen
4a1635ff67 fix criteria 2023-04-26 18:32:44 +01:00
Simon Larsen
7be95ed6d8 add monitor type to components 2023-04-26 17:53:14 +01:00
Simon Larsen
05666eb730 fix bug in fromjson 2023-04-26 17:48:42 +01:00
Simon Larsen
accc3109d2 fix bug 2023-04-26 17:42:10 +01:00
Munyaneza Armel
0c1425f430 Update playwright.yml 2023-04-26 16:34:54 +02:00
Simon Larsen
35ada4671d fix serialize issue 2023-04-26 14:57:50 +01:00
Munyaneza Armel
27f38db033 fixing errors 2023-04-26 15:52:14 +02:00
Simon Larsen
371cfe2403 fix steps 2023-04-26 14:20:10 +01:00
Simon Larsen
705d25cbdf fix tests 2023-04-26 13:42:28 +01:00
Simon Larsen
42ec184a68 add monitor criteria form 2023-04-26 13:32:22 +01:00
Simon Larsen
fb038e1662 add validation to monitor steps 2023-04-26 13:25:52 +01:00
Simon Larsen
a1dc8008ba add custom validation 2023-04-26 13:02:40 +01:00
Simon Larsen
d633d22e8d fix types in workflows 2023-04-26 12:49:52 +01:00
Simon Larsen
aa5b9b3a5a fix monitor criteria from json 2023-04-26 12:34:34 +01:00
Simon Larsen
3ce957a093 fix types 2023-04-26 12:33:24 +01:00
Simon Larsen
b5b10b81a4 fix fmt 2023-04-26 12:28:29 +01:00
Simon Larsen
a9d65681bf refactor json functions 2023-04-26 12:27:15 +01:00
Simon Larsen
8442bc9411 fix fmt 2023-04-26 11:41:30 +01:00
Simon Larsen
421824a3e6 fix formatting. 2023-04-26 11:38:35 +01:00
Simon Larsen
15d5b4e548 fix formatting. 2023-04-26 11:38:29 +01:00
Simon Larsen
495120b83b refactor json functions 2023-04-26 11:25:46 +01:00
Simon Larsen
09ebc154ea fix fmt 2023-04-26 10:25:05 +01:00
Simon Larsen
fea85e8f69 fix incident form 2023-04-26 10:24:03 +01:00
Simon Larsen
091b3512fb fix serialization 2023-04-25 20:17:37 +01:00
Simon Larsen
eadcb10e4d add cant delete modal. 2023-04-25 19:31:43 +01:00
Simon Larsen
a3dc5580f2 fix form issues 2023-04-25 18:48:33 +01:00
Simon Larsen
72de7c9e35 disable autofocus 2023-04-25 15:09:44 +01:00
Simon Larsen
90daef4691 improve code editor 2023-04-25 14:57:01 +01:00
Simon Larsen
7eeffa4da3 Merge branch 'master' into workflow-project 2023-04-25 14:41:15 +01:00
Simon Larsen
ecd4769c6c remove docker file 2023-04-24 20:08:52 +01:00
Simon Larsen
42183efcef Merge branch 'master' into workflow-project 2023-04-24 20:08:19 +01:00
Munyaneza Armel
9059fa530e added tests 2023-04-22 14:17:12 +02:00
Munyaneza Armel
7f32989720 added tests 2023-04-22 14:07:01 +02:00
armel
527026d7b4 added tests 2023-04-22 13:54:38 +02:00
armel
34101de6d0 fixed lint 2023-04-20 10:52:00 +02:00
armel
5d82d7d619 fix lint 2023-04-20 10:27:14 +02:00
armel
1f7b124594 fixing errors 2023-04-19 17:08:58 +02:00
armel
6d5d9416f8 fixed workfile 2023-04-19 16:47:08 +02:00
armel
d0d2162a51 fixed env 2023-04-19 16:33:58 +02:00
armel
69d93e4330 fixing env 2023-04-19 16:29:49 +02:00
armel
0cb2a98047 fixing env 2023-04-19 16:29:09 +02:00
armel
5fc4fa60ed fixing env variables 2023-04-19 16:29:09 +02:00
armel
24c30f884e added environment variables 2023-04-19 16:29:07 +02:00
armel
4f823062c5 fixing tests 2023-04-19 16:29:07 +02:00
armel
95f324fa80 fixing tests 2023-04-19 16:29:07 +02:00
armel
6cab95c41b fixing tests 2023-04-19 16:29:06 +02:00
armel
46bbc2cf96 fixing workfile 2023-04-19 16:29:03 +02:00
armel
b354cd0f25 fixing workfile 2023-04-19 16:29:02 +02:00
armel
173d2c7cde fixing workfile 2023-04-19 16:29:02 +02:00
armel
cf795c1633 fixing workfile 2023-04-19 16:29:02 +02:00
armel
ab31200f45 running localhost 2023-04-19 16:29:00 +02:00
armel
d5d4da389f running on localhost 2023-04-19 16:28:59 +02:00
unknown
b288dbb694 fix errors 2023-04-19 16:28:58 +02:00
unknown
ccdc3f92dd fixed errors 2023-04-19 16:28:57 +02:00
unknown
af3a6b2f3f fixed errors 2023-04-19 16:28:57 +02:00
unknown
99da78d7db fixed errors 2023-04-19 16:28:56 +02:00
unknown
254bae0956 fixed errors 2023-04-19 16:28:53 +02:00
unknown
2c1f094acd npm to yarn 2023-04-19 16:28:52 +02:00
unknown
49563e9cbe added test script 2023-04-19 16:28:52 +02:00
unknown
bf506e23d7 added playwright in dev 2023-04-19 16:28:51 +02:00
unknown
f9645979c2 fixed package.json 2023-04-19 16:28:51 +02:00
unknown
cf2ff65de5 added playwright in dev 2023-04-19 16:28:50 +02:00
unknown
6a248478d2 added playwright workflow 2023-04-19 16:28:50 +02:00
unknown
bc593b18e0 home tests 2023-04-19 16:28:49 +02:00
unknown
6182d84d57 home tests 2023-04-19 16:28:49 +02:00
aphilas
87ee6674c7 Clean up tests
- Flatten nested describe calls
- Replace it with test
2023-04-19 16:28:48 +02:00
aphilas
78f2b0b4c5 Delete Common/Types/Role 2023-04-19 16:28:48 +02:00
aphilas
70bcc80b5e Add test Common/Types/JSON 2023-04-19 16:28:48 +02:00
aphilas
8bffd8a9b7 Add test Common/Types/ListData 2023-04-19 16:28:42 +02:00
aphilas
0e6a365046 Add test Common/Types/PositiveNumber 2023-04-19 16:28:41 +02:00
aphilas
ad70f1e09d Add test Common/Types/Role 2023-04-19 16:28:41 +02:00
aphilas
4ff2b5a2da Add test Common/Types/Sleep 2023-04-19 16:28:40 +02:00
aphilas
39801c9c0d Add test Common/Types/Typeof 2023-04-19 16:28:40 +02:00
aphilas
75bb276349 Add test Common/Types/ArrayUtil 2023-04-19 16:28:40 +02:00
Simon Larsen
72ca3ac51e fix lint. 2023-04-19 16:28:40 +02:00
Simon Larsen
d1decf9143 update lock and docker compose 2023-04-19 16:28:40 +02:00
Simon Larsen
ddaea04182 fix preinstall script 2023-04-19 16:28:40 +02:00
Simon Larsen
d0ca7d9067 make scripts docker compatible. 2023-04-19 16:28:39 +02:00
Simon Larsen
837de39cf7 make script support docker 2023-04-19 16:28:39 +02:00
Simon Larsen
4fb07bfa83 Make docker file for OneUptime 2023-04-19 16:28:39 +02:00
Simon Larsen
b292c61341 add notes email 2023-04-19 16:28:39 +02:00
Simon Larsen
46cf642b8f add more email types 2023-04-19 16:28:39 +02:00
Simon Larsen
9e1fa1e008 fix fmt 2023-04-19 16:28:39 +02:00
Simon Larsen
1631836e29 add model columns 2023-04-19 16:28:38 +02:00
Simon Larsen
c1b2e1ef83 fix job name 2023-04-19 16:28:38 +02:00
Simon Larsen
0806fbe36e Update README.md 2023-04-19 16:28:38 +02:00
Simon Larsen
1ba205b4d6 Update README.md 2023-04-19 16:28:37 +02:00
Simon Larsen
3381931fed fix typo 2023-04-19 16:28:37 +02:00
Simon Larsen
57e3a50e41 fix ip type 2023-04-19 16:28:35 +02:00
Simon Larsen
4238dbd651 fix ip tests 2023-04-19 16:28:35 +02:00
Simon Larsen
3beb60362d fix ip address tests 2023-04-19 16:28:35 +02:00
dependabot[bot]
856f46cfce Bump vm2 from 3.9.15 to 3.9.16 in /Workflow
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 16:28:35 +02:00
dependabot[bot]
4de9193e28 Bump vm2 from 3.9.15 to 3.9.16 in /CommonServer
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 16:28:35 +02:00
dependabot[bot]
bf0f2d2f79 Bump vm2 from 3.9.15 to 3.9.16 in /Probe
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 16:28:35 +02:00
Munyaneza Armel
f0483c9df6 Merge branch 'OneUptime:master' into home-test 2023-04-19 15:36:40 +02:00
armel
fa524ed2e1 fixing tests 2023-04-18 18:12:06 +02:00
armel
9e272ff85b fixing tests 2023-04-18 17:47:23 +02:00
armel
7b3249155e fixing tests 2023-04-18 17:31:43 +02:00
armel
fe655b0e3a fixing workfile 2023-04-18 17:23:01 +02:00
armel
9e987fd899 fixing workfile 2023-04-18 17:14:24 +02:00
armel
f428ae12aa fixing workfile 2023-04-18 17:11:47 +02:00
armel
7d75f9eed2 fixing workfile 2023-04-18 17:09:27 +02:00
armel
5cd0fc9853 running localhost 2023-04-18 16:56:27 +02:00
armel
73c1eb2b78 running on localhost 2023-04-18 16:36:24 +02:00
Simon Larsen
939aee7713 fix next button click 2023-04-17 20:46:29 +01:00
Simon Larsen
0a57be6b6b add consition to form steps 2023-04-17 20:31:50 +01:00
Simon Larsen
d3526b4cab add monitoring interval 2023-04-17 20:16:47 +01:00
Simon Larsen
dbccb323b4 fix lint. 2023-04-17 19:18:37 +01:00
Simon Larsen
067f2a5885 fix issues with monitor criteria 2023-04-17 19:03:27 +01:00
Simon Larsen
140fe6d026 fix fmt 2023-04-17 18:51:22 +01:00
Simon Larsen
c54532a6a8 add default monitor in step 2023-04-17 18:24:02 +01:00
Simon Larsen
a8297c99d3 improve monitor form ui 2023-04-17 14:37:57 +01:00
Simon Larsen
14cb2da5e2 fix layout 2023-04-17 12:32:06 +01:00
Simon Larsen
0c021a2417 add palceholder 2023-04-17 11:29:49 +01:00
Simon Larsen
096671aa27 fix monitor step. 2023-04-16 22:08:28 +01:00
Simon Larsen
632dc7c356 fix lint 2023-04-16 22:06:40 +01:00
Simon Larsen
23c34a2e84 add dic of string component 2023-04-16 21:50:17 +01:00
Simon Larsen
83ac03cb94 fix monitor criteria 2023-04-16 20:57:33 +01:00
Simon Larsen
08a03bebf5 Merge branch 'master' into workflow-project 2023-04-16 13:02:34 +01:00
Simon Larsen
16f667b329 fix basic form 2023-04-16 12:58:52 +01:00
Simon Larsen
d7337be9f9 add custom form element 2023-04-16 12:51:05 +01:00
Simon Larsen
f0ea9928f4 Merge branch 'master' into workflow-project 2023-04-16 12:09:44 +01:00
Simon Larsen
9154f2f8f0 add monitor step form 2023-04-14 21:58:16 +01:00
Simon Larsen
81305e1305 fix casing 2023-04-14 13:10:36 +01:00
unknown
ddda137c12 fix errors 2023-03-20 14:41:57 +02:00
unknown
0d44b0ca13 fixed errors 2023-03-19 21:24:11 +02:00
unknown
001a4b153b fixed errors 2023-03-19 21:14:55 +02:00
unknown
4556a7e322 fixed errors 2023-03-19 20:52:15 +02:00
unknown
bf7707b2a9 fixed errors 2023-03-19 20:35:02 +02:00
unknown
a834045b00 npm to yarn 2023-03-19 20:17:56 +02:00
unknown
155af6e9a8 added test script 2023-03-19 19:44:32 +02:00
unknown
59ae6d7e56 added playwright in dev 2023-03-19 19:23:50 +02:00
unknown
d4c3e287a6 fixed package.json 2023-03-19 19:16:53 +02:00
unknown
3c5e169b58 added playwright in dev 2023-03-19 19:06:14 +02:00
unknown
f4000b1dd3 added playwright workflow 2023-03-19 18:46:54 +02:00
unknown
89fd950af9 home tests 2023-03-19 18:32:08 +02:00
unknown
4fca7fc0ee home tests 2023-03-19 12:16:37 +02:00
1137 changed files with 164279 additions and 87992 deletions

View File

@@ -1,25 +0,0 @@
name: Compile Accounts
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Accounts && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Alert
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Alert && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile ApiReference
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd ApiReference && npm install && npm run compile

View File

@@ -1,23 +0,0 @@
name: Compile CommonServer
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install && npm run compile

View File

@@ -1,23 +0,0 @@
name: Compile UI Common
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonUI && npm install --force && npm run compile

View File

@@ -1,22 +0,0 @@
name: Compile Common
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install && npm run compile

View File

@@ -1,25 +0,0 @@
name: Compile DashboardAPI
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd DashboardAPI && npm install && npm run compile

View File

@@ -1,25 +0,0 @@
name: Compile Dashboard
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Dashboard && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile File Service
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd File && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile HelmChart
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd HelmChart && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Home
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Home && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Identity
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Identity && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Integration
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Integration && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Licensing
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Licensing && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Mail
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Mail && npm install && npm run compile

View File

@@ -1,23 +0,0 @@
name: Compile Model
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd Model && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile ProbeAPI
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd ProbeAPI && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Realtime
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Realtime && npm install && npm run compile

View File

@@ -1,25 +0,0 @@
name: Compile Status Page
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd StatusPage && npm install && npm run compile

View File

@@ -1,25 +0,0 @@
name: Compile Workers
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Workers && npm install && npm run compile

View File

@@ -1,24 +0,0 @@
name: Compile Workflow
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Workflow && npm install && npm run compile

334
.github/workflows/compile.yml vendored Normal file
View File

@@ -0,0 +1,334 @@
name: Compile
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
compile-accounts:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Accounts && npm install && npm run compile
compile-api-reference:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd ApiReference && npm install && npm run compile
compile-link-shortner:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd LinkShortner && npm install && npm run compile
compile-common-server:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install && npm run compile
compile-common-ui:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonUI && npm install --force && npm run compile
compile-common:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install && npm run compile
compile-dashboard-api:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd DashboardAPI && npm install && npm run compile
compile-dashboard:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Dashboard && npm install && npm run compile
compile-file:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd File && npm install && npm run compile
compile-helm-chart:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd HelmChart && npm install && npm run compile
compile-home:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Home && npm install && npm run compile
compile-identity:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Identity && npm install && npm run compile
compile-integrations:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Integration && npm install && npm run compile
compile-licensing:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Licensing && npm install && npm run compile
compile-notification:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Notification && npm install && npm run compile
compile-model:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd Model && npm install && npm run compile
compile-probe:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Probe && npm install && npm run compile
compile-probe-api:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd ProbeAPI && npm install && npm run compile
compile-realtime:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Realtime && npm install && npm run compile
compile-status-page:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd StatusPage && npm install && npm run compile
compile-workers:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd Workers && npm install && npm run compile
compile-workflow:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd Workflow && npm install && npm run compile
compile-test-server:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd TestServer && npm install && npm run compile

View File

@@ -1,25 +0,0 @@
name: Accounts Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Accounts/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Alert Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./Alert/Dockerfile .

View File

@@ -1,24 +0,0 @@
name: API Docs Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./ApiReference/Dockerfile .

View File

@@ -1,26 +0,0 @@
name: DashboardAPI Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./DashboardAPI/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Dashboard Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Dashboard/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: File Service Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for file
- name: build docker image
run: sudo docker build -f ./File/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Haraka Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build images
- name: build docker image
run: sudo docker build -f ./Haraka/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Helm Chart Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./HelmChart/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Home Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Home/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Identity Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for identity
- name: build docker image
run: sudo docker build -f ./Identity/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Integration Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for licensing
- name: build docker image
run: sudo docker build -f ./Integration/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Licensing Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for licensing
- name: build docker image
run: sudo docker build -f ./Licensing/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Mail Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./Mail/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: NGINX Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./Nginx/Dockerfile ./Nginx

View File

@@ -1,25 +0,0 @@
name: Probe-api Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./ProbeAPI/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Status Page Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./StatusPage/Dockerfile .

View File

@@ -1,26 +0,0 @@
name: Workers Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Workers/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Workflow Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define job to build docker image
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./Workflow/Dockerfile .

315
.github/workflows/docker-build.yml vendored Normal file
View File

@@ -0,0 +1,315 @@
name: Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
docker-build-accounts:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./Accounts/Dockerfile .
docker-build-link-shortner:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./LinkShortner/Dockerfile .
docker-build-api-reference:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./ApiReference/Dockerfile .
docker-build-dashboard-api:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./DashboardAPI/Dockerfile .
docker-build-dashboard:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Dashboard/Dockerfile .
docker-build-file:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for file
- name: build docker image
run: sudo docker build -f ./File/Dockerfile .
docker-build-haraka:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build images
- name: build docker image
run: sudo docker build -f ./Haraka/Dockerfile .
docker-build-helm-chart:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./HelmChart/Dockerfile .
docker-build-home:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Home/Dockerfile .
docker-build-identity:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for identity
- name: build docker image
run: sudo docker build -f ./Identity/Dockerfile .
docker-build-integrations:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for licensing
- name: build docker image
run: sudo docker build -f ./Integration/Dockerfile .
docker-build-licensing:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for licensing
- name: build docker image
run: sudo docker build -f ./Licensing/Dockerfile .
docker-build-notification:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./Notification/Dockerfile .
docker-build-probe:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./Probe/Dockerfile .
docker-build-probe-api:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image probe api
- name: build docker image
run: sudo docker build -f ./ProbeAPI/Dockerfile .
docker-build-realtime:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Realtime/Dockerfile .
docker-build-status-page:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./StatusPage/Dockerfile .
docker-build-workers:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Workers/Dockerfile .
docker-build-workflow:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./Workflow/Dockerfile .
docker-build-test-server:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for mail service
- name: build docker image
run: sudo docker build -f ./TestServer/Dockerfile .

View File

@@ -1,25 +0,0 @@
name: Realtime Docker Build
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*'
- 'release'
jobs:
# define jobs to build docker imag
docker-build:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Preinstall
run: npm run prerun
# build image for home
- name: build docker image
run: sudo docker build -f ./Realtime/Dockerfile .

View File

@@ -1,412 +0,0 @@
name: Release Image Deploy to DockerHub
on:
push:
branches:
- "release"
jobs:
github-release:
runs-on: ubuntu-latest
permissions:
contents: write
env:
ONEUPTIME_VERSION: 6.0.${{github.run_number}}
steps:
- uses: actions/checkout@v3
with:
ref: release
- name: "Build Changelog"
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v3.7.1
- uses: ncipollo/release-action@v1
with:
tag: ${{env.ONEUPTIME_VERSION}}
artifactErrorsFailBuild: true
body: |
${{steps.build_changelog.outputs.changelog}}
workflow-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/workflow:6.0.$CI_PIPELINE_ID --tag oneuptime/workflow:release --push -f ./Workflow/Dockerfile .
workers-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy workers.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/workers:6.0.$CI_PIPELINE_ID --tag oneuptime/workers:release --push -f ./Workers/Dockerfile .
staus-page-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy status-page.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/status-page:6.0.$CI_PIPELINE_ID --tag oneuptime/status-page:release --push -f ./StatusPage/Dockerfile .
realtime-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy realtime.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/realtime:6.0.$CI_PIPELINE_ID --tag oneuptime/realtime:release --push -f ./Realtime/Dockerfile .
probe-api-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy probe-api.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/probe-api:6.0.$CI_PIPELINE_ID --tag oneuptime/probe-api:release --push -f ./ProbeAPI/Dockerfile .
nginx-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/nginx:6.0.$CI_PIPELINE_ID --tag oneuptime/nginx:release --push -f ./Nginx/Dockerfile .
mail-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/mail:6.0.$CI_PIPELINE_ID --tag oneuptime/mail:release --push -f ./Mail/Dockerfile .
licensing-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/licensing:6.0.$CI_PIPELINE_ID --tag oneuptime/licensing:release --push -f ./Licensing/Dockerfile .
integrations-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/integrations:6.0.$CI_PIPELINE_ID --tag oneuptime/integrations:release --push -f ./Integration/Dockerfile .
identity-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/identity:6.0.$CI_PIPELINE_ID --tag oneuptime/identity:release --push -f ./Identity/Dockerfile .
home-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/home:6.0.$CI_PIPELINE_ID --tag oneuptime/home:release --push -f ./Home/Dockerfile .
helm-chart-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/helm-chart:6.0.$CI_PIPELINE_ID --tag oneuptime/helm-chart:release --push -f ./HelmChart/Dockerfile .
haraka-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/haraka:6.0.$CI_PIPELINE_ID --tag oneuptime/haraka:release --push -f ./Haraka/Dockerfile .
file-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy file.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/file:6.0.$CI_PIPELINE_ID --tag oneuptime/file:release --push -f ./File/Dockerfile .
dashboard-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy dashboard-api.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/dashboard:6.0.$CI_PIPELINE_ID --tag oneuptime/dashboard:release --push -f ./Dashboard/Dockerfile .
dashboard-api-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy dashboard-api.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/dashboard-api:6.0.$CI_PIPELINE_ID --tag oneuptime/dashboard-api:release --push -f ./DashboardAPI/Dockerfile .
api-reference-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy api-reference.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/api-reference:6.0.$CI_PIPELINE_ID --tag oneuptime/api-reference:release --push -f ./ApiReference/Dockerfile .
alert-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/alert:6.0.$CI_PIPELINE_ID --tag oneuptime/alert:release --push -f ./Alert/Dockerfile .
accounts-release:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/accounts:6.0.$CI_PIPELINE_ID --tag oneuptime/accounts:release --push -f ./Accounts/Dockerfile .

View File

@@ -1,392 +0,0 @@
name: Test Image Deploy to DockerHub
on:
push:
branches:
- "master"
jobs:
workflow-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/workflow:6.0.$CI_PIPELINE_ID-test --tag oneuptime/workflow:test --push -f ./Workflow/Dockerfile .
workers-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy workers.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/workers:6.0.$CI_PIPELINE_ID-test --tag oneuptime/workers:test --push -f ./Workers/Dockerfile .
staus-page-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy status-page.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/status-page:6.0.$CI_PIPELINE_ID-test --tag oneuptime/status-page:test --push -f ./StatusPage/Dockerfile .
realtime-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy realtime.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/realtime:6.0.$CI_PIPELINE_ID-test --tag oneuptime/realtime:test --push -f ./Realtime/Dockerfile .
probe-api-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy probe-api.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/probe-api:6.0.$CI_PIPELINE_ID-test --tag oneuptime/probe-api:test --push -f ./ProbeAPI/Dockerfile .
nginx-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/nginx:6.0.$CI_PIPELINE_ID-test --tag oneuptime/nginx:test --push -f ./Nginx/Dockerfile .
mail-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/mail:6.0.$CI_PIPELINE_ID-test --tag oneuptime/mail:test --push -f ./Mail/Dockerfile .
licensing-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/licensing:6.0.$CI_PIPELINE_ID-test --tag oneuptime/licensing:test --push -f ./Licensing/Dockerfile .
integrations-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/integrations:6.0.$CI_PIPELINE_ID-test --tag oneuptime/integrations:test --push -f ./Integration/Dockerfile .
identity-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/identity:6.0.$CI_PIPELINE_ID-test --tag oneuptime/identity:test --push -f ./Identity/Dockerfile .
home-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/home:6.0.$CI_PIPELINE_ID-test --tag oneuptime/home:test --push -f ./Home/Dockerfile .
helm-chart-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/helm-chart:6.0.$CI_PIPELINE_ID-test --tag oneuptime/helm-chart:test --push -f ./HelmChart/Dockerfile .
haraka-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/haraka:6.0.$CI_PIPELINE_ID-test --tag oneuptime/haraka:test --push -f ./Haraka/Dockerfile .
file-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy file.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/file:6.0.$CI_PIPELINE_ID-test --tag oneuptime/file:test --push -f ./File/Dockerfile .
dashboard-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy dashboard-api.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/dashboard:6.0.$CI_PIPELINE_ID-test --tag oneuptime/dashboard:test --push -f ./Dashboard/Dockerfile .
dashboard-api-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy dashboard-api.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/dashboard-api:6.0.$CI_PIPELINE_ID-test --tag oneuptime/dashboard-api:test --push -f ./DashboardAPI/Dockerfile .
api-reference-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy api-reference.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/api-reference:6.0.$CI_PIPELINE_ID-test --tag oneuptime/api-reference:test --push -f ./ApiReference/Dockerfile .
alert-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/alert:6.0.$CI_PIPELINE_ID-test --tag oneuptime/alert:test --push -f ./Alert/Dockerfile .
accounts-test:
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run prerun
- run: sudo docker run --rm --privileged docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
# Build and deploy accounts.
- run: sudo docker login --username $DOCKERHUB_USERNAME --password $DOCKERHUB_PASSWORD
- run: sudo docker buildx create --use
- run: sudo docker buildx build --platform linux/amd64,linux/arm64 --tag oneuptime/accounts:6.0.$CI_PIPELINE_ID-test --tag oneuptime/accounts:test --push -f ./Accounts/Dockerfile .

View File

@@ -8,6 +8,8 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
BASE_URL: http://localhost
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
@@ -15,10 +17,12 @@ jobs:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run Server in Docker
run: npm run dev
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
run: cd Playwright && npm install && npx playwright install && npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:

1300
.github/workflows/release.yml vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -20,4 +20,4 @@ jobs:
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && bash test-setup.sh
- run: cd CommonServer && npm install && npm run test
- run: export $(grep -v '^#' config.env | xargs) && cd CommonServer && npm install && npm run test

4
.gitignore vendored
View File

@@ -69,12 +69,10 @@ secret.env
config.env
config.env.tmp
config.env.temp
docker-compose.yml
logs.txt
*/Cert.crt
*/Key.key
Nginx/default.conf
Certs/StatusPageCerts/*.crt
Certs/StatusPageCerts/*.key
@@ -85,3 +83,5 @@ Certs/ServerCerts/*.key
Backups/*.backup
Backups/*.sql
Backups/*.tar
.env

90
.vscode/launch.json vendored
View File

@@ -41,6 +41,76 @@
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/ApiReference",
"name": "API Reference: Debug with Docker",
"port": 9178,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/LinkShortner",
"name": "Link Shortner: Debug with Docker",
"port": 9826,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/TestServer",
"name": "Test Server: Debug with Docker",
"port": 9141,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Probe",
"name": "Probe: Debug with Docker",
"port": 9655,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/ProbeAPI",
"name": "Probe API: Debug with Docker",
"port": 9932,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Workflow",
@@ -71,9 +141,9 @@
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Mail",
"name": "Mail: Debug with Docker",
"port": 9110,
"localRoot": "${workspaceFolder}/Notification",
"name": "Notification: Debug with Docker",
"port": 9111,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
@@ -265,20 +335,6 @@
"restart": true,
"autoAttachChildProcesses": true
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/probe",
"name": "Probe: Debug with Docker",
"port": 9238,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"restart": true,
"autoAttachChildProcesses": true
},
{
"name": "CommonServer: Debug Tests",
"type": "node",

View File

@@ -1 +0,0 @@
PORT=3003

View File

@@ -1 +0,0 @@
PORT={{ .Env.ACCOUNTS_PORT }}

View File

@@ -73,6 +73,8 @@ EXPOSE 3003
{{ if eq .Env.ENVIRONMENT "development" }}
RUN mkdir /usr/src/app/dev-env
RUN touch /usr/src/app/dev-env/.env
#Run the app
CMD [ "npm", "run", "dev" ]
{{ else }}

View File

@@ -0,0 +1 @@
This is where env will be stored for the dev environment. This is where you will find the .env file when you exec into the container.

View File

@@ -1,4 +1,4 @@
{
"watch": ["webpack.config.js"],
"exec": "export DEBUG=express:* && webpack-dev-server --port=3003 --mode=development"
"exec": "export DEBUG=express:* && printenv > /usr/src/app/dev-env/.env && webpack-dev-server --port=3003 --mode=development"
}

View File

@@ -7,7 +7,6 @@
"": {
"name": "accounts",
"version": "0.1.0",
"hasInstallScript": true,
"dependencies": {
"Common": "file:../Common",
"CommonServer": "file:../CommonServer",
@@ -57,6 +56,7 @@
"@types/uuid": "^8.3.4",
"axios": "^0.26.1",
"crypto-js": "^4.1.1",
"json5": "^2.2.3",
"moment": "^2.29.2",
"moment-timezone": "^0.5.40",
"nanoid": "^3.3.2",
@@ -88,12 +88,14 @@
"@types/ejs": "^3.1.1",
"@types/gridfs-stream": "^0.5.35",
"@types/json2csv": "^5.0.3",
"@types/markdown-it": "^12.2.3",
"@types/nodemailer": "^6.4.7",
"airtable": "^0.11.3",
"axios": "^1.3.3",
"bullmq": "^3.6.6",
"Common": "file:../Common",
"cors": "^2.8.5",
"cron-parser": "^4.8.1",
"dotenv": "^16.0.0",
"ejs": "^3.1.8",
"express": "^4.17.3",
@@ -101,6 +103,7 @@
"handlebars": "^4.7.7",
"json2csv": "^5.0.7",
"jsonwebtoken": "^9.0.0",
"markdown-it": "^13.0.1",
"Model": "file:../Model",
"node-device-detector": "^2.0.0",
"nodemailer": "^6.7.3",
@@ -109,6 +112,7 @@
"redis": "^4.2.0",
"socket.io": "^4.4.1",
"stripe": "^10.17.0",
"twilio": "^4.13.0",
"typeorm": "^0.3.10",
"typeorm-extension": "^2.2.13",
"vm2": "^3.9.14",
@@ -283,9 +287,9 @@
}
},
"node_modules/@babel/core/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -316,9 +320,9 @@
}
},
"node_modules/@babel/eslint-parser/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -390,9 +394,9 @@
}
},
"node_modules/@babel/helper-compilation-targets/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -449,9 +453,9 @@
}
},
"node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -1782,9 +1786,9 @@
}
},
"node_modules/@babel/plugin-transform-runtime/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -1994,9 +1998,9 @@
}
},
"node_modules/@babel/preset-env/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -4836,9 +4840,9 @@
}
},
"node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -7060,9 +7064,9 @@
}
},
"node_modules/eslint-plugin-jsx-a11y/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -7134,9 +7138,9 @@
}
},
"node_modules/eslint-plugin-react/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -9150,9 +9154,9 @@
}
},
"node_modules/istanbul-lib-instrument/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -10430,9 +10434,9 @@
}
},
"node_modules/make-dir/node_modules/semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"bin": {
"semver": "bin/semver.js"
}
@@ -10796,9 +10800,9 @@
}
},
"node_modules/nodemon/node_modules/semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"dev": true,
"bin": {
"semver": "bin/semver"
@@ -12886,9 +12890,9 @@
}
},
"node_modules/react-app-rewired/node_modules/semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"dev": true,
"bin": {
"semver": "bin/semver"
@@ -13647,9 +13651,9 @@
}
},
"node_modules/semver": {
"version": "7.3.8",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
"integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
"version": "7.5.4",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
"integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
"dependencies": {
"lru-cache": "^6.0.0"
},
@@ -14647,9 +14651,9 @@
}
},
"node_modules/tough-cookie": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz",
"integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
"integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==",
"dependencies": {
"psl": "^1.1.33",
"punycode": "^2.1.1",
@@ -15645,9 +15649,9 @@
"dev": true
},
"node_modules/word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
"integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz",
"integrity": "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==",
"engines": {
"node": ">=0.10.0"
}
@@ -16135,9 +16139,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -16157,9 +16161,9 @@
"integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw=="
},
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -16214,9 +16218,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -16257,9 +16261,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -17120,9 +17124,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -17277,9 +17281,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -19339,9 +19343,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -19848,6 +19852,7 @@
"axios": "^0.26.1",
"crypto-js": "^4.1.1",
"jest": "^27.5.1",
"json5": "^2.2.3",
"moment": "^2.29.2",
"moment-timezone": "^0.5.40",
"nanoid": "^3.3.2",
@@ -19891,6 +19896,7 @@
"@types/jest": "^27.4.1",
"@types/json2csv": "^5.0.3",
"@types/jsonwebtoken": "^8.5.9",
"@types/markdown-it": "^12.2.3",
"@types/node": "^17.0.22",
"@types/nodemailer": "^6.4.7",
"airtable": "^0.11.3",
@@ -19898,6 +19904,7 @@
"bullmq": "^3.6.6",
"Common": "file:../Common",
"cors": "^2.8.5",
"cron-parser": "^4.8.1",
"dotenv": "^16.0.0",
"ejs": "^3.1.8",
"express": "^4.17.3",
@@ -19906,6 +19913,7 @@
"jest": "^27.5.1",
"json2csv": "^5.0.7",
"jsonwebtoken": "^9.0.0",
"markdown-it": "^13.0.1",
"Model": "file:../Model",
"node-device-detector": "^2.0.0",
"nodemailer": "^6.7.3",
@@ -19915,6 +19923,7 @@
"socket.io": "^4.4.1",
"stripe": "^10.17.0",
"ts-jest": "^27.1.4",
"twilio": "^4.13.0",
"typeorm": "^0.3.10",
"typeorm-extension": "^2.2.13",
"vm2": "^3.9.14",
@@ -21163,9 +21172,9 @@
}
},
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -21210,9 +21219,9 @@
}
},
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -22615,9 +22624,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -23597,9 +23606,9 @@
},
"dependencies": {
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="
}
}
},
@@ -23879,9 +23888,9 @@
"dev": true
},
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"dev": true
},
"supports-color": {
@@ -25195,9 +25204,9 @@
},
"dependencies": {
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
"dev": true
}
}
@@ -25728,9 +25737,9 @@
}
},
"semver": {
"version": "7.3.8",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
"integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
"version": "7.5.4",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
"integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
"requires": {
"lru-cache": "^6.0.0"
}
@@ -26499,9 +26508,9 @@
}
},
"tough-cookie": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz",
"integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
"integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==",
"requires": {
"psl": "^1.1.33",
"punycode": "^2.1.1",
@@ -27202,9 +27211,9 @@
"dev": true
},
"word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
"integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ=="
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz",
"integrity": "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA=="
},
"workbox-background-sync": {
"version": "6.5.4",

View File

@@ -24,7 +24,7 @@
"compile": "tsc",
"start": "node --require ts-node/register Serve.ts",
"audit": "npm audit --audit-level=low",
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"dep-check": "depcheck ./ --skip-missing=true'"
},
"browserslist": {

View File

@@ -65,7 +65,7 @@ const ForgotPassword: FunctionComponent = () => {
formType={FormType.Create}
maxPrimaryButtonWidth={true}
footer={
<div className="actions pointer text-center mt-4 underline-on-hover fw-semibold">
<div className="actions pointer text-center mt-4 hover:underline fw-semibold">
<p>
<Link
to={new Route('/accounts/login')}

View File

@@ -79,7 +79,7 @@ const LoginPage: FunctionComponent = () => {
}}
maxPrimaryButtonWidth={true}
footer={
<div className="actions pointer text-center mt-4 underline-on-hover fw-semibold">
<div className="actions pointer text-center mt-4 hover:underline fw-semibold">
<p>
{!showSsoTip && (
<div

View File

@@ -9,9 +9,10 @@ import LoginUtil from '../Utils/Login';
import { JSONObject } from 'Common/Types/JSON';
import UserUtil from 'CommonUI/src/Utils/User';
import Navigation from 'CommonUI/src/Utils/Navigation';
import { DASHBOARD_URL } from 'CommonUI/src/Config';
import { BILLING_ENABLED, DASHBOARD_URL } from 'CommonUI/src/Config';
import URL from 'Common/Types/API/URL';
import { SIGNUP_API_URL } from '../Utils/ApiPaths';
import Fields from 'CommonUI/src/Components/Forms/Types/Fields';
const RegisterPage: FunctionComponent = () => {
const apiUrl: URL = SIGNUP_API_URL;
@@ -20,6 +21,80 @@ const RegisterPage: FunctionComponent = () => {
Navigation.navigate(DASHBOARD_URL);
}
let formFields: Fields<User> = [
{
field: {
email: true,
},
fieldType: FormFieldSchemaType.Email,
placeholder: 'jeff@example.com',
required: true,
title: 'Email',
},
{
field: {
name: true,
},
fieldType: FormFieldSchemaType.Text,
placeholder: 'Jeff Smith',
required: true,
title: 'Full Name',
},
];
if (BILLING_ENABLED) {
formFields = formFields.concat([
{
field: {
companyName: true,
},
fieldType: FormFieldSchemaType.Text,
placeholder: 'Acme, Inc.',
required: true,
title: 'Company Name',
},
{
field: {
companyPhoneNumber: true,
},
fieldType: FormFieldSchemaType.Phone,
required: true,
placeholder: '+11234567890',
title: 'Phone Number',
},
]);
}
formFields = formFields.concat([
{
field: {
password: true,
},
fieldType: FormFieldSchemaType.Password,
validation: {
minLength: 6,
},
placeholder: 'Password',
title: 'Password',
required: true,
},
{
field: {
confirmPassword: true,
} as any,
validation: {
minLength: 6,
toMatchField: 'password',
},
fieldType: FormFieldSchemaType.Password,
placeholder: 'Confirm Password',
title: 'Confirm Password',
overideFieldKey: 'confirmPassword',
required: true,
forceShow: true,
},
]);
return (
<div className="flex min-h-full flex-col justify-center py-12 sm:px-6 lg:px-8">
<div className="sm:mx-auto sm:w-full sm:max-w-md">
@@ -56,70 +131,7 @@ const RegisterPage: FunctionComponent = () => {
password: '',
confirmPassword: '',
}}
fields={[
{
field: {
email: true,
},
fieldType: FormFieldSchemaType.Email,
placeholder: 'jeff@example.com',
required: true,
title: 'Email',
},
{
field: {
name: true,
},
fieldType: FormFieldSchemaType.Text,
placeholder: 'Jeff Smith',
required: true,
title: 'Full Name',
},
{
field: {
companyName: true,
},
fieldType: FormFieldSchemaType.Text,
placeholder: 'Acme, Inc.',
required: true,
title: 'Company Name',
},
{
field: {
companyPhoneNumber: true,
},
fieldType: FormFieldSchemaType.Phone,
required: true,
placeholder: '+11234567890',
title: 'Phone Number',
},
{
field: {
password: true,
},
fieldType: FormFieldSchemaType.Password,
validation: {
minLength: 6,
},
placeholder: 'Password',
title: 'Password',
required: true,
},
{
field: {
password: true,
},
validation: {
minLength: 6,
toMatchField: 'password',
},
fieldType: FormFieldSchemaType.Password,
placeholder: 'Confirm Password',
title: 'Confirm Password',
overideFieldKey: 'confirmPassword',
required: true,
},
]}
fields={formFields}
apiUrl={apiUrl}
formType={FormType.Create}
submitButtonText={'Sign Up'}

View File

@@ -34,9 +34,10 @@ const VerifyEmail: FunctionComponent = () => {
emailverificationToken,
EmailVerificationToken,
FormType.Create,
apiUrl,
{},
{}
{
overrideRequestUrl: apiUrl,
}
);
} catch (err) {
setError(API.getFriendlyMessage(err));
@@ -67,7 +68,7 @@ const VerifyEmail: FunctionComponent = () => {
<div className="d-flex flex-column h-100">
<div className="auth-content my-auto">
<div
className="mt-4 text-center"
className="mt-4 text-center flex justify-center"
style={{ marginBottom: '40px' }}
>
<img
@@ -108,7 +109,7 @@ const VerifyEmail: FunctionComponent = () => {
'/accounts/login'
)
}
className="underline-on-hover text-primary fw-semibold"
className="hover:underline text-primary fw-semibold"
>
Login.
</Link>

View File

@@ -38,9 +38,7 @@ module.exports = {
new webpack.DefinePlugin({
'process': {
'env': {
...readEnvFile('../Common/.env'),
...readEnvFile('../CommonUI/.env'),
...readEnvFile('./.env')
...readEnvFile('/usr/src/app/dev-env/.env')
}
}
}),

View File

@@ -1 +0,0 @@
PORT={{ .Env.ALERT_PORT }}

7749
Alert/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
PORT={{ .Env.API_DOCS_PORT }}

View File

@@ -20,7 +20,7 @@ import DataTypeServiceHandler from './Service/DataType';
import Dictionary from 'Common/Types/Dictionary';
const ResourceDictionary: Dictionary<ModelDocumentation> =
ResourceUtil.getReosurceDictionaryByPath();
ResourceUtil.getResourceDictionaryByPath();
const APP_NAME: string = 'reference';

View File

@@ -15,7 +15,7 @@ import PageNotFoundServiceHandler from './PageNotFound';
const Resources: Array<ModelDocumentation> = ResourceUtil.getResources();
const ResourceDictionary: Dictionary<ModelDocumentation> =
ResourceUtil.getReosurceDictionaryByPath();
ResourceUtil.getResourceDictionaryByPath();
const PermissionDictionary: Dictionary<PermissionProps> =
PermissionHelper.getAllPermissionPropsAsDictionary();

View File

@@ -52,7 +52,7 @@ export default class ResourceUtil {
);
}
public static getReosurceDictionaryByPath(): Dictionary<ModelDocumentation> {
public static getResourceDictionaryByPath(): Dictionary<ModelDocumentation> {
const dict: Dictionary<ModelDocumentation> = {};
const resources: Array<ModelDocumentation> =

View File

@@ -2,7 +2,7 @@
"name": "oneuptime-homepage",
"version": "3.0.0",
"scripts": {
"preinstall": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"start": "node --require ts-node/register Index.ts",
"compile": "tsc",
"dev": "npx nodemon",

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose">
<div>
<div>

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose">
<h1>Authentication</h1>
<p class="lead">You'll need to authenticate your requests to access any of the endpoints in the OneUptime API. In
this guide, we'll look at how authentication works. OneUptime offers one way to authenticate your API requests
@@ -11,7 +11,7 @@
</h2>
<p> Please head over to <b>Project Settings</b> > <b>API Keys</b>. Create a new API Key. Please note: New API Keys
have no permissions assigned to them, so you will have to assign a permission before you can use it.</p>
<a class="mt-5 inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-500"
<a class="mt-5 inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/permissions">
Read more about permissions
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true" class="mt-0.5 h-5 w-5 relative top-px -mr-1">

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<h1>Data Types</h1>
<p class="lead">In this guide, we will look at how to work with OneUptime Data Types when querying the OneUptime
API. </p>
@@ -16,13 +16,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Select</dt>
<dd><code class="inline-code">select</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Select</dd>
<dd class="font-mono text-xs text-zinc-400 ">Select</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Dictionary of fieldName - boolean as JSON Object. Here's an example. If the
@@ -59,13 +59,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Sort</dt>
<dd><code class="inline-code">sort</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Sort</dd>
<dd class="font-mono text-xs text-zinc-400 ">Sort</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Dictionary of fieldName - 'DESC' / 'ASC' as JSON Object. Here's an example. If
@@ -106,13 +106,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of Equal To Query</p>
@@ -144,13 +144,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of Not Equal To Query</p>
@@ -182,13 +182,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of is null query</p>
@@ -220,13 +220,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of is not null query</p>
@@ -257,13 +257,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of greater than query</p>
@@ -295,13 +295,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of greater or equal than query</p>
@@ -333,13 +333,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of less than query</p>
@@ -371,13 +371,13 @@
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Query</dd>
<dd class="font-mono text-xs text-zinc-400 ">Query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Here is an example of less or equal than query</p>

View File

@@ -1,10 +1,10 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<h1 class="font-bold text-xl mb-5">Errors</h1>
<p class="lead">In this guide, we will talk about what happens when something goes wrong while you work with the API. Mistakes happen, and mostly they will be yours, not ours. Let's look at some status codes and error types you might encounter.</p>
<p>You can tell if your request was successful by checking the status code when receiving an API response. If a response comes back unsuccessful, you can use the status code and error message to figure out what has gone wrong and do some rudimentary debugging (before contacting support).</p>
<div class="my-6 flex gap-2.5 rounded-2xl border border-emerald-500/20 bg-emerald-50/50 p-4 leading-6 text-emerald-900 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links:theme(colors.white)] dark:[--tw-prose-links-hover:theme(colors.emerald.300)]">
<svg viewBox="0 0 16 16" aria-hidden="true" class="mt-1 h-4 w-4 flex-none fill-emerald-500 stroke-white dark:fill-emerald-200/20 dark:stroke-emerald-200">
<div class="my-6 flex gap-2.5 rounded-2xl border border-emerald-500/20 bg-emerald-50/50 p-4 leading-6 text-emerald-900 ">
<svg viewBox="0 0 16 16" aria-hidden="true" class="mt-1 h-4 w-4 flex-none fill-emerald-500 stroke-white ">
<circle cx="8" cy="8" r="8" stroke-width="0"></circle>
<path fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6.75 7.75h1.5v3.5"></path>
<circle cx="8" cy="4" r=".5" fill="none"></circle>
@@ -22,13 +22,13 @@
</h2>
<p>Here is a list of the different categories of status codes returned by the OneUptime API. Use these to understand if a request was successful.</p>
<div class="my-6">
<ul role="list" class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
<ul role="list" class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">2xx</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"></dd>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>A 2xx status code indicates a successful response.</p>
@@ -40,7 +40,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">4xx</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"></dd>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>A 4xx status code indicates a client error — this means it's a <em>you</em>
@@ -54,7 +54,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">429</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"></dd>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p> Request limit exceeded. Request limits are 100 operations per second per project (this includes all the API keys in the project).
@@ -67,7 +67,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">5xx</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"></dd>
<dd class="font-mono text-xs text-zinc-400 "></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>A 5xx status code indicates a server error — you won't be seeing a lot of these.</p>

View File

@@ -1,12 +1,12 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<div class="absolute inset-0 -z-10 mx-0 max-w-none overflow-hidden">
<div
class="absolute left-1/2 top-0 ml-[-38rem] h-[25rem] w-[81.25rem] dark:[mask-image:linear-gradient(white,transparent)]">
class="absolute left-1/2 top-0 ml-[-38rem] h-[25rem] w-[81.25rem]">
<div
class="absolute inset-0 bg-gradient-to-r from-[#36b49f] to-[#DBFF75] opacity-40 [mask-image:radial-gradient(farthest-side_at_top,white,transparent)] dark:from-[#36b49f]/30 dark:to-[#DBFF75]/30 dark:opacity-100">
class="absolute inset-0 bg-gradient-to-r from-[#36b49f] to-[#DBFF75] opacity-40 [mask-image:radial-gradient(farthest-side_at_top,white,transparent)]">
<svg aria-hidden="true"
class="absolute inset-x-0 inset-y-[-50%] h-[200%] w-full skew-y-[-18deg] fill-black/40 stroke-black/50 mix-blend-overlay dark:fill-white/2.5 dark:stroke-white/5">
class="absolute inset-x-0 inset-y-[-50%] h-[200%] w-full skew-y-[-18deg] fill-black/40 stroke-black/50 mix-blend-overlay /5">
<defs>
<pattern id=":r6s:" width="72" height="56" patternUnits="userSpaceOnUse" x="-12"
y="4">
@@ -23,14 +23,14 @@
</svg>
</div>
<svg viewBox="0 0 1113 440" aria-hidden="true"
class="absolute top-0 left-1/2 ml-[-19rem] w-[69.5625rem] fill-white blur-[26px] dark:hidden">
class="absolute top-0 left-1/2 ml-[-19rem] w-[69.5625rem] fill-white blur-[26px] ">
<path d="M.016 439.5s-9.5-300 434-300S882.516 20 882.516 20V0h230.004v439.5H.016Z">
</path>
</svg>
</div>
</div>
<h1 class="font-bold text-xl">API Documentation</h1>
<p class="lead">Use the OneUptime API to access any reosurce in your projects, create automated
<p class="lead">Use the OneUptime API to access any resource in your projects, create automated
workflows, and more
and
seamlessly integrate your project into the other tools and services you use in your
@@ -43,9 +43,9 @@
<div
class="absolute mt-1 ml-[calc(-1*var(--width))] hidden w-[var(--width)] opacity-0 transition [--width:calc(2.625rem+0.5px+50%-min(50%,calc(theme(maxWidth.lg)+theme(spacing.8))))] group-hover:opacity-100 group-focus:opacity-100 md:block lg:z-50 2xl:[--width:theme(spacing.10)]">
<div
class="group/anchor block h-5 w-5 rounded-lg bg-zinc-50 ring-1 ring-inset ring-zinc-300 transition hover:ring-zinc-500 dark:bg-zinc-800 dark:ring-zinc-700 dark:hover:bg-zinc-700 dark:hover:ring-zinc-600">
class="group/anchor block h-5 w-5 rounded-lg bg-zinc-50 ring-1 ring-inset ring-zinc-300 transition hover:ring-zinc-500 ">
<svg viewBox="0 0 20 20" fill="none" stroke-linecap="round" aria-hidden="true"
class="h-5 w-5 stroke-zinc-500 transition dark:stroke-zinc-400 dark:group-hover/anchor:stroke-white">
class="h-5 w-5 stroke-zinc-500 transition ">
<path
d="m6.5 11.5-.964-.964a3.535 3.535 0 1 1 5-5l.964.964m2 2 .964.964a3.536 3.536 0 0 1-5 5L8.5 13.5m0-5 3 3">
</path>
@@ -56,14 +56,14 @@
</span>
</h2>
<div
class="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 dark:border-white/5 sm:grid-cols-2 xl:grid-cols-4">
class="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 sm:grid-cols-2 xl:grid-cols-4">
<div>
<h3 class="text-sm font-semibold text-zinc-900 dark:text-white">Authentication</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Learn how to authenticate your
<h3 class="text-sm font-semibold text-zinc-900 ">Authentication</h3>
<p class="mt-1 text-sm text-zinc-600 ">Learn how to authenticate your
API
requests.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-500"
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/authentication">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
@@ -75,11 +75,11 @@
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-zinc-900 dark:text-white">Pagination</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Understand how to work with
<h3 class="text-sm font-semibold text-zinc-900 ">Pagination</h3>
<p class="mt-1 text-sm text-zinc-600 ">Understand how to work with
paginated responses.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-500"
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/pagination">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
@@ -91,12 +91,12 @@
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-zinc-900 dark:text-white">Errors</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Read about the different types
<h3 class="text-sm font-semibold text-zinc-900 ">Errors</h3>
<p class="mt-1 text-sm text-zinc-600 ">Read about the different types
of
errors returned by the API.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-500"
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/errors">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
@@ -108,11 +108,11 @@
</p>
</div>
<div>
<h3 class="text-sm font-semibold text-zinc-900 dark:text-white">Permissions</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400">Learn how API Key Permissions
<h3 class="text-sm font-semibold text-zinc-900 ">Permissions</h3>
<p class="mt-1 text-sm text-zinc-600 ">Learn how API Key Permissions
work.</p>
<p class="mt-4">
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-500"
<a class="inline-flex gap-0.5 justify-center overflow-hidden font-medium transition text-emerald-500 hover:text-emerald-600 "
href="/reference/permissions">
Read more
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
@@ -130,16 +130,16 @@
class="group text-inherit no-underline hover:text-inherit">Featured Resources</span>
</h2>
<div
class="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 dark:border-white/5 sm:grid-cols-2 xl:grid-cols-4">
class="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 sm:grid-cols-2 xl:grid-cols-4">
<% for(var i=0; i<pageData.featuredResources.length; i++) {%>
<div
class="cursor-pointer group relative flex rounded-2xl bg-zinc-50 transition-shadow hover:shadow-md hover:shadow-zinc-900/5 dark:bg-white/2.5 dark:hover:shadow-black/5">
class="cursor-pointer group relative flex rounded-2xl bg-zinc-50 transition-shadow hover:shadow-md hover:shadow-zinc-900/5 ">
<div class="pointer-events-none">
<div
class="absolute inset-0 rounded-2xl transition duration-300 [mask-image:linear-gradient(white,transparent)] group-hover:opacity-50">
<svg aria-hidden="true"
class="absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-black/[0.02] stroke-black/5 dark:fill-white/1 dark:stroke-white/2.5">
class="absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-black/[0.02] stroke-black/5 /2.5">
<defs>
<pattern id=":r6t:" width="72" height="56" patternUnits="userSpaceOnUse"
x="50%" y="16">
@@ -154,7 +154,7 @@
</svg>
</div>
<div
class="absolute inset-0 rounded-2xl bg-gradient-to-r from-[#D7EDEA] to-[#F4FBDF] opacity-0 transition duration-300 group-hover:opacity-100 dark:from-[#202D2E] dark:to-[#303428]"
class="absolute inset-0 rounded-2xl bg-gradient-to-r from-[#D7EDEA] to-[#F4FBDF] opacity-0 transition duration-300 group-hover:opacity-100"
data-projection-id="35"
style="-webkit-mask-image: radial-gradient(180px at 0px 0px, white, transparent);">
</div>
@@ -163,7 +163,7 @@
data-projection-id="36"
style="-webkit-mask-image: radial-gradient(180px at 0px 0px, white, transparent);">
<svg aria-hidden="true"
class="absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-black/50 stroke-black/70 dark:fill-white/2.5 dark:stroke-white/10">
class="absolute inset-x-0 inset-y-[-30%] h-[160%] w-full skew-y-[-18deg] fill-black/50 stroke-black/70 /10">
<defs>
<pattern id=":r6u:" width="72" height="56" patternUnits="userSpaceOnUse"
x="50%" y="16">
@@ -179,15 +179,15 @@
</div>
</div>
<div
class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-zinc-900/7.5 group-hover:ring-zinc-900/10 dark:ring-white/10 dark:group-hover:ring-white/20">
class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-zinc-900/7.5 group-hover:ring-zinc-900/10 ">
</div>
<div class="relative rounded-2xl px-4 pt-16 pb-4">
<h3 class="mt-4 text-sm font-semibold leading-7 text-zinc-900 dark:text-white"><a
<h3 class="mt-4 text-sm font-semibold leading-7 text-zinc-900 "><a
href="/reference/<%= pageData.featuredResources[i].path -%>"><span
class="absolute inset-0 rounded-2xl"></span> <%= pageData.featuredResources[i].name -%></a>
</h3>
<p class="mt-1 text-sm text-zinc-600 dark:text-zinc-400"><%= pageData.featuredResources[i].description -%></p>
<p class="mt-1 text-sm text-zinc-600 "><%= pageData.featuredResources[i].description -%></p>
</div>
</div>
<% } %>

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<h1>
<%= pageData.title -%>
</h1>
@@ -26,7 +26,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"> <%= pageData.tablePermissions.read[i].permission -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"><%= pageData.tablePermissions.read[i].title -%></dd>
<dd class="font-mono text-xs text-zinc-400 "><%= pageData.tablePermissions.read[i].title -%></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full text-sm flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p><%= pageData.tablePermissions.read[i].description -%></p>
@@ -57,7 +57,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"> <%= pageData.tablePermissions.create[i].permission -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"><%= pageData.tablePermissions.create[i].title -%></dd>
<dd class="font-mono text-xs text-zinc-400 "><%= pageData.tablePermissions.create[i].title -%></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full text-sm flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p><%= pageData.tablePermissions.create[i].description -%></p>
@@ -90,7 +90,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"> <%= pageData.tablePermissions.update[i].permission -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"><%= pageData.tablePermissions.update[i].title -%></dd>
<dd class="font-mono text-xs text-zinc-400 "><%= pageData.tablePermissions.update[i].title -%></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none text-sm [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p><%= pageData.tablePermissions.update[i].description -%></p>
@@ -122,7 +122,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"> <%= pageData.tablePermissions.delete[i].permission -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"><%= pageData.tablePermissions.delete[i].title -%></dd>
<dd class="font-mono text-xs text-zinc-400 "><%= pageData.tablePermissions.delete[i].title -%></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full text-sm flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p><%= pageData.tablePermissions.delete[i].description -%></p>
@@ -146,14 +146,14 @@
<h3>Properties</h3>
<div class="my-6">
<ul role="list"
class="m-0 w-full list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 w-full list-none divide-y divide-zinc-900/5 p-0 ">
<% for(var i=0; i<Object.keys(pageData.columns).length; i++) {%>
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0 mt-5">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"><%= Object.keys(pageData.columns)[i] -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">
<dd class="font-mono text-xs text-zinc-400 ">
<%= pageData.columns[Object.keys(pageData.columns)[i]].type -%>
@@ -242,10 +242,10 @@
<div class="mt-10">
<hr>
<div class="flex items-center gap-x-3 mt-10"><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-emerald-300 dark:ring-emerald-400/30 bg-emerald-400/10 text-emerald-500 dark:text-emerald-400">GET</span> <span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-emerald-300 bg-emerald-400/10 text-emerald-500 ">GET</span> <span
class="font-mono text-xs text-zinc-400">or</span> <span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 dark:ring-sky-400/30 bg-sky-400/10 text-sky-500 dark:text-sky-400">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600"></span><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 bg-sky-400/10 text-sky-500 ">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 "></span><span
class="font-mono text-xs text-zinc-400"><%= pageData.apiPath -%>/get-list</span></div>
<div class="-mt-20">
<h2 id="list-all-contacts" class="mt-2 scroll-mt-32"><span class="group text-inherit no-underline hover:text-inherit">List</span></h2>
@@ -257,14 +257,14 @@
<h3>Optional Query Params</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Limit</dt>
<dd><code class="inline-code">limit</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">number</dd>
<dd class="font-mono text-xs text-zinc-400 ">number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of objects to fetch. By default 10, you can increase this count up to 100</p>
@@ -276,7 +276,7 @@
<dt class="sr-only">Skip</dt>
<dd><code class="inline-code">skip</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">number</dd>
<dd class="font-mono text-xs text-zinc-400 ">number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of objects to skip. This can be useful in pagination</p>
@@ -288,13 +288,13 @@
<h3>Optional Request Body</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">query</dd>
<dd class="font-mono text-xs text-zinc-400 ">query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>If you would like to filter on <%= pageData.title -%>. You can specify include a query here. For more information, <a class="link" target="_blank" href="/reference/data-types#queries">please check out writing queries here.</a></p>
@@ -307,7 +307,7 @@
<dt class="sr-only">Select</dt>
<dd><code class="inline-code">select</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">select</dd>
<dd class="font-mono text-xs text-zinc-400 ">select</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p> By default you will only retrieve ID of objects, to retrieve more fields you need to select them. For more information, <a class="link" target="_blank" href="/reference/data-types#select">please check how to select here.</a></p>
@@ -319,7 +319,7 @@
<dt class="sr-only">Sort</dt>
<dd><code class="inline-code">sort</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">sort</dd>
<dd class="font-mono text-xs text-zinc-400 ">sort</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p> Objects will be sorted based on created date by default. You can change the sort order by passing <a class="link" target="_blank" href="/reference/data-types#select">please check how to select here.</a></p>
@@ -341,10 +341,10 @@
<div class="mt-10">
<hr>
<div class="flex items-center gap-x-3 mt-10"><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-emerald-300 dark:ring-emerald-400/30 bg-emerald-400/10 text-emerald-500 dark:text-emerald-400">GET</span> <span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-emerald-300 bg-emerald-400/10 text-emerald-500 ">GET</span> <span
class="font-mono text-xs text-zinc-400">or</span> <span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 dark:ring-sky-400/30 bg-sky-400/10 text-sky-500 dark:text-sky-400">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600"></span><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 bg-sky-400/10 text-sky-500 ">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 "></span><span
class="font-mono text-xs text-zinc-400"><%= pageData.apiPath -%>/:id/get-item</span></div>
<div class="-mt-20">
<h2 id="list-all-contacts" class="mt-2 scroll-mt-32"><span class="group text-inherit no-underline hover:text-inherit"
@@ -356,14 +356,14 @@
<h3>Required Query Params</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">ID</dt>
<dd><code class="inline-code">id</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">text</dd>
<dd class="font-mono text-xs text-zinc-400 ">text</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>ID of the Object</p>
@@ -375,14 +375,14 @@
<h3>Optional Request Body</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Select</dt>
<dd><code class="inline-code">select</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">select</dd>
<dd class="font-mono text-xs text-zinc-400 ">select</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p> By default you will only retrieve ID of objects, to retrieve more fields you need to select them. For more information, <a class="link" target="_blank" href="/reference/data-types#select">please check how to select here.</a></p>
@@ -408,8 +408,8 @@
<div class="mt-10">
<hr>
<div class="flex items-center gap-x-3 mt-10"><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 dark:ring-sky-400/30 bg-sky-400/10 text-sky-500 dark:text-sky-400">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600"></span><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 bg-sky-400/10 text-sky-500 ">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 "></span><span
class="font-mono text-xs text-zinc-400"><%= pageData.apiPath -%>/count</span></div>
<div class="-mt-20">
<h2 id="list-all-contacts" class="mt-2 scroll-mt-32"><span class="group text-inherit no-underline hover:text-inherit"
@@ -423,13 +423,13 @@
<h3>Optional Request Body</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Query</dt>
<dd><code class="inline-code">query</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">query</dd>
<dd class="font-mono text-xs text-zinc-400 ">query</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>If you would like to filter on <%= pageData.title -%>. You can specify include a query here. For more information, <a class="link" target="_blank" href="/reference/data-types#queries">please check out writing queries here.</a></p>
@@ -454,8 +454,8 @@
<div class="mt-10">
<hr>
<div class="flex items-center gap-x-3 mt-10"><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 dark:ring-sky-400/30 bg-sky-400/10 text-sky-500 dark:text-sky-400">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600"></span><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-sky-300 bg-sky-400/10 text-sky-500 ">POST</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 "></span><span
class="font-mono text-xs text-zinc-400"><%= pageData.apiPath -%></span></div>
<div class="-mt-20">
<h2 id="list-all-contacts" class="mt-2 scroll-mt-32"><span class="group text-inherit no-underline hover:text-inherit"
@@ -469,13 +469,13 @@
<h3>Request Body</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Data</dt>
<dd><code class="inline-code">data</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">JSON</dd>
<dd class="font-mono text-xs text-zinc-400 ">JSON</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Object to update as JSON</p>
@@ -501,8 +501,8 @@
<div class="mt-10">
<hr>
<div class="flex items-center gap-x-3 mt-10"><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-amber-300 dark:ring-amber-400/30 bg-amber-400/10 text-amber-500 dark:text-amber-400">PUT</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600"></span><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-amber-300 bg-amber-400/10 text-amber-500 ">PUT</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 "></span><span
class="font-mono text-xs text-zinc-400"><%= pageData.apiPath -%>/:id</span></div>
<div class="-mt-20">
<h2 id="list-all-contacts" class="mt-2 scroll-mt-32"><span class="group text-inherit no-underline hover:text-inherit"
@@ -516,13 +516,13 @@
<h3>Request Body</h3>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Data</dt>
<dd><code class="inline-code">data</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">JSON</dd>
<dd class="font-mono text-xs text-zinc-400 ">JSON</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Object to update as JSON</p>
@@ -547,8 +547,8 @@
<div class="mt-10">
<hr>
<div class="flex items-center gap-x-3 mt-10"><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-red-300 dark:ring-red-400/30 bg-red-400/10 text-red-500 dark:text-red-400">DELETE</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600"></span><span
class="font-mono text-[0.625rem] font-semibold leading-6 rounded-lg px-1.5 ring-1 ring-inset ring-red-300 bg-red-400/10 text-red-500 ">DELETE</span><span
class="h-0.5 w-0.5 rounded-full bg-zinc-300 "></span><span
class="font-mono text-xs text-zinc-400"><%= pageData.apiPath -%>/:id</span></div>
<div class="-mt-20">
<h2 id="list-all-contacts" class="mt-2 scroll-mt-32"><span class="group text-inherit no-underline hover:text-inherit"

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<h1>Pagination</h1>
<p class="lead">In this guide, we will look at how to work with paginated responses when querying the OneUptime
API. By default, all responses limit results to ten. </p>
@@ -21,13 +21,13 @@
</h2>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">limit</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Number</dd>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items you need to fetch. More items will lead to slower responses. Max limit is
@@ -40,7 +40,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">skip</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Number</dd>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items to skip. This can be useful when you are paginating items.</p>
@@ -54,13 +54,13 @@
</h2>
<div class="my-6">
<ul role="list"
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 dark:divide-white/5">
class="m-0 max-w-[calc(theme(maxWidth.lg)-theme(spacing.8))] list-none divide-y divide-zinc-900/5 p-0 ">
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0">
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2">
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">data</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">JSON Array</dd>
<dd class="font-mono text-xs text-zinc-400 ">JSON Array</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>List of items fetched.</p>
@@ -72,7 +72,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">count</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Number</dd>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Total number of items in the database</p>
@@ -84,7 +84,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">limit</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Number</dd>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items you need to fetch. More items will lead to slower responses. Max limit is
@@ -97,7 +97,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code">skip</code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500">Number</dd>
<dd class="font-mono text-xs text-zinc-400 ">Number</dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Number of items to skip. This can be useful when you are paginating items.</p>

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<h1>Permissions</h1>
<p class="lead"> Your API Token needs permissions to create, update, read or delete any resource. If you do not have permissions to make a request a <code class="inline-code">4xx</code> status will be sent as response. You can manage permissions for your API Key in Project Settings > API Keys. </p>
@@ -18,7 +18,7 @@
<dt class="sr-only">Name</dt>
<dd><code class="inline-code"> <%= pageData.permissions[i].permission -%></code></dd>
<dt class="sr-only">Type</dt>
<dd class="font-mono text-xs text-zinc-400 dark:text-zinc-500"><%= pageData.permissions[i].title -%></dd>
<dd class="font-mono text-xs text-zinc-400 "><%= pageData.permissions[i].title -%></dd>
<dt class="sr-only">Description</dt>
<dd class="w-full flex-none [&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p><%= pageData.permissions[i].description -%></p>

View File

@@ -1,5 +1,5 @@
<main class="py-16">
<article class="prose dark:prose-invert">
<article class="prose ">
<div>
<div>

View File

@@ -1,7 +1,7 @@
<html lang="en" class="js-focus-visible ctshmsrlsm idc0_345">
<%- include('../partials/head') -%>
<body onload="applyStyles()" class="bg-white antialiased dark:bg-zinc-900" data-new-gr-c-s-check-loaded="14.1095.0"
<body onload="applyStyles()" class="bg-white antialiased " data-new-gr-c-s-check-loaded="14.1095.0"
data-gr-ext-installed="">
<div id="__next">
<div class="lg:ml-72 xl:ml-80">

View File

@@ -1,24 +1,24 @@
<div class="not-prose my-6 overflow-hidden rounded-2xl bg-zinc-900 shadow-md dark:ring-1 dark:ring-white/10">
<div class="flex min-h-[calc(theme(spacing.12)+1px)] flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 dark:border-zinc-800 dark:bg-transparent">
<div class="not-prose my-6 overflow-hidden rounded-2xl bg-zinc-900 shadow-md ">
<div class="flex min-h-[calc(theme(spacing.12)+1px)] flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 ">
<h4 class="mr-auto text-xs font-semibold text-white mt-5"><%= title -%></h4>
</div>
<div class="group dark:bg-white/2.5">
<div class="group ">
<% if(requestType && requestUrl){ %>
<div class="flex h-9 items-center gap-2 border-b-white/7.5 bg-zinc-900 bg-white/2.5 px-4 dark:border-b-white/5 dark:bg-white/1 mb-2">
<div class="flex h-9 items-center gap-2 border-b-white/7.5 bg-zinc-900 bg-white/2.5 px-4 ">
<% if( requestType === "GET"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-emerald-500 dark:text-emerald-400">GET</span></div>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-emerald-500 ">GET</span></div>
<% } %>
<% if( requestType === "POST"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-sky-500 dark:text-sky-400">POST</span></div>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-sky-500 ">POST</span></div>
<% } %>
<% if( requestType === "DELETE"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-red-500 dark:text-red-400">DELETE</span></div>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-red-500 ">DELETE</span></div>
<% } %>
<% if( requestType === "PUT"){ %>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-amber-500 dark:text-amber-400">PUT</span></div>
<div class="dark flex"><span class="font-mono text-sm font-semibold leading-6 text-amber-500 ">PUT</span></div>
<% } %>
<span class="h-0.5 w-0.5 rounded-full bg-zinc-500"></span><span class="font-mono text-sm text-zinc-300"><%= requestUrl -%></span>
</div>

View File

@@ -2,15 +2,15 @@
<div
class="flex flex-col items-center justify-between gap-5 border-t border-zinc-900/5 pt-8 dark:border-white/5 sm:flex-row">
<p class="text-xs text-zinc-600 dark:text-zinc-400">
class="flex flex-col items-center justify-between gap-5 border-t border-zinc-900/5 pt-8 sm:flex-row">
<p class="text-xs text-zinc-600 ">
OneUptime documentation is under MIT license. Please feel free to contribute and improve it on GitHub.
</p>
<div class="flex gap-4">
<a class="group" href="https://twitter.com/OneUptimeHQ" target="_blank">
<span class="sr-only">Follow us on Twitter</span>
<svg viewBox="0 0 20 20" aria-hidden="true"
class="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500">
class="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 :fill-zinc-500">
<path
d="M16.712 6.652c.01.146.01.29.01.436 0 4.449-3.267 9.579-9.242 9.579v-.003a8.963 8.963 0 0 1-4.98-1.509 6.379 6.379 0 0 0 4.807-1.396c-1.39-.027-2.608-.966-3.035-2.337.487.097.99.077 1.467-.059-1.514-.316-2.606-1.696-2.606-3.3v-.041c.45.26.956.404 1.475.42C3.18 7.454 2.74 5.486 3.602 3.947c1.65 2.104 4.083 3.382 6.695 3.517a3.446 3.446 0 0 1 .94-3.217 3.172 3.172 0 0 1 4.596.148 6.38 6.38 0 0 0 2.063-.817 3.357 3.357 0 0 1-1.428 1.861 6.283 6.283 0 0 0 1.865-.53 6.735 6.735 0 0 1-1.62 1.744Z">
</path>
@@ -19,7 +19,7 @@
<a class="group" href="https://github.com/oneuptime/oneuptime" target="_blank">
<span class="sr-only">Follow us on GitHub</span>
<svg viewBox="0 0 20 20" aria-hidden="true"
class="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500">
class="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 :fill-zinc-500">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z">
</path>

View File

@@ -1,6 +1,6 @@
<header class="contents lg:pointer-events-none lg:fixed lg:inset-0 lg:z-40 lg:flex">
<div
class="contents lg:pointer-events-auto lg:block lg:w-72 lg:overflow-y-auto lg:border-r lg:border-zinc-900/10 lg:px-6 lg:pt-4 lg:pb-8 lg:dark:border-white/10 xl:w-80">
class="contents lg:pointer-events-auto lg:block lg:w-72 lg:overflow-y-auto lg:border-r lg:border-zinc-900/10 lg:px-6 lg:pt-4 lg:pb-8 xl:w-80">
<div class="hidden lg:flex">
<a aria-label="Home" href="/">
<svg class="h-6 -ml-48" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
@@ -101,26 +101,26 @@
</svg>
</a>
</div>
<div class="fixed inset-x-0 top-0 z-50 flex h-14 border-b-2 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80 backdrop-blur-sm dark:backdrop-blur lg:left-72 xl:left-80 bg-white/[var(--bg-opacity-light)] dark:bg-zinc-900/[var(--bg-opacity-dark)]"
style="--bg-opacity-light:0.5; --bg-opacity-dark:0.2;">
<div class="absolute inset-x-0 top-full h-px transition bg-zinc-900/7.5 dark:bg-white/7.5"></div>
<div class="fixed inset-x-0 top-0 z-50 flex h-14 border-b-2 items-center justify-between gap-12 px-4 transition sm:px-6 lg:left-72 lg:z-30 lg:px-8 xl:left-80 backdrop-blur-sm lg:left-72 xl:left-80 bg-white/[var(--bg-opacity-light)] /[var(--bg-opacity-dark)]"
style="--bg-opacity-light:0.5; ">
<div class="absolute inset-x-0 top-full h-px transition bg-zinc-900/7.5 "></div>
<div class="hidden lg:block lg:max-w-md lg:flex-auto">
<!-- <button type="button"
class="hidden h-8 w-full items-center gap-2 rounded-full bg-white pl-2 pr-3 text-sm text-zinc-500 ring-1 ring-zinc-900/10 transition hover:ring-zinc-900/20 dark:bg-white/5 dark:text-zinc-400 dark:ring-inset dark:ring-white/10 dark:hover:ring-white/20 lg:flex focus:[&amp;:not(:focus-visible)]:outline-none">
class="hidden h-8 w-full items-center gap-2 rounded-full bg-white pl-2 pr-3 text-sm text-zinc-500 ring-1 ring-zinc-900/10 transition hover:ring-zinc-900/20 lg:flex focus:[&amp;:not(:focus-visible)]:outline-none">
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true" class="h-5 w-5 stroke-current">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12.01 12a4.25 4.25 0 1 0-6.02-6 4.25 4.25 0 0 0 6.02 6Zm0 0 3.24 3.25"></path>
</svg>
Find something...<kbd class="ml-auto text-2xs text-zinc-400 dark:text-zinc-500"><kbd
Find something...<kbd class="ml-auto text-2xs text-zinc-400 "><kbd
class="font-sans">⌘</kbd><kbd class="font-sans">K</kbd></kbd>
</button> -->
</div>
<div class="flex items-center gap-5 lg:hidden">
<button type="button"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 dark:hover:bg-white/5"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 "
aria-label="Toggle navigation">
<svg viewBox="0 0 10 9" fill="none" stroke-linecap="round" aria-hidden="true"
class="w-2.5 stroke-zinc-900 dark:stroke-white">
class="w-2.5 stroke-zinc-900 ">
<path d="M.5 1h9M.5 8h9M.5 4.5h9"></path>
</svg>
</button>
@@ -129,7 +129,7 @@
<path class="fill-emerald-400"
d="M16 8a5 5 0 0 0-5-5H5a5 5 0 0 0-5 5v13.927a1 1 0 0 0 1.623.782l3.684-2.93a4 4 0 0 1 2.49-.87H11a5 5 0 0 0 5-5V8Z">
</path>
<path class="fill-zinc-900 dark:fill-white"
<path class="fill-zinc-900 "
d="M26.538 18h2.654v-3.999h2.576c2.672 0 4.456-1.723 4.456-4.333V9.65c0-2.61-1.784-4.333-4.456-4.333h-5.23V18Zm4.58-10.582c1.52 0 2.416.8 2.416 2.241v.018c0 1.441-.896 2.25-2.417 2.25h-1.925V7.418h1.925ZM38.051 18h2.566v-5.414c0-1.371.923-2.206 2.382-2.206.396 0 .791.061 1.178.15V8.287a3.843 3.843 0 0 0-.958-.123c-1.257 0-2.136.615-2.443 1.661h-.159V8.323h-2.566V18Zm11.55.202c2.979 0 4.772-1.88 4.772-5.036v-.018c0-3.128-1.82-5.036-4.773-5.036-2.953 0-4.772 1.916-4.772 5.036v.018c0 3.146 1.793 5.036 4.772 5.036Zm0-2.013c-1.372 0-2.145-1.116-2.145-3.023v-.018c0-1.89.782-3.023 2.144-3.023 1.354 0 2.145 1.134 2.145 3.023v.018c0 1.907-.782 3.023-2.145 3.023Zm10.52 1.846c.492 0 .967-.053 1.283-.114v-1.907a6.057 6.057 0 0 1-.755.044c-.87 0-1.24-.387-1.24-1.257v-4.544h1.995V8.323H59.41V6.012h-2.592v2.311h-1.495v1.934h1.495v5.133c0 1.88.949 2.645 3.304 2.645Zm7.287.167c2.98 0 4.772-1.88 4.772-5.036v-.018c0-3.128-1.82-5.036-4.772-5.036-2.954 0-4.773 1.916-4.773 5.036v.018c0 3.146 1.793 5.036 4.773 5.036Zm0-2.013c-1.372 0-2.145-1.116-2.145-3.023v-.018c0-1.89.782-3.023 2.145-3.023 1.353 0 2.144 1.134 2.144 3.023v.018c0 1.907-.782 3.023-2.144 3.023Zm10.767 2.013c2.522 0 4.034-1.353 4.297-3.463l.01-.053h-2.374l-.017.036c-.229.966-.853 1.467-1.908 1.467-1.37 0-2.135-1.08-2.135-3.04v-.018c0-1.934.755-3.006 2.135-3.006 1.099 0 1.74.615 1.908 1.556l.008.017h2.391v-.026c-.228-2.162-1.749-3.56-4.315-3.56-3.033 0-4.738 1.837-4.738 5.019v.017c0 3.217 1.714 5.054 4.738 5.054Zm10.257 0c2.98 0 4.772-1.88 4.772-5.036v-.018c0-3.128-1.82-5.036-4.772-5.036-2.953 0-4.773 1.916-4.773 5.036v.018c0 3.146 1.793 5.036 4.773 5.036Zm0-2.013c-1.371 0-2.145-1.116-2.145-3.023v-.018c0-1.89.782-3.023 2.145-3.023 1.353 0 2.144 1.134 2.144 3.023v.018c0 1.907-.782 3.023-2.144 3.023ZM95.025 18h2.566V4.623h-2.566V18Z">
</path>
</svg>
@@ -138,26 +138,26 @@
<div class="flex items-center gap-5">
<nav class="hidden md:block">
<ul role="list" class="flex items-center gap-8">
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
href="/">Home</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
target="_blank"
href="https://oneuptimesupport.slack.com/join/shared_invite/zt-1kavkds2f-gegm_wePorvwvM3M_SaoCQ#/shared-invite/email">Chat
with us on Slack</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
href="/support">Support</a></li>
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
<li><a class="text-sm leading-5 text-zinc-600 transition hover:text-zinc-900 "
href="https://github.com/oneuptime/oneuptime">GitHub</a></li>
</ul>
</nav>
<div class="hidden md:block md:h-5 md:w-px md:bg-zinc-900/10 md:dark:bg-white/15"></div>
<div class="hidden md:block md:h-5 md:w-px md:bg-zinc-900/10 md:"></div>
<div class="flex gap-4">
<div class="contents lg:hidden">
<button type="button"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 dark:hover:bg-white/5 lg:hidden focus:[&amp;:not(:focus-visible)]:outline-none"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 lg:hidden focus:[&amp;:not(:focus-visible)]:outline-none"
aria-label="Find something...">
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="h-5 w-5 stroke-zinc-900 dark:stroke-white">
class="h-5 w-5 stroke-zinc-900 ">
<path stroke-linecap="round" stroke-linejoin="round"
d="M12.01 12a4.25 4.25 0 1 0-6.02-6 4.25 4.25 0 0 0 6.02 6Zm0 0 3.24 3.25">
</path>
@@ -165,51 +165,51 @@
</button>
</div>
<!-- <button type="button"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 dark:hover:bg-white/5"
class="flex h-6 w-6 items-center justify-center rounded-md transition hover:bg-zinc-900/5 "
aria-label="Toggle dark mode">
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="h-5 w-5 stroke-zinc-900 dark:hidden">
class="h-5 w-5 stroke-zinc-900 ">
<path d="M12.5 10a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z"></path>
<path stroke-linecap="round"
d="M10 5.5v-1M13.182 6.818l.707-.707M14.5 10h1M13.182 13.182l.707.707M10 15.5v-1M6.11 13.889l.708-.707M4.5 10h1M6.11 6.111l.708.707">
</path>
</svg>
<svg viewBox="0 0 20 20" fill="none" aria-hidden="true"
class="hidden h-5 w-5 stroke-white dark:block">
class="hidden h-5 w-5 stroke-white ">
<path d="M15.224 11.724a5.5 5.5 0 0 1-6.949-6.949 5.5 5.5 0 1 0 6.949 6.949Z"></path>
</svg>
</button> -->
</div>
<div class="hidden min-[416px]:contents"><a
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-emerald-400/10 dark:text-emerald-400 dark:ring-1 dark:ring-inset dark:ring-emerald-400/20 dark:hover:bg-emerald-400/10 dark:hover:text-emerald-300 dark:hover:ring-emerald-300"
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 "
href="/dashboard">Sign in</a></div>
</div>
</div>
<nav class="hidden lg:mt-10 lg:block">
<ul role="list">
<li class="md:hidden"><a
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 "
href="/">API</a></li>
<li class="md:hidden"><a
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 "
href="/#">Documentation</a></li>
<li class="md:hidden"><a
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="block py-1 text-sm text-zinc-600 transition hover:text-zinc-900 "
href="/#">Support</a></li>
<li class="relative mt-6 md:mt-0">
<h6 class="text-sm font-semibold text-zinc-900 dark:text-white">Guides</h6>
<h6 class="text-sm font-semibold text-zinc-900 ">Guides</h6>
<div class="relative mt-3 pl-2">
<div class="absolute inset-x-0 top-0 bg-zinc-800/2.5 will-change-transform dark:bg-white/2.5"
<div class="absolute inset-x-0 top-0 bg-zinc-800/2.5 will-change-transform "
data-projection-id="32"
style="height: 64px; top: 0px; border-radius: 8px; opacity: 1; transform: none; transform-origin: 50% 50% 0px;">
</div>
<div class="absolute inset-y-0 left-2 w-px bg-zinc-900/10 dark:bg-white/5"
<div class="absolute inset-y-0 left-2 w-px bg-zinc-900/10 "
style="transform: none; transform-origin: 50% 50% 0px;"></div>
<div class="absolute left-2 h-6 w-px bg-emerald-500" data-projection-id="33"
style="top: 4px; opacity: 1;"></div>
<ul role="list" class="border-l border-transparent">
<li class="relative">
<a class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-900 dark:text-white"
<a class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-900 "
href="/reference/introduction" aria-current="page"><span
class="truncate">Introduction</span></a>
@@ -217,19 +217,19 @@
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
href="/reference/authentication"><span class="truncate">Authentication</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
href="/reference/pagination"><span class="truncate">Pagination</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
href="/reference/permissions"><span class="truncate">Permissions</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
href="/reference/data-types"><span class="truncate">Data Types</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
href="/reference/errors"><span class="truncate">Errors</span></a></li>
@@ -237,15 +237,15 @@
</div>
</li>
<li class="relative mt-6">
<h6 class="text-sm font-semibold text-zinc-900 dark:text-white"
<h6 class="text-sm font-semibold text-zinc-900 "
style="transform: none; transform-origin: 50% 50% 0px;">Resources</h6>
<div class="relative mt-3 pl-2">
<div class="absolute inset-y-0 left-2 w-px bg-zinc-900/10 dark:bg-white/5"
<div class="absolute inset-y-0 left-2 w-px bg-zinc-900/10 "
style="transform: none; transform-origin: 50% 50% 0px;"></div>
<ul role="list" class="border-l border-transparent">
<% for(var i=0; i<resources.length; i++) {%>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 "
href="/reference/<%= resources[i].path -%>"><span class="truncate">
<%= resources[i].name -%>
</span></a></li>
@@ -255,7 +255,7 @@
</div>
</li>
<li class="sticky bottom-0 z-10 mt-6 min-[416px]:hidden"><a
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-emerald-500 dark:text-white dark:hover:bg-emerald-400 w-full"
class="inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 :bg-emerald-400 w-full"
href="/#">Sign in</a></li>
</ul>
</nav>

View File

@@ -1,4 +0,0 @@
CLICKHOUSE_USER={{ .Env.CLICKHOUSE_USER }}
CLICKHOUSE_PASSWORD={{ .Env.CLICKHOUSE_PASSWORD }}
CLICKHOUSE_DB=oneuptime
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1

3
Clickhouse/README.md Normal file
View File

@@ -0,0 +1,3 @@
# Clickhouse
This folder is for clickhouse related files.

View File

@@ -1,8 +0,0 @@
NODE_ENV={{ .Env.ENVIRONMENT }}
BILLING_ENABLED={{ .Env.BILLING_ENABLED }}
BILLING_PUBLIC_KEY={{ .Env.BILLING_PUBLIC_KEY }}
SUBSCRIPTION_PLAN_BASIC={{ .Env.SUBSCRIPTION_PLAN_BASIC }}
SUBSCRIPTION_PLAN_GROWTH={{ .Env.SUBSCRIPTION_PLAN_GROWTH }}
SUBSCRIPTION_PLAN_SCALE={{ .Env.SUBSCRIPTION_PLAN_SCALE }}
SUBSCRIPTION_PLAN_ENTERPRISE={{ .Env.SUBSCRIPTION_PLAN_ENTERPRISE }}
DOMAIN={{ .Env.DOMAIN }}

View File

@@ -28,13 +28,17 @@ import Permission, {
UserPermission,
UserTenantAccessPermission,
} from '../Types/Permission';
import { ColumnAccessControl } from '../Types/Database/AccessControl/AccessControl';
import {
ColumnAccessControl,
ColumnBillingAccessControl,
} from '../Types/Database/AccessControl/AccessControl';
import { getColumnAccessControlForAllColumns } from '../Types/Database/AccessControl/ColumnAccessControl';
import BadDataException from '../Types/Exception/BadDataException';
import { PlanSelect } from '../Types/Billing/SubscriptionPlan';
import { EnableWorkflowOn } from '../Types/Model/EnableWorkflow';
import IconProp from '../Types/Icon/IconProp';
import Text from '../Types/Text';
import { getColumnBillingAccessControlForAllColumns } from '../Types/Database/AccessControl/ColumnBillingAccessControl';
export type DbTypes =
| string
@@ -45,6 +49,7 @@ export type DbTypes =
| URL
| Phone
| JSONObject
| ObjectID
| JSONArray
| Buffer;
@@ -201,6 +206,14 @@ export default class BaseModel extends BaseEntity {
return dictionary[columnName] as TableColumnMetadata;
}
public getColumnBillingAccessControl(
columnName: string
): ColumnBillingAccessControl {
const dictionary: Dictionary<ColumnBillingAccessControl> =
getColumnBillingAccessControlForAllColumns(this);
return dictionary[columnName] as ColumnBillingAccessControl;
}
public getColumnAccessControlFor(
columnName: string
): ColumnAccessControl | null {

View File

@@ -28,7 +28,7 @@ export default class FileModel extends BaseModel {
@TableColumn({
required: true,
type: TableColumnType.File,
canReadOnPopulate: true,
canReadOnRelationQuery: true,
})
@Column({
nullable: false,
@@ -46,7 +46,7 @@ export default class FileModel extends BaseModel {
type: TableColumnType.ShortText,
title: 'Name',
description: 'Any friendly name of this object',
canReadOnPopulate: true,
canReadOnRelationQuery: true,
})
@Column({
nullable: false,
@@ -63,7 +63,7 @@ export default class FileModel extends BaseModel {
@TableColumn({
required: true,
type: TableColumnType.ShortText,
canReadOnPopulate: true,
canReadOnRelationQuery: true,
})
@Column({
nullable: false,
@@ -81,7 +81,7 @@ export default class FileModel extends BaseModel {
required: true,
unique: true,
type: TableColumnType.Slug,
canReadOnPopulate: true,
canReadOnRelationQuery: true,
})
@Column({
nullable: false,
@@ -99,7 +99,7 @@ export default class FileModel extends BaseModel {
required: true,
isDefaultValueColumn: true,
type: TableColumnType.Slug,
canReadOnPopulate: true,
canReadOnRelationQuery: true,
})
@Column({
nullable: false,

View File

@@ -0,0 +1,298 @@
import SubscriptionPlan, {
PlanSelect,
} from '../../../Types/Billing/SubscriptionPlan';
import { JSONObject } from '../../../Types/JSON';
import BadDataException from '../../../Types/Exception/BadDataException';
describe('SubscriptionPlan', () => {
const monthlyPlanId: string = 'monthly_plan_id';
const yearlyPlanId: string = 'yearly_plan_id';
const name: string = 'Test Plan';
const monthlySubscriptionAmountInUSD: number = 0;
const yearlySubscriptionAmountInUSD: number = 0;
const order: number = 1;
const trialPeriodInDays: number = 30;
const env: JSONObject = {
SUBSCRIPTION_PLAN_1: 'Free,monthly_plan_id,yearly_plan_id,0,0,1,7',
SUBSCRIPTION_PLAN_2:
'Growth,growth_monthly_plan_id,growth_yearly_plan_id,9,99,2,14',
};
describe('constructor', () => {
it('should create a new SubscriptionPlan object', () => {
const plan: SubscriptionPlan = new SubscriptionPlan(
monthlyPlanId,
yearlyPlanId,
name,
monthlySubscriptionAmountInUSD,
yearlySubscriptionAmountInUSD,
order,
trialPeriodInDays
);
expect(plan.getMonthlyPlanId()).toEqual(monthlyPlanId);
expect(plan.getYearlyPlanId()).toEqual(yearlyPlanId);
expect(plan.getName()).toEqual(name);
expect(plan.getPlanOrder()).toEqual(order);
expect(plan.getTrialPeriod()).toEqual(trialPeriodInDays);
});
});
describe('getMonthlyPlanId', () => {
it('should return the monthly plan ID', () => {
const getMonthlyPlanId: string = 'monthly_plan_id';
expect(getMonthlyPlanId).toEqual(monthlyPlanId);
});
});
describe('getYearlyPlanId', () => {
it('should return the yearly plan ID', () => {
const getYearlyPlanId: string = 'yearly_plan_id';
expect(getYearlyPlanId).toEqual(yearlyPlanId);
});
});
describe('getPlanOrder', () => {
it('should return the plan order', () => {
const getPlanOrder: number = 1;
expect(getPlanOrder).toEqual(order);
});
});
describe('getTrialPeriod', () => {
it('should return the trial period in days', () => {
const getTrialPeriod: number = 30;
expect(getTrialPeriod).toEqual(trialPeriodInDays);
});
});
describe('getName', () => {
it('should return the plan name', () => {
const getName: string = 'Test Plan';
expect(getName).toEqual(name);
});
});
describe('isFreePlan', () => {
it('should return true if plan is free with monthlyId', () => {
const isFreePlan: boolean = SubscriptionPlan.isFreePlan(
'monthly_plan_id',
env
);
expect(isFreePlan).toBe(true);
});
it('should return true if plan is free with yearlyId', () => {
const isFreePlan: boolean = SubscriptionPlan.isFreePlan(
'yearly_plan_id',
env
);
expect(isFreePlan).toBe(true);
});
});
describe('isCustomPricingPlan', () => {
it('should return false if plan is not custom pricing', () => {
const isCustomPricingPlan: boolean =
SubscriptionPlan.isCustomPricingPlan(monthlyPlanId, env);
expect(isCustomPricingPlan).toBe(false);
});
});
describe('getSubscriptionPlans', () => {
it('should return an array of SubscriptionPlan objects', () => {
const subscriptionPlans: SubscriptionPlan[] =
SubscriptionPlan.getSubscriptionPlans(env);
expect(subscriptionPlans.length).toBe(2);
expect(subscriptionPlans?.[0]?.getName()).toBe('Free');
expect(subscriptionPlans?.[0]?.getYearlyPlanId()).toBe(
'yearly_plan_id'
);
});
});
describe('isValidPlanId', () => {
it('should return true if plan ID is valid', () => {
const isValidPlanId: boolean = SubscriptionPlan.isValidPlanId(
'growth_monthly_plan_id',
env
);
expect(isValidPlanId).toBe(true);
});
});
describe('getPlanSelect', () => {
it('should return the plan name if valid planId is passed', () => {
new SubscriptionPlan(
monthlyPlanId,
'yearly_plan_id',
PlanSelect.Free,
0,
0,
2,
30
);
const result: PlanSelect = SubscriptionPlan.getPlanSelect(
monthlyPlanId,
env
);
expect(result).toBe(PlanSelect.Free);
});
it('should throw an error if invalid PlanId is passed', () => {
SubscriptionPlan.getSubscriptionPlanById = jest
.fn()
.mockReturnValue(undefined);
expect(() => {
SubscriptionPlan.getPlanSelect('invalid-plan-id', env);
}).toThrow(BadDataException);
});
});
describe('getYearlySubscriptionAmountInUSD', () => {
it('should return the yearly subscription amount', () => {
const getYearlySubscriptionAmountInUSD: number = 0;
expect(getYearlySubscriptionAmountInUSD).toEqual(
yearlySubscriptionAmountInUSD
);
});
});
describe('getMonthlySubscriptionAmountInUSD', () => {
it('should return the yearly subscription amount', () => {
const getMonthlySubscriptionAmountInUSD: number = 0;
expect(getMonthlySubscriptionAmountInUSD).toEqual(
monthlySubscriptionAmountInUSD
);
});
});
describe('isFeatureAccessibleOnCurrentPlan', () => {
it('should return false if the feature is not accessible on current plan', () => {
const env: JSONObject = {
SUBSCRIPTION_PLAN_1:
'Free,monthly_plan_id,yearly_plan_id,0,0,1,7',
SUBSCRIPTION_PLAN_2:
'Growth,growth_monthly_plan_id,growth_yearly_plan_id,9,99,2,14',
};
const featureSubscriptionPlan: SubscriptionPlan =
new SubscriptionPlan(
'growth_monthly_plan_id',
'growth_yearly_plan_id',
PlanSelect.Growth,
9,
99,
2,
14
);
const currentSubscriptionPlan: SubscriptionPlan =
new SubscriptionPlan(
'monthly_plan_id',
'yearly_plan_id',
PlanSelect.Free,
0,
0,
1,
7
);
const result: boolean =
SubscriptionPlan.isFeatureAccessibleOnCurrentPlan(
PlanSelect.Growth,
PlanSelect.Free,
env
);
expect(featureSubscriptionPlan.getPlanOrder()).toBeGreaterThan(
currentSubscriptionPlan.getPlanOrder()
);
expect(result).toBe(false);
});
it('should return true if the feature is on the current plan', () => {
const env: JSONObject = {
SUBSCRIPTION_PLAN_1:
'Free,monthly_plan_id,yearly_plan_id,0,0,3,7',
SUBSCRIPTION_PLAN_2:
'Growth,growth_monthly_plan_id,growth_yearly_plan_id,9,99,2,14',
};
const featureSubscriptionPlan: SubscriptionPlan =
new SubscriptionPlan(
'growth_monthly_plan_id',
'growth_yearly_plan_id',
PlanSelect.Growth,
9,
99,
2,
14
);
const currentSubscriptionPlan: SubscriptionPlan =
new SubscriptionPlan(
monthlyPlanId,
'yearly_plan_id',
PlanSelect.Free,
0,
0,
3,
7
);
const result: boolean =
SubscriptionPlan.isFeatureAccessibleOnCurrentPlan(
PlanSelect.Growth,
PlanSelect.Free,
env
);
expect(featureSubscriptionPlan.getPlanOrder()).toBeLessThan(
currentSubscriptionPlan.getPlanOrder()
);
expect(result).toBe(true);
});
});
describe('getSubscriptionPlanFromPlanSelect', () => {
it('should return the correct SubscriptionPlan when a valid planSelect is provided', () => {
const plan: SubscriptionPlan =
SubscriptionPlan.getSubscriptionPlanFromPlanSelect(
PlanSelect.Growth,
env
);
expect(plan).toEqual(plan);
expect(plan.getName()).toEqual(PlanSelect.Growth);
});
it('should throw a BadDataException when an invalid planSelect is provided', () => {
const planSelect: PlanSelect = PlanSelect.Scale;
SubscriptionPlan.getSubscriptionPlans = jest
.fn()
.mockReturnValue([]);
expect(() => {
SubscriptionPlan.getSubscriptionPlanFromPlanSelect(
planSelect,
env
);
}).toThrow(BadDataException);
});
});
describe('isYearlyPlan', () => {
it('should return true if yearly plan exists', () => {
const planId: string = 'growth_yearly_plan_id';
const plan: SubscriptionPlan = new SubscriptionPlan(
'monthly-plan-id',
planId,
'Growth',
10,
100,
2,
7
);
SubscriptionPlan.getSubscriptionPlanById(planId, env);
expect(plan?.getYearlyPlanId()).toBe(planId);
});
});
describe('isUnpaid', () => {
it('should return true if the subscription status is unpaid', () => {
const subscriptionStatus: string =
'incomplete' ||
'ncomplete_expired' ||
'past_due' ||
'canceled' ||
'unpaid';
const result: boolean =
SubscriptionPlan.isUnpaid(subscriptionStatus);
expect(result).toBe(true);
});
it('should return false if the subscription status is active', () => {
const subscriptionStatus: string = 'active';
const result: boolean =
SubscriptionPlan.isUnpaid(subscriptionStatus);
expect(result).toBe(false);
});
});
});

View File

@@ -38,11 +38,7 @@ describe('IP()', () => {
});
test('should return a string', () => {
expect(IP.toDatabase('127.0.0.1')).toBe('127.0.0.1');
});
test('should return null', () => {
expect(IP.toDatabase('')).toBeNull();
expect(IP.toDatabase(new IP('127.0.0.1'))).toBe('127.0.0.1');
});
test('should be an instance IP', () => {

View File

@@ -3,6 +3,7 @@ enum HTTPMethod {
POST = 'POST',
DELETE = 'DELETE',
PUT = 'PUT',
HEAD = 'HEAD',
}
export default HTTPMethod;

View File

@@ -3,6 +3,7 @@ import DatabaseProperty from '../Database/DatabaseProperty';
import BadDataException from '../Exception/BadDataException';
import Port from '../Port';
import Typeof from '../Typeof';
import { JSONObject, ObjectType } from '../JSON';
export default class Hostname extends DatabaseProperty {
private _route: string = '';
@@ -22,7 +23,9 @@ export default class Hostname extends DatabaseProperty {
if (Hostname.isValid(value)) {
this._route = value;
} else {
throw new BadDataException('Hostname is not in valid format.');
throw new BadDataException(
'Hostname ' + value + ' is not in valid format.'
);
}
}
@@ -50,6 +53,21 @@ export default class Hostname extends DatabaseProperty {
}
}
public override toJSON(): JSONObject {
return {
_type: ObjectType.Hostname,
value: (this as Hostname).toString(),
};
}
public static override fromJSON(json: JSONObject): Hostname {
if (json['_type'] === ObjectType.Hostname) {
return new Hostname((json['value'] as string) || '');
}
throw new BadDataException('Invalid JSON: ' + JSON.stringify(json));
}
public override toString(): string {
let hostame: string = this.hostname;

View File

@@ -1,12 +1,16 @@
import { FindOperator } from 'typeorm';
import DatabaseProperty from '../Database/DatabaseProperty';
import BadDataException from '../Exception/BadDataException';
export default class Route {
import { JSONObject, ObjectType } from '../JSON';
export default class Route extends DatabaseProperty {
private _route: string = '';
public get route(): string {
return this._route;
}
public set route(v: string) {
const matchRouteCharacters: RegExp =
/^[a-zA-Z_\d\-!#$&'()*+,./:;=?@[\]]*$/;
/^[a-zA-Z_\d\-!#$%&'()*+,./:;=?@[\]]*$/;
if (v && !matchRouteCharacters.test(v)) {
throw new BadDataException(`Invalid route: ${v}`);
}
@@ -14,6 +18,7 @@ export default class Route {
}
public constructor(route?: string | Route) {
super();
if (route && route instanceof Route) {
route = route.toString();
}
@@ -23,6 +28,21 @@ export default class Route {
}
}
public override toJSON(): JSONObject {
return {
_type: ObjectType.Route,
value: (this as Route).toString(),
};
}
public static override fromJSON(json: JSONObject): Route {
if (json['_type'] === ObjectType.Route) {
return new Route((json['value'] as string) || '');
}
throw new BadDataException('Invalid JSON: ' + JSON.stringify(json));
}
public addRoute(route: Route | string): Route {
if (typeof route === 'string') {
route = new Route(route);
@@ -36,7 +56,7 @@ export default class Route {
return this;
}
public toString(): string {
public override toString(): string {
return this.route;
}
@@ -48,4 +68,22 @@ export default class Route {
this.route = this.route.replace(paramName, value);
return this;
}
public static override toDatabase(
value: Route | FindOperator<Route>
): string | null {
if (value) {
return value.toString();
}
return value;
}
public static override fromDatabase(_value: string): Route | null {
if (_value) {
return new Route(_value);
}
return null;
}
}

View File

@@ -24,13 +24,16 @@ export default class StatusCode {
return this.statusCode.toNumber();
}
public static isValidStausCode(statusCode: number | string): boolean {
public static isValidStatusCode(statusCode: number | string): boolean {
try {
if (typeof statusCode === Typeof.String) {
statusCode = parseInt(statusCode as string);
}
if (statusCode >= 100 && statusCode <= 599) {
if (
(statusCode as number) >= 100 &&
(statusCode as number) <= 599
) {
return true;
}

View File

@@ -6,7 +6,7 @@ import { FindOperator } from 'typeorm';
import Dictionary from '../Dictionary';
import Typeof from '../Typeof';
import Email from '../Email';
import { JSONObject } from '../JSON';
import { JSONObject, ObjectType } from '../JSON';
import BadDataException from '../Exception/BadDataException';
export default class URL extends DatabaseProperty {
@@ -99,7 +99,7 @@ export default class URL extends DatabaseProperty {
let urlString: string = `${this.protocol}${
this.hostname || this.email
}`;
if (!this.email) {
if (!this.email && !urlString.startsWith('mailto:')) {
if (this.route && this.route.toString().startsWith('/')) {
if (urlString.endsWith('/')) {
urlString = urlString.substring(0, urlString.length - 1);
@@ -182,23 +182,19 @@ export default class URL extends DatabaseProperty {
return URL.fromString(this.toString().split('?')[0] || '');
}
public toJSON(): JSONObject {
public override toJSON(): JSONObject {
return {
value: this.toString(),
_type: 'URL',
_type: ObjectType.URL,
value: (this as URL).toString(),
};
}
public static fromJSON(json: JSONObject): URL {
if (json && json['_type'] !== 'URL') {
throw new BadDataException('Invalid JSON for URL');
public static override fromJSON(json: JSONObject): URL {
if (json['_type'] === ObjectType.URL) {
return URL.fromString((json['value'] as string) || '');
}
if (json && json['value'] && typeof json['value'] === Typeof.String) {
throw new BadDataException('Invalid JSON for URL');
}
return URL.fromString(json['value'] as string);
throw new BadDataException('Invalid JSON: ' + JSON.stringify(json));
}
public addRoute(route: Route | string): URL {

View File

@@ -26,4 +26,29 @@ export default class ArrayUtil {
return 0;
};
}
public static distinctByFieldName(
array: Array<any>,
fieldName: string
): Array<any> {
// Get the distinct values by field name of the array
const distinctValues: Array<any> = array
.map((item: any) => {
return item[fieldName];
})
.filter((value: any, index: number, self: Array<any>) => {
return self.indexOf(value) === index;
});
// Create a new array with the distinct values
const distinctArray: Array<any> = [];
for (const value of distinctValues) {
const item: any = array.find((item: any) => {
return item[fieldName] === value;
});
distinctArray.push(item);
}
return distinctArray;
}
}

View File

@@ -0,0 +1,35 @@
export default class MeteredPlan {
private monthlyPriceId: string;
private yearlyPriceId: string;
private unitName: string;
private pricePerUnit: number;
public constructor(
monthlyPriceId: string,
yearlyPriceId: string,
pricePerUnit: number,
unitName: string
) {
this.monthlyPriceId = monthlyPriceId;
this.yearlyPriceId = yearlyPriceId;
this.pricePerUnit = pricePerUnit;
this.unitName = unitName;
}
public getMonthlyPriceId(): string {
return this.monthlyPriceId;
}
public getYearlyPriceId(): string {
return this.yearlyPriceId;
}
public getPricePerUnit(): number {
return this.pricePerUnit;
}
public getUnitName(): string {
return this.unitName;
}
}

View File

@@ -109,7 +109,7 @@ export default class SubscriptionPlan {
}
public static getSubscriptionPlans(
env: JSONObject
env?: JSONObject | undefined
): Array<SubscriptionPlan> {
const plans: Array<SubscriptionPlan> = [];
@@ -144,7 +144,7 @@ export default class SubscriptionPlan {
public static getSubscriptionPlanById(
planId: string,
env: JSONObject
env?: JSONObject | undefined
): SubscriptionPlan | undefined {
const plans: Array<SubscriptionPlan> = this.getSubscriptionPlans(env);
return plans.find((plan: SubscriptionPlan) => {
@@ -155,11 +155,17 @@ export default class SubscriptionPlan {
});
}
public static isValidPlanId(planId: string, env: JSONObject): boolean {
public static isValidPlanId(
planId: string,
env?: JSONObject | undefined
): boolean {
return Boolean(this.getSubscriptionPlanById(planId, env));
}
public static getPlanSelect(planId: string, env: JSONObject): PlanSelect {
public static getPlanSelect(
planId: string,
env?: JSONObject | undefined
): PlanSelect {
const plan: SubscriptionPlan | undefined = this.getSubscriptionPlanById(
planId,
env
@@ -173,7 +179,7 @@ export default class SubscriptionPlan {
public static getSubscriptionPlanFromPlanSelect(
planSelect: PlanSelect,
env: JSONObject
env?: JSONObject | undefined
): SubscriptionPlan {
const plan: SubscriptionPlan | undefined = this.getSubscriptionPlans(
env
@@ -191,7 +197,7 @@ export default class SubscriptionPlan {
public static isFeatureAccessibleOnCurrentPlan(
featurePlan: PlanSelect,
currentPlan: PlanSelect,
env: JSONObject
env?: JSONObject | undefined
): boolean {
const featureSubscriptionPlan: SubscriptionPlan | undefined =
this.getSubscriptionPlanFromPlanSelect(featurePlan, env);
@@ -208,7 +214,10 @@ export default class SubscriptionPlan {
return true;
}
public static isYearlyPlan(planId: string, env: JSONObject): boolean {
public static isYearlyPlan(
planId: string,
env?: JSONObject | undefined
): boolean {
const plan: SubscriptionPlan | undefined = this.getSubscriptionPlanById(
planId,
env

View File

@@ -0,0 +1,11 @@
enum SubscriptionStatus {
Incomplete = 'incomplete',
IncompleteExpired = 'incomplete_expired',
Trialing = 'trialing',
Active = 'active',
PastDue = 'past_due',
Canceled = 'canceled',
Unpaid = 'unpaid',
}
export default SubscriptionStatus;

View File

@@ -0,0 +1,30 @@
import URL from '../API/URL';
import Phone from '../Phone';
export interface Say {
sayMessage: string;
}
export interface OnCallInputRequest {
[x: string]: Say; // input.
default: Say; // what if there is no input or invalid input.
}
export interface GatherInput {
introMessage: string;
numDigits: number;
timeoutInSeconds: number;
noInputMessage: string;
onInputCallRequest: OnCallInputRequest;
responseUrl: URL;
}
export enum CallAction {}
export interface CallRequestMessage {
data: Array<Say | CallAction | GatherInput>;
}
export default interface CallRequest extends CallRequestMessage {
to: Phone;
}

View File

@@ -0,0 +1,9 @@
enum CallStatus {
Success = 'Success',
Error = 'Error',
LowBalance = 'Low Balance',
MissedCall = 'Missed Call',
Busy = 'Busy',
}
export default CallStatus;

View File

@@ -1,6 +1,7 @@
import { FindOperator } from 'typeorm';
import DatabaseProperty from './Database/DatabaseProperty';
import BadDataException from './Exception/BadDataException';
import { JSONObject, ObjectType } from './JSON';
export interface RGB {
red: number;
@@ -26,6 +27,21 @@ export default class Color extends DatabaseProperty {
return this.color;
}
public override toJSON(): JSONObject {
return {
_type: ObjectType.Color,
value: (this as Color).toString(),
};
}
public static override fromJSON(json: JSONObject): Color {
if (json['_type'] === ObjectType.Color) {
return new Color((json['value'] as string) || '');
}
throw new BadDataException('Invalid JSON: ' + JSON.stringify(json));
}
public static override toDatabase(
value: Color | FindOperator<Color>
): string | null {

Some files were not shown because too many files have changed in this diff Show More