Commit Graph

463 Commits

Author SHA1 Message Date
moonrailgun
b0bf0aa0ef test: add test case for telemetryId gif route 2024-04-21 16:36:50 +08:00
moonrailgun
720a1d744e feat: add server count in desktop layout 2024-04-21 16:36:34 +08:00
moonrailgun
06ddd9b6f1 fix: fix monitor edit can not scroll problem 2024-04-21 02:26:31 +08:00
moonrailgun
761bc712d6 feat: add pl language support 2024-04-21 02:11:51 +08:00
moonrailgun
6e8e6acc70 refactor: update translation 2024-04-20 22:24:48 +08:00
moonrailgun
1bd18fa412 refactor: improve style of antd switch in new UI 2024-04-20 00:21:26 +08:00
moonrailgun
ffee0b8799 refactor: improve monitor retry logic. make sure send notice when retried 2024-04-19 00:59:24 +08:00
moonrailgun
a73720411c feat: add custom domain support for status page 2024-04-18 00:20:01 +08:00
moonrailgun
f0bd4dd993 chore: upgrade @i18next-toolkit/cli to v1.2.1 2024-04-18 00:13:23 +08:00
moonrailgun
10d9438541 refactor: remove cache for monitor badge 2024-04-16 01:19:57 +08:00
ChobPT
49fa50c3cd
feat: Adding Portuguese (pt-PT) Translation (#52)
* Added pt-PT translation

Machine translation with human review

* Added Flag

* Update LanguageSelector.tsx

Added Portuguese Option

* Update constants.ts

Added PT Language constant

* Update LanguageSelector.tsx

Moved PT to be in the correct alphabetical order

* Update constants.ts

Moved PT to be in the correct alphabetical order

* Update i18next-toolkit.config.cjs
2024-04-16 00:14:56 +08:00
moonrailgun
1dec411dd3 chore: upgrade i18next-toolkit and ant design icons, and update translation 2024-04-14 21:00:26 +08:00
moonrailgun
9ce882ba39 refactor: update translation 2024-04-14 17:18:22 +08:00
moonrailgun
d3ce409002 refactor: add title for status page and update UI style for it. 2024-04-14 16:43:38 +08:00
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
6e68cd1985 fix: fix cannot add http monitor problem 2024-04-10 11:57:09 +08:00
moonrailgun
fcb30a375b fix: fix website list not refresh when delete website problem 2024-04-09 01:01:33 +08:00
moonrailgun
2c5ff71725 refactor: add AppRouter to make sure useUserStore run under trpc provider 2024-04-09 00:02:28 +08:00
moonrailgun
62cc934035 refactor: remvoe old router 2024-04-08 17:12:01 +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
07f64a87ff feat: add translation for new design 2024-04-07 19:43:05 +08:00
moonrailgun
4d260dc45e refactor(v2): login view and register and default error handler and more 2024-04-07 19:43:05 +08:00
moonrailgun
af4c6f6bd1 feat(v2): add command panel 2024-04-07 19:43:05 +08:00
moonrailgun
07cb0b066a feat(v2): add delete telemetry feature 2024-04-07 19:43:05 +08:00
moonrailgun
af1d99d2ff feat(v2): add mobile layout 2024-04-07 19:43:05 +08:00
moonrailgun
0711c3c003 refactor: move add desktop layout into 2024-04-07 19:43:05 +08:00
moonrailgun
6fbf316c5d refactor: improve layout navbar 2024-04-07 19:43:05 +08:00
moonrailgun
3bb2cc8715 refactor: replace all old router to new router 2024-04-07 19:43:05 +08:00
moonrailgun
fa7534a8e0 feat(v2): add all settings pages 2024-04-07 19:43:05 +08:00
moonrailgun
20e19633ae feat(v2): add server page 2024-04-07 19:43:05 +08:00
moonrailgun
6a5de70fdb feat(v2): add website overview 2024-04-07 19:43:05 +08:00
moonrailgun
539f24244a feat(v2): add monitor health bar in list 2024-04-07 19:43:05 +08:00
moonrailgun
d97c671913 feat(v2): add page list/add/detail 2024-04-07 19:43:05 +08:00
moonrailgun
f27f3f2f11 feat: add telemetry route 2024-04-07 19:43:05 +08:00
moonrailgun
3c60261f37 feat: add default not found page and dashboard redirect 2024-04-07 19:43:05 +08:00
moonrailgun
402b8a6955 feat(v2): monitor feature 2024-04-07 19:43:05 +08:00
moonrailgun
958b1c0932 feat(v2): add website 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
3f13447e1f refactor: new layout and new router 2024-04-07 19:43:05 +08:00
moonrailgun
0987ca37d5 refactor: basic new layout 2024-04-07 19:43:05 +08:00
moonrailgun
aeee6ca593 chore: shadcn ui init 2024-04-07 19:43:05 +08:00
moonrailgun
6c84a04fb5 refactor: add default handler for delete telemetry action 2024-04-03 20:08:09 +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
11fd1a616b chore: add prettier-plugin-tailwindcss 2024-03-23 00:45:21 +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
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