Commit graph

170 commits

Author SHA1 Message Date
Klaas Freitag
6eb4e707d9 Add module capability about if a post copy size check is required. 2012-07-04 15:03:15 +02:00
Klaas Freitag
8ba2f483bf Add a vio capabilites function to let a module define its capabilities. 2012-07-04 13:56:24 +02:00
Klaas Freitag
c263a39334 Compute server time from http header and adjust mtimes. 2012-07-03 14:38:43 +02:00
Klaas Freitag
adda008122 Remove wrong cast 2012-06-20 15:19:05 +02:00
Klaas Freitag
27dbdb29fc ownCloud: Fix mem leaks to bring valgrind down to zero loss. 2012-06-20 15:01:54 +02:00
Klaas Freitag
6354c32d3b ownCloud: Use wide char aware file system functions. 2012-06-20 12:08:06 +02:00
Klaas Freitag
370e2e451f do not log on stderr on MacOSX because that spams system log 2012-06-18 13:02:06 +02:00
Klaas Freitag
f33cdb0de9 ownCloud: commented extensive log line. 2012-06-13 17:28:26 +02:00
Klaas Freitag
3e4e4eeee8 logging in SSL callback, important to debug. 2012-06-13 11:26:37 +02:00
Klaas Freitag
c0182c373a ownCloud: Adopt logging to csync standard log instead of printf. 2012-06-05 17:10:50 +02:00
Klaas Freitag
648fc78d95 ownCloud: Proper initializations with NULL avoid a crash. 2012-05-21 09:44:23 +02:00
Klaas Freitag
33d1825551 Merge branch 'dav' of http://git.csync.org/users/freitag/csync into dav
Conflicts:
	src/csync.c
2012-05-15 16:17:51 +02:00
Klaas Freitag
d228436aba ownCloud: better debug output for file GET. 2012-05-15 16:16:04 +02:00
Klaas Freitag
2d34a1c993 ownCloud: Added redirect ability. 2012-05-14 17:19:50 +02:00
Klaas Freitag
eff0319e40 ownCloud: Fix bug #613: Encode strange url correctly.
see http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-613
2012-05-10 17:55:57 +02:00
Klaas Freitag
9871989806 ownCloud: Fixed var initialization to avoid crash after thread
terminated.
2012-05-04 12:07:20 +02:00
Klaas Freitag
cbf259b482 ownCloud: Add neon include dir variable to the compile include dirs. 2012-05-04 12:07:20 +02:00
Dominik Schmidt
0160be06f5 ownCloud: Fix warning condition in reader code. 2012-05-04 12:04:58 +02:00
Dominik Schmidt
ac6e5ff4b9 CMake: Fix owncloud linkage against neon. 2012-05-04 12:04:13 +02:00
Andreas Schneider
8212553cbe owncloud: Fix some build warnings. 2012-04-17 11:23:20 +02:00
Klaas Freitag
010305eab2 ownCloud: catch some compiler warnings when very pedantic.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:16:09 +02:00
Klaas Freitag
f40ab9c6e1 ownCloud: Debug output only if NDEBUG is undefined.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:15:46 +02:00
Klaas Freitag
b8100868a3 ownCloud: added memory buffered put requests with fallback on file.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:13:18 +02:00
Klaas Freitag
4acb4eef63 ownCloud: Added a flag for the existance of the current directory.
That saves a lot of stat calls because the for each PUT a stat has
to be done if the parent dir exists.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:50:10 +02:00
Klaas Freitag
99c0405a26 ownCloud: Disabled useless debugging output.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:59 +02:00
Klaas Freitag
45ad55d894 ownCloud: Added http compression support for GET requests.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:28 +02:00
Klaas Freitag
53263a2685 owncloud: set _fmode variable to set file ops to binary mode.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:40:21 +02:00
Dominik Schmidt
87bc7ca4cc Fix warning condition 2012-04-15 14:35:38 +02:00
Dominik Schmidt
da0c0b3bbe Fix owncloud linkage against neon 2012-04-13 22:54:03 +02:00
Klaas Freitag
a6c16c063e ownCloud: catch some compiler warnings when very pedantic. 2012-04-10 11:49:16 +02:00
Klaas Freitag
07b2371740 ownCloud: Debug output only if NDEBUG is undefined. 2012-04-10 11:49:16 +02:00
Klaas Freitag
bf53697664 ownCloud: added memory buffered put requests with fallback on file. 2012-04-10 11:49:16 +02:00
Klaas Freitag
3fd80bb0e2 ownCloud: Added a flag for the existance of the current directory.
That saves a lot of stat calls because the for each PUT a stat has
to be done if the parent dir exists.
2012-04-10 11:49:16 +02:00
Klaas Freitag
74f0b57ed7 ownCloud: Disabled useless debugging output. 2012-04-10 11:48:40 +02:00
Klaas Freitag
86549e142f ownCloud: Added http compression support for GET requests. 2012-04-10 11:48:33 +02:00
Klaas Freitag
fd9a380fc9 owncloud: memclear a buf and remove not needed win32 code. 2012-04-10 11:45:19 +02:00
Klaas Freitag
3676ca623a owncloud: set _fmode variable to set file ops to binary mode. 2012-04-10 11:43:56 +02:00
Klaas Freitag
3ae453cc36 std: Renamed struct_stat to csync_stat_t and use c_private.h again.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-03-21 13:48:41 +01:00
Klaas Freitag
e264ac347d owncloud: use decoded file name to search in stat result list. 2012-03-15 14:11:14 +01:00
Klaas Freitag
5ad5d176f9 ownCloud: Use win32 API to get the standard user temp path.
Conflicts:

	modules/csync_owncloud.c
2012-03-15 14:11:14 +01:00
Klaas Freitag
14791534ca owncloud: cleaned some comment signs from C++ to C type. 2012-03-15 14:11:14 +01:00
Klaas Freitag
bc138efa4e owncloud: set _fmode variable to set file ops to binary mode. 2012-03-07 16:18:08 +01:00
Klaas Freitag
87d3a56221 owncloud: More robust programming, some additional logs. 2012-03-07 16:18:08 +01:00
Klaas Freitag
bb1ccadebc ownCloud: Fix translation of mkcol 405 errcode to ernno. 2012-03-07 16:18:08 +01:00
Klaas Freitag
9b8e75e4fc ownCloud: append a trailing slash in mkdir as neon requests. 2012-03-07 16:18:08 +01:00
Klaas Freitag
a454156dc2 ownCloud: remove wired function to generate errno from neon error.
The errno is now either generated from the session values of neon
or individually in each function.
2012-03-07 16:18:08 +01:00
Klaas Freitag
edb073a290 ownCloud: removed the test on webdav.php. It is not needed.
The server handles it correctly itself to return the correct
type for the toplevel dir webdav.php
2012-03-07 16:18:08 +01:00
Klaas Freitag
9f67accf14 owncloud: Fix stat function for WebDAV root.
If a propcall happens to webdav.php the webdav server returns the
result list for all entries. In stat only the webdav.php entry is
interesting and must be searched within the result list.
2012-03-07 16:18:08 +01:00
Dominik Schmidt
1fbba4f158 mingw: resolve name clashes in dummy module and link it against libcsync 2012-03-02 17:04:02 +01:00
Dominik Schmidt
11c515f869 mingw: resolve name clashes in sftp module 2012-03-02 17:04:02 +01:00