Commit Graph

387 Commits

Author SHA1 Message Date
jiangwel 35e5785624 feat: 支持modelkit ui组件 2025-08-22 11:51:00 +08:00
wangbiao 67045d14dc 修复wechat路由 2025-08-22 11:30:41 +08:00
coltea 7a0ba525b1 feat add visibility permission migration 2025-08-22 11:29:18 +08:00
coltea c148e32d67 feat: auth permission 2025-08-22 11:20:40 +08:00
coltea e3722bccf1 feat auth group 2025-08-21 20:06:07 +08:00
wangbiao 59cb54cc18 微信客服链接 2025-08-21 19:10:48 +08:00
xiaomakuaiz ccbe492fa0 feat: add custom settings for web app 2025-08-20 08:45:12 +00:00
jiangwel 0c09d6426b build: 更新 ModelKit 依赖至 v1.4.3 并简化模型转换逻辑 2025-08-19 11:55:16 +08:00
xiaomakuaiz fe6c0cc389 feat: chanage session age to 30d 2025-08-19 00:07:41 +08:00
xiaomakuaiz 16a5dad2e9 fix: swag gen 2025-08-18 23:51:14 +08:00
jiangwel cf42a2be7f build: 更新 ModelKit 依赖至 v1.4.1 版本 2025-08-18 19:06:27 +08:00
jiangwel 6c522f3c2a fix(model): 修复checkmodel invaild model type问题
更新ModelKit依赖至v1.4.0并添加Google AI相关依赖
2025-08-18 11:25:18 +08:00
xiaomakuaiz 617387cad4
Merge pull request #919 from coltea/feat-auth-github
feat auth github
2025-08-15 18:47:16 +08:00
coltea d3c1d99109 feat auth github 2025-08-15 18:40:17 +08:00
jiangwel 01df1f1451 feat: 集成 ModelKit 并优化模型处理逻辑 2025-08-15 15:51:39 +08:00
coltea 91a95bb622 fix perm 2025-08-14 18:56:33 +08:00
coltea e842f27f2d feat: admin auth 2025-08-14 18:14:55 +08:00
wangbiao 632bc56a38 后台收集并展示用户消息 2025-08-14 14:32:29 +08:00
xiaomakuaiz dee5474c36 feat: remove some md parser 2025-08-14 06:14:02 +00:00
xiaomakuaiz 6cf78ddc84
Merge pull request #897 from yzr041215/fix-shiyuan
fix invalid url condition
2025-08-14 11:52:41 +08:00
xiaomakuaiz 9e29ff0b38 feat: md to html 2025-08-14 03:47:10 +00:00
yuzhongrun 69006cf21f fix invalid url condition 2025-08-14 10:03:09 +08:00
wangbiao 884f798fed pro 2025-08-12 20:04:49 +08:00
wangbiao ea1b9a996a 获取用户消息 2025-08-12 19:37:00 +08:00
xiaomakuaiz 4cd5076a48
Merge pull request #880 from yzr041215/fix-shiyuan
fix siyuan analysis for img path and invlid url
2025-08-12 14:44:51 +08:00
wangbiao 015eb5216e 优化buffsize计算 2025-08-12 14:16:44 +08:00
yuzhongrun 513784275c fix siyuan analysis for img path and invlid url 2025-08-12 14:12:02 +08:00
xiaomakuaiz 62be0dfa88 fix: init dfa 2025-08-11 13:33:25 +00:00
xiaomakuaiz cd7b135b6b chore: update pro version 2025-08-11 12:47:58 +00:00
wangbiao 00fbba37a9 修改表情 2025-08-11 20:39:58 +08:00
wangbiao 5257ce0e28 用户自定义ai屏蔽词 2025-08-11 20:00:07 +08:00
yuzhongrun 8424ca60e4 fix some err message and online img transform 2025-08-11 17:52:15 +08:00
xiaomakuaiz 2f41489cd6 fix: convert to md table in html 2025-08-11 08:02:07 +00:00
xiaomakuaiz 0c7d5a416f fix: siyuan typo 2025-08-11 06:27:01 +00:00
xiaomakuaiz 84fa13c9f9
Merge pull request #854 from yzr041215/dev-shiyuan
fix some code detail
2025-08-11 12:00:13 +08:00
coltea f4e19fc3d0 fix:simple auth session 2025-08-08 18:54:17 +08:00
yuzhongrun cc960a02c6 fix some code detail 2025-08-08 17:57:32 +08:00
xiaomakuaiz 1ed96f83dc
Merge pull request #847 from coltea/feat-ldap
feat:auth ldap
2025-08-08 17:24:57 +08:00
xiaomakuaiz 72709d66bb
Merge pull request #844 from yzr041215/dev-shiyuan
shiyuan
2025-08-08 17:15:20 +08:00
coltea bd22e08162 feat:auth ldap 2025-08-08 17:10:58 +08:00
yuzhongrun 46fc4fd9ed untrack backend/utils/cl100k_base.tiktoken 2025-08-08 11:59:16 +08:00
yuzhongrun 45380f655a 思源文件解析接口 2025-08-08 10:53:01 +08:00
yuzhongrun 5708412a93 修复本地token计算需要在线令牌字典 2025-08-08 10:43:55 +08:00
xiaomakuaiz b909fd983f
Merge pull request #839 from coltea/feat-cas
feat auth cas
2025-08-07 19:18:58 +08:00
xiaomakuaiz 09bf610c96
Merge pull request #831 from yzr041215/fix-local-tokenlizer-summary
修复本地token计算需要在线令牌字典
2025-08-07 19:18:46 +08:00
coltea 1f30d9a687 feat auth cas 2025-08-07 19:00:44 +08:00
yuzhongrun f4718136da 修复本地token计算需要在线令牌字典 2025-08-07 18:41:48 +08:00
xiaomakuaiz efb92233e9
Merge pull request #837 from laipinbinlu/fix/comment
修复bug和文件上传大小
2025-08-07 18:31:20 +08:00
wangbiao 1e5188e56c 修复bug和文件上传大小 2025-08-07 17:29:45 +08:00
xiaomakuaiz cd37193552 feat: ignore gorm record-not-found error 2025-08-07 08:44:48 +00:00
xiaomakuaiz 9d22c6009a
Merge pull request #836 from xiaomakuaiz/feat-activate-license
fix: license validation
2025-08-07 10:56:00 +08:00
xiaomakuaiz db6af31147 fix: license validation 2025-08-07 02:48:24 +00:00
xiaomakuaiz 7ff7a216e3 fix: auto update node 2025-08-06 11:49:04 +00:00
coltea 86e40914d8 feat oauth 2025-08-06 18:06:56 +08:00
wangbiao 57e4409f36 用户指定文档位置 2025-08-06 16:34:10 +08:00
xiaomakuaiz 89b73516da feat: add share conversation handler 2025-08-06 07:41:05 +00:00
xiaomakuaiz 2fc8314fac
Merge pull request #815 from yzr041215/fix-invalid-input
适配一些特殊输入
2025-08-05 18:09:37 +08:00
xiaomakuaiz d4119a8b4d feat: prompt 2025-08-05 08:47:23 +00:00
yuzhongrun 9912197b62 适配一些特殊输入,增加代码健壮性质 2025-08-05 16:19:17 +08:00
coltea 4bb470136d chore:fix import 2025-08-05 16:18:21 +08:00
coltea bfdf28b6bf feat: auth wecom 2025-08-05 14:24:01 +08:00
wangbiao e1effcdf37 实现文档历史 2025-08-04 17:00:05 +08:00
xiaomakuaiz dada8e408b
Merge pull request #806 from yzr041215/add-zhipu
Add zhipu
2025-08-04 16:57:32 +08:00
yuzhongrun abfa0d95fe admin新增智谱模型适配 2025-08-04 16:51:06 +08:00
yuzhongrun c4177458d5 新增智谱模型适配 2025-08-04 16:46:28 +08:00
coltea a01d88bc02 fix ci 2025-08-04 15:07:15 +08:00
coltea ecb2059868 feat:add source type config 2025-08-04 14:42:32 +08:00
coltea 5e55a335d5 fix: auth session securecookie 2025-08-04 14:42:31 +08:00
coltea 639812c683 feat: feishu auth 2025-08-04 14:42:31 +08:00
coltea 8c0db45b83 chore: add local gitignore 2025-08-04 14:42:31 +08:00
wangbiao 287549ae26 用户设置ai问答反馈 2025-08-01 17:48:30 +08:00
wangbiao f09aade7ca 修复bug 2025-07-31 20:33:07 +08:00
wangbiao c1fc6e6dd7 优化截图 2025-07-31 20:03:06 +08:00
wangbiao 26591a4100 实现了文档纠错 2025-07-31 18:22:50 +08:00
coltea bb19d690c9 feat auth 2025-07-31 17:32:44 +08:00
xiaomakuaiz ed213d000d chore: update pro 2025-07-31 06:13:35 +00:00
yuzhongrun b9cc679a69 新增雨雀导入 2025-07-31 11:19:04 +08:00
xiaomakuaiz e0dc34cf7c feat: add docs 2025-07-30 02:53:59 +00:00
wangbiao ab5b9f81d9 实现了人工手动审核 2025-07-28 19:51:28 +08:00
xiaomakuaiz 97a5123c98
Merge pull request #748 from xiaomakuaiz/fix-list-empty-kb
fix: return empty node list when kb is empty
2025-07-28 14:11:45 +08:00
LydiaMuaCai e0bd910ca6 fix: resolve node position precision loss issue 2025-07-28 13:33:39 +08:00
xiaomakuaiz 45f6549894 fix: return empty node list when kb is empty 2025-07-28 04:15:11 +00:00
xiaomakuaiz 2c9452186d feat: check model provider 2025-07-24 09:14:08 +00:00
wangbiao 6027de7ba5 实现了对接微信公众号 2025-07-24 15:08:57 +08:00
xiaomakuaiz 12af6e9442 feat: add license 2025-07-24 07:02:18 +00:00
xiaomakuaiz d74944f46b
Merge pull request #708 from yzr041215/dev-tansform-markdown
优化部分代码,增加代码稳定性
2025-07-22 14:25:00 +08:00
wangbiao 81e6b310bc 获取用户反馈的消息 2025-07-22 14:20:25 +08:00
yuzhongrun 4a370418c4 优化部分代码,增加代码稳定性 2025-07-22 10:51:57 +08:00
wangbiao 4580608e47 修改描述 2025-07-21 20:07:52 +08:00
xiaomakuaiz 696e81f5d3
Merge pull request #682 from laipinbinlu/feat/wechat_op
优化企业微信机器人和实现微信客服转人工
2025-07-18 19:11:56 +08:00
wangbiao 42b0542eec 微信客服实现人工转接 2025-07-18 19:05:45 +08:00
xiaomakuaiz a6fcf73f4f
Merge pull request #683 from yzr041215/fix-feishu-doc
修复飞书导入一些权限问题
2025-07-18 18:20:51 +08:00
yuzhongrun 9abcadd246 修复飞书导入一些权限问题 2025-07-18 18:04:53 +08:00
wangbiao 34656f80c5 修复企业微信机器人不断回复用户问题 2025-07-18 17:41:39 +08:00
xiaomakuaiz f21415cc47 chore: spell check 2025-07-18 07:35:43 +00:00
xiaomakuaiz b5c6ec8e3e feat: add gomod check 2025-07-18 07:26:07 +00:00
yuzhongrun 5021f7a4c9 修复大文档生成摘要报错 2025-07-18 11:53:06 +08:00
wangbiao 76a8881480 修复ip显示问题 2025-07-17 21:08:42 +08:00
wangbiao ae8a5d8091 优化后台评论 2025-07-17 20:22:05 +08:00
xiaomakuaiz d66c517f8d
Merge pull request #666 from laipinbinlu/feat/backendcomments
后台实现展示用户反馈
2025-07-17 19:36:51 +08:00
wangbiao 71bd8a2f9c 后台实现展示用户反馈 2025-07-17 19:32:01 +08:00
xiaomakuaiz 19c674245e
Merge pull request #667 from yzr041215/fix-confluence-img
confluence导出文档中base64图片解析修复
2025-07-17 19:02:09 +08:00
yuzhongrun d8e024589b 新增confluence导出文档中base64图片解析 2025-07-17 18:56:48 +08:00
xiaomakuaiz c9b1415243 fix: ignore tls error when get sitemap and rss 2025-07-17 09:45:10 +00:00
xiaomakuaiz a3268f04fd chore: remove unused route 2025-07-16 14:55:58 +00:00
xiaomakuaiz 302bae64b4 feat: add more env 2025-07-16 14:44:31 +00:00
xiaomakuaiz a1ccf08674
Merge pull request #637 from laipinbinlu/feat/usercomment
实现了文档评论功能
2025-07-16 22:07:15 +08:00
wangbiao a8306980b0 实现了文档评论功能 2025-07-16 22:03:13 +08:00
yuzhongrun 55d6a97dae 修复飞书文件数量大时候的列表报错 2025-07-16 21:35:24 +08:00
yuzhongrun 20cf62f7f1 修复confluence导入图片问题. 优化wikijs、epub、飞书导入执行速度 2025-07-16 18:39:58 +08:00
wangbiao 3926b93324 机器人收集用户反馈 2025-07-16 10:47:19 +08:00
xiaomakuaiz 55893d017f feat: trim space for user question(dingtalk bot) 2025-07-15 12:03:36 +00:00
coltea f85fd91ae8 feat: support for gemini 2025-07-15 19:21:24 +08:00
xiaomakuaiz 4ab8676b52 feat: add node release history api 2025-07-15 09:58:46 +00:00
xiaomakuaiz 164334fde3 feat: make golangci lint happy 2025-07-15 06:42:25 +00:00
xiaomakuaiz c2fc9b031a
Merge pull request #603 from xiaomakuaiz/feat-bot-enabled
feat: add enabled for bots
2025-07-14 22:33:27 +08:00
wangbiao 232b1bdc6e 网页端实现记录用户反馈情况 2025-07-14 22:02:47 +08:00
xiaomakuaiz 25e91b7924 feat: add enabled for bots 2025-07-14 10:13:53 +00:00
yuzhongrun bdca95c1be 优化 file reader 2025-07-11 18:36:49 +08:00
xiaomakuaiz b41975d88a
Merge pull request #572 from yzr041215/analyse-confluence-export-file
解析confluence导出的文件
2025-07-11 17:47:16 +08:00
yuzhongrun ba66357aa3 解析confluence导出的文件 2025-07-11 17:42:16 +08:00
xiaomakuaiz 25bc6e89b7 fix: remove widget share auth 2025-07-11 08:39:15 +00:00
xiaomakuaiz 391c092109 fix: ip check 2025-07-11 08:18:43 +00:00
xiaomakuaiz ba859ead1a feat: readonly mode 2025-07-11 07:58:32 +00:00
xiaomakuaiz cb7335f412
Merge pull request #566 from xiaomakuaiz/fix-widget
fix: chat from widget
2025-07-11 15:09:40 +08:00
yuzhongrun e1248d8664 增加飞书文档导入调试信息 2025-07-11 11:38:57 +08:00
xiaomakuaiz 16cdb9c3ab fix: chat from widget 2025-07-11 03:16:51 +00:00
xiaomakuaiz 4d3827aadf feat: add kb_count 2025-07-10 10:24:40 +00:00
xiaomakuaiz 4b711bbbf1
Merge pull request #555 from xiaomakuaiz/fix-answser-image-url
fix: image baseURL
2025-07-10 18:23:40 +08:00
xiaomakuaiz 5103956183 fix: image baseURL 2025-07-10 10:09:29 +00:00
xiaomakuaiz 9c492e1a0d
Merge pull request #553 from xiaomakuaiz/feat-widget
Feat widget
2025-07-10 17:58:58 +08:00
xiaomakuaiz 7129a2f39c feat: add widget bot 2025-07-10 08:47:11 +00:00
xiaomakuaiz 9abaa3bd95 chore: err check 2025-07-10 08:47:11 +00:00
wangbiao a68db13a61 get feishu chat userinfo 2025-07-10 10:37:53 +08:00
xiaomakuaiz d3fdc36dc0 fix: select scene 2025-07-09 11:42:42 +00:00
xiaomakuaiz f7fa31a570
Merge pull request #543 from xiaomakuaiz/fix-instant-count
fix: remove scene filter for instant page
2025-07-09 19:22:17 +08:00
xiaomakuaiz d6182bd7b2
Merge pull request #541 from xiaomakuaiz/feat-cert-setup
feat: add certs setup
2025-07-09 18:29:59 +08:00
xiaomakuaiz 16e713eb37 feat: add certs setup 2025-07-09 10:02:13 +00:00
wangbiao da822132ba 获取到用户消息 2025-07-09 17:05:40 +08:00
wangbiao b08b9bf722 dingdingbot userinfo finished 2025-07-09 17:05:40 +08:00
xiaomakuaiz b2948e2517 fix: update node status after batch_move 2025-07-09 08:35:11 +00:00
xiaomakuaiz fdaa709f37 fix: remove scene filter for instant page 2025-07-09 03:56:37 +00:00
xiaomakuaiz 080b94adfd
Merge pull request #526 from xiaomakuaiz/feat-batch-move
feat: batch move
2025-07-08 17:19:32 +08:00
xiaomakuaiz ff67e3e40f
Merge pull request #525 from xiaomakuaiz/feat-trusted-proxies
feat: add trusted_proxies
2025-07-08 17:18:20 +08:00
xiaomakuaiz e137c10870 feat: add trusted_proxies 2025-07-08 09:13:11 +00:00
xiaomakuaiz 8bbf97db55 feat: batch move 2025-07-08 08:51:15 +00:00
xiaomakuaiz e92b879b07
Merge pull request #521 from laipinbinlu/feat/botuserinfo
实现飞书,企微,微信客服记录用户信息
2025-07-08 16:22:57 +08:00
yuzhongrun e6f349f0cd 修复从飞书导入file和sheet问题 2025-07-08 15:35:36 +08:00
wangbiao b8d2d387f9 feishubotinfo finished 2025-07-08 14:39:37 +08:00
wangbiao 2a993cedb0 wechatuserinfo finished 2025-07-08 14:39:37 +08:00
xiaomakuaiz 3fc8bd4837 fix: fallback to get session_id from header 2025-07-08 02:51:29 +00:00
xiaomakuaiz 7f14a1e8c4 fix: add scan & value fro conversation_info 2025-07-07 11:18:26 +00:00
xiaomakuaiz 43f286577c fix: add geo 2025-07-07 11:18:09 +00:00
xiaomakuaiz 13f265faf8 fix: return scene when node id is empty 2025-07-07 10:26:53 +00:00
xiaomakuaiz 425c6b7454 feat: add stats 2025-07-07 09:21:10 +00:00
xiaomakuaiz 5a5fde6a5e fix: init logger 2025-07-07 09:21:10 +00:00
xiaomakuaiz fe82fcf1ad
Merge pull request #474 from yzr041215/add-discord-bot
disCord机器人接入
2025-07-07 14:00:05 +08:00
yuzhongrun 376250b7c1 修改机器人停止功能 2025-07-07 12:09:25 +08:00
xiaomakuaiz b89641bae0
Merge pull request #477 from safe1ine/main
修改文件上传的大小限制 & 以及支持上传 .pptx 文件
2025-07-03 17:37:37 +08:00
monster d5df8310cb 调整上传文件的最大限制为 100MB 2025-07-03 17:21:40 +08:00
yuzhongrun beadad0204 disCord机器人接入 2025-07-03 17:05:09 +08:00
wangbiao 15f3024d7a add wechatservice to match 2025-07-03 16:42:32 +08:00
wangbiao 39b16afdbc feat: wechat service 2025-07-03 12:04:27 +08:00
yuzhongrun 6f4b55a742 fix-feishu-pagesize 2025-07-03 10:51:00 +08:00
xiaomakuaiz f5d723e176
Merge pull request #460 from yzr041215/import-doc-from-feishu
Import doc from feishu
2025-07-03 10:31:02 +08:00
yuzhongrun 121546a469 add import doc from feishu 2025-07-03 10:25:16 +08:00
xiaomakuaiz 2f078e6a4c feat: return app_type for conversation list 2025-07-02 06:12:42 +00:00
yuzhongrun e09a76e53e 修改部分epub文件导入失败问题 2025-07-02 10:08:39 +08:00
xiaomakuaiz e75f4bf1f3 feat: add style config for web app 2025-06-30 03:07:34 +00:00
xiaomakuaiz d2fbd53af0
Merge pull request #403 from laipinbinlu/feature/wechatapp
Change Wechat's Name
2025-06-27 15:21:53 +08:00
xiaomakuaiz 5bef5d34fc
Merge pull request #402 from yzr041215/wikijs-exported-file-explain
修改部分epub文件导入失败问题
2025-06-27 15:17:59 +08:00
wangbiao 787a4acb92 change wechat app name 2025-06-27 15:14:59 +08:00
wangbiao 0c22f9eb0c change err 2025-06-27 15:12:04 +08:00
yuzhongrun c4b857657a 修改部分epub文件导入失败问题 2025-06-27 15:10:42 +08:00
xiaomakuaiz 35ca3f69af feat: add sitemap.xml 2025-06-27 06:54:14 +00:00
wangbiao c47d9e8f72 change 2 2025-06-27 11:57:30 +08:00
wangbiao 24e260f44c 微信机器人实现对话功能 2025-06-27 11:27:38 +08:00
xiaomakuaiz 197b91c185
Merge pull request #395 from yzr041215/wikijs-exported-file-explain
wikijs接口细节修复
2025-06-27 11:25:24 +08:00
yuzhongrun fc6bd93b44 wikijs接口细节修复 2025-06-27 11:17:59 +08:00
coltea fa5be0cf06 fix: ollama api base url path 2025-06-27 10:55:33 +08:00
xiaomakuaiz a8bac133dd
Merge pull request #387 from yzr041215/wikijs-exported-file-explain
修复wikijs附件问题
2025-06-27 10:10:32 +08:00
yuzhongrun a12e5c1d20 修复wikijs文档附件问题 2025-06-27 09:59:05 +08:00
xiaomakuaiz 8a7e220220
Merge pull request #388 from xiaomakuaiz/fix-route-order
fix: add default route last
2025-06-26 18:10:50 +08:00
xiaomakuaiz 1f90e600cf
Merge pull request #365 from coltea/feat-ollama-ext
feat add eino ext ollama
2025-06-26 17:51:22 +08:00
xiaomakuaiz e739f037e8 feat: kb & node count 2025-06-26 09:49:17 +00:00
xiaomakuaiz 9ad8395fdc fix: add default route last 2025-06-26 09:36:24 +00:00
yuzhongrun 80bf9e44af add explain wikijs exported file explain 2025-06-25 19:08:04 +08:00
coltea 67b393a217 feat ollama ext 2025-06-25 16:27:01 +08:00
xiaomakuaiz f9a5a6f3bf feat: update visibility in batch 2025-06-25 07:37:15 +00:00
xiaomakuaiz 9173a7f814 feat: do not delete node that has children 2025-06-25 06:47:03 +00:00
xiaomakuaiz ddc5de4bf6 feat: set first kb host as default server 2025-06-25 06:32:05 +00:00
xiaomakuaiz b6f050b7ca feat: add catalog settings 2025-06-25 03:10:08 +00:00
xiaomakuaiz a6fc03e2e1 fix: release private node 2025-06-24 08:28:20 +00:00
xiaomakuaiz c932de27e0 feat: dont verify file ext 2025-06-24 07:12:34 +00:00
xiaomakuaiz f8f8dec9e5 feat: add pic in system prompt 2025-06-24 03:51:44 +00:00
xiaomakuaiz 53e4f49864 feat: remove think in summary 2025-06-24 03:37:44 +00:00
xiaomakuaiz 4d8af90eb8 feat: add brand desc for footer 2025-06-24 02:08:58 +00:00
xiaomakuaiz 0e2909b14a feat: add footer settings for web app 2025-06-23 10:55:14 +00:00
xiaomakuaiz 446a8771ab chore: remove registry cache 2025-06-23 10:55:14 +00:00
xiaomakuaiz 63df99de4d feat: gen swagger 2025-06-23 09:57:47 +00:00