3 files changed
+3
-3
lines changed- src/api-key/api-key.service.ts+3-1
- src/auth/auth.controller.ts+31-4
- src/auth/auth.service.ts+19-9
- src/auth/google/google.controller.ts+2-1
- src/auth/google/google.service.ts+4-2
- src/auth/wechat/wechat.controller.ts+2
- src/auth/wechat/wechat.service.ts+4-2
- src/mail/mail.service.ts+52-12
- src/mail/templates/email-verification-zh.hbs+15
- src/mail/templates/invite-zh.hbs+15
- src/mail/templates/password-zh.hbs+13
- src/mail/templates/sign-up-zh.hbs+13
- src/namespace-resources/dto/list-children-resp.dto.ts+1-1
- src/namespace-resources/dto/update-resource.dto.ts-11
- src/namespace-resources/namespace-resources.controller.ts+11-6
- src/namespace-resources/namespace-resources.service.ts+85-125
- src/namespaces/namespaces.controller.ts+8-5
- src/namespaces/namespaces.e2e-spec.ts+47-26
- src/namespaces/namespaces.module.ts+2
- src/namespaces/namespaces.service.ts+123-69
- src/permissions/permissions.service.ts+135-2
- src/resources/dto/update-resource-req.dto.ts-7
- src/resources/resources.service.ts+144-40
- src/tasks/wizard-task.service.ts+19
- src/user/dto/create-user-binding.dto.ts+5-1
- src/user/dto/create-user.dto.ts+4
- src/user/user.controller.ts+2-2
- src/user/user.service.ts+57-5
- src/wizard/dto/collect-request.dto.ts+2-2
- src/wizard/dto/open-collect-request.dto.ts-4
- src/wizard/open.wizard.controller.ts+21-9
- src/wizard/processors/collect.processor.spec.ts+1-1
- src/wizard/processors/collect.processor.ts+1-1
- src/wizard/processors/reader.processor.spec.ts+1-1
- src/wizard/wizard.controller.ts+8-4
- src/wizard/wizard.service.ts+51-16
- package.json+4
- pnpm-lock.yaml+1.0k
- public/wechat.png
- src/assets/icons/wechatIcon.tsx+3-3
- src/components/attributes/index.tsx+7-7
- src/components/attributes/metadata.tsx+2-2
- src/components/markdown/index.tsx+3-2
- src/components/resource-tasks/index.tsx+1
- src/components/tags/tags.tsx+3-3
- src/components/toggle/language.tsx+3-4
- src/components/ui/sidebar.tsx+76-9
- src/const.ts+2
- src/hooks/use-namespace.ts+9
- src/i18n/locales/en.json+16-7
- src/i18n/locales/zh.json+19-10
- src/index.css+10-6
- src/layout/index.tsx+69-59
- src/lib/detect-language.ts+6-8
- src/lib/lang.ts+5
- src/lib/wizard-lang.ts+7-6
- src/page/chat/chat-input/index.tsx+1-1
- src/page/chat/chat-input/input.tsx+2-2
- src/page/chat/conversation/index.tsx+1-1
- src/page/chat/conversation/useContext.tsx+5-1
- src/page/chat/conversation/utils.tsx+8-5
- src/page/chat/conversations/index.tsx+3-3
- src/page/chat/header/actions.tsx+35-11
- src/page/chat/header/index.tsx+17-20
- src/page/chat/header/plus.tsx+41
- src/page/chat/home.tsx+3-12
- src/page/chat/index.tsx+1-1
- src/page/chat/messages/citations/citation-markdown.tsx+79-115
- src/page/chat/messages/role/assistant-message.tsx+1-1
- src/page/chat/utils.ts+24-25
- src/page/resource/actions/index.tsx+2-2
- src/page/resource/editor/index.tsx+2-1
- src/page/resource/folder/index.tsx+2-2
- src/page/resource/header/breadcrumb.tsx+4-2
- src/page/resource/header/index.tsx+12-6
- src/page/resource/index.tsx+22-5
- src/page/resource/page.tsx+5-1
- src/page/resource/render.tsx+9-2
- src/page/resource/utils.ts+10-8
- src/page/sidebar/content/action.tsx+2-2
- src/page/sidebar/content/arrow.tsx+26
- src/page/sidebar/content/icon.tsx+113
- src/page/sidebar/content/icon/conditions.tsx+10-6
- src/page/sidebar/content/icon/textIcon.tsx+19
- src/page/sidebar/content/resourceIcon.tsx+11-2
- src/page/sidebar/content/space.tsx+75-55
- src/page/sidebar/content/tree.tsx+12-9
- src/page/sidebar/footer/Discord.tsx+13
- src/page/sidebar/footer/Docs.tsx+40
- src/page/sidebar/footer/Feedback.tsx+40
- src/page/sidebar/footer/QrCode.tsx+41
- src/page/sidebar/footer/Wechat.tsx+40
- src/page/sidebar/footer/index.tsx+85
- src/page/sidebar/header/Chat.tsx+18
- src/page/sidebar/header/index.tsx+13-8
- src/page/sidebar/index.tsx+5-3
- src/page/sidebar/switcher/basic/language.tsx+3-3
- src/page/sidebar/switcher/form/namespace.tsx+6
- src/page/sidebar/switcher/index.tsx+20-10
- src/page/sidebar/switcher/third-party/google.tsx+2-1
- src/page/single/template.tsx+2-2
- src/page/user/form/password-confirm.tsx+3
- src/page/user/form/register-confirm.tsx+2-2
- src/page/user/google/index.tsx+2-1
- src/page/user/login/index.tsx+10-1
- src/page/user/password.tsx+10
- src/page/user/register/form.tsx+2-1
- src/page/user/register/index.tsx+10-1
- src/page/user/wechat/auth-confirm.tsx+6-2
- src/page/user/wechat/scan-form.tsx+2-1
- src/page/user/wrapper.tsx+2-2
- omnibox_wizard/worker/callback_util.py+18-15
- omnibox_wizard/worker/functions/file_readers/video_reader.py+7
- omnibox_wizard/worker/functions/html_reader.py+10-9
- omnibox_wizard/worker/functions/video_downloaders/__init__.py+1-1
- omnibox_wizard/worker/functions/video_downloaders/base_downloader.py+5-3
- omnibox_wizard/worker/functions/video_downloaders/bilibili_downloader.py+133-126
- omnibox_wizard/worker/functions/video_downloaders/downloader_factory.py+16-13
- omnibox_wizard/worker/functions/video_downloaders/youtube_downloader.py+46-137
- omnibox_wizard/worker/functions/video_note_generator.py+43-25
- omnibox_wizard/worker/functions/video_utils.py+182-349
- omnibox_wizard/worker/task_manager.py+9-23
- poetry.lock+7-7
- pyproject.toml+1-1
- tests/omnibox_wizard/functions/test_bilibili_downloader_integration.py+43-42
- tests/omnibox_wizard/functions/test_html_reader.py+4
- tests/omnibox_wizard/functions/test_video_note_generator_integration.py+9-9
- tests/omnibox_wizard/functions/test_youtube_downloader_integration.py+31-31
- tests/omnibox_wizard/helper/get_collect_html.py+55
0 commit comments