Commit graph

42 commits

Author SHA1 Message Date
hetavi-bluexkye
0647abc46f
Merge branch 'main' into feature/OND211-2329-Check-existing-REST-endponts-and-extend-with-new-requested-endpoints 2025-12-01 12:13:46 +05:30
Yongteng Lei
b6c4722687
Refa: make RAGFlow more asynchronous (#11601)
### What problem does this PR solve?

Try to make this more asynchronous. Verified in chat and agent
scenarios, reducing blocking behavior. #11551, #11579.

However, the impact of these changes still requires further
investigation to ensure everything works as expected.

### Type of change

- [x] Refactoring
2025-12-01 14:24:06 +08:00
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
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
ce8862e68c [OND211-2329]: Updated import statements order. 2025-11-25 19:08:10 +05:30
Hetavi Shah
e462d5f23a [OND211-2329]: Updated permissions API and added tests. 2025-11-24 19:12:14 +05:30
Hetavi Shah
13b8f0cf41 [OND211-2329]: Allowed users to demote themselves from admin. 2025-11-24 16:44:56 +05:30
Hetavi Shah
ed886ffe32 [OND211-2329]: Allow only team owners to promote/demote admins. 2025-11-21 19:12:00 +05:30
Hetavi Shah
89d27c75b6 [OND211-2329]: Added permissions for team users to CRUD on datasets and agents. 2025-11-21 19:11:11 +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
d5dcb4408e [OND211-2329]: Updated remove member from team API and tests. 2025-11-20 11:31:51 +05:30
Hetavi Shah
3d02d93227 [OND211-2329]: Updated import statements alignment. 2025-11-19 11:05:30 +05:30
Kevin Hu
d1716d865a
Feat: Alter flask to Quart for async API serving. (#11275)
### What problem does this PR solve?

#11277

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-18 17:05:16 +08:00
Hetavi Shah
83bf319ea8 [OND211-2329]: Added API to promote/demote team admins. 2025-11-17 16:51:28 +05:30
Hetavi Shah
f3966d22df [OND211-2329]: Updated the create team API to handle -ve credit score. 2025-11-17 10:57:02 +05:30
Hetavi Shah
3870f50ea5 [OND211-2329]: Added API to update team settings. 2025-11-13 17:01:57 +05:30
Hetavi Shah
060ec782fc [OND211-2329]: Updatd API's to add users to a team, remove users from a team and accept/reject team joining invitation. 2025-11-13 16:03:22 +05:30
Hetavi Shah
ed7b44f2b8 [OND211-2329]: Updatd API's to add users to a team, remove users from a team and accept/reject team joining invitation. 2025-11-13 16:02:58 +05:30
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
d7b9925b8c [OND211-2329]: Updated team creation API to allow only added models as defaults for a team. 2025-11-13 11:28:14 +05:30
Hetavi Shah
00b476783c [OND211-2329]: Added create department API and tests. 2025-11-12 19:01:27 +05:30
Jin Hai
f98b24c9bf
Move api.settings to common.settings (#11036)
### What problem does this PR solve?

As title

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-06 09:36:38 +08:00
Jin Hai
bab3fce136
Move some constants to common (#11004)
### What problem does this PR solve?

As title.

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-05 08:01:39 +08:00
Jin Hai
880a6a0428
Move some enumerate type to constants.py (#10998)
### What problem does this PR solve?

As title.

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-04 19:25:25 +08:00
Jin Hai
03038c7d3d
Update RetCode to common.constants (#10984)
### What problem does this PR solve?

1. Update RetCode to common.constants
2. Decouple the admin and API modules

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-04 15:12:53 +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
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
Jin Hai
d931c33ced
Fix typos: retrievaler -> retriever (#10372)
### What problem does this PR solve?

Fix typos

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-10-10 09:17:36 +08:00
Yongteng Lei
99df0766fe
Feat: add SMTP support for user invitation emails (#9479)
### What problem does this PR solve?

Add SMTP support for user invitation emails

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-08-15 18:12:20 +08:00
Jin Hai
85f3d92816
Update team invite message (#4085)
### What problem does this PR solve?

Refactor inviting team member message.

### Type of change

- [x] Refactoring

Signed-off-by: jinhai <haijin.chn@gmail.com>
2024-12-18 14:20:09 +08:00
Kevin Hu
f8cef73244
Fix abnormal user invitaion message. (#4081)
### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-12-18 12:45:24 +08:00
Zhichang Yu
1254ecf445
Added static check at PR CI (#3921)
### What problem does this PR solve?

Added static check at PR CI

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Refactoring
2024-12-08 21:23:51 +08:00
Kevin Hu
362db857d0 New: a new interpretor based on Andrew Ng theory. (#3532)
### What problem does this PR solve?

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-11-20 20:55:22 +08:00
Kevin Hu
541272eb99 Fix: authorization issue (#3530)
### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-11-20 20:55:10 +08:00
Kevin Hu
d02a2b131a Fix: potential risk (#3515)
### What problem does this PR solve?


### Type of change

- [x] Refactoring
2024-11-20 20:53:58 +08:00
Zhichang Yu
185c6a0c71
Unified API response json schema (#3170)
### What problem does this PR solve?

Unified API response json schema

### Type of change

- [x] Refactoring
2024-11-05 11:02:31 +08:00
Brody Wang
391b950be6
Fix non-null violation when inviting people to team (#3015)
### What problem does this PR solve?

Not sure why MySQL is inserting empty string in this case, but when I
use postgres I got `null value in column "invited_by" of relation
"user_tenant" violates not-null constraint`

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
2024-10-25 18:39:09 +08:00
Kevin Hu
e0c0bdeb0a
add team tag to kb (#2890)
### What problem does this PR solve?
#2834

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-10-18 11:30:19 +08:00
Kevin Hu
6a60e26020
update dashscope (#2871)
### What problem does this PR solve?
#2857
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-10-17 09:52:31 +08:00
Kevin Hu
b9fa00f341
add API for tenant function (#2866)
### What problem does this PR solve?

feat: API access key management
https://github.com/infiniflow/ragflow/issues/2846
feat: Render markdown file with remark-loader
https://github.com/infiniflow/ragflow/issues/2846

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-10-16 16:10:24 +08:00
Wang Baoling
e949594579
feat: add tenant api of create & delete user (#2204)
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-09-03 10:36:22 +08:00
Wang Baoling
9a85f83569
feat: add api of tenant app (#2177)
### What problem does this PR solve?

add api of tenant app

### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-09-02 12:08:16 +08:00