1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-06-29 08:26:51 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
feiniks
6c056c1f6b
Add last_modify field in form (#666)
* Add last_modify field in form

* Go add last_modify field in form

* Use rfc3339 time format

* Add mtime for upload_blks_api

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-23 18:52:15 +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
ef239b890d
Add compat for Content-Disposition (#650)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-12 22:14:37 +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
c461250dfa
Delete upload tmp file (#542)
* Delete upload tmp file

* Delete tmp file when upload finished

* Modify tmp_file_path to resumable_tmp_file
2022-02-12 11:29:39 +08:00
杨赫然
3ef6fed844 Merge branch '8.0' 2021-12-09 11:53:41 +08:00
feiniks
e2b3437710
Fix memory leak (#527) 2021-12-08 17:25:33 +08:00
feiniks
a6287cca4c
Improve upload and download log info (#524)
* Improve upload and download log info

* Modify return message

* Modify operation not match
2021-12-08 12:11:10 +08:00
Xiangyue Cai
27dac89bb3
fix get form field (#482) 2021-07-28 16:00:49 +08:00
Jonathan Xu
527f6605aa Further fix for boundary detection in file upload. 2021-03-20 11:23:23 +08:00
Xiangyue Cai
993d464cda
Return 400 when find blank line after boundary (#456) 2021-03-11 16:24:32 +08:00
Jonathan Xu
02d3ca7edc Fix detection of upload boundary.
Sometime a boundary can be splitted and received in two read operations.
2021-02-18 09:52:37 +08:00
feiniks
f31ec3bfc4
Handle upload boundary without CRLF (#427)
Handle boundary for form field without CRLF
2020-12-22 18:38:44 +08:00
feiniks
fa3409ea04
Modify upload error message (#355) 2020-05-28 17:55:34 +08:00
feiniks
07058405c6
improve update file api (#320)
* improve update file api

* Modify function name
2020-02-13 10:28:30 +08:00
杨赫然
381d328dfe Fix http2 break some functionalities 2020-02-10 17:12:17 +08:00
杨赫然
9f0083f93b modify some errors and be consistent with pro edition 2019-11-26 14:53:43 +08:00
杨赫然
08c78998c7 We should make sure the parent dir isn't NULL 2019-11-22 14:46:54 +08:00
杨赫然
eeee9f5e90 fix seafile-server doesn't check upload-link obj_id 2019-11-21 18:34:39 +08:00
杨赫然
c7f6974396 free the obj_id 2019-11-21 15:24:12 +08:00
杨赫然
8038baf7f6 Fix seafile-server doesn't check upload-link obj_id and modify file upload test script 2019-11-21 12:00:06 +08:00
杨赫然
0f4c0f6702 Fix seafile-server doesn't check upload-link obj_id 2019-11-20 12:07:46 +08:00
Jonathan Xu
f9686872d7 Merge branch '7.0' 2019-07-25 17:55:37 +08:00
ly1217
48c2a03d5f Fix get repo status. (#252) 2019-07-17 10:16:29 +08:00
Jonathan Xu
b94cb65263 Fix chunked upload bug in file server. 2019-07-04 14:52:57 +08:00
ly1217
c73916ef77 Upadte to python3. 2019-06-27 22:30:31 -07:00
Jonathan Xu
7ecb334194 Fix bugs in update api when chunked mode is used. 2019-05-21 18:47:29 +08:00
Jonathan Xu
d67c4be688 Fix CORS headers for upload-api and update-api. And add support for chunked upload for update-api. 2019-05-21 14:12:29 +08:00
Jonathan Xu
cc87fbd898 Fix potential unhandled upload failure. 2019-04-11 11:40:51 +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
ac5f26fef8 Support traffic statistics. 2018-08-10 17:47:19 +08:00
cuihaikuo
5cc3ed84e9 Support cors in upload_api() and update_api(). 2018-07-19 11:33:45 +08:00
cuihaikuo
1d5087a3c2 Support uploading a folder by upload_api. 2018-04-28 14:23:16 +08:00
cuihaikuo
caee7ef963 Support background task for indexing blocks. 2018-02-06 14:37:27 +08:00
cuihaikuo
5c90613543 Don't let the request pause if error occurred during upload. 2017-11-30 18:35:04 +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
b11f861fbd Support loading configuration from database. 2017-09-07 17:01:56 +08:00
cuihaikuo
f257becc8a Fix a few problems in uploading a folder 2017-07-25 17:43:44 +08:00
cuihaikuo
5689c56531 Optimize search sql in getting file number and storage APIs 2017-07-25 15:20:20 +08:00
cuihaikuo
1dc5798f4a Allow to upload folder 2017-04-25 11:34:18 +08:00
Jonathan Xu
6a697e6954 Fix a bug in web file upload. 2017-01-16 12:18:14 +08:00
Shuai Lin
715f072c1b Fixed content length formatting on windows. 2016-12-27 15:02:58 +08:00
Jiaqiang Xu
f654d77ee9 Get content-length from header when handling web upload. 2016-12-22 18:23:10 +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