Commit graph

710 commits

Author SHA1 Message Date
Klaas Freitag
acccd5445f removed argp lib check. 2012-04-13 21:49:40 +02:00
Dominik Schmidt
0927bae5d4 Simplify FindLibIniparser.cmake 2012-04-13 21:45:56 +02:00
Klaas Freitag
a6c16c063e ownCloud: catch some compiler warnings when very pedantic. 2012-04-10 11:49:16 +02:00
Klaas Freitag
7204b9bdd8 Push csync release to next internal beta 0.50.4. 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
6d8e79bbe2 tests: Added another test to the ownCloud module test. 2012-04-10 11:49:16 +02:00
Klaas Freitag
cc87c0629a Added a csync_errno function to provide more info for clients. 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
cea1d4fd47 Removed a stat call that is just for a file size check. 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
24796539ff Win32: Add win32 rename function that overwrites existing targets. 2012-04-10 11:49:16 +02:00
Klaas Freitag
5543d20441 Win32: Disabled Query per inode, always returning NULL. 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
cef5d2ade1 tests: Use correct value from perl stat call to get the file mtime. 2012-04-10 11:48:23 +02:00
Klaas Freitag
6ff95a1b93 Version to 0.50.3 for a next beta 2012-04-10 11:48:23 +02:00
Klaas Freitag
980bd6cbd6 Win32: Added some specific headers to c_private.h to fix build. 2012-04-10 11:47:42 +02:00
Klaas Freitag
cce1502bfc Win32: substitute uid_t and gui_t and removed a not needed include. 2012-04-10 11:47:42 +02:00
Klaas Freitag
1a7ca763e9 Add new exported file tree traverse functions. 2012-04-10 11:47:41 +02:00
Klaas Freitag
d354e443c4 Do not bail out if the config can't be read, use default values. 2012-04-10 11:47:41 +02:00
Klaas Freitag
8555be060b Win32: copy the default conf file from the application dir. 2012-04-10 11:47:41 +02:00
Klaas Freitag
c2a296ae98 Disable config file copy for Win32 platform. 2012-04-10 11:46:23 +02:00
Klaas Freitag
1ee41f9f97 Read $HOME variable first before checking the password file entry. 2012-04-10 11:46:23 +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
ad453115b4 Create another beta version 0.50.2 2012-04-10 11:45:19 +02:00
Klaas Freitag
8dfde01d86 Pushed version to 0.50.1. 2012-04-10 11:45:19 +02:00
Klaas Freitag
fb0a0ae81c owncloud test: Make use of a little cfg file to configure credentials. 2012-04-10 11:45:19 +02:00
Klaas Freitag
807981fe87 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.
2012-04-10 11:44:57 +02:00
Klaas Freitag
a75591d0d4 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.
2012-04-10 11:44:57 +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
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