Hetavi Shah
bbd80b9749
[OND211-2329]: Fixed ruff and lint issues and updated few test cases for the new invitation flow.
2025-11-28 13:56:45 +05:30
Andreas S. Rath
d274e3903d
Merge branch 'main' into feature/OND211-2329-Check-existing-REST-endponts-and-extend-with-new-requested-endpoints
2025-11-27 15:28:47 +01:00
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
Yongteng Lei
9d8b96c1d0
Feat: add context for figure and table ( #11547 )
...
### What problem does this PR solve?
Add context for figure table.

`==================()` for demonstrating purpose.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-27 10:21:44 +08:00
Hetavi Shah
abeb37a9b5
[OND211-2329]: Removed unused imports.
2025-11-26 12:00:34 +05:30
Zhichang Yu
40e84ca41a
Use Infinity single-field-multi-index ( #11444 )
...
### What problem does this PR solve?
Use Infinity single-field-multi-index
### Type of change
- [x] Refactoring
- [x] Performance Improvement
2025-11-26 11:06:37 +08:00
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
Jin Hai
256b0fb19c
Remove redundant ut ( #10955 )
...
### What problem does this PR solve?
Remove redundant ut cases.
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-03 13:04:20 +08:00
Jin Hai
78631a3fd3
Move some functions out of 'api/utils/common.py' ( #10948 )
...
### What problem does this PR solve?
as title.
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-03 12:34:47 +08:00
Jin Hai
360f5c1179
Move token related functions to common ( #10942 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-03 08:50:05 +08:00
Jin Hai
44f2d6f5da
Move 'get_project_base_directory' to common directory ( #10940 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-02 21:05:28 +08:00
Jin Hai
6447b737ab
Move singleton to common directory ( #10935 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-02 12:24:08 +08:00
Jin Hai
f52e56c2d6
Remove 'get_lan_ip' and add common misc_utils.py ( #10880 )
...
### What problem does this PR solve?
Add get_uuid, download_img and hash_str2int into misc_utils.py
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-10-31 16:42:01 +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
Jin Hai
5a200f7652
Add time utils ( #10849 )
...
### What problem does this PR solve?
- Add time utilities and unit tests
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-10-28 19:09:14 +08:00