1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-05-05 06:36:21 +00:00
Commit Graph

87 Commits

Author SHA1 Message Date
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
9807f23c74
cleanup code about service_url (#505) 2021-10-12 16:02:17 +08:00
caixiangyue
85ead5e00e Merge branch '8.0' 2021-09-26 11:09:02 +08:00
Xiangyue Cai
f681fa6d94
search group members rpc (#489) 2021-09-06 18:20:28 +08:00
feiniks
69d9e53bac
Add USE_GO_FILESERVER variable (#442) 2021-01-18 11:30:36 +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
feiniks
d50359c908
Add and del ccnet compilation dependency in seafile (#347)
* Add and del ccnet compilation dependency in seafile

* Del import ccnet

* Del extra ccnet compilation dependencies

* Del support WIN32
2020-05-09 16:31:47 +08:00
feiniks
52586639ac
Merge the functions of ccnet-server into seafile-server (#293)
* merge the api of ccnet into seafile

* merge the api of ccnet into seafile

* Dont't need to include the header

* merge the api of ccnet into seafile

* add enable ldap

* The unit test dont't need to start ccnet-server

* Modify some funcion names and fuse don't need org management

* Modify indent
2020-04-15 10:21:04 +08:00
feiniks
150c90df40
Add rpc pipe path (#326)
* Add rpc pipe path

* Add seahub.sh env and change pipe path
2020-02-21 15:27:47 +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
ly1217
171895d25e Fix the arguments of ccnet init. 2019-10-22 19:53:25 -07:00
ly1217
ccb7f77d58 Clear unused ccnet conf options. 2019-10-22 03:31:41 -07:00
Xiangyue Cai
f01753c262 add ctime 2019-09-09 12:15:20 +08:00
Xiangyue Cai
aa0185203b add rpc publish_event() , pop_event() and remove cevent (#253) 2019-07-22 11:18:32 +08:00
Jonathan Xu
c142d4bf4f Improve code after use named pipe for RPC and support python 3. 2019-07-01 16:50:25 +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