Commit Graph

35 Commits

Author SHA1 Message Date
feiniks
8e0e9ce76b
Checkout file directly (#2781)
* Checkout file directly

Add download progress

Return error when cancel task

Check if usr is NULL when get notif server

Adjust code struct

Checkout file from offset

Don't use http task

Adjust function parameters

* Support set file_id attr to tmp file

* user error_id to check failed

---------

Co-authored-by: yangheran <heran.yang@seafile.com>
2024-07-03 16:46:58 +08:00
feiniks
8c2fe93154
Check path is case conflict when checkout files (#2748)
* Check path is case conflict when checkout files

* Check parent dir on windows

* Check path case conflict

* Add conflict path to check case conflict

* Add no_case_conflict_hash to check local dir

* Add case conflict error

* Don't check cache entry when rename dir

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-05-09 15:09:35 +08:00
feiniks
cb877e00d9
portable visual studio 2019 (#2378)
* portable visual studio 2019

* Need alignment and fix compile warning

* Define related headers in common.h

* del reference config.h

* Add files generated by vala

* Def reference config.h for windows

* Support vs build

Co-authored-by: sun <1184550842@qq.com>
2020-11-18 16:55:44 +08:00
caixiangyue
3b59c89d1f move canonical_server_url() to utils.c 2019-11-05 18:42:52 +08:00
Jonathan Xu
4b9678eb68 Fix .eml file cannot be deleted problem. 2018-06-28 10:45:39 +08:00
Jonathan Xu
2d67426c03 Remove dependency to ccnet. 2018-06-26 12:23:36 +08:00
Jonathan Xu
1e1cd0ba35 Return error if repo name contains invalid characters when cloning a repo. 2017-09-21 15:40:32 +08:00
Jonathan Xu
0e181b58e2 Some BSD compile fixes.
Thanks to Daniel Ölschlegel <amoibos@gmail.com>.
2016-12-27 18:48:56 +08:00
Jonathan Xu
af6fecad71 Use GLib to calculate SHA1. 2016-12-22 14:39:43 +08:00
Jiaqiang Xu
04bc2549b0 [server] Check input path utf-8 encoding and normalize them to NFC. 2016-06-27 11:56:27 +08:00
yejianguo
7e0078c1a9 add share subdir to user/group api 2016-06-20 14:19:36 +08:00
yejianguo
4d04f10a1d [access-file] support download multi-files one time 2016-03-18 11:45:56 +08:00
Jiaqiang Xu
f0c226dbae [lib] Improve socket handling in pgpipe(). 2016-01-04 17:57:26 +08:00
Jiaqiang Xu
8a6f038bdb [client] Don't delete changed or untracked files when delete dir on download. 2015-11-23 11:31:51 +08:00
Jiaqiang Xu
58ad9dff44 Check object/block id. 2015-10-14 14:17:06 +08:00
Jiaqiang Xu
1b386adcaa [server] Use multiple threads to index file when uploaded from web. 2015-08-05 20:04:00 +08:00
Jiaqiang Xu
e845e3f6c0 [win] Handle delete/rename events with 8.3 format paths. 2015-01-21 15:01:32 +08:00
Jiaqiang Xu
97175222b2 [win] Use native API for I/O operations to support long path. 2015-01-19 11:36:24 +08:00
Kirill Bychkov
4779ff609a Free/Net/OpenBSD have another names for libevent2 headers.
Add #ifdef / #else / #endif to include correct headers.
2014-05-14 13:42:46 +04:00
Jiaqiang Xu
f0e56284ee Compress fs objects. 2014-03-25 16:58:34 +08:00
Jiaqiang Xu
2983357dfb Use JSON for fs object format and store modifier, size, mtime in direcotry objects. 2014-03-25 09:49:12 +08:00
Jiaqiang Xu
44f5d10288 Handle invalid UTF-8 characters in commit objects. 2014-01-25 17:29:03 +08:00
Jiaqiang Xu
f095bb3615 Merge branch '2.0'
Conflicts:
	po/de_DE.po
	scripts/setup-seafile.sh
2013-11-30 16:46:45 +08:00
Jiaqiang Xu
1e441967aa Remove dependence on json-glib, use jansson instead. 2013-11-05 16:59:22 +08:00
Jiaqiang Xu
e84c8ef919 [client] Fix Daylight Saving Time bug. 2013-10-31 16:43:34 +08:00
Jiaqiang Xu
7d6c48fd0c Make sure #include "common.h" at the first line of code. 2013-04-12 10:37:54 +08:00
poet
c77f0d9127 [mac] Update version to 1.4.1 2013-01-17 18:57:57 +08:00
Jiaqiang Xu
8856ca5a98 Fix bug in ntoh64() function. 2013-01-14 20:17:34 +08:00
Jiaqiang Xu
eba7f4f5e4 Include common.h in utils.h. 2013-01-14 17:06:55 +08:00
lins05
70371dc759 remove unnecessary checks in configure.ac 2013-01-03 16:59:04 +08:00
Jiaqiang Xu
9b689ddd1b [win] Fix bug of handling files larger than 4GB.
g_lstat() returns 32-bit struct stat on Windows, use _wstat64() instead.
2012-12-30 10:59:50 +08:00
lins05
053eef257e [win] Use unicode api when have strings 2012-11-26 17:38:50 +08:00
lins05
29bb43a401 add strtok_r for windows 2012-10-13 13:47:39 +08:00
lins05
b82ecc7ea0 tell applet is running by counting processes 2012-08-20 17:45:56 +08:00
lins05
1671133d5e copy some files from ccnet/lib to seafile/lib 2012-08-06 17:10:25 +08:00