Klaas Freitag
0bedd5d9a3
Win32: Disabled Query per inode, always returning NULL.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:49:29 +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
dec1e6a3cf
tests: Use correct value from perl stat call to get the file mtime.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:12 +02:00
Klaas Freitag
ec921a1e51
Win32: Added some specific headers to c_private.h to fix build.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:47:56 +02:00
Andreas Schneider
fdc1a71050
csync: Use uint32_t for uid and gid.
2012-04-17 10:46:58 +02:00
Klaas Freitag
d2ae109cc3
Win32: substitute uid_t and gui_t and removed a not needed include.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:46:04 +02:00
Klaas Freitag
2ac172f4fe
update: Add new exported file tree traverse functions.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:45:04 +02:00
Klaas Freitag
f0d2943e5f
Do not bail out if the config can't be read, use default values.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:42:36 +02:00
Klaas Freitag
5e7d5c983a
win32: Copy the default conf file from the application dir.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:42:01 +02:00
Klaas Freitag
f292c01eac
Read $HOME variable first before checking the password file entry.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:40:35 +02:00
Klaas Freitag
8e64584c12
tests: Added test script to test the ownCloud module of csync.
...
The script t1.pl is a perl based check script for the ownCloud
module of csync. It requires a running ownCloud server and does
a couple of blackbox tests with it.
See README for more information how to operate.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:40:21 +02:00
Klaas Freitag
871dde4911
Added ability to limit the csync run to the local tree only.
...
That gives apps the chance to use the efficient treewalk of csync
to get information on the tree.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:40:21 +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
dbc9576876
Fix use of strerror_r on non GNU platforms.
2012-03-19 12:40:43 +01:00
Klaas Freitag
6300e78816
Fix use of strerror_r on non GNU platforms.
2012-03-19 12:40:43 +01:00
Klaas Freitag
8b9c10246e
Fix use of strerror_r on non GNU platforms.
2012-03-19 12:40:43 +01:00
Klaas Freitag
f0a84bb5da
Fix use of strerror_r on non GNU platforms.
2012-03-19 12:40:43 +01:00
Klaas Freitag
a0e0caa5b8
Fix use of strerror_r on non GNU platforms.
2012-03-19 12:40:43 +01:00
Klaas Freitag
ffd2e0e767
Fixed file copy for Win32 platform by using API function FileCopy.
2012-03-19 12:40:30 +01:00
Klaas Freitag
ea89ac46ac
Use getopt functions instead of GNU libc specific argp functions.
...
For command line option parsing, better use the getopt functions
instead of the GNU libc specific argp functions if we want to be
portable. argp usage does not compile on MacOS, thus it was now
removed from csync.
2012-03-15 15:15:35 +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
Andreas Schneider
e409d0fae9
time: Use correct abs() function for long long.
2012-03-07 16:17:43 +01:00
Andreas Schneider
f0cf678c0e
Fix config checks.
2012-03-02 17:04:02 +01:00
Dominik Schmidt
3ed887f152
windows: don't use malloc directly in csync_get_[user_home_dir||local_username]
2012-03-02 17:04:02 +01:00
Dominik Schmidt
4c22c84bd1
windows: fix loading plugins
2012-03-02 17:04:02 +01:00
Dominik Schmidt
00c47f62c4
windows: install libcsync.dll to bin/
2012-03-02 17:04:02 +01:00
Dominik Schmidt
94006d0171
windows: don't refer to SYSCONFDIR
2012-03-02 17:04:02 +01:00
Dominik Schmidt
4df3aee5c2
Replace csync_auth with ssh_gets implementation from libssh
2012-03-02 17:04:02 +01:00
Dominik Schmidt
f08d145c39
Link against libargp on non-linux platforms
2012-03-02 17:04:02 +01:00
Dominik Schmidt
593cd4514a
windows: disable locks
2012-03-02 17:04:02 +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
6e4ce19a85
Add csync_fnmatch
2012-03-02 17:04:02 +01:00
Dominik Schmidt
d1ea29f4aa
Don't check for links on non-unix platforms
2012-03-02 17:04:02 +01:00
Dominik Schmidt
6272a2b485
Use stat if lstat is not available
2012-03-02 17:04:02 +01:00
Dominik Schmidt
da286857e0
windows: add utimes implementation
2012-03-02 17:04:02 +01:00
Dominik Schmidt
dd9b73f383
mingw: enable asprintf
2012-03-02 17:04:02 +01:00
Dominik Schmidt
674aa7cd64
windows: add strerror_r implementation
2012-03-02 17:04:02 +01:00
Dominik Schmidt
31389975e7
Add missing break statement
2012-03-02 17:04:02 +01:00
Dominik Schmidt
ee6c631f28
windows: add missing status codes, types and return-values
2012-03-02 17:04:02 +01:00