1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-06-25 06:31:33 +00:00
Commit Graph

76 Commits

Author SHA1 Message Date
Heran Yang
30e011d53d Add upgrade repo enc algo RPC 2025-03-11 10:10:33 +08:00
feiniks
9efe0b58fd
Add default parameter for update_role_emailuser (#742)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2025-03-07 10:18:28 +08:00
feiniks
5899f110b9
Add online gc (#706)
* Add online gc core

* Add check gc when update repo

* Go add check gc when update repo

* Add gc unit test

* Support set pwd_hash for gc and fsck

* Optimize to check if block exists

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-10-24 18:34:16 +08:00
feiniks
61126d108c
Add json exp (#699)
* Add json exp

* Add json exp and add gen jwt token

* Gen seahub and notif jwt token

* Add exp for gen jwt token

* Delete gen_jwt_token API

* Delete set exp to 72 hour

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-18 17:59:24 +08:00
feiniks
c80bf17efb
Add batch del files RPC (#694)
* Add batch del files RPC

* Add pack multi-level files

* Go add pack multi-level files

* Use change set to batch del files

* Improve args

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-13 14:58:45 +08:00
feiniks
77fa08566b
Add gen_jwt_token RPC (#674)
* Add gen_jwt_token RPC

* Set error when failed to generate jwt token

* Modify RPC name

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-31 18:03:41 +08:00
杨赫然
11d4741224 Merge branch '11.0' 2024-07-16 17:37:24 +08:00
feiniks
ba9476d67b
Create repo add pwd_hash and don't read pwd_hash from seafile.conf (#665)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-16 16:42:37 +08:00
feiniks
96996b79e3
Support argon2id password hash algo (#637)
* Support argon2id password hash algo

* CI install argon2 deps

* Go support argonid algo

* RPC add pwd_hash_algo and pwd_hash_params

* Support password hash algo

* Don't set magic when pwd_hash is set

* Fix ci error

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-05-22 18:49:57 +08:00
feiniks
4ca723d183
Fix the inability to move files with special characters (#656)
* Fix the inability to move files with special characters

* Check json file list

* Don't need to check json list

* Set SEAF_ERR_BAD_ARGS when args is wrong

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-05-06 17:55:04 +08:00
feiniks
ad5ce70ffb
Get repo list add return virtual repos (#605)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-20 10:11:57 +08:00
feiniks
499e8e8d17
Add search_files_by_path RPC (#599)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-02-25 11:24:50 +08:00
feiniks
cf479cefc2
Add get repo by id prefix RPC (#557)
Add get repos by id prefix test

del ret_corrupted parameter
2022-05-30 14:07:58 +08:00
Xiangyue Cai
f681fa6d94
search group members rpc (#489) 2021-09-06 18:20:28 +08:00
杨赫然
642ab7acc2 Merge branch '7.1' 2020-11-24 17:57:49 +08:00
feiniks
be8231ffc2
Add search files RPC (#417)
* Add search files RPC

* Not case sensitive when searching files
2020-10-27 18:06:37 +08:00
feiniks
50ab9a8ffe
Get group members add LIMIT (#416) 2020-10-15 15:26:01 +08:00
feiniks
063bf731c7
Get group members add LIMIT (#415) 2020-10-15 15:24:04 +08:00
feiniks
debc83cda5
Add check if dir downloadable rpc (#381)
* Add check if dir downloadable rpc

* modify format error
2020-07-22 16:13:21 +08:00
Jiaqiang Xu
1bb04296cf
Revert "Add storage_id for create enc repo api (#373)" (#376)
This reverts commit ab167da336.
2020-07-08 22:03:51 +08:00
feiniks
ab167da336
Add storage_id for create enc repo api (#373) 2020-07-08 21:57:04 +08:00
feiniks
72de8b5997
Add update emailuser id RPC (#349)
* Add update emailuser id RPC

* Add test shareing and group relationship when update user id
2020-05-15 14:21:27 +08:00
杨赫然
af0dae864b Add repo sort function 2019-12-31 14:38:24 +08:00
杨赫然
3230c31dff Add repo sort function 2019-12-30 16:19:33 +08:00
ly1217
1dd89b1b7c Add search repos by name rpc. 2019-11-17 21:21:28 -08:00
Xiangyue Cai
aa0185203b add rpc publish_event() , pop_event() and remove cevent (#253) 2019-07-22 11:18:32 +08:00
ly1217
c73916ef77 Upadte to python3. 2019-06-27 22:30:31 -07:00
ly1217
a451cd07e6 Add storage_id parameter to create repo api. 2019-05-19 22:18:56 -07:00
Jonathan Xu
8bcc3bd52b Add default argument to passwd parameter for create_repo RPC. 2019-05-14 18:28:19 +08:00
Jonathan Xu
17ef884861 Encrypted library version 3: use different salt for each library. 2019-04-30 21:22:57 +08:00
cuihaikuo
22f096a70a Repo can be set 'read-only' or 'normal' status.
Return 'status' in get_repo(s) apis.
2019-03-14 11:07:42 +08:00
ly1217
d851199f06 Add byte-range upload. 2019-02-19 01:18:31 -08:00
ly1217
bc8c15ea6b Add is_repo_syncable api. 2018-12-24 15:57:02 +08:00
cuihaikuo
a0357e02b8 Update ccnet_api get_emailusers_in_list(). 2018-11-19 12:03:19 +08:00
cuihaikuo
8f025d9a08 Add get_emailusers_in_list() to ccnet_api. 2018-11-13 15:44:53 +08:00
cuihaikuo
f0eba1cfee Add get_org_id_by_repo_id() to seafile_api. 2018-09-13 16:20:58 +08:00
cuihaikuo
dbff878d63 Return a list in seafile_api.get_shared_groups_by_repo(). 2018-09-10 10:57:45 +08:00
cuihaikuo
f079e32ac1 Add argument 'including_org' to get_top_groups(). 2018-08-17 15:17:52 +08:00
ly1217
739053dff0 Add test scripts of seaf-server api. 2018-08-14 17:03:36 +08:00
cuihaikuo
1991a68bcf Convert origin repo path to available repo path. 2018-08-07 18:24:12 +08:00
cuihaikuo
089cb55eb3 Get all shared users by repo including group users. 2018-07-19 14:56:53 +08:00
cuihaikuo
c96bb50c40 Add parameter 'in_structure' for ccnet_api check_group_staff(). 2018-06-21 11:12:45 +08:00
cuihaikuo
de67660aa1 Add list_org_inner_pub_repos() to seafile_api. 2018-06-04 11:19:19 +08:00
cuihaikuo
0bfd0dea15 Merge branch '6.2' 2018-05-18 10:47:55 +08:00
cuihaikuo
3fd9ecb481 Add rpc for getting shared users. 2018-05-17 11:52:21 +08:00
cuihaikuo
ebd04e524f Return whether user is in descendants groups by default in is_group_user(). 2018-05-12 15:46:36 +08:00
cuihaikuo
727a0b2329 Update ccnet_api for listing child groups and members. 2018-05-08 17:56:07 +08:00
cuihaikuo
c4a6722937 Add ccnet_api for listing child groups and members. 2018-05-08 14:00:03 +08:00
Jiaqiang Xu
ffb94306f0
Merge pull request #146 from haiwen/is_repo_shared
Add rpc repo_has_been_shared().
2018-05-08 12:23:43 +08:00
cuihaikuo
392396dc6b Update ccnet_api.is_group_user(). 2018-05-07 18:07:07 +08:00