Commit Graph

345 Commits

Author SHA1 Message Date
moonrailgun
8a3c93fff7 feat: add telemetry event count 2024-04-14 15:47:55 +08:00
moonrailgun
ac7b44e862 feat: telemetry add force to improve url fetch logic 2024-04-14 01:44:17 +08:00
moonrailgun
2a3e2af528 fix: fix custom tracker script file route error in production 2024-04-07 23:48:47 +08:00
moonrailgun
5d8c18716a fix: fix custom tracker script name not display in fe problem 2024-04-07 23:23:18 +08:00
moonrailgun
d13e33e9a1 test: fix ci problem 2024-04-07 20:00:02 +08:00
moonrailgun
d97c671913 feat(v2): add page list/add/detail 2024-04-07 19:43:05 +08:00
moonrailgun
f9a51e4c79 refactor(v2): add common sidebar 2024-04-07 19:43:05 +08:00
moonrailgun
68ace91321 feat: add website add button and fuse search 2024-04-07 19:43:05 +08:00
moonrailgun
d862e6cb62 feat: add delete telemetry feature #34 2024-03-29 19:59:42 +08:00
moonrailgun
99610cffae feat: add DNS monitor #45 2024-03-25 01:00:20 +08:00
moonrailgun
90e8292b30 test: add test framework which can test http request and generate mock data 2024-03-24 16:32:40 +08:00
moonrailgun
bd4e6b5b05 fix: fix etag problem for http cache if not show full telemetry number in badge 2024-03-24 15:37:17 +08:00
moonrailgun
16e0cb0f11 feat: add custom tracker script #37 2024-03-22 00:04:18 +08:00
moonrailgun
941861f885 feat: add telemetry events chart 2024-03-14 01:26:02 +08:00
moonrailgun
44d5fb3f50 refactor: add fullNum props in telemetry badge 2024-03-10 00:45:01 +08:00
moonrailgun
6f76a04abe perf: remove http cache to fit github environment(maybe) 2024-03-10 00:39:53 +08:00
moonrailgun
c5dfa15096 fix: fix telemetry session query failed problem 2024-03-09 21:18:03 +08:00
moonrailgun
40e1bac541 fix: fix telemetry lost timezone problem 2024-03-07 02:18:15 +08:00
moonrailgun
ceef5c4b71 feat: add tianji anonymous telemetry 2024-03-07 02:14:32 +08:00
moonrailgun
38dd60feee feat: add telemetry metrics table 2024-03-04 00:48:51 +08:00
moonrailgun
daef9ff084 feat: add usage button for telemetry 2024-03-03 18:51:10 +08:00
moonrailgun
5bad815e62 feat: add telemetry overview 2024-02-28 00:34:02 +08:00
moonrailgun
0bd98adf96 feat: add telemetry trpc feature 2024-02-27 20:36:56 +08:00
moonrailgun
ce891e9254 fix: fix logic problem of retry 2024-02-25 03:57:55 +08:00
moonrailgun
e79c4b4819 feat: add telemetry event count 2024-02-23 00:07:30 +08:00
moonrailgun
355690eb75 feat: telemetry add telemetryId report 2024-02-22 23:51:52 +08:00
moonrailgun
0397810f5c test: fix ci problem 2024-02-18 00:56:35 +08:00
moonrailgun
5e720abb11 feat: add telemetry list 2024-02-18 00:47:22 +08:00
moonrailgun
dd0ad8c5de refactor: refactor website pageview endpoint to trpc 2024-02-17 14:26:55 +08:00
moonrailgun
d3df3f2692 feat: add alpha mode and usage page 2024-02-17 11:45:11 +08:00
moonrailgun
393e58080a refactor: add top padding in smtp template 2024-02-14 02:48:45 +08:00
moonrailgun
3d9921f16f test: add common payload zod type and avoid ci problem 2024-02-10 01:45:18 +08:00
moonrailgun
97d55da454 feat: monitor add max retries to avoid network fluctuation 2024-02-09 21:16:39 +08:00
moonrailgun
461e23be2f refactor: beautify SMTP email style 2024-02-09 19:39:12 +08:00
moonrailgun
343c05c3ab fix: add table label ellipsis to avoid much long label #23 2024-02-06 19:52:38 +08:00
moonrailgun
788b43b86d chore: add populate ip location script 2024-02-01 02:52:25 +08:00
moonrailgun
4a1ea8557a perf: improve monitor badge display, add title in copy text 2024-01-31 01:43:02 +08:00
moonrailgun
8ff5db80e2 feat: add previous period in website overview 2024-01-31 01:22:01 +08:00
moonrailgun
2a3e232f55 style: update env path in global env 2024-01-30 00:44:09 +08:00
moonrailgun
5c633ae38c feat: add website visitor map 2024-01-30 00:28:37 +08:00
moonrailgun
e97d2f7c17 test: add seed file to generate website data 2024-01-29 19:58:51 +08:00
moonrailgun
537edcf506 refactor: change website stat endpoint to trpc 2024-01-29 19:56:13 +08:00
moonrailgun
99a6c91b1b feat: parse ip location and storage in db 2024-01-29 18:54:44 +08:00
moonrailgun
c049a62493 fix: fix library path load problem 2024-01-29 02:17:10 +08:00
moonrailgun
486587f232 chore: resolve shared import problem in production
move everything into packages
2024-01-29 01:00:35 +08:00
moonrailgun
d912c788c5 feat: add audit log 2024-01-28 23:15:16 +08:00
moonrailgun
bf1604d9ec chore: upgrade isolated-vm 2024-01-28 16:51:44 +08:00
moonrailgun
70f0f56b47 chore: improve dev env support
add websocket proxy in dev
add path diff between dev and prod
2024-01-28 16:40:15 +08:00
moonrailgun
39550ece83 refactor: add shared packacage 2024-01-24 13:26:42 +00:00
moonrailgun
a176bbcfb4 feat: add some audit log for monitor 2024-01-22 13:23:30 +08:00
moonrailgun
7243b991ae feat: add workspace audit log db model 2024-01-22 13:07:46 +08:00
moonrailgun
0f93194116 test: fix ci problem 2024-01-21 01:18:46 +08:00
moonrailgun
601c167d36 refactor: change project strcut to monorepo 2024-01-20 16:22:44 +08:00
moonrailgun
9fec5fc02f refactor: fix ci problem 2024-01-13 23:48:41 +08:00
moonrailgun
09c3cfa0dc feat: add apprise notification #10 2024-01-13 18:16:09 +08:00
moonrailgun
e24d82224c fix: fix status page set monitor list in create action not work problem 2024-01-13 01:21:09 +08:00
moonrailgun
551f86b8e3 feat: add status page delete action 2024-01-13 01:10:12 +08:00
moonrailgun
1fccb103fd fix: fix openai balance calc logic 2024-01-13 00:55:08 +08:00
moonrailgun
bf887ae8fc test: add vitest and openai test 2024-01-13 00:13:51 +08:00
moonrailgun
9892d3ac5a feat: add tcp port monitor 2024-01-11 01:01:48 +08:00
moonrailgun
e6f02677e5 refactor: add url token and fix telegram adapt problem 2024-01-11 00:34:16 +08:00
moonrailgun
bcfaab6959 fix: fix manual start monitor will not loop run bug #15 2024-01-10 16:33:57 +08:00
moonrailgun
023a6573a1 fix: fix monitor data sorting problem, add order by and add created at for fetch monitor data 2024-01-09 20:39:38 +08:00
moonrailgun
f9ea835dac chore: add db debug support 2024-01-09 20:35:20 +08:00
moonrailgun
ac7f4011cd feat: add version display 2024-01-07 23:22:39 +08:00
moonrailgun
d03f60f6a1 feat: dashboard card title allow edit 2024-01-07 22:42:55 +08:00
moonrailgun
e5a52257ea feat: add telegram notification support 2024-01-07 01:36:51 +08:00
moonrailgun
ce6fd56d51 feat: add tokenizer for notification 2024-01-07 00:11:14 +08:00
moonrailgun
3e9760d895 feat: add monitor badge #6 2024-01-06 22:08:10 +08:00
moonrailgun
19e7ed516b refactor: extract some monitor logic into model 2024-01-06 22:07:58 +08:00
moonrailgun
4bd069081a style: use logger rather than console 2024-01-06 00:16:43 +08:00
moonrailgun
1fad81f3ab feat: add daily cron job to calc workspace usage 2024-01-05 23:05:19 +08:00
moonrailgun
4f5e79157a style: remove unused code 2024-01-04 00:34:33 +08:00
moonrailgun
81e7f8651a perf: remove env SERVER_URL and use url to get real server url 2024-01-04 00:19:23 +08:00
moonrailgun
a04aa67f85 fix: fix domain schema check problem in add website server
and change add website / get website in website list request to trpc
2024-01-03 15:37:28 +08:00
moonrailgun
824bd89ede fix: fix a bug which script not support makeTransferable json which data include null
for example: {a: null}
2024-01-03 03:34:43 +08:00
moonrailgun
e38df2706e fix: fix a bug which can not raise monitor with changeActive if monitor never run before
the case of init state is stop. (active: false)

and add workspace id validate in update logic
2024-01-03 01:52:06 +08:00
moonrailgun
4f35463f89 perf: improver code editor request return type and test modal style 2024-01-03 00:15:39 +08:00
moonrailgun
3e30535187 feat: add custom monitor test code 2024-01-01 17:27:29 +08:00
moonrailgun
59bd1c42f7 refactor: split the monitor's manager and runner into different files 2024-01-01 16:37:34 +08:00
moonrailgun
8dfa679127 feat: add custom script monitor provider 2024-01-01 04:26:57 +08:00
moonrailgun
e0e338f819 fix: fix update monitor not update runner problem 2023-12-31 18:51:12 +08:00
moonrailgun
625374cafe feat: add monitor order with updatedAt 2023-12-29 21:15:32 +08:00
moonrailgun
1f950b516e refactor: improve error report message 2023-12-29 20:21:52 +08:00
moonrailgun
42eb5779b2 fix: fix monitor list create page add monitor list not work problem 2023-12-23 23:25:53 +08:00
moonrailgun
ffa2cce2a6 feat: add monitor provider valueLabel and valueFormatter to custom display 2023-12-20 17:46:38 +00:00
moonrailgun
ef00122752 feat: add openai monitor 2023-12-21 01:30:48 +08:00
moonrailgun
f61ca1a207 refactor: change status page data scope 2023-12-18 00:57:51 +08:00
moonrailgun
e48a079f46 refactor: use MonitorListItem to replace MonitorHealthBar to show more info 2023-12-17 19:25:57 +08:00
moonrailgun
f3e30ea28f docs: add changelog page 2023-12-16 15:34:00 +08:00
moonrailgun
c68d27a6d3 feat: add status page basic info change 2023-12-16 14:43:17 +08:00
moonrailgun
bb83f4b56d refactor: update role's position and add status page edit check 2023-12-16 14:06:30 +08:00
moonrailgun
63145c1e4b feat: add status basic page 2023-12-16 00:33:36 +08:00
moonrailgun
0cf934c9e3 feat: add status list and add route 2023-12-13 19:46:32 +08:00
moonrailgun
669b2ed8b8 feat: add monitor status page api 2023-12-13 18:52:45 +08:00
moonrailgun
e1638de5e8 feat: add delete button for monitor 2023-12-09 00:39:36 +08:00
moonrailgun
626c2a2fa6 style: simplified error message 2023-12-05 20:28:48 +08:00
moonrailgun
987c09be2f feat: add monitor validator 2023-12-05 20:27:38 +08:00
moonrailgun
53b2c042f7 style: remove config console.log print 2023-12-05 20:10:14 +08:00
moonrailgun
0a63dd5615 feat: add limit for monitor events route 2023-12-04 22:26:26 +08:00
moonrailgun
addda5c45a feat: add custom header 2023-12-04 22:19:05 +08:00
moonrailgun
89612eff5f refactor: modify the user type and create method to make it correct 2023-11-29 01:22:33 +08:00
moonrailgun
7b519b152f feat: add ip record in telemetry 2023-11-28 00:45:13 +08:00
moonrailgun
40719094aa refactor: add interval limit for monitor upsert 2023-11-14 22:02:51 +08:00
moonrailgun
eed6f33d7b feat: add new tianji dashboard which has more custom feature 2023-11-12 23:49:02 +08:00
moonrailgun
b050a56d4a fix: fix no workspace problem when fetch all monitor events 2023-11-09 14:56:24 +08:00
moonrailgun
09ec432f16 refactor: add server url for serverStatus 2023-11-08 22:58:45 +08:00
moonrailgun
b6846b0419 feat: add clear offlline node button 2023-11-07 23:13:44 +08:00
moonrailgun
2967fcd05d feat: add server status install script 2023-11-07 16:56:47 +08:00
moonrailgun
d5a7a5d655 feat: add ignore tls error and make sure get tls info every times 2023-11-02 00:20:48 +08:00
moonrailgun
5576d8713e feat: add http report mode for reverse proxy case 2023-11-01 00:02:52 +08:00
moonrailgun
dc77c4f85a feat: add telemetry event payload 2023-10-31 22:36:32 +08:00
moonrailgun
43e6f4ffe0 refactor: add timezone in 2023-10-30 00:14:59 +08:00
moonrailgun
4eefe8d9d7 feat: add docusaurus-preset-openapi 2023-10-29 03:00:10 +08:00
moonrailgun
e53de57720 refactor: change tracker path 2023-10-29 01:26:02 +08:00
moonrailgun
b376db7f92 feat: add cors and morgan logger 2023-10-28 20:12:53 +08:00
moonrailgun
1631521321 feat: add monitor start or stop 2023-10-28 16:01:11 +08:00
moonrailgun
7f014b539e feat: add monitor event list into monitor info page 2023-10-25 00:29:47 +08:00
moonrailgun
111cf2f0eb feat: monitor openapi and some type issue 2023-10-25 00:17:18 +08:00
moonrailgun
16ba3a8768 style: update logger 2023-10-24 00:01:14 +08:00
moonrailgun
6f17859759 feat: add tracker.js cache control 2023-10-24 00:01:03 +08:00
moonrailgun
31ba529022 feat: add http monitor which include cert exp date 2023-10-23 21:39:24 +08:00
moonrailgun
594f3124ef docs: add openapi for global and website 2023-10-23 01:44:08 +08:00
moonrailgun
fbb091fd2a fix: fix tianji domain update not support hostname problem 2023-10-23 00:37:30 +08:00
moonrailgun
d183b8ca6f feat: add trpc openapi and swagger ui 2023-10-22 00:27:00 +08:00
moonrailgun
4a4c25c2eb fix: fix update website monitor maybe null problem 2023-10-21 00:18:48 +08:00
moonrailgun
a7f9870e64 feat: add global config to control register feature and inject website id 2023-10-21 00:18:30 +08:00
moonrailgun
461d819246 feat: add profile page and change password form 2023-10-20 23:12:42 +08:00
moonrailgun
0c1c72ccab feat: monitor allow edit notifications 2023-10-20 00:48:56 +08:00
moonrailgun
0346dc21d9 feat: add monitor event send notification 2023-10-20 00:28:46 +08:00
moonrailgun
1a9daaddfe feat: add monitor overview 2023-10-17 20:26:28 +08:00
moonrailgun
0b2f4b7e62 chore: add dockerfile 2023-10-17 19:41:42 +08:00
moonrailgun
54af2874e4 feat: add dashboard layout sort 2023-10-17 00:23:49 +08:00
moonrailgun
0e669a2ca1 refactor: migrate user api to trpc 2023-10-16 22:34:01 +08:00
moonrailgun
a8ce44ce89 refactor: migrate website info api to trpc 2023-10-15 01:01:34 +08:00
moonrailgun
194103eb2d feat: add monitor bind website 2023-10-15 00:51:03 +08:00
moonrailgun
df7d18c2a0 refactor: migrate website update to trpc 2023-10-15 00:39:14 +08:00
moonrailgun
7bc245eb45 feat: add monitor data metrics in monitor info 2023-10-13 00:55:41 +08:00
moonrailgun
b4f2170e51 refactor: use badge-maker replace openbadge
and change telemetry url, because not a api
2023-10-12 22:53:12 +08:00
moonrailgun
5a3a621fd6 feat: add monitor chart livetime update 2023-10-11 01:21:05 +08:00
moonrailgun
f53fba35f4 feat: add MonitorHealthBar and data subscribe 2023-10-10 19:47:05 +08:00
moonrailgun
9ea006b955 feat: add monitor detail page 2023-10-10 00:09:39 +08:00
moonrailgun
3bd7266dcf refactor: hide invalid token error 2023-10-09 00:10:52 +08:00
moonrailgun
cb8b14b910 refactor: add ip record in website session 2023-10-09 00:06:20 +08:00
moonrailgun
7a3ef40b9e feat: add chart report screenshot 2023-10-09 00:06:03 +08:00
moonrailgun
822a307cec feat: add unit calc for fetch pagestat 2023-10-08 18:51:47 +08:00
moonrailgun
086c8ee3df feat: add others metrics in website detail 2023-10-07 19:32:46 +08:00
moonrailgun
fcb28d3456 feat: add MetricsTable value render
and change layout of website detail
2023-10-07 17:28:30 +08:00
moonrailgun
b8e8681d64 feat: add metrics api and table 2023-10-06 22:08:15 +08:00
moonrailgun
b5708b241a feat: website detail basic page 2023-10-06 15:04:55 +08:00
moonrailgun
7f40a049c8 refactor: db id type replace uuid with cuid 2023-10-06 00:06:44 +08:00
moonrailgun
b18611fa9a feat: add create api for monitor 2023-10-05 23:22:07 +08:00
moonrailgun
113d49abe9 style: update detail 2023-10-05 23:12:49 +08:00
moonrailgun
ea5c237c29 feat: add monitor editor 2023-10-05 21:09:03 +08:00
moonrailgun
a92dd513f1 feat: add monitor manager and runner 2023-10-05 01:56:33 +08:00
moonrailgun
d3a5654e8e feat: server status list display 2023-10-03 20:45:00 +08:00
moonrailgun
46c83fcb01 feat: add socketio support 2023-10-03 19:47:17 +08:00
moonrailgun
d20aedda3f refactor: update trpc entry style 2023-10-03 15:56:09 +08:00
moonrailgun
9b8bb34378 feat: add basic framework for udp reporter 2023-10-01 00:01:43 +08:00
moonrailgun
5fed993f73 style: remove unused line 2023-09-30 23:51:21 +08:00
moonrailgun
6ddc344b3a refactor: refactor monitor layout 2023-09-29 17:42:36 +08:00
moonrailgun
61bb8bd82f feat: add monitor model and api 2023-09-29 17:12:06 +08:00
moonrailgun
6d1c4e7d17 feat: add website online count 2023-09-28 18:01:04 +08:00
moonrailgun
a3eb5a14eb feat: add notification test rpc action 2023-09-28 01:04:17 +08:00
moonrailgun
324edc2d88 feat: add delete notification function 2023-09-27 20:45:19 +08:00
moonrailgun
52255690cb feat: notification upsert api 2023-09-27 20:27:46 +08:00
moonrailgun
b9b5ee5ae1 feat: add trpc framework 2023-09-27 17:56:32 +08:00
moonrailgun
b6a26d8777 feat: add notification api 2023-09-26 14:45:28 +08:00
moonrailgun
7ccbb922de feat: add metric bar data 2023-09-19 19:29:28 +08:00
moonrailgun
31031dc56b feat: init socketio and reporter 2023-09-18 16:08:16 +08:00
moonrailgun
66f713e8f6 feat: telemetry add workspaceId and eventName 2023-09-18 00:13:03 +08:00
moonrailgun
bd15e47765 feat: basic telemetry api for badge and blank image 2023-09-17 19:59:34 +08:00
moonrailgun
440947c9a8 feat: add basic telemetry api 2023-09-17 14:41:40 +08:00
moonrailgun
d5acf872a9 feat: add session count 2023-09-16 16:12:19 +08:00
moonrailgun
90166346e8 feat: add filter 2023-09-16 15:50:36 +08:00
moonrailgun
81366eb106 feat: website pageview chart 2023-09-16 00:03:09 +08:00
moonrailgun
ba0b398719 feat: make pageviewstats can return data 2023-09-15 00:53:03 +08:00
moonrailgun
78133b7227 refactor: lodash-es to lodash in server 2023-09-14 20:19:31 +08:00
moonrailgun
f8a372006f feat: add website pageviews api 2023-09-12 23:04:39 +08:00
moonrailgun
066c9e8895 feat: add delete button 2023-09-06 14:14:12 +08:00
moonrailgun
bc06258a1d feat: add session cache 2023-09-05 15:43:29 +08:00
moonrailgun
a70a360a65 test: update test website id 2023-09-05 15:35:12 +08:00
moonrailgun
a4c4a6d9e9 feat: website info and edit 2023-09-05 15:32:16 +08:00
moonrailgun
6441230df4 feat: add server logger 2023-09-05 14:08:38 +08:00
moonrailgun
af96679e0b feat: add workspace middleware 2023-09-05 01:24:20 +08:00
moonrailgun
bd7a5776c3 feat: webiste add and list 2023-09-05 01:18:43 +08:00
moonrailgun
2ccb084959 fix: fix login data problem and add workspace handler 2023-09-03 21:30:19 +08:00
moonrailgun
ef1801f531 feat: user login, loginWithToken and register 2023-09-03 21:05:22 +08:00
moonrailgun
08ef1fea91 feat: website/send api is completed 2023-09-03 19:28:53 +08:00
moonrailgun
421ee8edc1 feat: add current workspace when create user 2023-09-03 14:38:38 +08:00
moonrailgun
84c663985a feat: add workspace 2023-09-03 03:49:20 +08:00
moonrailgun
53237318da feat: add jwt auth 2023-09-03 01:01:55 +08:00
moonrailgun
791698940d feat: first route and validate 2023-09-02 22:53:57 +08:00
moonrailgun
6761bc5d08 feat: add prisma 2023-09-02 20:13:50 +08:00
moonrailgun
cf99dfe077 chore: init 2023-08-31 21:17:57 +08:00