Commit Graph

164 Commits

Author SHA1 Message Date
CaptainB 9541b27d76 refactor: enhance deletion process by removing associated permissions for knowledge, model, and tool 2025-07-02 10:06:05 +08:00
zhangzhanwei a4143eed23 feat: hit test permission 2025-07-01 18:12:31 +08:00
CaptainB cecd3f90c6 refactor: remove unused logging import and enhance knowledge base query 2025-07-01 16:07:43 +08:00
CaptainB 9b89e8f75c refactor: enhance file parsing by saving source files and linking document IDs 2025-07-01 15:24:07 +08:00
wxg0103 38c3dcae7e fix: field error message 2025-07-01 15:15:38 +08:00
CaptainB b0b269f3d4 refactor: extend KnowledgeModelSerializer fields to include file size and count limits
--bug=1057593 --user=刘瑞斌 【共享资源】共享知识库设置界面,向量模型为空,不回显 https://www.tapd.cn/62980211/s/1720862
2025-07-01 14:21:10 +08:00
CaptainB ad5c8122d3 refactor: remove unnecessary condition for workspace management in knowledge.py and update SQL query in list_knowledge_user.sql 2025-07-01 11:58:44 +08:00
CaptainB ea5fae09c4 refactor: remove license validation message for community version knowledge bases 2025-07-01 10:44:26 +08:00
CaptainB cc692ffbe1 feat: update permission constants to include ResourcePermission
--bug=1057659 --user=刘瑞斌 【共享资源】企业版-创建共享工具失败 https://www.tapd.cn/62980211/s/1720006
2025-06-30 10:53:58 +08:00
CaptainB 327b6cc563 refactor: adjust paragraph position indexing to start from 1 2025-06-27 19:01:05 +08:00
CaptainB 22d86f046a refactor: adjust paragraph positions during migration for consistency 2025-06-27 18:40:52 +08:00
CaptainB cd25bcf074 refactor: adjust paragraph position handling to insert new paragraphs at the top
--bug=1057642 --user=刘瑞斌 【知识库】文档中添加分段,最后添加的没显示在最上面 https://www.tapd.cn/62980211/s/1719802
2025-06-27 17:59:09 +08:00
CaptainB db58ed8aba fix: allow null and blank values for status and order_by fields in document queries
--bug=1057473 --user=刘瑞斌 【知识库】文档列表通过列表字段筛选文档不生效 https://www.tapd.cn/62980211/s/1719702
2025-06-27 16:28:11 +08:00
wxg0103 e25544e032 feat: role setting 2025-06-27 14:37:16 +08:00
wxg0103 c5c06254b7 feat: role setting 2025-06-27 14:29:44 +08:00
CaptainB c2c1d4eeb9 feat: make folder_id optional in KnowledgeSerializer query
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
--bug=1057489 --user=刘瑞斌 【知识库】-文档迁移功能报错,无法选择文件夹和目标知识库 https://www.tapd.cn/62980211/s/1719276
2025-06-26 20:13:56 +08:00
CaptainB 974f61d2d9 feat: update document and paragraph status default to use get_default_status function 2025-06-26 17:48:18 +08:00
CaptainB 56fe631ed6 feat: update knowledge export methods to use knowledge_id for filtering documents and paragraphs
--bug=1057505 --user=刘瑞斌 【知识库】导出知识库是空白的 https://www.tapd.cn/62980211/s/1719080
2025-06-26 15:55:37 +08:00
CaptainB dfa66c1d23 feat: adjust position handling in paragraph serializer to ensure integer type
--bug=1057467 --user=刘瑞斌 【知识库】企业版-知识库文档中添加分段失败 https://www.tapd.cn/62980211/s/1719011
2025-06-26 15:15:50 +08:00
wxg0103 183d6c74d5 refactor: knowledge model
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-26 11:40:57 +08:00
CaptainB a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
CaptainB fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
CaptainB f1e6b5adec fix: update FileSerializer operation to use data dictionary for file ID 2025-06-25 15:10:01 +08:00
CaptainB 8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
CaptainB 83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
CaptainB 73ee9bf602 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:55:48 +08:00
CaptainB 758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +08:00
wxg0103 f248697794 refactor: ui warning message 2025-06-24 19:14:22 +08:00
CaptainB 8d5c3e6068 feat: refresh cache for permission list on knowledge save 2025-06-24 16:11:39 +08:00
wxg0103 c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
shaohuzhang1 e98ecf4c2f
fix: application knowledge list (#3368) 2025-06-24 15:11:08 +08:00
shaohuzhang1 6dfcc5e54d
fix: application knowledge list (#3367) 2025-06-24 15:01:43 +08:00
shaohuzhang1 af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
shaohuzhang1 dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
shaohuzhang1 4a722575df
fix: knowledge list (#3349) 2025-06-23 17:08:13 +08:00
shaohuzhang1 b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
CaptainB bb109d65cf feat: update permission checks to include workspace-specific roles for knowledge document operations 2025-06-23 11:47:46 +08:00
CaptainB 3e9c3c0602 feat: update UUID generation to use uuid7 for improved uniqueness across models 2025-06-23 11:19:20 +08:00
CaptainB b496a2b2c5 feat: update migration files and add new models for application settings and chat functionality 2025-06-23 10:25:45 +08:00
CaptainB 9777c92e34 feat: add automatic permission assignment for knowledge creators 2025-06-20 17:50:49 +08:00
CaptainB c8a5048c7c feat: add user role permissions to workspace operations 2025-06-20 15:17:36 +08:00
CaptainB 83e9b45e79 feat: handle None case for knowledge_dict in knowledge.py 2025-06-20 14:01:13 +08:00
CaptainB 2c3eb20592 fix: make folder_id parameter optional in document.py 2025-06-19 19:42:29 +08:00
CaptainB 52ba4d6342 refactor: update model instance retrieval to use workspace_id and enhance document syncing with image linking 2025-06-19 16:20:15 +08:00
CaptainB 6d9068c378 fix: validate folder_id in list method and use request.user.id for user_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-19 13:23:58 +08:00
CaptainB ef9e80f900 feat: add batch_cancel_task endpoint to document routes in urls.py 2025-06-18 20:50:46 +08:00
CaptainB 4a58954567 feat: add new SQL queries for embedding and keyword searches 2025-06-18 19:48:20 +08:00
CaptainB 89023d14fe refactor: update embedding model ID references in knowledge.py and dataset_lark_serializer.py 2025-06-18 18:46:41 +08:00
CaptainB 63d8906639 refactor: update user reference to use nick_name in index.vue and shared_tool.py 2025-06-18 18:44:48 +08:00
CaptainB c1ca6eafe6 refactor: enhance workspace authorization handling in shared knowledge, model, and tool 2025-06-18 17:54:00 +08:00