Commit Graph

31 Commits

Author SHA1 Message Date
Zhijie He
fadbc41c01 👷 build: fix zeabur build (#4213)
* 👷 build: add `SKIP_DB_MIGRATION` ENV

* 🔨 chore: change logic

* 💄 style: update error output style

* Update startServer.js

* 👷 build: detect DB_MIGRATION_SCRIPT_PATH, if not exist then skip

* 🔨 chore: improve console log

* 🔨 chore: add skip reason

* 🐛 fix: fix fs calling error

* 🐛 fix: fix `proxychains` conf generate error

* 🔨 chore: fix catch error

* 🐛 fix: fix typo
2024-09-30 02:33:01 +08:00
Zhijie He
12dfead151 👷 build: optimize image size under glibc env (#4176) 2024-09-29 11:31:55 +08:00
Arvin Xu
63ca869145 👷 build: revert #4025 (#4175)
This reverts commit 7eecb23d22.
2024-09-27 21:07:42 +08:00
Zhijie He
7eecb23d22 👷 build: optimize image size under glibc env (#4025)
* 👷 build: optimize image size under `glibc` env

* 👷 build: add `startServer.js` as server launcher

* 🐛 fix: `PROXY_URL` missing

* 🔨 chore: exit if DB migration failed

* 🔨 chore: allow resolve ipv6 address

* 🔨 chore: rollback changes, cleanup code

* 🔨 chore: improve console log

* 🔨 chore: improve error print

* 👷 build: add `isValidSSL` function to check SSL cert

* 🔨 chore: handle `CERT_HAS_EXPIRED` error

* 🔨 chore: cleanup code

* 🔨 chore: improve console log

* 👷 build: check oss & auth issuer ssl connection before running

* 🔨 chore: improve console log

* 🔨 chore: change `SSL` to `TLS`

* 🐛 fix: fix `443` port not display in logs

* 🔨 chore: improve console output

* 🐛 fix: fix error catch

* 🔨 chore: handle corner case

* 👷 build: support self-signed SSL cert, switch to system-wide CA cert

* 🔨 chore: handle `UNABLE_TO_GET_ISSUER_CERT_LOCALLY` error

* 🔨 chore: handle when `*_ISSUER` not existed

* 🔨 chore: handle non-https protocol, skip TLS checking

* 🔨 chore: improve console log

* 🐛 fix: fix proxychains logs not available when host is ip addr

* 👷 build: add DNS server self-check support, split DNS resolve function

* 🔨 chore: improve console.log

* 🔨 chore: print DNS server before db migration

* 🔨 chore: update `isValidIP` & `resolveHostIP` function, ready for IPv6

* 🐛 fix: fix error handle

* 👷 build: set `ENTRYPOINT` to `/bin/node`

* 👷 build: set full path for `proxychains` & `node`, ready for distroless

* 👷 build: pin node LTS version to 20
2024-09-27 20:41:06 +08:00
CanisMinor
d93a1617e7 ♻️ refactor: refactor the sitemap implement (#4012)
*  feat: Add new sitemap

* 🐛 fix: Fix url

*  test: Add test

* 🐛 fix: Fix host

*  test: Fix test

*  test: Fix test

* 🐛 fix: Fix alternative

* 🐛 fix: Try to fix

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 🔧 chore: Update git ignore

* 🐛 fix: Fix review problem
2024-09-19 22:08:14 +08:00
Arvin Xu
6574c01843 feat: files and knowledge base (#3487)
*  feat: add files and knowledge base

Update edge.ts

Update test.yml

🎨 chore: fix locale

Update index.tsx

测试 pgvector workflow

* 💄 style: improve upload detail

*  feat: support delete s3 file when delete files

* 💄 style: improve chunks in message

* ♻️ refactor: refactor the auth method

*  feat: support use user client api key

* 💄 style: fix image list in mobile

*  feat: support file upload on mobile

*  test: fix test

* fix vercel build

* docs: update docs

* 👷 build: improve docker

* update i18n
2024-08-21 21:28:29 +08:00
Arvin Xu
72306f55ab 👷 build: add docker image for server database (#3387)
* 👷 build: add docker database image

* 💚 ci: add database image workflow

* fix docker build

* Update PULL_REQUEST_TEMPLATE.md

* 🎨 chore: improve migration script

* 🐛 fix: throws error in nextauth db adapter (#3390)

* 👷 chore: update action

---------

Co-authored-by: cy948 <67412196+cy948@users.noreply.github.com>
2024-08-03 16:18:52 +08:00
Arvin Xu
2b54caeda1 💄 style: update brand and improve docs (#2917)
* 💄 style: update logo style

* ♻️ refactor: hide webrtc sync by default

* 🔧 chore: improve db migration script

* 💄 style: rename to assistant

* 💄 style: update brand

* 💄 style: update brand

* ️ perf: dynamic pwa install

*  test: fix tests

* 📝 docs: update docs

* 📝 docs: update env

* 📝 docs: update docs
2024-06-18 21:00:17 +08:00
Arvin Xu
b26afbff7f feat: support server db mode with Postgres / Drizzle ORM / tRPC (#2556) 2024-06-17 03:06:59 +00:00
CanisMinor
e97f62f65e 📝 docs: Update docs to fit next RSC (#1939)
* 📝 docs: Update docs to fit next rsc

* 📝 docs: Replace links

* chore: fix i18n config

* 📝 docs: update seo
2024-04-11 00:28:48 +08:00
Arvin Xu
c131fa68f0 ♻️ refactor: refactor with chat docs site (#1309)
* 📝 docs: add package.json

* 🔧 chore: update config

* 🔧 chore: update config

* 📝 docs: update docs

* 📝 docs: add en-US docs

* 📝 docs: update docs

* 📝 docs: fix docs url

* 🔧 chore: add docs rewrites

* 🔧 chore: add docs rewrites

* 🔧 chore: fix docs rewrites

* 💄 style: update docs link

* 🚚 chore: move to contributing docs

* 🔧 chore: update contributing ci workflow

* 💄 style: update docs link
2024-02-18 21:39:04 +08:00
CanisMinor
7253fd5122 📝 docs: Add text-to-image feat (#1089)
* 📝 docs: Add text-to-image feat

* 🔧 chore: Fix readmeWorkflow

* 📝 docs: Update readme

* 📝 docs: Update readme

* 🔧 chore: Replace ts-node, bun with tsx

* 📝 docs: Sync latest plugin list

* 📝 docs: Fix emoji

* 📝 docs: Update docs
2024-01-18 23:50:14 +08:00
Arvin Xu
94c2aa131d 🐛 fix: add chat defaultNS (#929)
* 🐛 fix: add chat defaultNS

* 🌐 fix: add error locale

* 🌐 fix: add error locale
2024-01-03 22:38:55 +08:00
Arvin Xu
2e295b2e42 ️ perf: use dynamic locale to reduce bundle size (#752)
* ️ perf: refactor to use dynamic locale

* ️ perf: refactor to use dynamic locale

* ♻️ refactor: refactor the locale code
2023-12-22 14:59:19 +08:00
CanisMinor
53eaee7d6a 🔧 chore: Update syncPluginIndex.ts 2023-12-19 10:30:25 +08:00
CanisMinor
f16d417ccf 🔧 chore: Update syncPluginIndex.ts 2023-12-19 10:29:58 +08:00
Arvin Xu
bcccc1a7e3 📝 docs: add plugins usage documents (#692)
* 📝 docs: plugins

* Update Plugins.zh-CN.md

* Update Plugins.zh-CN.md

* 📝 docs: update plugins docs

* 📝 docs: update plugins docs
2023-12-17 21:11:03 +08:00
canisminor1990
3aa821975d 🌐 chore: Update locale 2023-12-16 00:12:04 +08:00
canisminor1990
388eb85515 🔧 chore: Update readme plugin workflow 2023-12-15 23:57:42 +08:00
canisminor1990
9ff9aba077 📝 docs: Fix links 2023-12-15 13:57:36 +08:00
canisminor1990
39f674ee40 📝 docs: Fix wiki link 2023-12-14 17:26:41 +08:00
canisminor1990
395ff22e2e 📝 docs: Fix link 2023-12-14 17:24:52 +08:00
CanisMinor
d1df19a498 🔨 chore: Add docs workflow (#658)
* 🔧 chore: Add docs workflow and update docs files

* 📝 docs: Update wiki docs link
2023-12-14 17:17:43 +08:00
canisminor1990
ec74045f3e 🔧 chore: Update workflow and github action 2023-11-03 14:47:37 +08:00
canisminor1990
81b3b2ad90 🔧 chore(workflow): Add agent/plugin readme list sync workflow 2023-11-03 14:10:08 +08:00
canisminor1990
953d7c73b3 feat: Add agent share 2023-10-19 01:28:23 +08:00
canisminor1990
bdb866c702 🔧 chore: Fix i18n diff and workflow token 2023-10-11 00:07:50 +08:00
canisminor1990
d7c2e74b42 feat: Add functions for generating and analyzing JSON files, generating resource files and table of contents, and formatting console output
- Modify placeholder text
- Update script commands
- Rename and delete files
- Export two functions
- Make changes to two specific files

These changes are made to enhance the functionality of the internationalization resource management script.
2023-09-11 22:59:55 +08:00
canisminor1990
3c0117e2b0 🔧 chore: Update i18n 2023-09-11 22:59:55 +08:00
canisminor1990
e18fc57aaa feat: Add i18n auto flow pnpm run i18n 2023-07-18 11:38:10 +08:00
CanisMinor
579a0bf06f feat: Update localization paths, add new files, settings, descriptions, generate TOC, modify imports/exports, define types (#11)
This commit introduces new localization paths, adds new localization files, adds new settings and descriptions, generates a table of contents, modifies file imports and exports, and defines types for localization resources.

Changes:
- Updated localization paths
- Added new localization files
- Added new settings and descriptions
- Generated a table of contents
- Modified file imports and exports
- Defined types for localization resources
2023-07-18 09:14:13 +08:00