Commit Graph

418 Commits

Author SHA1 Message Date
CaptainB f1e19a1ace feat: add resource management module with CRUD operations and permissions 2025-06-09 17:56:24 +08:00
shaohuzhang1 c83bce3cef
fix: anonymous authentication (#3216) 2025-06-09 16:57:04 +08:00
shaohuzhang1 66c868e71f
fix: anonymous authentication (#3214) 2025-06-09 16:25:18 +08:00
shaohuzhang1 3807cf1960
feat: application chat (#3213) 2025-06-09 16:18:43 +08:00
wxg0103 5f10b70e24 refactor: tools add default workspace_id 2025-06-09 15:26:21 +08:00
wxg0103 515e8555aa refactor: cache
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-09 11:16:50 +08:00
wxg0103 b8b14884bd refactor: add application settings 2025-06-07 17:57:11 +08:00
shaohuzhang1 165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
CaptainB 2fccb9db67 feat: add shared document and paragraph views with related permissions 2025-06-06 17:55:06 +08:00
wxg0103 8ab4456ec3 refactor: permission 2025-06-06 17:05:25 +08:00
wxg0103 927b12a5ca refactor: delete dbmodelManage 2025-06-06 15:18:28 +08:00
CaptainB fc11fcf0e1 feat: add file_count_limit to knowledge model and create KnowledgeWorkspaceAuthorization model 2025-06-06 12:04:02 +08:00
wxg0103 93833849c1 refactor: file to oss
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 11:42:31 +08:00
CaptainB fee5993c22 feat: add SQL query for embedding text and update model API routes to remove workspace_id 2025-06-05 18:35:31 +08:00
CaptainB 269960649d feat: add gunicorn and python-daemon dependencies to pyproject.toml 2025-06-05 17:56:42 +08:00
CaptainB f5bc003aaf feat: update knowledge permissions to include resource permission groups for various operations
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-05 10:37:55 +08:00
CaptainB 7998133e35 feat: update permission constants for knowledge documents and problems to include resource permission groups 2025-06-05 10:31:29 +08:00
shaohuzhang1 1641039fd2
feat: application version (#3194) 2025-06-04 20:14:52 +08:00
CaptainB 578fb34361 feat: add import, export, and debug functionalities for shared tools 2025-06-04 18:36:36 +08:00
CaptainB 7a34ba6fe3 feat: add shared resource tool functionality 2025-06-04 17:19:23 +08:00
wxg0103 824e02521c refactor: permission 2025-06-04 17:18:04 +08:00
shaohuzhang1 445a87143b
feat: system profile (#3193) 2025-06-04 17:16:35 +08:00
shaohuzhang1 faeee1b92c
feat: log management (#3189) 2025-06-04 14:23:10 +08:00
zhangzhanwei 596dbedd39 fix: Fix Swagger document image upload 2025-06-04 12:01:12 +08:00
CaptainB 56a9e69912 feat: add endpoint to download source files with updated parameter handling 2025-06-04 10:57:32 +08:00
wxg0103 642920e916 refactor: permission 2025-06-04 10:17:17 +08:00
CaptainB efd273b3bc feat: add export and export_zip endpoints for knowledge base and document with image handling 2025-06-03 17:44:13 +08:00
wxg0103 11ce2e26b5 refactor: permission 2025-06-03 15:54:48 +08:00
shaohuzhang1 43654bddaf
feat: application operate api (#3176)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-30 20:02:39 +08:00
zhangzhanwei 1dadc06220 feat: System api permission setting 2025-05-29 18:49:00 +08:00
shaohuzhang1 345e588ef6
feat: application list (#3160) 2025-05-28 18:57:09 +08:00
shaohuzhang1 129d52dff2
fix: common (#3154)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-28 10:13:47 +08:00
wxg0103 0c9d8ccf71 refactor: add login auth permission 2025-05-27 16:17:56 +08:00
shaohuzhang1 6bbb181927
feat: application save (#3151) 2025-05-27 15:21:57 +08:00
shaohuzhang1 1aa8fe28ef
feat: delete workflow (#3145) 2025-05-26 16:01:43 +08:00
wxg0103 c0b676ed16 refactor: permission 2025-05-23 18:08:25 +08:00
wxg0103 abadff25e5 refactor: login captcha
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-21 10:35:17 +08:00
wxg0103 f2b0af25da refactor: permission constants
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-19 16:30:31 +08:00
wxg0103 f618dd4f99 refactor: permission constants 2025-05-19 14:26:45 +08:00
wxg0103 0a1d5c4fbf refactor: permission constants
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-16 18:23:27 +08:00
CaptainB c3581be9bd fix: rename image_name to file_name in zip_split_handle and remove workspace_id assignment in document 2025-05-13 12:47:59 +08:00
CaptainB 680475cb97 feat: add new permission constants for knowledge documents, paragraphs, and problems 2025-05-13 10:58:56 +08:00
CaptainB 5ca3151e90 fix: update permission constants for document operations and adjust serializer field options 2025-05-12 18:34:15 +08:00
shaohuzhang1 5ebfe9b5dd
feat: workflow init (#3072)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-09 18:55:53 +08:00
wxg0103 a90f6c89cb refactor: email setting 2025-05-07 18:09:45 +08:00
shaohuzhang1 bcf6ccee20
refactor: File model (#3050)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-07 11:45:00 +08:00
shaohuzhang1 115e11052c
feat: Resources authorization (#3039) 2025-05-06 18:35:11 +08:00
CaptainB e702af8c2b feat: enhance Document API with workspace ID support for get, put, and delete operations 2025-05-06 15:24:36 +08:00
CaptainB 0d3eb431f6 feat: implement batch processing for document creation, synchronization, and deletion
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-30 18:04:40 +08:00
CaptainB 43bef216d5 refactor: reorganize file handling imports into a structured directory 2025-04-30 16:08:17 +08:00
CaptainB 48297d81e5 feat: add initial implementations of various file handling classes for CSV, XLS, and XLSX formats 2025-04-30 15:52:58 +08:00
CaptainB 4dcd150c8d refactor: improve code readability and formatting in common, knowledge, and paragraph modules 2025-04-30 09:57:11 +08:00
CaptainB 870fabe187 chore: add init file for every folder 2025-04-29 10:31:49 +08:00
CaptainB 770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00
wxg0103 06f834b7e3 feat: user manage 2025-04-28 17:36:56 +08:00
shaohuzhang1 5481b8a2aa feat: auth 2025-04-28 14:41:46 +08:00
shaohuzhang1 118db9dd14
fix: authentication errors (#3012) 2025-04-28 13:03:54 +08:00
CaptainB ee37d7c320 feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:27:59 +08:00
shaohuzhang1 c79479d80b
feat: User profile returns permission role information (#3005)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-27 18:27:35 +08:00
shaohuzhang1 7bda26d92a
feat: Improve workspace resource authorization (#3004) 2025-04-27 18:14:50 +08:00
wxg0103 bca128ec39 feat: support create user 2025-04-27 16:26:40 +08:00
CaptainB 724686762e feat: add knowledge management API and permissions 2025-04-25 18:18:47 +08:00
wxg0103 7f492b4d92 refactor: openai 2025-04-25 17:53:22 +08:00
CaptainB 3205ff2a65 feat: add knowledge management
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-25 14:58:22 +08:00
CaptainB ec643fca7f feat: add initial model structure for knowledge management 2025-04-25 14:06:23 +08:00
CaptainB 4c38e8a82b feat: add dynamic SQL execution and pagination functionality with custom query compiler 2025-04-24 11:37:11 +08:00
CaptainB fbb4e7d449 feat: add __init__.py file to initialize the package 2025-04-24 11:10:58 +08:00
CaptainB bbd7079166 feat: add import and export endpoints to ToolView for workspace tools 2025-04-22 17:06:39 +08:00
wxg0103 6f6b163416 feat: add model setting 2025-04-18 17:45:15 +08:00
CaptainB 0b8f5d7597 feat: implement CRUD operations for tools with API views 2025-04-18 16:42:46 +08:00
CaptainB 8f0dd16949 fix: improve module tree query to use Q object for filtering by workspace_id 2025-04-18 15:01:34 +08:00
liqiang-fit2cloud ffe8900fb2 build: init directory. 2025-04-18 14:10:16 +08:00
CaptainB d49fd74305 feat: add ToolModule model and API for managing tool modules with workspace support 2025-04-18 13:33:29 +08:00
shaohuzhang1 dcb77bbe16
feat: Captcha (#2913)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-17 19:16:54 +08:00
wxg0103 063393d659 feat: add model setting 2025-04-17 18:05:31 +08:00
wxg0103 946de675ff feat: add model setting 2025-04-17 18:01:33 +08:00
shaohuzhang1 934871f5c6 feat:Use distcache 2025-04-17 17:16:45 +08:00
shaohuzhang1 9108971fdc
fix: Swagger warning(#2909)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-17 14:27:58 +08:00
CaptainB 4c23b9aded feat: implement Tool model and related API for Tool management 2025-04-17 14:11:57 +08:00
shaohuzhang1 5f902ef5de
feat: authentication (#2906)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-16 20:09:00 +08:00
shaohuzhang1 04642eb497 feat: authentication
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-15 20:37:38 +08:00
shaohuzhang1 e58a5507a9 init project 2025-04-14 20:11:23 +08:00
CaptainB c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
liqiang-fit2cloud 4ae02c8d3e security: fix reverse shell vulnerability in function library.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-09 10:01:11 +08:00
shaohuzhang1 5e43bb9d2a
fix: jieba 分词使用全模式 (#2813) 2025-04-07 18:51:32 +08:00
CaptainB 560890f717 fix: limit chapter title length to 256 characters in pdf_split_handle.py
--bug=1054363 --user=刘瑞斌 【知识库】导入PDF文档,分段标题长度超长时,没有自动截断 https://www.tapd.cn/57709429/s/1681044
2025-04-07 10:54:59 +08:00
CaptainB 675adeeb63 fix: exclude macOS specific files from zip processing
--bug=1054264 --user=刘瑞斌 【知识库】QA问答对模式,导入在mac上压缩的zip文件,会出现2个乱码文档 https://www.tapd.cn/57709429/s/1681034
2025-04-07 10:37:06 +08:00
CaptainB 27bc01d442 fix: skip macOS specific metadata directories and files in zip parsing
--bug=1054264 --user=刘瑞斌 【知识库】QA问答对模式,导入在mac上压缩的zip文件,会出现2个乱码文档 https://www.tapd.cn/57709429/s/1679674
2025-04-02 16:06:36 +08:00
shaohuzhang1 2991f0b640
perf: Optimize word segmentation retrieval (#2767) 2025-04-01 19:11:16 +08:00
shaohuzhang1 e7c3169898
feat: doc auth (#2752) 2025-03-31 19:02:56 +08:00
shaohuzhang1 9750c6d605
fix: garbled zip import file names (#2747) 2025-03-31 16:22:39 +08:00
shaohuzhang1 dcc80a4dca
fix: Every time a vectorized document is generated, the entire vectorized data of the document is deleted (#2721) 2025-03-28 14:15:48 +08:00
shaohuzhang1 db772b1d1c
fix: Segmented filtering of paragraphs with empty parent title content (#2693)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-26 16:02:26 +08:00
shaohuzhang1 a0ee5c9441
fix: Audit log login did not record user (#2691) 2025-03-26 15:41:11 +08:00
shaohuzhang1 55cdd0a708
fix: Zip with title cannot be parsed (#2683) 2025-03-26 10:31:31 +08:00
shaohuzhang1 f9d536f5a2
feat: Audit log add operation object (#2681)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-25 19:07:02 +08:00
CaptainB 47849fc1a5 fix: Add FlibInstance to allowed classes and use restricted_loads for deserialization 2025-03-20 13:53:37 +08:00
shaohuzhang1 f19ad24907
fix: Application import deserialization vulnerability #2604 (#2633) 2025-03-20 12:10:06 +08:00
shaohuzhang1 470105f895
feat: Support application、setting、user log recorder (#2617) 2025-03-19 15:45:10 +08:00
shaohuzhang1 b7accc54e7
fix: Logging error for logged in user (#2613)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-19 12:07:46 +08:00