Commit graph

71 commits

Author SHA1 Message Date
Hetavi Shah
55e0ace936 [OND211-2329]: Updated add users API and tests to add users with a role(invite/normal/admin). 2025-11-27 15:30:43 +05:30
Hetavi Shah
abeb37a9b5 [OND211-2329]: Removed unused imports. 2025-11-26 12:00:34 +05:30
Hetavi Shah
ce8862e68c [OND211-2329]: Updated import statements order. 2025-11-25 19:08:10 +05:30
Hetavi Shah
d615f62e4b [OND211-2329]: Updated team and permissions tests to remove test cache from db. 2025-11-25 17:40:27 +05:30
Hetavi Shah
f307a18f55 [OND211-2329]: Updated user tests to remove test data from db. 2025-11-25 13:19:17 +05:30
Hetavi Shah
f710354b5c [OND211-2329]: Removed the API key. 2025-11-24 19:13:43 +05:30
Hetavi Shah
e462d5f23a [OND211-2329]: Updated permissions API and added tests. 2025-11-24 19:12:14 +05:30
Hetavi Shah
4c3db69e91 Merge remote-tracking branch 'origin/main' into feature/OND211-2329-Check-existing-REST-endponts-and-extend-with-new-requested-endpoints 2025-11-21 11:15:23 +05:30
Hetavi Shah
cd0dc1344e [OND211-2329]: Removed Department and group modules. 2025-11-21 11:08:17 +05:30
Hetavi Shah
d5dcb4408e [OND211-2329]: Updated remove member from team API and tests. 2025-11-20 11:31:51 +05:30
Hetavi Shah
6c68429333 [OND211-2329]: Added new tests for promote/demote admin API. 2025-11-19 18:47:01 +05:30
Hetavi Shah
0d48560e66 [OND211-2329]: Added new tests and updated existing tests for team API. 2025-11-19 18:14:49 +05:30
Hetavi Shah
b54a6ace78 [OND211-2329]: Added tests for update team API. 2025-11-19 17:40:16 +05:30
Hetavi Shah
4c8ea1d21a [OND211-2329]: Added tests to delete group. 2025-11-19 17:17:45 +05:30
Hetavi Shah
3ffe94b58e [OND211-2329]: Added tests for list members to group. 2025-11-19 17:07:23 +05:30
Hetavi Shah
c50f7b39d9 [OND211-2329]: Updated create group tests and added tests for add/remove members to group. 2025-11-19 16:53:43 +05:30
Hetavi Shah
3e7d57b208 [OND211-2329]: Updated team API's and added create group tests. 2025-11-19 16:34:14 +05:30
Hetavi Shah
5af04fdf45 [OND211-2329]: Updated tets, fixed typings. 2025-11-19 16:33:31 +05:30
Hetavi Shah
6ef0668f0c [OND211-2329]: Added helper methods for department tests. 2025-11-18 19:00:56 +05:30
Hetavi Shah
c38ec24b08 [OND211-2329]: Added few tests for department API and updated typings. 2025-11-18 18:47:36 +05:30
Hetavi Shah
26a17e6250 [OND211-2329]: Updated conftest files, fixed typings. 2025-11-18 14:05:38 +05:30
Hetavi Shah
f2eeb2dbbf [OND211-2329]: Updated user management tests, fixed some pycharm editor warnings. 2025-11-18 14:00:51 +05:30
Hetavi Shah
bd83d24a08 [OND211-2329]: Updated user management tests, fixed typings. 2025-11-18 13:26:32 +05:30
Hetavi Shah
5413628aaf [OND211-2329]: Added tests to test the add/remove members to a department. 2025-11-17 18:49:26 +05:30
Hetavi Shah
0e2c72a2bb [OND211-2329]: Added tests to test the create department API. 2025-11-17 18:12:23 +05:30
Hetavi Shah
113620ea80 [OND211-2329]: Updated the user tests to follow typings and shifted reusable variables and funtions to the conftest.py file. 2025-11-14 18:59:27 +05:30
copilot-swe-agent[bot]
a80b2ff529 Add comprehensive test coverage: security, performance, edge cases, and advanced team tests
Co-authored-by: teddius <890232+teddius@users.noreply.github.com>
2025-11-13 18:22:37 +00:00
Liu An
bfc84ba95b
Test: handle duplicate names by appending "(1)" (#11244)
### What problem does this PR solve?

- Updated tests to reflect new behavior of handling duplicate dataset
names
- Instead of returning an error, the system now appends "(1)" to
duplicate names
- This problem was introduced by PR #10960

### Type of change

- [x] Testcase update
2025-11-13 15:18:32 +08:00
Hetavi Shah
b388a3dca0 [OND211-2329]: Added API and tests to add/remove users in a team. 2025-11-13 12:42:27 +05:30
Hetavi Shah
00b476783c [OND211-2329]: Added create department API and tests. 2025-11-12 19:01:27 +05:30
Hetavi Shah
043b06a24d [OND211-2329]: Updated list users and delete user API's & tests to handle auth. 2025-11-12 18:11:29 +05:30
Hetavi Shah
1cc081ef5a [OND211-2329]: Updated create user and update user tests's to test the new auth API's. 2025-11-12 17:34:16 +05:30
Hetavi Shah
d50c085196 [OND211-2329]: Removed unnecessary encryption and decryption for passswords in create user. 2025-11-11 18:50:04 +05:30
Hetavi Shah
1d23b46ce4 [OND211-2329]: Added delete user api and tests. 2025-11-11 15:19:29 +05:30
Hetavi Shah
7890c3111f [OND211-2329]: Added list_users api. 2025-11-11 13:05:27 +05:30
Hetavi Shah
61b84b0302 [OND211-2329]: Updated create_user and update_user APIs and corresponding test cases to be compliant with PEP 8, Ruff, and MyPy standards. 2025-11-11 12:21:25 +05:30
Hetavi Shah
d442bf0504 [OND211-2329] : Create user api and tests, update user api and tests. 2025-11-10 19:00:24 +05:30
Billy Bao
19f71a961a
Fix: Create dataset performance unmatched between HTTP api and web ui (#10960)
### What problem does this PR solve?

Fix: Create dataset performance unmatched between HTTP api and web ui
#10925

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-04 13:45:14 +08:00
Liu An
119713153c
Test: update test cases for chunk retrieval pagination (#10839)
### What problem does this PR solve?

Updated test cases in test_retrieval_chunks.py to:
- Remove skip mark from page pagination test case (#6646 resolved)
- Add skip marks for page_size=1 tests due to new issue (#10692)

### Type of change

- [x] Test update
2025-10-29 09:41:36 +08:00
Zhichang Yu
73144e278b
Don't release full image (#10654)
### What problem does this PR solve?

Introduced gpu profile in .env
Added Dockerfile_tei
fix datrie
Removed LIGHTEN flag

### Type of change

- [x] Documentation Update
- [x] Refactoring
2025-10-23 23:02:27 +08:00
Jin Hai
92739ea804
Move test files (#10765)
### What problem does this PR solve?

Move some test files to test/testcases

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-10-23 22:31:55 +08:00
Liu An
594bf485d4
Test: update test cases for chunk retrieval pagination (#10694)
### What problem does this PR solve?

Updated test cases in test_retrieval_chunks.py to:
- Remove skip mark from page pagination test case (issues/6646 resolved)
- Add skip marks for page_size=1 tests due to new issue (issues/10692)

### Type of change

- [x] Test
2025-10-21 13:02:29 +08:00
writinwaters
6e862553cb
Docs: Deprecated 'Create session with agent' (#9464)
### What problem does this PR solve?


### Type of change

- [x] Documentation Update
2025-08-14 12:13:11 +08:00
Liu An
b55c3d07dc
Test: Update error message assertions for chunk update tests (#9468)
### What problem does this PR solve?

Modify test cases to accept additional error message format when
updating chunks.
fix actions:
https://github.com/infiniflow/ragflow/actions/runs/16942741621/job/48015850297

### Type of change

- [x] Update test cases
2025-08-14 12:11:20 +08:00
Liu An
57b9f8cf52
Fix: Update test assertions and simplify test cases (#9400)
### What problem does this PR solve?

- Fix error message assertion in test_update_chunk.py to match new
ownership validation
- Simplify dataset listing test cases by removing lambda assertions for
sorting
- Fix actions:
https://github.com/infiniflow/ragflow/actions/runs/16885465524/job/47831942553

### Type of change

- [x] Fix test cases
2025-08-12 10:57:30 +08:00
Liu An
46dc3f1c48
Fix: Update test assertions and add GraphRAG config in dataset tests (#9386)
### What problem does this PR solve?

- Modify error message assertion in chunk update test to check for
document ownership
- Add GraphRAG configuration with `use_graphrag: False` in dataset
update tests
- Fix actions:
https://github.com/infiniflow/ragflow/actions/runs/16863637898/job/47767511582
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-08-11 17:15:48 +08:00
Zhichang Yu
342a04ec8a
Added infinity rank_feature support (#9044)
### What problem does this PR solve?

Added infinity rank_feature support

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-07-29 09:14:23 +08:00
Liu An
b5ffca332a
Refa: validation utils to use Pydantic v2 style models (#9037)
### What problem does this PR solve?

- Update BaseModel to use model_config instead of Config class
- Replace StrEnum with Literal types for method fields
- Convert Field declarations to Annotated style

### Type of change

- [x] Refactoring
2025-07-25 12:16:45 +08:00
Liu An
b4b6d296ea
Fix: Increase timeouts for document parsing and model checks (#8996)
### What problem does this PR solve?

- Extended embedding model timeout from 3 to 10 seconds in api_utils.py
- Added more time for large file batches and concurrent parsing
operations to prevent test flakiness
- Import from #8940
- https://github.com/infiniflow/ragflow/actions/runs/16422052652

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-07-23 15:08:36 +08:00
Liu An
0020c50000
Fix: Refactor parser config handling and add GraphRAG defaults (#8778)
### What problem does this PR solve?

- Update `get_parser_config` to merge provided configs with defaults
- Add GraphRAG configuration defaults for all chunk methods
- Make raptor and graphrag fields non-nullable in ParserConfig schema
- Update related test cases to reflect config changes
- Ensure backward compatibility while adding new GraphRAG support
- #8396

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-07-23 09:29:37 +08:00