Compare commits

...

577 Commits

Author SHA1 Message Date
Simon Larsen
6b7b508870 Merge branch 'master' into admin-dashboard 2023-09-13 13:31:37 +05:30
Simon Larsen
943cc809a1 fix fmt 2023-09-13 13:10:24 +05:30
Simon Larsen
5399d76a5e fix webpack files 2023-09-13 13:08:40 +05:30
Simon Larsen
a0895b222e fix nodemon 2023-09-13 13:07:29 +05:30
Simon Larsen
35d7f0ee59 remove update 2023-09-13 12:30:24 +05:30
Simon Larsen
00eac442bf update package config 2023-09-13 12:26:20 +05:30
Simon Larsen
3ce2e6dad9 fix dashboard api route 2023-09-13 12:22:59 +05:30
Simon Larsen
e3582d834e add global config api 2023-09-13 12:22:17 +05:30
Simon Larsen
8280d9e7e9 add env vars for local development 2023-09-13 12:03:36 +05:30
Simon Larsen
07d738e048 patch: fix head 404 monitoring issue 2023-09-11 21:17:55 +05:30
Simon Larsen
13fecdccda fix api ref 2023-09-11 20:36:40 +05:30
Simon Larsen
3e11dca340 remove disable sign up from common ui 2023-09-11 20:25:52 +05:30
Simon Larsen
693b9d0eab add disable sign up 2023-09-11 20:22:56 +05:30
Simon Larsen
643e85f9fb fix disable signup 2023-09-11 20:11:04 +05:30
Simon Larsen
df4d1ec1cd fix hostname 2023-09-11 19:59:59 +05:30
Simon Larsen
16367d54bc refactor service routes in new file 2023-09-11 19:53:47 +05:30
Simon Larsen
936cb7eb74 add domain in config.example 2023-09-11 19:39:53 +05:30
Simon Larsen
e78dab9e67 fix job 2023-09-11 19:25:06 +05:30
Simon Larsen
bcb2df9a37 update config.example 2023-09-11 19:16:01 +05:30
Simon Larsen
020d529d06 add project list api 2023-09-11 16:39:05 +05:30
Simon Larsen
250d23036e fix perms with project create 2023-09-11 16:23:27 +05:30
Simon Larsen
3650171b48 fix perms in model table 2023-09-11 16:19:17 +05:30
Simon Larsen
06f2ca2fa8 refactor DatabaseConfig 2023-09-11 16:09:12 +05:30
Simon Larsen
cc548d9353 refactor into database config 2023-09-11 15:59:36 +05:30
Simon Larsen
0ab9f4d4a5 Merge branch 'master' into admin-dashboard 2023-09-08 18:49:10 +05:30
Simon Larsen
5c6f15064f if incidents created manually do not change monitor status 2023-09-08 18:26:34 +05:30
Simon Larsen
47e45af22c fix fmt 2023-09-08 15:20:13 +05:30
Simon Larsen
af21c49ae3 fix scheduled event 2023-09-08 15:08:43 +05:30
Simon Larsen
34af7116a2 fix scheduled maintenance state 2023-09-08 14:00:23 +05:30
Simon Larsen
5a931ff362 fix fmt 2023-09-08 09:28:43 +05:30
Simon Larsen
e869ce9744 fix fmt 2023-09-07 21:58:24 +05:30
Simon Larsen
732ff620f5 fix billing css 2023-09-07 21:47:37 +05:30
Simon Larsen
e9e00cf0d3 fix model in reseller plan 2023-09-07 21:41:55 +05:30
Simon Larsen
8af4af7642 fix reseller plan change plan link 2023-09-07 21:41:24 +05:30
Simon Larsen
8bda3948d7 add hide phne number field on sign up 2023-09-07 21:08:36 +05:30
Simon Larsen
fc0f6d8e6b add reseller hide phone number on sign up 2023-09-07 20:55:18 +05:30
Simon Larsen
911424c505 add reseller change plan button 2023-09-07 20:21:42 +05:30
Simon Larsen
bd6486ca58 Merge pull request #762 from OneUptime/add-end-state-to-events
Add end state to events
2023-09-07 19:56:50 +05:30
Simon Larsen
8836959cfd fix fmt 2023-09-07 19:56:31 +05:30
Simon Larsen
4a73a286ad add ended state 2023-09-07 19:46:32 +05:30
Simon Larsen
b82ab62e55 fix fmt 2023-09-07 19:46:24 +05:30
Simon Larsen
8c422cd2d8 Fix view buttons on admin dash 2023-09-07 17:34:21 +05:30
Simon Larsen
37934c0677 fix fmt 2023-09-07 17:25:33 +05:30
Simon Larsen
1e0534a395 add migration job 2023-09-07 17:08:04 +05:30
Simon Larsen
c68a469331 fix email config 2023-09-07 16:58:03 +05:30
Simon Larsen
7310c5ddeb fix twilio config 2023-09-07 16:29:36 +05:30
Simon Larsen
10348f1c72 fix config 2023-09-07 16:21:45 +05:30
Simon Larsen
3d27f6ae28 add types 2023-09-07 16:11:36 +05:30
Simon Larsen
a31d1880ee fix fmt 2023-09-07 15:57:55 +05:30
Simon Larsen
b427dc324e fix compile err on identity. 2023-09-07 15:46:56 +05:30
Simon Larsen
5cdca12504 fix compile err on workers 2023-09-07 15:39:56 +05:30
Simon Larsen
c28ca51fd8 fix http protocol 2023-09-07 15:30:17 +05:30
Simon Larsen
594aa81ad6 add default localhost url 2023-09-07 15:10:30 +05:30
Simon Larsen
f5f88ff835 fix domain urls 2023-09-07 15:10:02 +05:30
Simon Larsen
47bc834fa7 add project 2023-09-07 14:16:14 +05:30
Simon Larsen
6bbb1ff71f model api refactor 2023-09-07 14:00:10 +05:30
Simon Larsen
271a03816e fix lint 2023-09-06 21:55:19 +05:30
Simon Larsen
9a9b65e1ba add global probe page 2023-09-06 21:41:33 +05:30
Simon Larsen
d0b2667b25 fix fmt 2023-09-06 21:38:00 +05:30
Simon Larsen
eb20310990 add twilio config page 2023-09-06 21:24:59 +05:30
Simon Larsen
f6313ac21f add smtp admin config 2023-09-06 20:57:33 +05:30
Simon Larsen
e588eba932 add master admin to request 2023-09-06 20:27:55 +05:30
Simon Larsen
b46135f9ae add settings pages 2023-09-06 12:25:15 +05:30
Simon Larsen
406a81bc44 add global config service 2023-09-05 20:44:47 +05:30
Simon Larsen
42750edbb3 add global config model 2023-09-05 20:42:15 +05:30
Simon Larsen
919e16da4e add unique check in database service 2023-09-05 20:11:03 +05:30
Simon Larsen
2259654909 add users and projects pages 2023-09-05 19:44:18 +05:30
Simon Larsen
92c98de4a3 make the first user master admin if the count is 0 2023-09-05 15:50:10 +05:30
Simon Larsen
ca20e599fa make ismaster admin route work 2023-09-05 15:41:12 +05:30
Simon Larsen
d7b415c14c add top banner 2023-09-05 15:02:18 +05:30
Simon Larsen
3a5bed4c07 Merge branch 'master' into admin-dashboard 2023-09-04 21:22:13 +05:30
Simon Larsen
22b7f2e1a0 fix refund api 2023-09-04 21:20:53 +05:30
Simon Larsen
b752d53578 fix compile errors 2023-09-04 20:41:02 +05:30
Simon Larsen
d7481b655d fix admin dash folder name 2023-09-04 20:28:16 +05:30
Simon Larsen
a0f870b889 add admin dash to nginx 2023-09-04 20:18:30 +05:30
Simon Larsen
2983a49a9a Merge branch 'master' into admin-dashboard 2023-09-04 20:14:46 +05:30
Simon Larsen
4b0a236c96 fix fmt 2023-09-04 19:36:43 +05:30
Simon Larsen
88ee0859de add reseller info 2023-09-04 19:17:15 +05:30
Simon Larsen
85ce6dd41d change desc to markdown. 2023-09-04 18:34:26 +05:30
Simon Larsen
56315fa5e3 fix fmt 2023-09-01 21:55:41 +05:30
Simon Larsen
4c7416e70b fix fmt 2023-09-01 20:23:59 +05:30
Simon Larsen
359535d144 Merge pull request #756 from OneUptime/reseller-flow
add reseller models
2023-09-01 19:52:58 +05:30
Simon Larsen
2dc5caf6ca add reseller api 2023-09-01 19:52:38 +05:30
Simon Larsen
95bfee5386 add reseller plan api 2023-09-01 19:34:02 +05:30
Simon Larsen
269877469e fix fmt 2023-09-01 18:46:35 +05:30
Simon Larsen
c3d378d20e fix fmt 2023-09-01 18:37:21 +05:30
Simon Larsen
d9b4f37b30 fix fmt 2023-09-01 18:26:36 +05:30
Simon Larsen
81f6b3b089 add reseller plan API 2023-09-01 16:02:56 +05:30
Simon Larsen
4a64e17371 add other reseller actions 2023-09-01 15:59:59 +05:30
Simon Larsen
e08040c84f make activation work 2023-09-01 15:52:17 +05:30
Simon Larsen
f58c69fe58 fix fmt 2023-09-01 15:44:24 +05:30
Simon Larsen
5871653652 finish activation func 2023-09-01 15:44:17 +05:30
Simon Larsen
84b7c417e5 fix fmt 2023-09-01 15:37:33 +05:30
Simon Larsen
a7411b0cb9 add promocode to project 2023-09-01 15:26:36 +05:30
Simon Larsen
eaced5bbe6 add activate plan for reseller. 2023-09-01 14:59:06 +05:30
Simon Larsen
dac370e7a9 add plan id to the reseller model 2023-08-31 20:54:25 +05:30
Simon Larsen
a461fa7395 add reseller license id. 2023-08-31 20:52:28 +05:30
Simon Larsen
6fc356d89f add reseller to dashboard api 2023-08-31 20:05:42 +05:30
Simon Larsen
2ee8c4ccf0 add reseller model and services 2023-08-31 20:04:46 +05:30
Simon Larsen
c0f53d4eff add resller to project model 2023-08-31 19:36:27 +05:30
Simon Larsen
949a685e27 add reseller relation 2023-08-31 19:30:03 +05:30
Simon Larsen
e574802ed3 fix fmt 2023-08-31 19:29:22 +05:30
Simon Larsen
9b6a4d675a add reseller models 2023-08-31 19:13:29 +05:30
Simon Larsen
41c7f3c4fb Merge branch 'master' into admin-dashboard 2023-08-31 16:08:39 +05:30
Simon Larsen
267a91a022 pascal case 2023-08-31 16:07:54 +05:30
Simon Larsen
0b4b493deb add logs 2023-08-31 16:04:26 +05:30
Simon Larsen
eb32b3cd51 improve logging 2023-08-31 16:00:08 +05:30
Simon Larsen
04c6a02c36 fix logging. 2023-08-31 15:35:16 +05:30
Simon Larsen
6693889f5b add compile and build jobs 2023-08-25 15:59:46 +01:00
Simon Larsen
9959ebafeb add docker build and release jobs 2023-08-25 15:56:17 +01:00
Simon Larsen
8462fede09 add admin dash to docker compose 2023-08-25 15:51:26 +01:00
Simon Larsen
d3216b0d5f fix fmt 2023-08-25 15:47:51 +01:00
Simon Larsen
b609742b7a basic scaffoling of admin dashboard 2023-08-25 15:20:00 +01:00
Simon Larsen
8caba8878e add pagination icon to tables 2023-08-25 14:36:02 +01:00
Simon Larsen
25669abb40 fix linkshortner link 2023-08-25 13:19:38 +01:00
Simon Larsen
7aa90c1f2f fix wrong criteria being deleted 2023-08-25 13:11:19 +01:00
Simon Larsen
39f7f4ee6e fix project length 2023-08-25 12:54:41 +01:00
Simon Larsen
46d22574da add footer 2023-08-25 12:48:15 +01:00
Simon Larsen
6ca43a4c93 add about modal 2023-08-25 11:48:06 +01:00
Simon Larsen
b1bd44be59 add sha and version to docker file 2023-08-25 11:16:31 +01:00
Simon Larsen
06b1a0a3f7 fix slack workflow youtube link 2023-08-24 22:25:58 +01:00
Simon Larsen
a3a391b9f0 refactor sso form to be multiple steps 2023-08-24 20:12:13 +01:00
Simon Larsen
950aab68cf refactor add resources form into steps 2023-08-24 20:06:47 +01:00
Simon Larsen
1078ee8669 fix permissions in monitoring probe 2023-08-24 19:47:42 +01:00
Simon Larsen
956280da6e fix update issue with email fields 2023-08-24 19:40:46 +01:00
Simon Larsen
ebd7ae876b Merge pull request #734 from OneUptime/slack-markdown
add markdown to slack.
2023-08-23 21:27:51 +01:00
Simon Larsen
f3a9018b4a add mrkdown message for slack 2023-08-23 21:27:07 +01:00
Simon Larsen
19f60de911 fix sms and call alerts 2023-08-23 20:25:24 +01:00
Simon Larsen
4f8604651b add markdown to slack. 2023-08-23 18:29:29 +01:00
Simon Larsen
a87435966e fix: Click out of the project box: Now only the Current project displays and the create new project link is visible 2023-08-23 13:29:52 +01:00
Simon Larsen
391bc74eea make project picker search better 2023-08-23 13:27:23 +01:00
Simon Larsen
bfb54b5b39 make project picker search better 2023-08-23 13:25:53 +01:00
Simon Larsen
8a18e8beeb fix email verified on self hosted instance 2023-08-23 13:14:32 +01:00
Simon Larsen
dfef81c3ac add routemap for note templates 2023-08-22 19:01:05 +01:00
Simon Larsen
21022aeb13 add http ports to config.example 2023-08-22 18:44:35 +01:00
Simon Larsen
4f787f80e9 add scheduled event notes 2023-08-22 17:51:31 +01:00
Simon Larsen
fcef7e8f9d add templates to private notes 2023-08-22 14:11:42 +01:00
Simon Larsen
534effad18 fix fmt 2023-08-22 13:55:30 +01:00
Simon Larsen
5c190610db add incident note template 2023-08-22 13:50:20 +01:00
Simon Larsen
e37c5c95a1 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-08-22 12:48:25 +01:00
Simon Larsen
a0435f5a1b fix website requests 2023-08-22 12:48:03 +01:00
Simon Larsen
df65490d4a support monitor with parse errors 2023-08-22 12:46:57 +01:00
Simon Larsen
16561939b1 Merge pull request #728 from OneUptime/clickhouse-client
Clickhouse client
2023-08-22 11:41:36 +01:00
Simon Larsen
f5dab43799 fix item loading issue in multi select dropdown option 2023-08-22 10:29:41 +01:00
Simon Larsen
6bc9e97433 fix incident template 2023-08-22 09:57:33 +01:00
Simon Larsen
6af1163a17 fix css style 2023-08-22 09:52:20 +01:00
Simon Larsen
e682799aaf Merge pull request #723 from OneUptime/clickhouse-client
Clickhouse client
2023-08-22 09:47:28 +01:00
Simon Larsen
a40aba6fba add log as a service 2023-08-22 09:47:12 +01:00
Simon Larsen
c07c900cda fix table creation 2023-08-22 09:44:05 +01:00
Simon Larsen
765aff8e79 fix fmt 2023-08-22 09:41:57 +01:00
Simon Larsen
4dc7741289 fix phone number 2023-08-22 09:37:39 +01:00
Simon Larsen
bdc4c5f4f2 add clickhouse service 2023-08-21 17:23:19 +01:00
Simon Larsen
c8d1af6daf add logs to clickhouse 2023-08-21 13:53:14 +01:00
Simon Larsen
b66fcd0ce7 fix tests 2023-08-21 13:09:13 +01:00
Simon Larsen
0978c5a2b8 fix slug and faker 2023-08-21 12:54:19 +01:00
Simon Larsen
e2f885b11b fix random numbers 2023-08-21 12:44:36 +01:00
Simon Larsen
8156309a6a fix faker 2023-08-21 12:42:19 +01:00
Simon Larsen
6af9abcb89 fix err message to send emails 2023-08-21 12:21:02 +01:00
Simon Larsen
ca30a7b8b6 fix fmt 2023-08-21 12:04:28 +01:00
Simon Larsen
7d9bcdfb2e update issue templates 2023-08-21 11:55:22 +01:00
Simon Larsen
e84ffa9424 fix import statement 2023-08-21 11:40:35 +01:00
Simon Larsen
35b6ae5058 fix cookie banner from every page 2023-08-21 11:32:43 +01:00
Simon Larsen
dfeb32c523 update posthog sdk 2023-08-21 11:31:34 +01:00
Simon Larsen
4538b8ff66 add clickhouse base model and service 2023-08-19 22:11:17 +01:00
Simon Larsen
a21a7b43d5 add clickihouse client 2023-08-19 20:49:24 +01:00
Simon Larsen
27f5f96ba9 fix smtp should not require auth 2023-08-18 13:43:05 +01:00
Simon Larsen
68ca9af88c fix subscribe button on status page 2023-08-18 13:16:30 +01:00
Simon Larsen
40b25a4aa3 add project id to analytics capture 2023-08-18 13:04:30 +01:00
Simon Larsen
12917cc0f1 fix fmt 2023-08-18 12:46:03 +01:00
Simon Larsen
c053d43333 add id to nav bar in status page 2023-08-18 12:44:46 +01:00
Simon Larsen
57faa1c60b add posthog events 2023-08-18 12:41:19 +01:00
Simon Larsen
50b9743a4b fix commonui tests 2023-08-17 19:08:00 +01:00
Simon Larsen
e1f697c57f add ids to key elements on status page 2023-08-17 18:14:00 +01:00
Simon Larsen
3674641224 fix issue with HEAD request add fallback to GET 2023-08-17 17:39:11 +01:00
Simon Larsen
9d155fd7dd fix dictionary import 2023-08-17 13:01:46 +01:00
Simon Larsen
90df26cac7 fix on load event 2023-08-17 12:54:58 +01:00
Simon Larsen
20f09bc600 add utm params 2023-08-17 12:33:53 +01:00
Simon Larsen
95d98922cb fix workflow json parse 2023-08-16 13:17:20 +01:00
Simon Larsen
2ebbe8befd add migration script 2023-08-16 11:23:04 +01:00
Simon Larsen
439fcae85f fix probe monitors 2023-08-16 11:17:49 +01:00
Simon Larsen
cfb8edfab3 fix email log 2023-08-16 10:55:29 +01:00
Simon Larsen
55d3d6e158 fix incident state change email 2023-08-16 10:46:24 +01:00
Simon Larsen
4eb2879a3e fix example.env 2023-08-15 22:02:30 +01:00
Simon Larsen
beb245c4cb Merge pull request #708 from OneUptime/haraka
Haraka
2023-08-15 22:00:58 +01:00
Simon Larsen
8f12b1da70 add haraka to mail service 2023-08-15 21:59:44 +01:00
Simon Larsen
38b1b93b00 fix haraka docker file 2023-08-15 21:09:00 +01:00
Simon Larsen
fa18563aa0 fix mail server 2023-08-15 15:11:36 +01:00
Simon Larsen
b143439818 add haraka files 2023-08-15 14:39:57 +01:00
Simon Larsen
a5a6b05b80 fix sso redirect issue 2023-08-14 12:00:46 +01:00
Simon Larsen
1dcaa3c4c5 fix sso authorization 2023-08-14 11:13:19 +01:00
Simon Larsen
a309d64e19 fix lowercase with url 2023-08-12 09:09:52 +01:00
Simon Larsen
4499f7ca93 Merge pull request #697 from OneUptime/apply-templates-to-incidents
add incident templates
2023-08-11 21:50:52 +01:00
Simon Larsen
1d0f4131da fix email lowercase issue 2023-08-11 17:49:24 +01:00
Simon Larsen
b5687811c4 fix incident tamplate 2023-08-11 17:43:39 +01:00
Simon Larsen
537c0c6c22 fix email null check 2023-08-11 17:16:31 +01:00
Simon Larsen
d79569d96e fix fmt 2023-08-11 17:13:29 +01:00
Simon Larsen
4f4f717cac add incident templates 2023-08-11 17:11:37 +01:00
Simon Larsen
b17381426e fix fmt 2023-08-10 21:55:42 +01:00
Simon Larsen
74f4fdaf42 fix job 2023-08-10 21:53:10 +01:00
Simon Larsen
6a5cc2f7bb fix compile err 2023-08-10 21:52:04 +01:00
Simon Larsen
251c2fb215 fix init 2023-08-10 21:40:09 +01:00
Simon Larsen
2a4b8b39fa fix replace value await 2023-08-10 19:40:52 +01:00
Simon Larsen
e370dd118d fix Function types 2023-08-10 19:00:27 +01:00
Simon Larsen
89183a77eb fix criteria page 2023-08-10 18:39:45 +01:00
Simon Larsen
9311daac8b fix fucntion type 2023-08-10 18:25:15 +01:00
Simon Larsen
4084149121 fix function types 2023-08-10 18:25:07 +01:00
Simon Larsen
b6444f5eae add probe failure reason to root casuse 2023-08-10 17:51:32 +01:00
Simon Larsen
797f7bab93 fix dropdown filters 2023-08-10 15:07:06 +01:00
Simon Larsen
9f12aaa7d9 fix fmt 2023-08-10 14:57:37 +01:00
Simon Larsen
3e1d0746e2 add incident template models. 2023-08-10 14:38:45 +01:00
Simon Larsen
645e3e10a1 fix invoice display 2023-08-10 14:35:31 +01:00
Simon Larsen
9d06f248d0 add misc props to api 2023-08-10 14:24:23 +01:00
Simon Larsen
d6df4dcf4c rever faker 2023-08-10 13:46:05 +01:00
Simon Larsen
3c22648eb3 fix login api for status page 2023-08-10 13:44:25 +01:00
Simon Larsen
65720cd818 fix status page errors 2023-08-10 13:42:04 +01:00
Simon Larsen
f4a40573be fix status page errors 2023-08-10 13:36:53 +01:00
Simon Larsen
b69a5d39e8 fix err in accounts 2023-08-10 13:32:08 +01:00
Simon Larsen
f9f74c51c6 fix err in dashboard 2023-08-10 13:10:18 +01:00
Simon Larsen
f6be026d7c fix types 2023-08-10 12:59:36 +01:00
Simon Larsen
0a8f70e106 fix fmt 2023-08-10 12:27:57 +01:00
Simon Larsen
09967cbe73 fix types 2023-08-10 12:26:16 +01:00
Simon Larsen
afa32b4f9f fix fmt 2023-08-10 12:06:07 +01:00
Simon Larsen
89108842b1 fix error 2023-08-10 10:37:02 +01:00
Simon Larsen
7f3d4c30ee fix types 2023-08-10 09:42:19 +01:00
Simon Larsen
7385ecc0e0 fix errors 2023-08-10 09:28:26 +01:00
Simon Larsen
7041d1428e fix fmt 2023-08-10 09:11:35 +01:00
Simon Larsen
192921b96e fix fmt 2023-08-09 18:54:31 +01:00
Simon Larsen
e88f49e9ec fix types and compile errors 2023-08-09 18:51:08 +01:00
Simon Larsen
8833cdc17e fix types 2023-08-09 18:43:18 +01:00
Simon Larsen
ba5f26d53e fix type error 2023-08-09 18:35:07 +01:00
Simon Larsen
69ba8ea57e fix type errors 2023-08-09 18:22:24 +01:00
Simon Larsen
6a90fdd680 fix fmt 2023-08-09 18:10:52 +01:00
Simon Larsen
702f9f8c04 fix types 2023-08-09 18:09:52 +01:00
Simon Larsen
b8bf936733 fix type errors 2023-08-09 18:02:00 +01:00
Simon Larsen
d846adce45 fix compile error based on types 2023-08-09 17:53:24 +01:00
Simon Larsen
52efca3669 fix card props 2023-08-09 17:38:18 +01:00
Simon Larsen
1efee60805 fix fmt 2023-08-09 17:32:52 +01:00
Simon Larsen
964afdeae6 fix types 2023-08-09 17:32:24 +01:00
Simon Larsen
4636b16638 fix fmt 2023-08-09 16:52:25 +01:00
Simon Larsen
60453e7f89 add owners 2023-08-09 16:47:59 +01:00
Simon Larsen
3035364056 add incident template services 2023-08-09 16:43:11 +01:00
Simon Larsen
497cf84225 incident template owner user and team 2023-08-09 16:32:16 +01:00
Simon Larsen
109fcf9cba add incident templates 2023-08-09 14:18:36 +01:00
Simon Larsen
97fad39d27 fix nginx marketing page issue for on-prem isntall. 2023-08-09 13:25:34 +01:00
Simon Larsen
a474af6c0f Merge branch 'master' into incident-templates 2023-08-09 11:59:05 +01:00
Simon Larsen
2966924bcd update node to current alpine 2023-08-09 11:55:19 +01:00
Simon Larsen
92a75def12 add timeout exception to probe 2023-08-09 09:44:36 +01:00
Simon Larsen
b662549308 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-08-09 09:32:50 +01:00
Simon Larsen
17826923f9 fix probe monitors 2023-08-09 09:32:48 +01:00
Simon Larsen
39fabdf081 fix fmt 2023-08-08 18:59:46 +01:00
Simon Larsen
8c7f733c65 add incident template pages 2023-08-08 18:57:04 +01:00
Simon Larsen
fdd59d5c6c add incident template pages 2023-08-08 18:43:01 +01:00
Simon Larsen
2b3f041001 add incident template 2023-08-08 18:07:14 +01:00
Simon Larsen
1406b74c21 Merge pull request #694 from OneUptime/simlarsen-patch-1
Update README.md
2023-08-08 17:23:38 +01:00
Simon Larsen
438b6e5537 Update README.md 2023-08-08 17:23:29 +01:00
Simon Larsen
bf8b9527b6 add logs to probe 2023-08-08 16:39:46 +01:00
Simon Larsen
d6c693a674 fix fmt 2023-08-08 16:30:02 +01:00
Simon Larsen
bba2fa2ed3 add release 2023-08-08 14:06:08 +01:00
Simon Larsen
60ba22b15e add coment 2023-08-08 13:59:56 +01:00
Simon Larsen
b3871ca767 fix fmt 2023-08-08 13:57:51 +01:00
Simon Larsen
c97a211c67 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-08-08 13:45:40 +01:00
Simon Larsen
8f1bcd584f fix fmt 2023-08-08 13:45:16 +01:00
Simon Larsen
ee57e0eb48 add coupon generator to billing service 2023-08-08 13:42:15 +01:00
Simon Larsen
7ada72b442 Merge pull request #692 from Akitash/fix/cmd-styling
fix DISTRIB
2023-08-07 22:52:02 +01:00
Simon Larsen
4a912c0388 Merge pull request #693 from Akitash/feature/improve-readme
Update README.md with new features, content, and deployment instructions
2023-08-07 22:51:24 +01:00
JJ
21928b1989 notice that OneUptime is opensource 2023-08-07 21:35:04 +02:00
JJ
7a6884127b improve readme 2023-08-07 21:06:44 +02:00
JJ
284c8af3d6 fix DISTRIB 2023-08-07 21:00:25 +02:00
Simon Larsen
78aee4c850 fix eception on status page 2023-08-07 16:59:05 +01:00
Simon Larsen
f553d1c995 fix add seconds 2023-08-07 16:34:05 +01:00
Simon Larsen
f8b1823aa8 fix issue with incident display on status page 2023-08-07 16:05:33 +01:00
Simon Larsen
f5f4473905 remove nginx image from base 2023-08-07 15:34:14 +01:00
Simon Larsen
d8b22ae77b change default value to 5 2023-08-07 15:28:07 +01:00
Simon Larsen
e409f3ec0e add limit to probe 2023-08-07 15:22:45 +01:00
Simon Larsen
3e4dae820b add more props to count api 2023-08-07 13:11:09 +01:00
Simon Larsen
6868f74ec0 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-08-07 12:17:33 +01:00
Simon Larsen
875dbd6415 add sort to monitor pending list 2023-08-07 12:17:13 +01:00
Simon Larsen
e227c70c08 Merge pull request #691 from Akitash/feature/add-rhel-support
Feature/add rhel support
2023-08-07 11:00:30 +01:00
JJ
d9e551e0c7 change readme to upstream version 2023-08-07 11:36:06 +02:00
JJ
94b01d8cd4 change readme 2023-08-07 11:33:49 +02:00
JJ
757ea664ed add rhel support to configure.sh 2023-08-07 11:30:18 +02:00
JJ
862d85b063 change DISTRIB to global var 2023-08-07 11:30:18 +02:00
JJ
aaea2ef2d1 change readme to add RHEL 2023-08-07 11:30:18 +02:00
JJ
1a57017911 add rhel support to configure.sh 2023-08-07 11:30:02 +02:00
Simon Larsen
1d675eb1ab fix issues with probe api 2023-08-07 10:18:12 +01:00
Simon Larsen
3687e50d37 fix fmt issues in probe 2023-08-07 09:45:54 +01:00
Simon Larsen
28a480681b fix log in probe 2023-08-07 09:29:45 +01:00
Simon Larsen
894eafec43 add logs to probe 2023-08-07 08:57:36 +01:00
Simon Larsen
11b234cca6 remove await. 2023-08-06 22:11:28 +01:00
Simon Larsen
7dd77a505c add threads to probe 2023-08-06 21:54:12 +01:00
Simon Larsen
5dd8a3750b add debugging api 2023-08-06 20:59:46 +01:00
Simon Larsen
491128105a add probe debugging api 2023-08-06 20:57:58 +01:00
Simon Larsen
0cc0c033f5 fix fmt 2023-08-06 20:29:42 +01:00
Simon Larsen
6d6bcb796d monitor one monitor at a time 2023-08-06 20:29:14 +01:00
Simon Larsen
df16909e71 add probe online check 2023-08-06 20:22:45 +01:00
Simon Larsen
1d3c07326e add is probe onloine on ping monitors 2023-08-06 20:14:54 +01:00
Simon Larsen
d00d97caa1 fix fmt 2023-08-06 20:07:29 +01:00
Simon Larsen
bda2aca4cd add retry to probe 2023-08-06 20:06:02 +01:00
Simon Larsen
5fbe6214dc add env var to disable automatic incident creation 2023-08-06 20:00:46 +01:00
Simon Larsen
10bdcd98c4 remove renovate 2023-08-06 19:23:54 +01:00
Simon Larsen
7665c833bf Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-08-04 21:18:35 +01:00
Simon Larsen
ae7870245d add migraation to update the count 2023-08-04 21:18:31 +01:00
Simon Larsen
0965ff9814 Merge pull request #595 from OneUptime/renovate/jsonwebtoken-9.x-lockfile
Update dependency jsonwebtoken to v9.0.1
2023-08-04 21:01:43 +01:00
Simon Larsen
df9c09dd0f Merge pull request #596 from OneUptime/renovate/moment-timezone-0.x-lockfile
Update dependency moment-timezone to v0.5.43
2023-08-04 21:01:25 +01:00
renovate[bot]
df21f61cb9 Update dependency jsonwebtoken to v9.0.1 2023-08-04 19:56:43 +00:00
Simon Larsen
384cd4ff57 Merge pull request #594 from OneUptime/renovate/handlebars-4.x-lockfile
Update dependency handlebars to v4.7.8
2023-08-04 20:55:37 +01:00
Simon Larsen
f148ecff87 Merge pull request #597 from OneUptime/renovate/nanoid-3.x-lockfile
Update dependency nanoid to v3.3.6
2023-08-04 20:54:46 +01:00
Simon Larsen
d1e655cfb2 Merge pull request #598 from OneUptime/renovate/nodemon-2.x-lockfile
Update dependency nodemon to v2.0.22
2023-08-04 20:54:22 +01:00
Simon Larsen
acd26f07dc Merge pull request #600 from OneUptime/renovate/clickhouse-clickhouse-server-23.x
Update clickhouse/clickhouse-server Docker tag to v23.7
2023-08-04 20:53:50 +01:00
Simon Larsen
8704b4cea8 Merge pull request #599 from OneUptime/renovate/redis-7.x
Update redis Docker tag to v7.0.12
2023-08-04 20:53:25 +01:00
Simon Larsen
3d1d17641c Merge pull request #601 from OneUptime/renovate/nginx-1.x
Update nginx Docker tag to v1.25.1
2023-08-04 20:52:46 +01:00
renovate[bot]
9016dde40c Update nginx Docker tag to v1.25.1 2023-08-04 19:52:07 +00:00
renovate[bot]
c5f66bd882 Update clickhouse/clickhouse-server Docker tag to v23.7 2023-08-04 19:52:00 +00:00
renovate[bot]
f757f17646 Update redis Docker tag to v7.0.12 2023-08-04 19:51:53 +00:00
renovate[bot]
28b1dbfdae Update dependency nodemon to v2.0.22 2023-08-04 19:51:34 +00:00
renovate[bot]
594062cbd7 Update dependency nanoid to v3.3.6 2023-08-04 19:48:40 +00:00
renovate[bot]
5c0d8be312 Update dependency moment-timezone to v0.5.43 2023-08-04 19:48:25 +00:00
Simon Larsen
2b0a32a7be Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-08-04 20:47:21 +01:00
Simon Larsen
8206c79dc4 add sonarcode 2023-08-04 20:47:18 +01:00
renovate[bot]
11b7a113ed Update dependency handlebars to v4.7.8 2023-08-04 19:34:35 +00:00
Simon Larsen
a2dffc2c00 Merge pull request #590 from OneUptime/renovate/configure
Configure Renovate
2023-08-04 20:23:47 +01:00
renovate[bot]
294a1ee067 Add renovate.json 2023-08-04 19:19:45 +00:00
Simon Larsen
618415f23f fix typo 2023-08-04 14:49:02 +01:00
Simon Larsen
8e2308aa3c fix subscription status 2023-08-04 14:27:17 +01:00
Simon Larsen
73953901db fix fmt 2023-08-04 13:24:19 +01:00
Simon Larsen
069063d50f make metered plan work 2023-08-04 12:38:11 +01:00
Simon Larsen
efa97b1cc5 fix metered plan 2023-08-04 12:11:48 +01:00
Simon Larsen
874c6cce50 Merge branch 'release' into metered-plan 2023-08-04 10:50:14 +01:00
Simon Larsen
3a7c356f26 add response code to dropdown options 2023-08-04 08:48:39 +01:00
Simon Larsen
e0a4009cf6 fix metered plan 2023-08-04 08:43:15 +01:00
Simon Larsen
00982ef5d2 add promocode to project creation 2023-08-03 17:41:03 +01:00
Simon Larsen
5aaa8b650c fix length of sso certs 2023-08-03 15:59:40 +01:00
Simon Larsen
7e947ce5b7 deprecate helm 2023-08-03 10:45:03 +01:00
Simon Larsen
1cb1151be4 fix release and test release jobs 2023-08-03 09:01:04 +01:00
Simon Larsen
f128e55e89 fix fmt 2023-08-02 18:28:47 +01:00
Simon Larsen
7aea0ff6d8 add logs to test server 2023-08-02 18:26:56 +01:00
Simon Larsen
6db0674e27 fix css class 2023-08-02 18:05:07 +01:00
Simon Larsen
c6e72105ba Merge pull request #588 from OneUptime/redis-test
Redis test
2023-08-02 18:00:58 +01:00
Simon Larsen
6b0e6e81cb fix issue with label removal on save 2023-08-02 17:59:59 +01:00
Simon Larsen
38ba31fa38 fix fmt 2023-08-02 17:35:48 +01:00
Simon Larsen
bf5763b63f move to io redis 2023-08-02 17:34:38 +01:00
Simon Larsen
baec3734aa fix navbar on mobile 2023-08-02 17:00:52 +01:00
Simon Larsen
77cd9dfc42 fix mobile navbar on status page 2023-08-02 16:55:55 +01:00
Simon Larsen
3a937e7565 show navbar on mobile 2023-08-02 16:53:57 +01:00
Simon Larsen
6828db8fc9 fix header and footer link order 2023-08-02 16:09:28 +01:00
Simon Larsen
0b53b5dead Merge pull request #585 from Kashalls/ioredis
Migrate to ioredis package over node-redis
2023-08-02 14:56:05 +01:00
Jordan Jones
f42ae68986 chore: remove redis npm 2023-08-02 06:30:00 -07:00
Jordan Jones
4e06de7c08 chore: patch fix to remove x-powered-by 2023-08-02 06:29:47 -07:00
Jordan Jones
7e779c800e chore: migrate env to compose + config.env 2023-08-02 06:29:31 -07:00
Simon Larsen
fdd98fa257 fix check on smtp config valid 2023-08-02 13:55:58 +01:00
Jordan Jones
de8a03dc09 chore: update redis client 2023-08-01 16:57:33 -07:00
Jordan Jones
b97ecd8712 chore: needs config enabler 2023-08-01 16:57:12 -07:00
Jordan Jones
4e475decfd chore: needs semi 2023-08-01 16:15:47 -07:00
Jordan Jones
b72398d6ef chore: trying ioredis 2023-08-01 15:53:25 -07:00
Simon Larsen
c836d7c3b2 add disabled statusn to monitors 2023-08-01 20:26:56 +01:00
Simon Larsen
5a7a0d903c add query to incidents 2023-08-01 17:44:40 +01:00
Simon Larsen
0c5fe2c722 add minio 2023-08-01 16:41:21 +01:00
Simon Larsen
104c46357f add webhook monitoring to website 2023-07-31 18:12:44 +01:00
Simon Larsen
45bf4fb2bb fix docs with external domain names 2023-07-31 17:10:42 +01:00
Simon Larsen
bd4adeab67 seperate test and release jobs 2023-07-31 15:43:30 +01:00
Simon Larsen
2535bf5165 add prerun in update 2023-07-31 15:40:13 +01:00
Simon Larsen
5d4da4b732 fix types in table 2023-07-31 14:34:33 +01:00
Simon Larsen
18ce8e018d fix interval page 2023-07-31 13:33:34 +01:00
Simon Larsen
8a6ef17bd0 add auto resolve when no criteria met 2023-07-31 13:17:20 +01:00
Simon Larsen
c138eb857a change blob to text 2023-07-31 12:17:07 +01:00
Simon Larsen
05e4a56828 fix env var 2023-07-31 10:51:17 +01:00
Simon Larsen
91fc441d53 Merge branch 'master' into inbound-hook 2023-07-31 10:10:25 +01:00
Simon Larsen
035e92537b Merge pull request #581 from ckd/moar-copyedit
Moar copyedit
2023-07-31 08:57:51 +01:00
Carl Downing
3b483dbfbe Columnn 2023-07-30 17:54:30 -07:00
Carl Downing
921a78c7d3 Excepection 2023-07-30 17:53:07 -07:00
Carl Downing
a6720802e8 hostname 2023-07-30 17:52:25 -07:00
Carl Downing
fe82e300da checks 2023-07-30 17:50:52 -07:00
Carl Downing
3b5e1af512 subscribeto 2023-07-30 17:49:47 -07:00
Carl Downing
dd6915d052 atleast 2023-07-30 17:48:48 -07:00
Carl Downing
f3e6dc4bfb AddedTo 2023-07-30 17:47:39 -07:00
Carl Downing
c03de5225d shouldHaveAtleastOneMember 2023-07-30 17:46:33 -07:00
Carl Downing
a93f00feb9 shouldHaveAtleastOneMember 2023-07-30 17:46:21 -07:00
Carl Downing
219a0c776d SECONDARY 2023-07-30 17:43:58 -07:00
Carl Downing
4cdd05a2ae staic 2023-07-30 17:42:30 -07:00
Carl Downing
ff48afffb7 prettier 2023-07-30 15:45:56 -07:00
Carl Downing
0c85905887 belogs 2023-07-30 15:24:43 -07:00
Carl Downing
028e72ab99 notificaion 2023-07-30 15:23:26 -07:00
Carl Downing
b6aae68405 remoev 2023-07-30 15:22:10 -07:00
Carl Downing
7b93f68737 immeidately 2023-07-30 15:21:50 -07:00
Carl Downing
452c92147e Notificaiton 2023-07-30 15:19:16 -07:00
Carl Downing
295bc2bacc management 2023-07-30 15:17:43 -07:00
Carl Downing
b43a73631e trighger 2023-07-30 15:15:46 -07:00
Carl Downing
4c41e38a4b announcemnet 2023-07-30 15:15:17 -07:00
Carl Downing
3ced83260b Sceduled 2023-07-30 15:14:32 -07:00
Carl Downing
7ccf1caa06 Ownerss 2023-07-30 15:13:42 -07:00
Carl Downing
b1e476c278 monitorting 2023-07-30 15:12:39 -07:00
Carl Downing
52672028d0 Intrerval 2023-07-30 15:10:47 -07:00
Carl Downing
94d4e9e5b3 Profle 2023-07-30 15:09:28 -07:00
Carl Downing
ee2faa3cfc Dropdwon 2023-07-30 15:08:51 -07:00
Carl Downing
0a9a4f2914 Subsrciption 2023-07-30 15:07:59 -07:00
Carl Downing
c4b8f13c4d Stepss 2023-07-30 15:07:05 -07:00
Carl Downing
c801b283bd sucess 2023-07-30 15:06:00 -07:00
Carl Downing
ed34d4f3b7 priorioty 2023-07-30 15:05:06 -07:00
Carl Downing
0280bd655f intergration 2023-07-30 15:04:43 -07:00
Carl Downing
3a5a3afb14 Validaton 2023-07-30 15:03:44 -07:00
Carl Downing
7be46955f0 Begining 2023-07-30 15:02:55 -07:00
Carl Downing
7af2219194 aciton 2023-07-30 15:02:04 -07:00
Carl Downing
5346ce23e7 Toolip 2023-07-30 15:01:21 -07:00
Carl Downing
10962d1f23 Positve 2023-07-30 15:00:06 -07:00
Carl Downing
ad685d2e1a inital 2023-07-30 14:59:11 -07:00
Carl Downing
c213447ba3 Inital 2023-07-30 14:58:17 -07:00
Carl Downing
ea8dc010f5 occured 2023-07-30 14:57:43 -07:00
Carl Downing
70f2bd4586 Accordian > Accordion 2023-07-30 14:56:55 -07:00
Carl Downing
cda807659f redirct 2023-07-30 14:54:28 -07:00
Carl Downing
ce7ab517de reponse 2023-07-30 14:53:57 -07:00
Carl Downing
8d7cc79efd gloabl 2023-07-30 14:53:27 -07:00
Carl Downing
db74ce8ee6 Cannnot 2023-07-30 14:53:08 -07:00
Carl Downing
68af95f3d2 Trigegr 2023-07-30 14:52:23 -07:00
Carl Downing
c96d1a1191 Moidel 2023-07-30 14:51:15 -07:00
Carl Downing
cbe60d25fe Scirpt 2023-07-30 14:49:45 -07:00
Carl Downing
ab506b349d Scirpt 2023-07-30 14:49:22 -07:00
Carl Downing
381e55c92e runnning 2023-07-30 14:47:11 -07:00
Carl Downing
54b57b485f udpate 2023-07-30 14:46:22 -07:00
Carl Downing
c8f7bd12e8 Envrionment 2023-07-30 14:45:57 -07:00
Carl Downing
e139432e6a Invlaid 2023-07-30 14:44:47 -07:00
Carl Downing
3902a96a64 correspomnding 2023-07-30 14:44:27 -07:00
Carl Downing
46beb78f41 sttaus 2023-07-30 14:43:54 -07:00
Carl Downing
edf17d7f14 notifcation 2023-07-30 14:43:30 -07:00
Carl Downing
8db250b559 sttaus 2023-07-30 14:43:08 -07:00
Carl Downing
11e4a4c624 evenmt 2023-07-30 14:41:58 -07:00
Carl Downing
6d1203d1dc Notifcation 2023-07-30 14:41:22 -07:00
Carl Downing
f5d498c84a succcessful 2023-07-30 14:39:11 -07:00
Carl Downing
194663b3f0 Statuss 2023-07-30 14:38:42 -07:00
Carl Downing
064b3bcacc Servce 2023-07-30 14:37:50 -07:00
Carl Downing
916f5bac5f Incient 2023-07-30 14:37:06 -07:00
Carl Downing
2850be45dd select 2023-07-30 14:36:16 -07:00
Carl Downing
ff59f71a99 Coumn 2023-07-30 14:35:51 -07:00
Carl Downing
75b2336f24 relatational 2023-07-30 14:34:53 -07:00
Carl Downing
0c3e1ac85b genrateInvoiceAndChargeCustomer 2023-07-30 14:34:16 -07:00
Carl Downing
68fd2aed64 paymenMethods 2023-07-30 14:33:30 -07:00
Carl Downing
cfafb881dd token 2023-07-30 14:31:15 -07:00
Carl Downing
257f34d128 actuve 2023-07-30 14:30:18 -07:00
Carl Downing
2bdbd7173f billign 2023-07-30 14:29:50 -07:00
Carl Downing
18dba95d2b setshowComponentSettingsModal 2023-07-30 14:29:04 -07:00
Carl Downing
a09800bb18 componets 2023-07-30 14:27:09 -07:00
Carl Downing
ffd8d215e5 started 2023-07-30 14:22:52 -07:00
Carl Downing
23af4baa36 invite 2023-07-30 14:22:43 -07:00
Carl Downing
3da963d923 Merge branch 'master' into moar-copyedit 2023-07-30 14:21:27 -07:00
Carl Downing
ca368eb626 misc 2023-07-30 14:19:20 -07:00
Carl Downing
b5193e68ae getDefaultMoniorStep 2023-07-30 14:17:51 -07:00
Carl Downing
d2fbeb5fd3 function 2023-07-30 14:16:47 -07:00
Carl Downing
b154bf46af Anouncement 2023-07-30 14:14:26 -07:00
Carl Downing
ed7eecc540 Signal 2023-07-30 14:10:53 -07:00
Carl Downing
b596c874b7 alredy 2023-07-30 14:09:29 -07:00
Carl Downing
4c540ef4d5 Authenticatedxception 2023-07-30 14:08:43 -07:00
Simon Larsen
16369d904e remove default probes from incoming request 2023-07-30 22:08:04 +01:00
Carl Downing
3b9f70b7b9 expiration 2023-07-30 14:07:53 -07:00
Carl Downing
fa409a533e Dictonary 2023-07-30 14:06:20 -07:00
Simon Larsen
3537fb4ce7 fix fmt 2023-07-30 22:03:45 +01:00
Simon Larsen
aff25bc5ee fix fmt 2023-07-30 22:03:17 +01:00
Carl Downing
c2729af014 first 2023-07-30 13:59:43 -07:00
Carl Downing
a72bcbfe75 Critical 2023-07-30 13:59:14 -07:00
Carl Downing
00cd5e4b62 Exception 2023-07-30 13:58:30 -07:00
Simon Larsen
90f445d89c Merge pull request #579 from ckd/copyedits-2
Copyedits 2
2023-07-30 21:56:09 +01:00
Carl Downing
e9a9ed9ae7 included 2023-07-30 13:56:01 -07:00
Carl Downing
6c8028896f characterDictonary 2023-07-30 13:55:20 -07:00
Simon Larsen
3050847387 Merge pull request #580 from ckd/fix/page-description
Fix: page description
2023-07-30 21:55:11 +01:00
Carl Downing
4a26f061b0 incomplete_expired 2023-07-30 13:52:38 -07:00
Carl Downing
67d479950f development 2023-07-30 13:51:46 -07:00
Carl Downing
51672fa7f6 ResponsetType 2023-07-30 13:50:33 -07:00
Carl Downing
168fd94fa0 scheduled maintenance 2023-07-30 13:49:20 -07:00
Carl Downing
938e63ee4f doesPermissionHasConditions 2023-07-30 13:48:16 -07:00
Carl Downing
adc1b78e38 doesPermissionHasConfitions 2023-07-30 13:47:50 -07:00
Carl Downing
12290fa86e Clickhouse 2023-07-30 13:45:44 -07:00
Simon Larsen
5062835727 fix ref 2023-07-30 21:44:46 +01:00
Carl Downing
abe7794f60 script 2023-07-30 13:44:33 -07:00
Carl Downing
526cb693d3 restore 2023-07-30 13:43:44 -07:00
Carl Downing
81840ca97a verifying 2023-07-30 13:42:28 -07:00
Simon Larsen
4b8b41dca6 add criteria 2023-07-30 21:41:53 +01:00
Carl Downing
f74279320a receieve 2023-07-30 13:37:30 -07:00
Carl Downing
b663bf3c73 update page descriptions 2023-07-30 10:45:20 -07:00
Carl Downing
bf7f81461c remove default 2023-07-30 10:40:51 -07:00
Carl Downing
692a38c973 consistency 2023-07-30 10:18:38 -07:00
Carl Downing
f12e7550e3 prettier 2023-07-30 10:14:48 -07:00
Carl Downing
9a9b85d1d3 slight wording change 2023-07-30 10:11:11 -07:00
Carl Downing
84a9b9ef0e slight wording change 2023-07-30 10:06:38 -07:00
Carl Downing
065a7f3333 instace > instance 2023-07-30 10:00:11 -07:00
Simon Larsen
caf8c2899d Merge pull request #578 from ckd/copyedits
Copyedits
2023-07-30 17:52:04 +01:00
Carl Downing
45ec5b2fea overrideFieldKey 2023-07-30 09:02:07 -07:00
Simon Larsen
cf1df5292c fix copy edits 2023-07-30 16:51:21 +01:00
Simon Larsen
286309d0c8 add index 2023-07-30 16:46:48 +01:00
Carl Downing
279af40608 updateSubscriptionSeatsByUnqiqueTeamMembersInProject 2023-07-30 08:45:12 -07:00
Simon Larsen
0adb9cbc36 add incoming monitor feature 2023-07-30 16:44:08 +01:00
Carl Downing
acf2fe9a4e pendingNotiifcationLogs 2023-07-30 08:42:48 -07:00
Carl Downing
8826b78c5c Ongoing 2023-07-30 08:40:22 -07:00
Carl Downing
2f2902feb2 invitations 2023-07-30 08:37:28 -07:00
Carl Downing
b319a179e4 setIsLaoding 2023-07-30 08:35:03 -07:00
Carl Downing
554855b4d0 typos 2023-07-30 08:30:15 -07:00
Carl Downing
dda8bb4f20 permissions 2023-07-30 08:26:01 -07:00
Carl Downing
ea124d5505 instaceOfUserTenantAccessPermission 2023-07-30 08:25:45 -07:00
Carl Downing
cba6e4deb9 typos 2023-07-30 08:23:05 -07:00
Carl Downing
98b31288bd typos 2023-07-30 08:11:52 -07:00
Carl Downing
c8b559dce8 don't 2023-07-30 08:10:45 -07:00
Carl Downing
7a23067e18 don't 2023-07-30 08:08:53 -07:00
Carl Downing
5a08e05f5d verification 2023-07-30 08:00:40 -07:00
Carl Downing
f3ed62008e verification 2023-07-30 08:00:25 -07:00
Simon Larsen
8834725f8a Merge pull request #577 from Kashalls/announcementfix
chore: fix sidebar misspelling
2023-07-30 15:09:47 +01:00
Simon Larsen
e9e7623d3d Merge pull request #570 from ckd/link-shortener
Link shortener
2023-07-30 15:09:15 +01:00
Jordan Jones
8daf7d35fc chore: fix sidebar misspelling 2023-07-30 07:07:23 -07:00
Carl Downing
691ce56235 Merge branch 'master' into link-shortener 2023-07-30 06:53:13 -07:00
Simon Larsen
63eaf826b7 Merge pull request #574 from Kashalls/postgresfix
chore: attempt to support postgresql ssl
2023-07-30 14:39:51 +01:00
Jordan Jones
fdfd762d93 chore: fix truthy
Boolean('false') is still true
2023-07-30 06:28:59 -07:00
Jordan Jones
589acc35c1 chore: add env to docker.base.yml 2023-07-30 06:28:27 -07:00
Jordan Jones
7af57b06b5 chore: update to use pascalcase 2023-07-30 06:15:31 -07:00
Jordan Jones
873cee4a79 chore: resolve compromise 2023-07-30 06:14:27 -07:00
Jordan Jones
5b04e14a95 chore: update config.example.env 2023-07-30 06:04:31 -07:00
Simon Larsen
b165da041b Merge branch 'release' into inbound-hook 2023-07-30 13:58:38 +01:00
Jordan Jones
ce1c3b436d chore: fix types 2023-07-30 04:52:25 -07:00
Jordan Jones
1d7f064f4b chore: tls expects ssl to be false or tlsoptions 2023-07-30 04:42:22 -07:00
Jordan Jones
a8f662a5ae chore: fix lint and lint fix 2023-07-30 04:33:38 -07:00
Jordan Jones
a5c938fa3c chore: attempt to support postgresql ssl 2023-07-30 04:11:45 -07:00
Simon Larsen
7806b61ad7 fix branch name in release.yaml 2023-07-30 11:04:32 +01:00
Simon Larsen
ba27ac2bb6 Merge branch 'master' of github.com-simon:OneUptime/oneuptime 2023-07-30 11:03:27 +01:00
Simon Larsen
d51943c79b do not run release job on master 2023-07-30 11:03:24 +01:00
Simon Larsen
cad7ea159b Merge pull request #571 from ckd/fix/addDefaultNotifictionRuleForUser
fix: addDefaultNotifictionRuleForUser
2023-07-30 10:52:45 +01:00
Carl Downing
a4ba70eeb4 missed one ☹️ 2023-07-29 16:16:50 -07:00
Carl Downing
9df123728c shortner > shortener 2023-07-29 16:05:56 -07:00
Carl Downing
5506d9ab60 shortner > shortener 2023-07-29 16:03:37 -07:00
Carl Downing
3520e834eb shortner > shortener 2023-07-29 16:03:00 -07:00
Simon Larsen
9b797b5eed Merge pull request #569 from ckd/prettier-fixes
linting fixes for prettier
2023-07-29 22:58:54 +01:00
Carl Downing
1f31508f5d linting fixes for prettier 2023-07-29 14:50:43 -07:00
Simon Larsen
7faa696d97 Merge pull request #568 from ckd/addDefaultNotifictionRuleForUser
addDefaultNotifictionRuleForUser > addDefaultNotificationRuleForUser
2023-07-29 22:43:38 +01:00
Carl Downing
b091cc4a99 addDefaultNotifictionRuleForUser > addDefaultNotificationRuleForUser 2023-07-29 14:30:18 -07:00
Simon Larsen
fea213b434 Merge pull request #567 from ckd/copyedits-3
Copyedits 3
2023-07-29 22:26:13 +01:00
Carl Downing
8c340b0420 grammer change 2023-07-29 13:59:13 -07:00
Carl Downing
5e33f16250 grammer change 2023-07-29 13:58:11 -07:00
Carl Downing
564acd9bea more on-call tweaks 2023-07-29 13:56:29 -07:00
Carl Downing
9340ac529e here is > here are 2023-07-29 13:49:46 -07:00
Simon Larsen
c5ae335f01 fix fmt 2023-07-29 21:31:05 +01:00
Simon Larsen
0d89bf07c7 Merge pull request #565 from ckd/on-call-copyedits
On call copyedits
2023-07-29 21:29:20 +01:00
Simon Larsen
90b4f131dc Merge pull request #566 from ckd/SendOwnerAddedNotifiation
SendOwnerAddedNotifiation > SendOwnerAddedNotification
2023-07-29 21:25:55 +01:00
Simon Larsen
31a8157a62 Merge pull request #564 from ckd/copyedits
Monitor copyedits
2023-07-29 21:25:25 +01:00
Carl Downing
d20abb4610 SendOwnerAddedNotifiation > SendOwnerAddedNotification 2023-07-29 13:18:39 -07:00
Carl Downing
17badbb470 On Call > On-Call 2023-07-29 13:10:45 -07:00
Carl Downing
e4d14c8b2f NotificationRuleType 2023-07-29 13:07:01 -07:00
Carl Downing
bf6d4e16be On Call > On-Call 2023-07-29 13:06:25 -07:00
Carl Downing
b81fa17f76 copyedits 2023-07-29 12:56:41 -07:00
Simon Larsen
f6b1693663 increase limit max 2023-07-29 17:01:25 +01:00
Simon Larsen
7b25cef7f7 add incoming request api 2023-07-29 16:21:47 +01:00
Simon Larsen
ba463f44b1 Merge pull request #563 from Kashalls/fifth
value needs to be set with pattern being version
2023-07-29 16:10:11 +01:00
Jordan Jones
a36d0e4258 value needs to be set with pattern being version 2023-07-29 08:07:44 -07:00
Simon Larsen
6a9a535365 Merge pull request #561 from Kashalls/fourthtime
Outdated Docs Will Be My Downfall
2023-07-29 15:41:30 +01:00
Jordan Jones
1b5ba60703 invalid type 2023-07-29 07:31:11 -07:00
Simon Larsen
7cd2ca96fc add heartbeat monitor 2023-07-29 15:11:10 +01:00
Simon Larsen
5ac205ddc0 Merge pull request #558 from Kashalls/thirdtimesthecharm
Thirdtimesthecharm
2023-07-29 14:57:21 +01:00
Jordan Jones
668830063f whoops 2023-07-29 06:50:55 -07:00
Jordan Jones
ed06cef3b1 chore: replace version build args which isnt parsing right 2023-07-29 06:49:37 -07:00
Jordan Jones
6c8154d94b chore: add docker labels 2023-07-29 06:46:57 -07:00
Simon Larsen
ee99f3f558 add docs of ghcr to docker compose file 2023-07-29 14:20:13 +01:00
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
818 changed files with 101681 additions and 61761 deletions

View File

@@ -45,7 +45,8 @@
"workbox": true,
"importScripts": true,
"$TSFixMe": true,
"NodeJS": true
"NodeJS": true,
"JSX": true
},
"parser": "@typescript-eslint/parser",
"rules": {

View File

@@ -1,8 +1,8 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
title: 'Bug: <Title of the issue>'
labels: 'bug'
assignees: ''
---

View File

@@ -1,8 +1,8 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
title: 'Enhancement: <Title of the issue>'
labels: 'enhancement'
assignees: ''
---

View File

@@ -1,7 +1,7 @@
---
name: Request for Test
about: 'Request more tests for product code in the platform. '
title: Tests for [FIleName]
title: Tests for [FileName]
labels: 'write tests'
assignees: ''

View File

@@ -7,7 +7,7 @@
- [ ] Please make sure all jobs pass before requesting a review.
- [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).
- [ ] Have you lint your code locally before submission?
- [ ] Did you write tests where appropiate?
- [ ] Did you write tests where appropriate?
### Related Issue?

20
.github/workflows/code-analysis.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Code Analysis
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

View File

@@ -39,7 +39,7 @@ jobs:
- run: cd CommonServer && npm install
- run: cd ApiReference && npm install && npm run compile
compile-link-shortner:
compile-link-shortener:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
@@ -51,7 +51,7 @@ jobs:
- run: cd Common && npm install
- run: cd Model && npm install
- run: cd CommonServer && npm install
- run: cd LinkShortner && npm install && npm run compile
- run: cd LinkShortener && npm install && npm run compile
compile-common-server:
runs-on: ubuntu-latest
@@ -105,6 +105,22 @@ jobs:
- run: cd CommonServer && npm install
- run: cd CommonUI && npm install --force
- run: cd DashboardAPI && npm install && npm run compile
compile-admin-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 AdminDashboard && npm install && npm run compile
compile-dashboard:
runs-on: ubuntu-latest

View File

@@ -25,7 +25,7 @@ jobs:
- name: build docker image
run: sudo docker build -f ./Accounts/Dockerfile .
docker-build-link-shortner:
docker-build-link-shortener:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
@@ -38,7 +38,7 @@ jobs:
# build image for accounts service
- name: build docker image
run: sudo docker build -f ./LinkShortner/Dockerfile .
run: sudo docker build -f ./LinkShortener/Dockerfile .
docker-build-api-reference:
runs-on: ubuntu-latest
@@ -71,6 +71,21 @@ jobs:
- name: build docker image
run: sudo docker build -f ./DashboardAPI/Dockerfile .
docker-build-admin-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 ./AdminDashboard/Dockerfile .
docker-build-dashboard:
runs-on: ubuntu-latest
env:

File diff suppressed because it is too large Load Diff

1362
.github/workflows/test-release.yaml vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,461 +0,0 @@
name: Test Image Deploy to DockerHub
on:
push:
branches:
- "master"
jobs:
nginx-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/nginx:test --push -f ./Nginx/Dockerfile .
generate-build-number:
runs-on: ubuntu-latest
outputs:
build_number: ${{ steps.buildnumber.outputs.build_number }}
steps:
- name: Generate build number
id: buildnumber
uses: onyxmueller/build-tag-number@v1.0.2
with:
token: ${{secrets.github_token}}
- run: echo "Build number is ${{ steps.buildnumber.outputs.build_number }}"
test-server-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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/test-server:$ONEUPTIME_VERSION-test --tag oneuptime/test-server:test --push -f ./TestServer/Dockerfile .
link-shortner-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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/link-shortner:$ONEUPTIME_VERSION-test --tag oneuptime/link-shortner:test --push -f ./LinkShortner/Dockerfile .
workflow-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/workflow:test --push -f ./Workflow/Dockerfile .
workers-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/workers:test --push -f ./Workers/Dockerfile .
status-page-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/status-page:test --push -f ./StatusPage/Dockerfile .
realtime-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/realtime:test --push -f ./Realtime/Dockerfile .
probe-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/probe:test --push -f ./Probe/Dockerfile .
probe-api-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/probe-api:test --push -f ./ProbeAPI/Dockerfile .
notification-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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/notification:$ONEUPTIME_VERSION-test --tag oneuptime/notification:test --push -f ./Notification/Dockerfile .
licensing-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/licensing:test --push -f ./Licensing/Dockerfile .
integrations-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/integrations:test --push -f ./Integration/Dockerfile .
identity-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/identity:test --push -f ./Identity/Dockerfile .
home-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/home:test --push -f ./Home/Dockerfile .
helm-chart-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/helm-chart:test --push -f ./HelmChart/Dockerfile .
haraka-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/haraka:test --push -f ./Haraka/Dockerfile .
file-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/file:test --push -f ./File/Dockerfile .
dashboard-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/dashboard:test --push -f ./Dashboard/Dockerfile .
dashboard-api-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/dashboard-api:test --push -f ./DashboardAPI/Dockerfile .
api-reference-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/api-reference:test --push -f ./ApiReference/Dockerfile .
accounts-test-docker-image-deploy:
needs: generate-build-number
runs-on: ubuntu-latest
env:
DOCKERHUB_PASSWORD: ${{secrets.DOCKERHUB_PASSWORD}}
DOCKERHUB_USERNAME: ${{secrets.DOCKERHUB_USERNAME}}
ONEUPTIME_VERSION: "7.0.${{needs.generate-build-number.outputs.build_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:$ONEUPTIME_VERSION-test --tag oneuptime/accounts:test --push -f ./Accounts/Dockerfile .

3
.gitignore vendored
View File

@@ -85,3 +85,6 @@ Backups/*.sql
Backups/*.tar
.env
Haraka/dkim/keys/private_base64.txt
Haraka/dkim/keys/public_base64.txt

20
.vscode/launch.json vendored
View File

@@ -57,8 +57,8 @@
},
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/LinkShortner",
"name": "Link Shortner: Debug with Docker",
"localRoot": "${workspaceFolder}/LinkShortener",
"name": "Link Shortener: Debug with Docker",
"port": 9826,
"remoteRoot": "/usr/src/app",
"request": "attach",
@@ -86,7 +86,7 @@
{
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Probe",
"name": "Dashboard API: Debug with Docker",
"name": "Probe: Debug with Docker",
"port": 9655,
"remoteRoot": "/usr/src/app",
"request": "attach",
@@ -335,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

@@ -3,13 +3,19 @@
#
# Pull base image nodejs image.
FROM node:18.13.0-alpine
FROM node:current-alpine
USER root
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
ARG GIT_SHA
ARG APP_VERSION
ENV GIT_SHA=${GIT_SHA}
ENV APP_VERSION=${APP_VERSION}
# Install bash.
RUN apk update && apk add bash && apk add curl
RUN apk add bash && apk add curl
#Use bash shell by default
SHELL ["/bin/bash", "-c"]

View File

@@ -7,7 +7,7 @@ export const APP_NAME: string = 'accounts';
const app: ExpressApplication = Express.getExpressApp();
const init: Function = async (): Promise<void> => {
const init: () => Promise<void> = async (): Promise<void> => {
try {
// init the app
await App(APP_NAME, undefined, true);
@@ -17,6 +17,8 @@ const init: Function = async (): Promise<void> => {
}
};
init();
init().catch((err: Error) => {
logger.error(err);
});
export default app;

View File

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

View File

@@ -20,7 +20,8 @@
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"the-new-css-reset": "^1.7.3",
"typescript": "^4.6.4"
"typescript": "^4.6.4",
"use-async-effect": "^2.2.7"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
@@ -61,7 +62,7 @@
"moment-timezone": "^0.5.40",
"nanoid": "^3.3.2",
"nanoid-dictionary": "^4.3.0",
"posthog-js": "^1.37.0",
"posthog-js": "^1.77.0",
"process": "^0.11.10",
"reflect-metadata": "^0.1.13",
"slugify": "^1.6.5",
@@ -69,7 +70,7 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@faker-js/faker": "^6.3.1",
"@faker-js/faker": "^8.0.2",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.22",
"jest": "^27.5.1",
@@ -81,6 +82,7 @@
"version": "1.0.0",
"license": "MIT",
"dependencies": {
"@clickhouse/client": "^0.2.1",
"@elastic/elasticsearch": "^8.1.0",
"@opentelemetry/api": "^1.1.0",
"@opentelemetry/auto-instrumentations-node": "^0.31.0",
@@ -101,6 +103,7 @@
"express": "^4.17.3",
"gridfs-stream": "^1.1.1",
"handlebars": "^4.7.7",
"ioredis": "^5.3.2",
"json2csv": "^5.0.7",
"jsonwebtoken": "^9.0.0",
"markdown-it": "^13.0.1",
@@ -109,7 +112,6 @@
"nodemailer": "^6.7.3",
"nodemailer-express-handlebars": "^5.0.0",
"pg": "^8.7.3",
"redis": "^4.2.0",
"socket.io": "^4.4.1",
"stripe": "^10.17.0",
"twilio": "^4.13.0",
@@ -10754,9 +10756,9 @@
"integrity": "sha512-EJ3rzxL9pTWPjk5arA0s0dgXpnyiAbJDE6wHT62g7VsgrgQgmmZ+Ru++M1BFofncWja+Pnn3rEr3fieRySAdKQ=="
},
"node_modules/nodemon": {
"version": "2.0.20",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.20.tgz",
"integrity": "sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw==",
"version": "2.0.22",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz",
"integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==",
"dev": true,
"dependencies": {
"chokidar": "^3.5.2",
@@ -15015,6 +15017,14 @@
"requires-port": "^1.0.0"
}
},
"node_modules/use-async-effect": {
"version": "2.2.7",
"resolved": "https://registry.npmjs.org/use-async-effect/-/use-async-effect-2.2.7.tgz",
"integrity": "sha512-Vq94tKPyo/9Nok4LOapV0GoGgZPhbeDW/bP6bulLPV4+lIoftaBRBBbGjTbM+j5W1Bm2EkUHJgapeu5YnQvKEA==",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -19843,7 +19853,7 @@
"Common": {
"version": "file:../Common",
"requires": {
"@faker-js/faker": "^6.3.1",
"@faker-js/faker": "^8.0.2",
"@types/crypto-js": "^4.1.1",
"@types/jest": "^27.5.2",
"@types/nanoid-dictionary": "^4.2.0",
@@ -19857,7 +19867,7 @@
"moment-timezone": "^0.5.40",
"nanoid": "^3.3.2",
"nanoid-dictionary": "^4.3.0",
"posthog-js": "^1.37.0",
"posthog-js": "^1.77.0",
"process": "^0.11.10",
"reflect-metadata": "^0.1.13",
"slugify": "^1.6.5",
@@ -19884,6 +19894,7 @@
"CommonServer": {
"version": "file:../CommonServer",
"requires": {
"@clickhouse/client": "^0.2.1",
"@elastic/elasticsearch": "^8.1.0",
"@faker-js/faker": "^6.3.1",
"@opentelemetry/api": "^1.1.0",
@@ -19910,6 +19921,7 @@
"express": "^4.17.3",
"gridfs-stream": "^1.1.1",
"handlebars": "^4.7.7",
"ioredis": "^5.3.2",
"jest": "^27.5.1",
"json2csv": "^5.0.7",
"jsonwebtoken": "^9.0.0",
@@ -19919,7 +19931,6 @@
"nodemailer": "^6.7.3",
"nodemailer-express-handlebars": "^5.0.0",
"pg": "^8.7.3",
"redis": "^4.2.0",
"socket.io": "^4.4.1",
"stripe": "^10.17.0",
"ts-jest": "^27.1.4",
@@ -23855,9 +23866,9 @@
"integrity": "sha512-EJ3rzxL9pTWPjk5arA0s0dgXpnyiAbJDE6wHT62g7VsgrgQgmmZ+Ru++M1BFofncWja+Pnn3rEr3fieRySAdKQ=="
},
"nodemon": {
"version": "2.0.20",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.20.tgz",
"integrity": "sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw==",
"version": "2.0.22",
"resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz",
"integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==",
"dev": true,
"requires": {
"chokidar": "^3.5.2",
@@ -26759,6 +26770,12 @@
"requires-port": "^1.0.0"
}
},
"use-async-effect": {
"version": "2.2.7",
"resolved": "https://registry.npmjs.org/use-async-effect/-/use-async-effect-2.2.7.tgz",
"integrity": "sha512-Vq94tKPyo/9Nok4LOapV0GoGgZPhbeDW/bP6bulLPV4+lIoftaBRBBbGjTbM+j5W1Bm2EkUHJgapeu5YnQvKEA==",
"requires": {}
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",

View File

@@ -15,7 +15,8 @@
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"the-new-css-reset": "^1.7.3",
"typescript": "^4.6.4"
"typescript": "^4.6.4",
"use-async-effect": "^2.2.7"
},
"scripts": {
"dev": "npx nodemon",

View File

@@ -5,14 +5,12 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charSet='utf-8' />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<meta name="slack-app-id" content="ACVBMTPJQ">
<meta name="description" content="This is the login page for OneUptime Dashboard">
<meta name="description" content="OneUptime — the complete open-source observability platform.">
<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
@@ -41,8 +39,8 @@
<script src="/accounts/env.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
* {
font-family: Inter;

View File

@@ -1,7 +1,7 @@
import React, { FunctionComponent } from 'react';
import React from 'react';
import { Link } from 'react-router-dom';
const Footer: FunctionComponent = () => {
const Footer: () => JSX.Element = () => {
return (
<div className="footer">
<p>

View File

@@ -1,4 +1,4 @@
import React, { FunctionComponent, useState } from 'react';
import React, { useState } from 'react';
import ModelForm, { FormType } from 'CommonUI/src/Components/Forms/ModelForm';
import User from 'Model/Models/User';
import Route from 'Common/Types/API/Route';
@@ -8,7 +8,7 @@ import Link from 'CommonUI/src/Components/Link/Link';
import { FORGOT_PASSWORD_API_URL } from '../Utils/ApiPaths';
import URL from 'Common/Types/API/URL';
const ForgotPassword: FunctionComponent = () => {
const ForgotPassword: () => JSX.Element = () => {
const apiUrl: URL = FORGOT_PASSWORD_API_URL;
const [isSuccess, setIsSuccess] = useState<boolean>(false);

View File

@@ -1,4 +1,4 @@
import React, { FunctionComponent, useState } from 'react';
import React, { useState } from 'react';
import User from 'Model/Models/User';
import Route from 'Common/Types/API/Route';
import FormFieldSchemaType from 'CommonUI/src/Components/Forms/Types/FormFieldSchemaType';
@@ -12,23 +12,29 @@ import LoginUtil from '../Utils/Login';
import UserUtil from 'CommonUI/src/Utils/User';
import Navigation from 'CommonUI/src/Utils/Navigation';
import { DASHBOARD_URL } from 'CommonUI/src/Config';
import Alert, { AlertType } from 'CommonUI/src/Components/Alerts/Alert';
import UiAnalytics from 'CommonUI/src/Utils/Analytics';
const LoginPage: FunctionComponent = () => {
const LoginPage: () => JSX.Element = () => {
const apiUrl: URL = LOGIN_API_URL;
if (UserUtil.isLoggedIn()) {
Navigation.navigate(DASHBOARD_URL);
}
const showSsoMessage: boolean = Boolean(
Navigation.getQueryStringByName('sso')
);
const [showSsoTip, setShowSSOTip] = useState<boolean>(false);
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">
<div className="">
<img
className="mx-auto h-12 w-auto"
src={OneUptimeLogo}
alt="Your Company"
alt="OneUptime"
/>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
Sign in to your account
@@ -39,6 +45,16 @@ const LoginPage: FunctionComponent = () => {
</p>
</div>
{showSsoMessage && (
<div className="sm:mx-auto sm:w-full sm:max-w-md mt-8">
{' '}
<Alert
type={AlertType.DANGER}
title="You must be logged into OneUptime account to use single sign-on (SSO) for your project. Logging in to OneUptime account and single sign on (SSO) for your project are two separate steps. Please use the form below to log in to your OneUptime account before you use SSO."
/>{' '}
</div>
)}
<div className="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
<div className="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
<ModelForm<User>
@@ -74,8 +90,19 @@ const LoginPage: FunctionComponent = () => {
apiUrl={apiUrl}
formType={FormType.Create}
submitButtonText={'Login'}
onSuccess={(value: JSONObject) => {
LoginUtil.login(value);
onSuccess={(
value: User,
miscData: JSONObject | undefined
) => {
if (value && value.email) {
UiAnalytics.userAuth(value.email);
UiAnalytics.capture('accounts/login');
}
LoginUtil.login({
user: value,
token: miscData ? miscData['token'] : undefined,
});
}}
maxPrimaryButtonWidth={true}
footer={

View File

@@ -1,6 +1,6 @@
import React, { FunctionComponent } from 'react';
import React from 'react';
const LoginPage: FunctionComponent = () => {
const LoginPage: () => JSX.Element = () => {
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">

View File

@@ -1,4 +1,4 @@
import React, { FunctionComponent } from 'react';
import React, { useState } from 'react';
import ModelForm, { FormType } from 'CommonUI/src/Components/Forms/ModelForm';
import User from 'Model/Models/User';
import Link from 'CommonUI/src/Components/Link/Link';
@@ -13,14 +13,85 @@ 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';
import Dictionary from 'Common/Types/Dictionary';
import UiAnalytics from 'CommonUI/src/Utils/Analytics';
import LocalStorage from 'CommonUI/src/Utils/LocalStorage';
import Reseller from 'Model/Models/Reseller';
import ModelAPI, { ListResult } from 'CommonUI/src/Utils/ModelAPI/ModelAPI';
import BaseAPI from 'CommonUI/src/Utils/API/API';
import ErrorMessage from 'CommonUI/src/Components/ErrorMessage/ErrorMessage';
import PageLoader from 'CommonUI/src/Components/Loader/PageLoader';
import useAsyncEffect from 'use-async-effect';
const RegisterPage: FunctionComponent = () => {
const RegisterPage: () => JSX.Element = () => {
const apiUrl: URL = SIGNUP_API_URL;
const [initialValues, setInitialValues] = React.useState<JSONObject>({});
const [error, setError] = useState<string>('');
const [isLoading, setIsLoading] = React.useState<boolean>(false);
const [reseller, setResller] = React.useState<Reseller | undefined>(
undefined
);
if (UserUtil.isLoggedIn()) {
Navigation.navigate(DASHBOARD_URL);
}
const fetchReseller: Function = async (
resellerId: string
): Promise<void> => {
setIsLoading(true);
try {
const reseller: ListResult<Reseller> =
await ModelAPI.getList<Reseller>(
Reseller,
{
resellerId: resellerId,
},
1,
0,
{
hidePhoneNumberOnSignup: true,
},
{},
{}
);
if (reseller.data.length > 0) {
setResller(reseller.data[0]);
}
} catch (err) {
setError(BaseAPI.getFriendlyMessage(err));
}
setIsLoading(false);
};
useAsyncEffect(async () => {
// if promo code is found, please save it in localstorage.
if (Navigation.getQueryStringByName('promoCode')) {
LocalStorage.setItem(
'promoCode',
Navigation.getQueryStringByName('promoCode')
);
}
if (Navigation.getQueryStringByName('email')) {
setInitialValues({
email: Navigation.getQueryStringByName('email'),
});
}
// if promo code is found, please save it in localstorage.
if (Navigation.getQueryStringByName('partnerId')) {
await fetchReseller(Navigation.getQueryStringByName('partnerId')!);
}
}, []);
let formFields: Fields<User> = [
{
field: {
@@ -29,6 +100,7 @@ const RegisterPage: FunctionComponent = () => {
fieldType: FormFieldSchemaType.Email,
placeholder: 'jeff@example.com',
required: true,
disabled: Boolean(initialValues && initialValues['email']),
title: 'Email',
},
{
@@ -53,7 +125,11 @@ const RegisterPage: FunctionComponent = () => {
required: true,
title: 'Company Name',
},
{
]);
// If reseller wants to hide phone number on sign up, we hide it.
if (!reseller || !reseller.hidePhoneNumberOnSignup) {
formFields.push({
field: {
companyPhoneNumber: true,
},
@@ -61,8 +137,8 @@ const RegisterPage: FunctionComponent = () => {
required: true,
placeholder: '+11234567890',
title: 'Phone Number',
},
]);
});
}
}
formFields = formFields.concat([
@@ -89,19 +165,27 @@ const RegisterPage: FunctionComponent = () => {
fieldType: FormFieldSchemaType.Password,
placeholder: 'Confirm Password',
title: 'Confirm Password',
overideFieldKey: 'confirmPassword',
overrideFieldKey: 'confirmPassword',
required: true,
forceShow: true,
},
]);
if (error) {
return <ErrorMessage error={error} />;
}
if (isLoading) {
return <PageLoader isVisible={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">
<img
className="mx-auto h-12 w-auto"
src={OneUptimeLogo}
alt="Your Company"
alt="OneUptime"
/>
<h2 className="mt-6 text-center text-2xl tracking-tight text-gray-900">
Create your OneUptime account
@@ -120,23 +204,48 @@ const RegisterPage: FunctionComponent = () => {
<ModelForm<User>
modelType={User}
id="register-form"
showAsColumns={2}
showAsColumns={reseller ? 1 : 2}
name="Register"
initialValues={initialValues}
maxPrimaryButtonWidth={true}
initialValues={{
email: '',
name: '',
companyName: '',
companyPhoneNumber: '',
password: '',
confirmPassword: '',
}}
fields={formFields}
apiUrl={apiUrl}
onBeforeCreate={(item: User): Promise<User> => {
const utmParams: Dictionary<string> =
UserUtil.getUtmParams();
if (
utmParams &&
Object.keys(utmParams).length > 0
) {
item.utmSource = utmParams['utmSource'] || '';
item.utmMedium = utmParams['utmMedium'] || '';
item.utmCampaign =
utmParams['utmCampaign'] || '';
item.utmTerm = utmParams['utmTerm'] || '';
item.utmContent = utmParams['utmContent'] || '';
item.utmUrl = utmParams['utmUrl'] || '';
UiAnalytics.capture('utm_event', utmParams);
}
return Promise.resolve(item);
}}
formType={FormType.Create}
submitButtonText={'Sign Up'}
onSuccess={(value: JSONObject) => {
LoginUtil.login(value);
onSuccess={(
value: User,
miscData: JSONObject | undefined
) => {
if (value && value.email) {
UiAnalytics.userAuth(value.email);
UiAnalytics.capture('accounts/register');
}
LoginUtil.login({
user: value,
token: miscData ? miscData['token'] : undefined,
});
}}
/>
</div>

View File

@@ -1,4 +1,4 @@
import React, { FunctionComponent, useState } from 'react';
import React, { useState } from 'react';
import ModelForm, { FormType } from 'CommonUI/src/Components/Forms/ModelForm';
import User from 'Model/Models/User';
import Link from 'CommonUI/src/Components/Link/Link';
@@ -10,7 +10,7 @@ import URL from 'Common/Types/API/URL';
import { RESET_PASSWORD_API_URL } from '../Utils/ApiPaths';
import Navigation from 'CommonUI/src/Utils/Navigation';
const RegisterPage: FunctionComponent = () => {
const RegisterPage: () => JSX.Element = () => {
const apiUrl: URL = RESET_PASSWORD_API_URL;
const [isSuccess, setIsSuccess] = useState<boolean>(false);
@@ -47,20 +47,16 @@ const RegisterPage: FunctionComponent = () => {
modelType={User}
id="register-form"
name="Reset Password"
onBeforeCreate={(item: User) => {
onBeforeCreate={(item: User): Promise<User> => {
item.resetPasswordToken =
Navigation.getLastParam()
?.toString()
.replace('/', '')
.toString() || '';
return item;
return Promise.resolve(item);
}}
showAsColumns={1}
maxPrimaryButtonWidth={true}
initialValues={{
password: '',
confirmPassword: '',
}}
fields={[
{
field: {
@@ -85,7 +81,7 @@ const RegisterPage: FunctionComponent = () => {
fieldType: FormFieldSchemaType.Password,
placeholder: 'Confirm Password',
title: 'Confirm Password',
overideFieldKey: 'confirmPassword',
overrideFieldKey: 'confirmPassword',
required: true,
},
]}

View File

@@ -1,4 +1,4 @@
import React, { FunctionComponent, useEffect, useState } from 'react';
import React, { useEffect, useState } from 'react';
import Route from 'Common/Types/API/Route';
import OneUptimeLogo from 'CommonUI/src/Images/logos/OneUptimeSVG/3-transparent.svg';
import Link from 'CommonUI/src/Components/Link/Link';
@@ -12,12 +12,12 @@ import ObjectID from 'Common/Types/ObjectID';
import URL from 'Common/Types/API/URL';
import API from 'CommonUI/src/Utils/API/API';
const VerifyEmail: FunctionComponent = () => {
const VerifyEmail: () => JSX.Element = () => {
const apiUrl: URL = VERIFY_EMAIL_API_URL;
const [error, setError] = useState<string>('');
const [isLoading, setIsLoading] = useState<boolean>(true);
const init: Function = async (): Promise<void> => {
const init: () => Promise<void> = async (): Promise<void> => {
// Ping an API here.
setError('');
setIsLoading(true);
@@ -82,7 +82,7 @@ const VerifyEmail: FunctionComponent = () => {
Your email is verified.
</h5>
<p className="text-muted mt-2 mb-0">
Thank you for veryfing your
Thank you for verifying your
email. You can now log in to
OneUptime.{' '}
</p>

View File

@@ -15,12 +15,14 @@ export default abstract class LoginUtil {
value['user'] as JSONObject,
User
) as User;
const token: string = value['token'] as string;
UserUtil.setAccessToken(token);
UserUtil.setEmail(user.email as Email);
UserUtil.setUserId(user.id as ObjectID);
UserUtil.setName(user.name as Name);
UserUtil.setIsMasterAdmin(user.isMasterAdmin as boolean);
Analytics.userAuth(user.email!);

View File

@@ -2,8 +2,9 @@ const path = require("path");
const webpack = require("webpack");
const dotenv = require('dotenv');
const express = require('express');
const axios = require('axios');
const readEnvFile = (pathToFile) => {
const readEnvFile = async (pathToFile) => {
const parsed = dotenv.config({ path: pathToFile }).parsed;
@@ -13,66 +14,70 @@ const readEnvFile = (pathToFile) => {
env[key] = JSON.stringify(parsed[key]);
}
return env;
}
module.exports = {
entry: "./src/Index.tsx",
mode: "development",
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "public", "dist"),
publicPath: "/accounts/dist/",
},
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.css', '.scss'],
alias: {
react: path.resolve('./node_modules/react'),
}
},
externals: {
'react-native-sqlite-storage': 'react-native-sqlite-storage'
},
plugins: [
new webpack.DefinePlugin({
'process': {
'env': {
...readEnvFile('/usr/src/app/dev-env/.env')
}
}
}),
],
module: {
rules: [
{
test: /\.(ts|tsx)$/,
use: 'ts-loader'
},
{
test: /\.s[ac]ss$/i,
use: ['style-loader', 'css-loader', "sass-loader"]
},
{
test: /\.css$/i,
use: ['style-loader', 'css-loader']
},
{
test: /\.(jpe?g|png|gif|svg)$/i,
loader: 'file-loader'
}
],
},
devServer: {
historyApiFallback: true,
devMiddleware: {
writeToDisk: true,
const webpackConfig = async () => {
return {
entry: "./src/Index.tsx",
mode: "development",
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "public", "dist"),
publicPath: "/accounts/dist/",
},
allowedHosts: "all",
setupMiddlewares: (middlewares, devServer) => {
devServer.app.use('/accounts/assets', express.static(path.resolve(__dirname, 'public', 'assets')));
return middlewares;
}
},
devtool: 'eval-source-map',
}
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.css', '.scss'],
alias: {
react: path.resolve('./node_modules/react'),
}
},
externals: {
'react-native-sqlite-storage': 'react-native-sqlite-storage'
},
plugins: [
new webpack.DefinePlugin({
'process': {
'env': {
...(await readEnvFile('/usr/src/app/dev-env/.env'))
}
}
}),
],
module: {
rules: [
{
test: /\.(ts|tsx)$/,
use: 'ts-loader'
},
{
test: /\.s[ac]ss$/i,
use: ['style-loader', 'css-loader', "sass-loader"]
},
{
test: /\.css$/i,
use: ['style-loader', 'css-loader']
},
{
test: /\.(jpe?g|png|gif|svg)$/i,
loader: 'file-loader'
}
],
},
devServer: {
historyApiFallback: true,
devMiddleware: {
writeToDisk: true,
},
allowedHosts: "all",
setupMiddlewares: (middlewares, devServer) => {
devServer.app.use('/accounts/assets', express.static(path.resolve(__dirname, 'public', 'assets')));
return middlewares;
}
},
devtool: 'eval-source-map',
}
};
module.exports = webpackConfig;

View File

@@ -3,13 +3,19 @@
#
# Pull base image nodejs image.
FROM node:18.13.0-alpine
FROM node:current-alpine
USER root
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
ARG GIT_SHA
ARG APP_VERSION
ENV GIT_SHA=${GIT_SHA}
ENV APP_VERSION=${APP_VERSION}
# Install bash.
RUN apk update && apk add bash && apk add curl
RUN apk add bash && apk add curl
#Use bash shell by default
SHELL ["/bin/bash", "-c"]
@@ -65,12 +71,13 @@ COPY ./AdminDashboard/package*.json /usr/src/app/
RUN npm install
# Expose ports.
# - 3005: AdminDashboard
EXPOSE 3005
# - 3158: AdminDashboard
EXPOSE 3158
{{ if eq .Env.ENVIRONMENT "development" }}
#Run the app
RUN mkdir /usr/src/app/dev-env
RUN touch /usr/src/app/dev-env/.env
CMD [ "npm", "run", "dev" ]
{{ else }}
# Copy app source
@@ -80,4 +87,3 @@ RUN npm run build
#Run the app
CMD [ "npm", "start" ]
{{ end }}

46
AdminDashboard/README.md Normal file
View File

@@ -0,0 +1,46 @@
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).

23
AdminDashboard/Serve.ts Executable file
View File

@@ -0,0 +1,23 @@
import App from 'CommonServer/Utils/StartServer';
import Express, { ExpressApplication } from 'CommonServer/Utils/Express';
import logger from 'CommonServer/Utils/Logger';
export const APP_NAME: string = 'admin';
const app: ExpressApplication = Express.getExpressApp();
const init: () => Promise<void> = async (): Promise<void> => {
try {
// init the app
await App(APP_NAME, undefined, true);
} catch (err) {
logger.error('App Init Failed:');
logger.error(err);
}
};
init().catch((err: Error) => {
logger.error(err);
});
export default app;

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.

4
AdminDashboard/index.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
declare module '*.png';
declare module '*.svg';
declare module '*.jpg';
declare module '*.gif';

View File

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

32648
AdminDashboard/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
{
"name": "admin-dashboard",
"version": "0.1.0",
"private": false,
"dependencies": {
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.13",
"@stripe/react-stripe-js": "^1.15.0",
"@stripe/stripe-js": "^1.44.1",
"Common": "file:../Common",
"CommonServer": "file:../CommonServer",
"CommonUI": "file:../CommonUI",
"Model": "file:../Model",
"react": "^18.1.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.1.0",
"react-icons": "^4.4.0",
"react-router": "^6.3.0",
"react-router-dom": "^6.3.0",
"reactflow": "^11.5.3",
"stripe": "^11.0.0",
"the-new-css-reset": "^1.7.3",
"typescript": "^4.6.4",
"use-async-effect": "^2.2.6"
},
"scripts": {
"dev": "npx nodemon",
"build": "webpack build --mode=production",
"test": "react-app-rewired test",
"eject": "webpack eject",
"compile": "tsc",
"start": "node --require ts-node/register Serve.ts",
"audit": "npm audit --audit-level=low",
"configure": "npx npm-force-resolutions || echo 'No package-lock.json file. Skipping force resolutions'",
"dep-check": "depcheck ./ --skip-missing=true'"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.1",
"@types/node": "^16.11.35",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@types/react-router-dom": "^5.3.3",
"css-loader": "^6.7.1",
"customize-cra": "^1.0.0",
"nodemon": "^2.0.20",
"react-app-rewired": "^2.2.1",
"sass": "^1.51.0",
"sass-loader": "^12.6.0",
"ts-loader": "^9.3.0",
"ts-node": "^10.9.1",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0"
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2017 by original authors @ fontello.com</metadata>
<defs>
<font id="rw-widgets" horiz-adv-x="1000" >
<font-face font-family="rw-widgets" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="up-dir" unicode="&#xe800;" d="M571 171q0-14-10-25t-25-10h-500q-15 0-25 10t-11 25 11 26l250 250q10 10 25 10t25-10l250-250q10-11 10-26z" horiz-adv-x="571.4" />
<glyph glyph-name="search" unicode="&#xe801;" d="M643 386q0 103-73 176t-177 74-177-74-73-176 73-177 177-73 177 73 73 177z m286-465q0-29-22-50t-50-21q-30 0-50 21l-191 191q-100-69-223-69-80 0-153 31t-125 84-84 125-31 153 31 152 84 126 125 84 153 31 153-31 125-84 84-126 31-152q0-123-69-223l191-191q21-21 21-51z" horiz-adv-x="928.6" />
<glyph glyph-name="down-dir" unicode="&#xe803;" d="M571 457q0-14-10-25l-250-250q-11-11-25-11t-25 11l-250 250q-11 11-11 25t11 25 25 11h500q14 0 25-11t10-25z" horiz-adv-x="571.4" />
<glyph glyph-name="calendar" unicode="&#xe804;" d="M71-79h161v161h-161v-161z m197 0h178v161h-178v-161z m-197 197h161v178h-161v-178z m197 0h178v178h-178v-178z m-197 214h161v161h-161v-161z m411-411h179v161h-179v-161z m-214 411h178v161h-178v-161z m428-411h161v161h-161v-161z m-214 197h179v178h-179v-178z m-196 482v161q0 7-6 12t-12 6h-36q-7 0-12-6t-6-12v-161q0-7 6-13t12-5h36q7 0 12 5t6 13z m410-482h161v178h-161v-178z m-214 214h179v161h-179v-161z m214 0h161v161h-161v-161z m18 268v161q0 7-5 12t-13 6h-35q-7 0-13-6t-5-12v-161q0-7 5-13t13-5h35q8 0 13 5t5 13z m215 36v-715q0-29-22-50t-50-21h-786q-29 0-50 21t-21 50v715q0 29 21 50t50 21h72v54q0 37 26 63t63 26h36q37 0 63-26t26-63v-54h214v54q0 37 27 63t63 26h35q37 0 64-26t26-63v-54h71q29 0 50-21t22-50z" horiz-adv-x="928.6" />
<glyph glyph-name="clock" unicode="&#xe805;" d="M500 546v-250q0-7-5-12t-13-5h-178q-8 0-13 5t-5 12v36q0 8 5 13t13 5h125v196q0 8 5 13t12 5h36q8 0 13-5t5-13z m232-196q0 83-41 152t-110 111-152 41-153-41-110-111-41-152 41-152 110-111 153-41 152 41 110 111 41 152z m125 0q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
<glyph glyph-name="angle-left" unicode="&#xf104;" d="M350 546q0-7-6-12l-219-220 219-219q6-6 6-13t-6-13l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13z" horiz-adv-x="357.1" />
<glyph glyph-name="angle-right" unicode="&#xf105;" d="M332 314q0-7-5-12l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13z" horiz-adv-x="357.1" />
</font>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 902 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#121212</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,9 @@
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#121212">
<meta name="theme-color" content="#121212">

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M864 4667 c-7 -19 2 -1540 9 -1567 4 -13 9 -42 12 -63 14 -91 70
-225 138 -331 28 -44 106 -121 162 -162 103 -73 173 -100 368 -144 72 -16 315
-4 402 19 268 72 459 246 551 498 31 85 41 129 59 253 5 34 10 1314 6 1482
l-1 27 -210 -1 c-208 0 -210 0 -211 -22 0 -11 -2 -340 -4 -731 -1 -390 -5
-728 -9 -750 -29 -182 -125 -315 -258 -361 -74 -26 -252 -26 -325 -1 -135 47
-231 205 -249 409 -4 45 -8 391 -8 768 l-1 685 -213 2 c-154 1 -215 -2 -218
-10z"/>
<path d="M3663 4169 c-125 -14 -257 -70 -354 -149 l-46 -38 -38 40 c-68 69
-161 105 -294 114 l-87 6 -42 -154 c-23 -84 -45 -167 -48 -184 l-6 -31 50 5
c62 5 118 -12 134 -41 9 -17 13 -257 14 -992 1 -533 2 -972 3 -975 0 -3 94 -5
208 -5 l208 1 0 359 c1 198 4 361 8 362 4 2 35 -10 69 -26 114 -51 159 -62
283 -66 169 -7 323 46 454 155 310 258 414 756 241 1161 -131 309 -435 493
-757 458z m169 -412 c75 -34 140 -102 182 -191 46 -97 60 -163 59 -286 0 -251
-105 -431 -280 -483 -57 -17 -157 -16 -221 2 -44 12 -139 66 -181 102 l-25 20
0 357 -1 357 30 28 c50 47 114 88 168 107 75 27 193 21 269 -13z"/>
<path d="M4932 4013 c-18 -6 -35 -13 -36 -15 -24 -27 -26 -83 -26 -688 l0
-642 29 -29 29 -29 650 0 649 0 26 25 c13 14 26 36 28 48 3 12 4 303 4 647 -1
587 -2 627 -19 653 -10 15 -30 30 -43 33 -49 13 -1255 10 -1291 -3z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,56 @@
{
"name": "OneUptime Account",
"short_name": "OneUptime",
"icons": [
{
"src": "/accounts/assets/img/favicons/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "/accounts/assets/img/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": ".",
"theme_color": "#121212",
"background_color": "#121212",
"display": "standalone"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,11 @@
$(document).ready(function() {
setTimeout(()=>{
$('div.bar').tipsy({
gravity: 'se',
html: true,
offset: 1
});
},1000);
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

View File

@@ -0,0 +1,130 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charSet='utf-8' />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<meta name="slack-app-id" content="ACVBMTPJQ">
<meta name="description" content="OneUptime — the complete open-source observability platform.">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PKQD5WH');
</script>
<!-- End Google Tag Manager -->
<link rel="manifest" href="/admin/assets/img/favicons/ma">
<link rel="apple-touch-icon" sizes="180x180" href="/admin/assets/img/favicons/apple-touch-icon.png">
<link rel="shortcut icon" href="/admin/assets/img/favicons/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/admin/assets/img/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="/admin/assets/img/favicons/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="/admin/assets/img/favicons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/admin/assets/img/favicons/favicon-16x16.png">
<link rel="mask-icon" href="/admin/assets/img/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#121212">
<meta name="msapplication-TileImage" content="/admin/assets/img/favicons/mstile-144x144.png">
<meta name="theme-color" content="#121212">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
* {
font-family: Inter;
}
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
background: transparent;
bottom: 0;
color: transparent;
cursor: pointer;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
width: auto;
}
input[type="date"]::-webkit-calendar-picker-indicator {
background: transparent;
bottom: 0;
color: transparent;
cursor: pointer;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
width: auto;
}
</style>
<script src="https://cdn.tailwindcss.com"></script>
<script src="/admin/env.js"></script>
<title>OneUptime Admin Dashboard</title>
<!-- Preload light, regular, medium and bold, which are fonts that are used on home
<link rel="preload" href="/admin/assets/fonts/camphor/font1.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="preload" href="/admin/assets/fonts/camphor/font2.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="preload" href="/admin/assets/fonts/camphor/font3.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="preload" href="/admin/assets/fonts/camphor/font4.woff2" as="font" type="font/woff2" crossorigin=""> -->
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
</head>
<body class="h-full bg-gray-50">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PKQD5WH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="/admin/dist/bundle.js"></script>
<script>
tailwind.config = {
theme: {
extend:
{
fontFamily: {
'display': ['Inter', 'sans-serif'],
'body': ['Inter', 'sans-serif']
},
},
},
}
</script>
</body>
</html>

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

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