Commit Graph

459 Commits

Author SHA1 Message Date
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
f0a1ed3cdf docs: add README visitor countor 2024-03-09 18:27:02 +08:00
moonrailgun
49fc136fb8 refactor: update translation 2024-03-09 01:03:52 +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
e387b70c3a refactor: remove alpha mode for telemetry 2024-03-06 19:55:13 +08:00
moonrailgun
38dd60feee feat: add telemetry metrics table 2024-03-04 00:48:51 +08:00
moonrailgun
1306187f01 refactor: rename MetricsTable to WebsiteMetricsTable 2024-03-03 19:02:35 +08:00
moonrailgun
daef9ff084 feat: add usage button for telemetry 2024-03-03 18:51:10 +08:00
moonrailgun
d8b23a7468 chore: upgrade @i18next-toolkit/cli version 2024-03-02 19:29:06 +08:00
moonrailgun
4711987779 refactor: upgrade i18next-toolkit cli version and add translation of telemetry 2024-03-01 23:08:24 +08:00
moonrailgun
011ac6c713 feat: add telemetry feature desc 2024-02-28 22:28:12 +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
439eb83748 fix: fix pageviews not include timezone problem 2024-02-25 20:14:23 +08:00
moonrailgun
ce891e9254 fix: fix logic problem of retry 2024-02-25 03:57:55 +08:00
moonrailgun
4fe61a6d7c refactor: refactor chart render and perf pageview data handle logic 2024-02-23 00:38:18 +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
b02e0b75d6 fix: fix audit log too long will broken style problem 2024-02-22 23:27:58 +08:00
moonrailgun
2afb5e55f7 docs: update intro document 2024-02-19 15:34:48 +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
80f7933c7b refactor: add i18n update trigger in data filter menu 2024-02-13 23:26:30 +08:00
moonrailgun
0f7b11d842 chore: fix ci problem 2024-02-12 00:39:22 +08:00
moonrailgun
bf6b121041 feat: add i18n support #3 2024-02-12 00:10:38 +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
8d096d55e1 feat: add timeout in http monitor #24 2024-02-09 17:44:14 +08:00
moonrailgun
70c60b5ee1 refactor: move delete button into more button dropdown 2024-02-08 15:56:21 +08:00
moonrailgun
e9b783f047 refactor: http url allow link 2024-02-07 01:21:11 +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
74948ff533 chore: update build track.js output path 2024-02-01 01:16:45 +08:00
moonrailgun
dc39a7b7cf style: add space in notification create modal 2024-02-01 00:39:10 +08:00
moonrailgun
5c2e0e46e1 fix: fix a bug which data will reuse prev state in notification in production 2024-02-01 00:39:10 +08:00
moonrailgun
dde617fa0c chore: remove kill others in @tianji/shared build 2024-01-31 04:21:57 +00: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
835d7ff43d feat: add visitor map entry button in country list 2024-01-31 00:02:36 +08:00
moonrailgun
3baa1ab55b feat: add leaflet visitor map if user not wanna register any token 2024-01-30 22:14:27 +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
f153145e0d refactor: add audit log list empty state 2024-01-29 19:01:50 +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
f5f0a560f1 fix: fix @tianji/shared build problem 2024-01-29 01:18:35 +08:00
moonrailgun
c8671e8656 fix: add more space in network traffic column #20 2024-01-29 01:04:29 +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
00a045915e refactor: add settings menu in user menu 2024-01-28 16:45:26 +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
a567834e45 perf: add notification picker empty state to guide user to create notification 2024-01-13 18:38:41 +08:00
moonrailgun
09c3cfa0dc feat: add apprise notification #10 2024-01-13 18:16:09 +08:00
moonrailgun
699fe6c967 fix: fix custom display text not apply in health bar 2024-01-13 02:43:38 +08:00
moonrailgun
ec591f0c54 feat: allow display current response value in monitor list
useful for monitor page to display current value
2024-01-13 02:16:57 +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
c307aaafd4 style: fix typo of monitor stop tag. #15
Stoped -> Stopped
2024-01-10 13:25:51 +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
1e0d077f2a feat: add mobile nav menu support 2024-01-08 00:01:49 +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
90f22afe28 fix: fix typo error for montior -> monitor 2024-01-07 02:07:15 +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
6f53519f6c style: update column width 2024-01-06 00:11:40 +08:00
moonrailgun
1fad81f3ab feat: add daily cron job to calc workspace usage 2024-01-05 23:05:19 +08:00
moonrailgun
deceafad4f perf: improve UI 2024-01-04 00:34:50 +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
28dd506cb4 perf: improve server status table list display
make sure never break word
2024-01-03 19:53:25 +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
b751222b39 perf: improve lazy load in code editor with loadable 2024-01-03 00:14:21 +08:00
moonrailgun
d093df928c fix: add Suspense to fix lazy load problem 2024-01-02 14:22:48 +08:00
moonrailgun
0c542faf3b refactor: change custom monitor label and formatter 2024-01-01 17:29:11 +08:00
moonrailgun
3e30535187 feat: add custom monitor test code 2024-01-01 17:27:29 +08:00
moonrailgun
ae6cea568b test: fix ci problem 2024-01-01 16:37:53 +08:00
moonrailgun
59bd1c42f7 refactor: split the monitor's manager and runner into different files 2024-01-01 16:37:34 +08:00
moonrailgun
96e2e008eb feat: add monaco editor for custom monitor provider 2024-01-01 16:33:01 +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
c317b77d12 feat: add delete monitor data/events button 2023-12-30 01:02:57 +08:00
moonrailgun
625374cafe feat: add monitor order with updatedAt 2023-12-29 21:15:32 +08:00
moonrailgun
d9d234551a fix: fix http header json validator problem 2023-12-29 21:14:36 +08:00
moonrailgun
22168e021f refactor: add opacity into no actived monitor 2023-12-29 21:05:35 +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
f749f720db feat: add value format for data metrics 2023-12-23 01:04:02 +08:00
moonrailgun
518064eb0a fix: fix server updateAt not display problem 2023-12-22 00:37:13 +08:00
moonrailgun
3512ad1997 feat: add minInterval in provider 2023-12-20 17:53:17 +00: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
604e6ef454 feat: add dashboard add none placeholder and arrow rotate animation 2023-12-20 13:46:48 +00:00
moonrailgun
f61ca1a207 refactor: change status page data scope 2023-12-18 00:57:51 +08:00
moonrailgun
3cdbb948da feat: add status page edit action in admin list 2023-12-18 00:37:15 +08:00
moonrailgun
418208b0e3 feat: add back to admin 2023-12-17 19:27:32 +08:00
moonrailgun
e48a079f46 refactor: use MonitorListItem to replace MonitorHealthBar to show more info 2023-12-17 19:25:57 +08:00
moonrailgun
dd3343f64b refactor: extract StatusPageServices 2023-12-17 19:08:11 +08:00
moonrailgun
ed433455c8 refactor: abstract MonitorListItem component parameters 2023-12-17 19:04:19 +08:00
moonrailgun
df3de0113a refactor: extract monitorlistitem 2023-12-17 18:46:40 +08:00
moonrailgun
2964c3a2e3 refactor: add monitor list 2023-12-17 18:46:07 +08:00
moonrailgun
f3e30ea28f docs: add changelog page 2023-12-16 15:34:00 +08:00
moonrailgun
d501deddc4 feat: add ColorSchemeSwitcher in status page 2023-12-16 14:51:15 +08:00
moonrailgun
c68d27a6d3 feat: add status page basic info change 2023-12-16 14:43:17 +08:00
moonrailgun
b324536726 refactor: move MonitorStatusPageEditForm into components 2023-12-16 14:19:16 +08:00
moonrailgun
8e1e7ebe10 refactor: change status page logic into components 2023-12-16 14:11:30 +08:00
moonrailgun
bb83f4b56d refactor: update role's position and add status page edit check 2023-12-16 14:06:30 +08:00
moonrailgun
824d5cd14e refactor: add dark theme in status page 2023-12-16 13:41:20 +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
e7282ef7f9 style: improve mobile size padding 2023-12-12 19:19:50 +08:00
moonrailgun
73bc9e0b3c refactor: add dark mode for login page 2023-12-09 00:49:51 +08:00
moonrailgun
e1638de5e8 feat: add delete button for monitor 2023-12-09 00:39:36 +08:00
moonrailgun
674952da59 refactor: add persist for settings store 2023-12-08 22:05:34 +08:00
moonrailgun
dc3bbe0b12 feat: add dark mode 2023-12-08 21:49:49 +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
d2d105c905 refactor: change monitor path 2023-12-05 20:07:36 +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
78796af00b perf: add prisma json type and zod schema 2023-11-30 00:43:55 +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
82ec40db1e style: remove unused code 2023-11-16 00:05:58 +08:00
moonrailgun
c9f9d68348 feat: add more dashboard item 2023-11-16 00:05:48 +08:00
moonrailgun
81e9eea565 feat: add updatedAt in servers table 2023-11-15 22:26:45 +08:00
moonrailgun
f9e8a1df0b refactor: improve dashboard monitor health bar size 2023-11-15 22:15:06 +08:00
moonrailgun
8fee03999d refactor: extract charts and metrics to single component 2023-11-15 22:09:10 +08:00
moonrailgun
8e3a81e42f feat: dashboard add monitor health bar 2023-11-15 22:05:48 +08:00
moonrailgun
9b7adb5504 feat: add dashboard websiteEvent item 2023-11-15 21:53:27 +08:00
moonrailgun
e0d83e52ba feat: add logo in login and register view 2023-11-15 21:42:50 +08:00
moonrailgun
10398272c1 feat: add edit action sticky 2023-11-15 00:35:13 +08:00
moonrailgun
162bec86d5 refactor: move website component into folder 2023-11-15 00:34:50 +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
383a8af304 feat: add tooltip about monitor 2023-11-11 02:00:02 +08:00
moonrailgun
b1dc092737 perf: add tips for add server modal 2023-11-10 09:55:35 +08:00
moonrailgun
0b508a40b1 fix: fix body problem on label and placeholder 2023-11-10 09:44:30 +08:00
moonrailgun
64f2a27a92 perf: add async and defer mark for inject website script 2023-11-10 09:40:38 +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
9d9cdb7354 refactor: adjust date filter position and display 2023-11-08 00:07:58 +08:00
moonrailgun
b6846b0419 feat: add clear offlline node button 2023-11-07 23:13:44 +08:00
moonrailgun
c41994879a refactor: add script install command 2023-11-07 22:36:07 +08:00
moonrailgun
2967fcd05d feat: add server status install script 2023-11-07 16:56:47 +08:00
moonrailgun
ecebc6eede fix: server unit and monitor data update problem 2023-11-05 00:55:51 +08:00
moonrailgun
4bf54c59b0 docs: add basic home page 2023-11-04 19:50:34 +08:00
moonrailgun
517268e652 fix: fix bounce rate color problem 2023-11-03 00:30:36 +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
4529dbca75 refactor: add loading and empty state in monitor list 2023-11-02 00:19:00 +08:00
moonrailgun
39b4ff9ec5 refactor: tianji report use log rather than fmt 2023-11-01 00:44:01 +08:00
moonrailgun
896170836c refactor: improve server status list data display 2023-11-01 00:39:37 +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
503321d43b perf: short website overview display 2023-10-30 22:14:40 +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
b9d9391342 change basic layout about overflow scrollbar position 2023-10-29 01:25:29 +08:00
moonrailgun
64f33dd802 refactor: disable change type when edit monitor 2023-10-29 01:25:09 +08:00
moonrailgun
108b4acc81 fix: fix website dashboard refresh action not work problem 2023-10-29 01:24:46 +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
0a3479d06c fix: fix monitor list upPercent calc problem 2023-10-28 15:01:23 +08:00
moonrailgun
eef78520e5 style: add and fix typo of change password 2023-10-28 01:22:58 +08:00
moonrailgun
1c089cd39e docs: add defer for website inject code 2023-10-28 01:22:40 +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
c161219137 refactor: update monitor recent data strategy 2023-10-24 22:25:44 +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