feiniks
cd9bae2002
Add column type to RepoInfo ( #660 )
...
* Add column type to RepoInfo
* Go fileserver check repo type
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-06-19 12:20:38 +08:00
feiniks
98315cce73
Add option to build http server ( #648 )
...
* Add option to build httpserver
* Add option to build libevhtp
* Delete unused option
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-13 19:38:44 +08:00
feiniks
1e4790b3a2
Return 404 when notification server is disabled ( #643 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-02-01 16:31:59 +08:00
feiniks
d6f6127641
Add notification server ( #535 )
...
* Add notification server of go
Modify path of pkg
Send notification for update-repo event
Delete client pkg and use reflect select to send message
Modify output of log
Add formatter of log
Add jwt authentication
go add get jwt token api
CI support compile libjwt
Get group users from database
* Add ping to test mysql is alive
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-16 15:29:01 +08:00
feiniks
5ab20142e2
Fix memory leak for json_object_set ( #570 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-27 18:34:05 +08:00
feiniks
8843f529df
Support client ipv6 address ( #551 )
...
* Support client ipv6 address
* Parse ipv6 for client
2022-04-09 18:34:38 +08:00
feiniks
b954d8e14c
C add permission check ( #529 )
...
* C add permission check
* Fix ci error
2021-12-14 17:35:45 +08:00
feiniks
e2b3437710
Fix memory leak ( #527 )
2021-12-08 17:25:33 +08:00
feiniks
807867afb7
Return 403 when failed to validate repo_id of token ( #522 )
...
* Return 403 when failed to validate repo_id of token
* Return 403 when failed to validate repo_id of token
2021-12-02 18:06:44 +08:00
feiniks
ea2e328624
Validate repo_id when validate token from cache ( #520 )
2021-12-01 14:13:47 +08:00
Xiangyue Cai
2844d69d94
remove redundant log ( #477 )
2021-07-09 15:21:26 +08:00
caixiangyue
baa76682ea
Revert "Set compute fs-id-list thread to 10 ( #450 )"
...
This reverts commit 90427f9f78
.
2021-03-17 15:36:29 +08:00
Xiangyue Cai
3a3c29e963
disable async compute fs id list ( #455 )
2021-03-11 16:19:25 +08:00
feiniks
90427f9f78
Set compute fs-id-list thread to 10 ( #450 )
2021-02-22 10:07:07 +08:00
feiniks
f94baf09c3
Improve fs-id-list API ( #431 ) ( #441 )
...
* Improve fs-id-list API
* Del unused log
* Del invalid parameter log
* Don't return json error
2021-01-05 15:14:02 +08:00
feiniks
4a0eb5431c
Get accessible repo list return 500 when db error exists ( #423 )
...
* Get accessible repo list return 500 when db error exists
* CI should use 7.1 branch
2020-11-28 14:40:27 +08:00
feiniks
3520282c22
Fix set group repo perm error ( #394 )
2020-08-24 18:21:42 +08:00
feiniks
50882b41f4
Regularly cleanup files in the httptemp directory ( #343 )
...
* Regularly cleanup files in the httptemp directory
* Add scan http temp dir default configuration
* Fix mem leak for scan httptemp dir
* Modify int to gint64
2020-05-20 18:36:38 +08:00
feiniks
500e35fe9b
Fix segment fault when group_repos is NULL ( #338 )
...
* Fix segment fault when group_repos is NULL
* Parse group repos when repos is not NULL
2020-04-10 19:56:53 +08:00
feiniks
5dd4148b5f
Add get accessible repo list API on seafhttp ( #327 )
...
* Add get accessible repo list API on seafhttp
* Return once per repo
* Fix get owner and distinguish org
* Del handle org
* when the repo is shared to multi group,get the highest permission
* if last permission is rw,ignore it
2020-03-19 15:02:16 +08:00
Xiangyue Cai
efeac4bb99
add seaf_mq_manager_ prefix
2019-08-05 16:41:31 +08:00
caixiangyue
3ff52aee8a
fixed wrong free
2019-07-26 14:14:38 +08:00
Jonathan Xu
f9686872d7
Merge branch '7.0'
2019-07-25 17:55:37 +08:00
Xiangyue Cai
aa0185203b
add rpc publish_event() , pop_event() and remove cevent ( #253 )
2019-07-22 11:18:32 +08:00
ly1217
48c2a03d5f
Fix get repo status. ( #252 )
2019-07-17 10:16:29 +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
Jiaqiang Xu
3f5b7e4025
Merge pull request #210 from haiwen/optimize_rename_delete
...
Optimize cleaning-up of virtual repos and renaming, deleting operations.
2019-03-25 18:46:12 +08:00
cuihaikuo
7fe43a0248
Optimize cleaning-up of virtual repos and renaming, deleting operations.
2019-03-24 20:37:04 +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
Jonathan Xu
ef362bda37
Ignore 'need_idx_progress' parameter when handling upload requests.
...
There is a bug in cloud file browser that can cause high number of concurrent uploads.
Also reduce the number retries when updating head commit in db.
2018-12-08 11:37:54 +08:00
cuihaikuo
6669fdce86
Return 400 if base commit is lost when syncing.
2018-09-05 14:36:07 +08:00
cuihaikuo
ac5f26fef8
Support traffic statistics.
2018-08-10 17:47:19 +08:00
cuihaikuo
5a443b1bf8
Exit if failed to init http request.
...
Fix rollback issue.
2018-03-23 17:44:22 +08:00
cuihaikuo
caee7ef963
Support background task for indexing blocks.
2018-02-06 14:37:27 +08:00
cuihaikuo
bb89603e5b
Fix sql syntax.
2018-01-05 13:01:47 +08:00
Jonathan Xu
79b43a0490
[fileserver] Add API to check repo head commit ids in batch.
2017-10-11 15:44:08 +08:00
Jonathan Xu
b7a18d70d0
Merge branch '6.1'
2017-09-13 13:53:03 +08:00
Jonathan Xu
5601724050
Allow configure worker threads number in file server.
...
Also change default worker thread number to 10.
2017-09-13 12:02:23 +08:00
cuihaikuo
b11f861fbd
Support loading configuration from database.
2017-09-07 17:01:56 +08:00
Jonathan Xu
a87db5b58e
Improved concurrent update handling.
2017-08-16 17:50:34 +08:00
cuihaikuo
628bf6c9bf
Check block size before open a block file
2017-07-10 16:48:55 +08:00
Jonathan Xu
2597fa4df5
Use 8MB as block size for files uploaded from web.
2017-06-30 17:48:42 +08:00
cuihaikuo
0699a9e2e6
Add config options: fixed_block_size and web_token_expire_time
2016-10-08 11:32:26 +08:00
Jiaqiang Xu
f52ffdfb23
Add connection pool for db.
2016-08-20 15:29:51 +08:00
Jiaqiang Xu
2643119433
Initial commit of Seafile server core.
2016-08-19 13:54:16 +08:00