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
6af96fe1d2
Log format ( #704 )
...
* Format c log
* Format go log
* Add SEAFILE_LOG_TO_STDOUT env
* Modify parameters name
* Set stdout to output
* Add app name and print error log
* Disable daemon mode when SEAFILE_LOG_TO_STDOUT is true
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-10-24 10:46:41 +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
597f4bbfa6
Read site_root from env ( #692 )
...
* Read site_root from env
* Go read site_root from env and match slash
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-06 17:17:06 +08:00
feiniks
d01c46e2f9
Add cookie to check share link access ( #691 )
...
* Add cookie to check share link access
* Modify user agent and add timeout
* Add filename to attachment
* Go set filename to attach
* C set filename to attachment
* Adjust position of check priviate key
* Set Content-Type and User-Agent
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-06 11:40:42 +08:00
feiniks
f3f818881f
Add read JWT_PRIVATE_KEY ( #690 )
...
* Add read JWT_PRIVATE_KEY
* Go add read JWT_PRIVATE_KEY
* Add seahub_settings.py
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-03 18:43:11 +08:00
feiniks
59a9f28f70
Rpc server use epoll ( #687 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-08-29 15:31:32 +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
b9e98c2b5e
Add repair-repo to fix corrupt fs ( #657 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-04-29 15:34:38 +08:00
feiniks
a978b24d0c
Start rpc server after prepare seafile session ( #622 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-06-20 18:18:32 +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
feiniks
e71d76de98
Add test config options ( #451 )
2021-02-22 10:12:08 +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
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
杨赫然
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
5b49937be8
Optimize name pipe server.
2019-10-18 21:05:35 -07:00
ly1217
14d8628bcb
Add named pipe server thread pool.
2019-09-11 01:19:54 -07:00
Xiangyue Cai
f01753c262
add ctime
2019-09-09 12:15:20 +08:00
Jonathan Xu
a300c1277a
Minor bug fixes.
...
- set HAVE_MYSQL macro when MariaDB is used.
- fix a crash bug when wrong database is configured.
2019-08-07 19:29:08 +08:00
Jonathan Xu
bb33ea7741
Remove unused options from seaf-server.
2019-08-07 14:21:14 +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
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