1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-27 19:15:07 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Heran Yang
661d486dfe Adjust rpc name 2025-03-19 12:00:56 +08:00
feiniks
24b61c929c
Add upgrade repo enc algo RPC (#743)
* Add upgrade repo enc algo RPC

* Add test upgrade repo enc algo

* Add test upgrade repo enc algo

---------

Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-03-19 11:31:05 +08:00
feiniks
ee9ad5ef39
Return 409 when gc conflict (#731)
* Return 409 when gc conflict

* Go return 409 when gc conflict

* Return gc conflict when sync repo

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-12-30 15:03:54 +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
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
2d667a5c99
Check files with same name before post (#638)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-11-22 16:57:13 +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
8c9043d2c6
Retry upload when detecting concurrent uploads (#564)
* Retry upload when detecting concurrent uploads

* Check conflict when update branch and set concurrent upload error

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-15 14:45:36 +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
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
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
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
杨赫然
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
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
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
cuihaikuo
1991a68bcf Convert origin repo path to available repo path. 2018-08-07 18:24:12 +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
330fc7597e Add rpc repo_has_been_shared(). 2018-05-02 11:05:43 +08:00
cuihaikuo
17aeec7304 Add rpc cancel_zip_task(). 2018-01-06 15:35:38 +08:00
cuihaikuo
8ef799679b Get all group repos by user. 2017-12-29 11:46:25 +08:00
cuihaikuo
1be480a560
Merge pull request #95 from haiwen/list_file_history
Keep at least 2 revisions (if exists) when listing file history.
2017-12-09 10:05:04 +08:00
cuihaikuo
936cfd8c74 Support pagination in listing file histories.
Keep at least 2 versions (if exists) when listing file history.
2017-12-08 11:58:24 +08:00
Jonathan Xu
c580b0d4ed Don't accept blocks upload in upload-blks-api and update-blks-api. 2017-11-18 11:33:19 +08:00
cuihaikuo
1ed203814e Add rpc get_shared_repo_by_path(). 2017-10-31 11:02:52 +08:00
cuihaikuo
e195ab4178 Add rpc get_group_shared_repo_by_path(). 2017-10-30 17:44:33 +08:00
cuihaikuo
b11f861fbd Support loading configuration from database. 2017-09-07 17:01:56 +08:00
“cuihaikuo”
cf19311a0d Add rpc mkdir_with_parents() 2017-08-14 13:32:52 +08:00
cuihaikuo
3204e11073 Add rpc for getting trash repo owner 2017-08-03 13:52:28 +08:00
cuihaikuo
36ecb21a58 Add rpc for getting file count info 2017-07-04 14:50:05 +08:00
Jonathan Xu
a9ed059634 A few optimizations for SQL queries related to repos.
- Support paging for listing owned repos
- Reduce SQL queries for getting and listing repos.
2017-04-06 17:33:37 +08:00
Jiaqiang Xu
ef8fa4a309 Merge pull request #13 from haiwen/statistics
Count total file number and storage occupation
2017-01-04 14:00:17 +08:00
cuihaikuo
90fb2b8515 Count total file number and storage occupation 2016-12-30 16:57:33 +08:00
Jonathan Xu
6f70a910e1 [lib] Don't install libseafile and headers. 2016-12-27 16:52:43 +08:00
cuihaikuo
46b8d8fda9 return vrepo_id when share subdir 2016-11-05 11:57:44 +08:00
Jiaqiang Xu
29b82e62d6 [RPC] Add 'delta' parameter to check_quota RPC. 2016-09-21 10:57:29 +08:00
Jiaqiang Xu
aafc3af1d4 Improve quota usage check for web file upload. 2016-09-20 14:24:25 +08:00
Jiaqiang Xu
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00