Klaas Freitag
ce080d5ee1
Fix definition of tmp file name.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:38:25 +01:00
Klaas Freitag
b152b39e67
ownCloud: Use wide char aware file system functions.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:36:29 +01:00
Klaas Freitag
9120098811
Use wide character abstraction functions for file operations.
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:27:53 +01:00
Andreas Schneider
7fefdc1800
modules: Fix csync_dummy modules license header.
2012-12-04 13:51:11 +01:00
Andreas Schneider
0a9cca8441
modules: Fix csync_owncloud module license header.
2012-12-04 13:50:14 +01:00
Andreas Schneider
c4f46608dc
modules: Fix csync_smb module license header.
2012-12-04 13:49:40 +01:00
Andreas Schneider
9ca550f93a
modules: Remove csync_sftp2 module.
2012-12-04 13:48:31 +01:00
Andreas Schneider
c2ced426ef
modules: Fix csync_sftp module license header.
2012-12-04 13:48:13 +01:00
Andreas Schneider
351c6089fc
modules: Return in dummy_stat() if we have no memory.
2012-10-19 20:37: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
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
Dominik Schmidt
f064dbcde4
Make libsmbclient optional
2012-03-02 17:02:59 +01:00
Klaas Freitag
ded226911e
owncloud: Removed unused file attribute contenttype from PROPFIND.
2012-02-22 18:23:18 +01:00
Klaas Freitag
56c583615d
owncloud: Remove more unused logging.
2012-02-22 18:23:18 +01:00
Klaas Freitag
3025ada5dc
owncloud: Use c_parse_uri instead of neon equivalent, minor cleanups.
2012-02-22 18:23:18 +01:00
Klaas Freitag
5c97b6f81d
owncloud: Call the neon ssl functions only if SSL is active.
...
Especially ne_ssl_trust_default_ca seems to crash in case no SSL is
used actually. Added a flag to determine between SSL and no SSL.
Moved a debug message to the right place.
2012-02-22 18:23:18 +01:00
Klaas Freitag
bc1174cb8a
owncloud: Add ne_ssl_trust_default_ca to trust default certificates.
2012-02-22 18:23:18 +01:00
Klaas Freitag
d7e13276e5
owncloud: Remove the sorting of the dirlist results.
2012-02-22 18:23:18 +01:00
Klaas Freitag
5ba71bbf79
Change module link statement to link against LIBCSYNC.
...
For windows building, the whole csync lib instead of the C standards
only is needed. Not a big difference, so changed for all platforms.
2012-02-22 18:23:18 +01:00
Klaas Freitag
45ec3c0248
owncloud: Removed unused _stat function.
2012-02-22 18:23:18 +01:00
Klaas Freitag
71e110364e
owncloud: added cleanPath and moved _stat_perms.
2012-02-22 18:23:18 +01:00
Klaas Freitag
f56103dc0d
owncloud: Removed unused cleanUrl function.
2012-02-22 18:23:18 +01:00
Klaas Freitag
664f1cb17d
owncloud: some code cleanups.
2012-02-22 18:23:18 +01:00
Klaas Freitag
e320ccf7f8
owncloud: Renames of the vio functions by appending owncloud.
...
That avoids name clashes with MinGW. Patch provided by Dominik Schmidt.
2012-02-22 18:23:18 +01:00
Klaas Freitag
425f4b1cec
owncloud: Some code fixes and more errno corrections.
2012-02-22 18:23:18 +01:00
Klaas Freitag
545115bfae
owncloud: Set proper useragent, fixed some comments and warnings.
2012-02-22 18:23:18 +01:00
Klaas Freitag
936a32295f
owncloud: Added SSL support.
2012-02-22 18:23:18 +01:00
Klaas Freitag
19a485944a
owncloud: added missing close.
2012-02-22 18:23:18 +01:00
Klaas Freitag
7c3544611b
owncloud: Adopted to new owncloud scheme.
2012-02-22 18:23:18 +01:00
Klaas Freitag
07b4fbcf4f
owncloud: Module renamed to owncloud.
2012-02-22 18:23:18 +01:00
Klaas Freitag
e4259719ad
owncloud: Convert webdav -> http in init function.
2012-02-22 18:23:18 +01:00