1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-14 13:03:08 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
feiniks
c7cf6f7d51
Don't record http method (#754)
Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-04-08 18:17:31 +08:00
feiniks
490f8d431c
Add metrics (#747)
* Add metrics

* Add obj_cache in session

---------

Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-03-31 16:46:24 +08:00
feiniks
7753e8e02a Return error message when failed to check file access (#737)
* Return error message when failed to check file access

* Update python to 3.12.9

* Update ci python

* Set error_msg to error_str

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2025-03-15 10:27:20 +08:00
feiniks
2ab66f0f93
Add view for video and image (#723)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-12-09 16:55:45 +08:00
feiniks
e8c0e81b57
Add op to download or view file (#722)
* Add op to download or view file

* Use download-link op and statistic view

* Go add statictic view

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-12-05 15:08:25 +08:00
feiniks
aaa7819c34
Use post and add ip addr and user agent (#719)
* Use post and add ip addr and user agent

* Go add ip addr and user agent

* Adjust gc unit test

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-11-25 15:59:24 +08:00
feiniks
2cf6b99f40
Use QueryEscape to encode url path (#716)
* Use QueryEscape to encode url path

* Encode url path

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-11-14 14:10:02 +08:00
feiniks
6649fada8c
Parse file path from url (#702)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-19 16:59:35 +08:00
feiniks
8085a65174
Unescape filename (#701)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-18 18:22:29 +08:00
feiniks
f27ab0847b
Return error message when query share link info (#698)
* Return rsp content when query share link info

* Add parse error message

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-13 18:33:41 +08:00
feiniks
b2bde11d89
Add download file API (#696)
* Add download file API

* Go add download file API

* Set http header and return http error

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-12 11:02:41 +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
95bad895b4
Add upload link and download link API (#683)
* Add upload link and download link API

* Use go 1.22 for ci

* Go add upload link API

* Add norm UTF8 path

* Go add upload link API

* Add seahub_settings.py

* Add projectDir

* Add download link API

* Set and check etag

* Add comment and set no-cache

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-03 18:19:37 +08:00
feiniks
49168a140c
Add ETag for access file (#664)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-09 16:58:35 +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
550e75cb0b
Fix memory leak (#577)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-09-20 10:27:50 +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
杨赫然
642ab7acc2 Merge branch '7.1' 2020-11-24 17:57:49 +08:00
feiniks
cd9bb75e63
Add content security policy when access file (#395) 2020-08-29 19:51:18 +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
ly1217
11d95b55fd Fix the problem that xlsx,pptx.docx changed to be xls,ppt,doc when download file by IE. 2018-12-21 11:34:23 +08:00
cuihaikuo
f610061c7f Fix '(null)' user problem in traffic statistics. 2018-09-27 13:43:16 +08:00
cuihaikuo
ac5f26fef8 Support traffic statistics. 2018-08-10 17:47:19 +08:00
ly1217
1fe121082d Fix compilation with openssl 1.1.0. 2018-05-13 23:48:36 -07:00
cuihaikuo
05dd212f52 Support svg online viewing. 2018-02-05 14:22:41 +08:00
cuihaikuo
88e6d82fa3 Add log for packing dirs. 2018-01-06 15:36:52 +08:00
cuihaikuo
d53863d30c Add log for zip. 2018-01-02 17:03:31 +08:00
cuihaikuo
2ebb4a097f Fix incorrect zip name in firefox downloading. 2017-12-27 14:25:34 +08:00
cuihaikuo
229c300ee8 Fix incorrect filename problem in safari download. 2017-10-11 14:05:44 +08:00
cuihaikuo
3678ea37e2 jpeg mime type 2016-12-09 14:14:18 +08:00
cuihaikuo
53a2d3ddee Fix "jpeg displayed on IE" problem 2016-11-05 10:05:36 +08:00
cuihaikuo
96cf61d819 Processing HEAD Request 2016-10-08 16:09:22 +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