Klaas Freitag
bc1e59a048
Update the md5 also if the instruction is not UPDATE.
2012-08-20 19:10:03 +03:00
Klaas Freitag
d9267f7928
Handle ID change propagation to the top directory.
2012-08-17 16:48:56 +03:00
Klaas Freitag
972412e436
Update the md5 sum of files in merge.
2012-08-17 16:48:15 +03:00
Klaas Freitag
38cf0f2704
Add csync_get_file_id function for modules.
2012-08-17 16:46:50 +03:00
Klaas Freitag
0443764308
Query ids from database for local files, remove bogus code.
2012-08-17 16:46:07 +03:00
Klaas Freitag
7dcb9ffdeb
Added id lists to context type and removed change counter.
2012-08-17 16:45:12 +03:00
Klaas Freitag
fcba1cefce
Added csync_vio_file_id function and removed unused previous code.
2012-08-17 16:44:38 +03:00
Klaas Freitag
bac0002eeb
Add a visible log entry at program start, easier to read log output.
2012-08-17 16:42:23 +03:00
Klaas Freitag
0147063090
try to propagate EVAL status up by detecting changes in underlying
...
directories. That does not work as the reconciler runs through the
directoires in the wrong order, ie. the outermost first.
2012-08-15 16:32:10 +03:00
Klaas Freitag
19f52313a8
more md5 calculations
2012-08-15 12:46:36 +03:00
Klaas Freitag
142ef140f0
more logging, ids added.
2012-08-14 16:32:23 +03:00
Klaas Freitag
eb019905e4
Query new id for local repository because of utimes changes.
2012-08-14 16:31:52 +03:00
Klaas Freitag
b37096354f
Fix url to calculate hash
2012-08-14 16:31:01 +03:00
Klaas Freitag
cf24513879
Merge branch 'dav' of ssh://milliways.cryptomilk.org/users/freitag/csync into md5
...
Conflicts:
modules/csync_owncloud.c
src/csync_private.h
src/csync_reconcile.c
src/vio/csync_vio.c
2012-08-13 15:24:15 +03:00
Klaas Freitag
2bc171e520
Set version to 0.50.8
2012-08-09 17:07:44 +03:00
Klaas Freitag
76b09b3c14
Fix rename: Exclude directories and set mtimes accordingly.
2012-08-09 16:59:08 +03:00
Klaas Freitag
452babe593
Improved error report on proxy- and connection problems.
2012-08-09 15:12:22 +03:00
Klaas Freitag
cbb09aeb0a
Sync based on uniqIDs WIP
2012-08-06 09:22:21 +02:00
Klaas Freitag
3ae996c688
Fixed rename support for Win32. Need to use unit64 instead of ino_t.
2012-08-03 18:48:44 +03:00
Klaas Freitag
253605758e
Use remote rename if local rename is detected.
2012-08-02 16:58:54 +03:00
Klaas Freitag
5b38e2cb5a
Improved logging in error case (minor fix).
2012-07-31 17:58:49 +03:00
Klaas Freitag
abef7eb3d2
UniqID based syncing, first WIP state.
2012-07-31 11:40:46 +03:00
Thomas Mueller
d4e808d45a
use custom FindOpenSSL only for cross compilation in any other cases it is used from the local system
2012-07-30 13:27:59 +03:00
Thomas Mueller
9134955899
use custom FindOpenSSL only for cross compilation in any other cases it is used from the local system
2012-07-26 14:57:15 +03:00
Klaas Freitag
1352f6bc39
MD5 Support WIP
2012-07-24 09:36:06 +02:00
Klaas Freitag
85993d2650
Don't override error code set by timedif in vio init
2012-07-19 21:21:33 +02:00
Klaas Freitag
1104619a52
No atime on apple platform.
2012-07-19 21:11:35 +02:00
Klaas Freitag
b57f33353d
fixed copy and paste errors in error output.
2012-07-19 21:06:18 +02:00
Klaas Freitag
cad3da10db
Merge branch 'timedelta' into dav
2012-07-19 15:53:12 +02:00
Klaas Freitag
2b4261f15a
Added functions to generate MD5-Sums based on openssl with tests.
2012-07-18 17:00:46 +02:00
Klaas Freitag
1866956984
use lstat instead of stat to stat files. Avoids problems with links.
2012-07-11 16:48:38 +02:00
Klaas Freitag
e90b4a13b3
Added logging of the time values.
2012-07-11 16:05:40 +02:00
Klaas Freitag
59202fffe4
fixed spaces and logging if timesync is needed for the module.
2012-07-11 16:03:31 +02:00
Klaas Freitag
0ed8c57cad
make proper logging of the module capabilities.
2012-07-09 16:46:14 +02:00
Klaas Freitag
bcb31b6998
Merge branch 'dav' of ssh://milliways.cryptomilk.org/users/freitag/csync into dav
...
Conflicts:
src/csync.c
src/csync_propagate.c
src/std/c_private.h
src/vio/csync_vio.c
2012-07-09 16:39:11 +02:00
Klaas Freitag
7fb929a82d
use lstat instead of stat for local files, fix oCB #713 .
2012-07-09 16:15:27 +02:00
Klaas Freitag
43685f69a3
do the capabilities after the module was initialized.
2012-07-09 14:45:05 +02:00
Klaas Freitag
b9329f2991
undef malloc only if not doing UNIT_TESTING.
2012-07-09 14:09:34 +02:00
Klaas Freitag
c0f1f36f59
Fix condition on when atomar push is allowed, never for local files.
2012-07-09 13:26:20 +02:00
Dominik Schmidt
77d71eb080
Load plugins on MacOSX.
2012-07-09 13:26:20 +02:00
Klaas Freitag
065529642e
Ability to push to remote without using a tempfile to copy to.
...
Modules such as ownCloud make sure anyway that the upload to a
remote resource happens atomar. This patch allows to switch off
the default behaviour of first copying to a temp file in the
same directory. Use csync_set_remote_push_atomar function to
switch off.
2012-07-09 13:26:20 +02:00
Klaas Freitag
037532d73b
win32: Fix random file name generation, init random generator once.
2012-07-09 13:26:20 +02:00
Klaas Freitag
09b82ea7cd
do not log on stderr on MacOSX because that spams system log
2012-07-09 13:26:00 +02:00
Klaas Freitag
f802b54f6f
set version to 0.50.7
2012-07-09 13:26:00 +02:00
Klaas Freitag
62acdc3b8c
win32: use wide char variant of CopyFile for file copy.
2012-07-09 13:26:00 +02:00
Klaas Freitag
d7deaf3448
win32: Use wide character variant of GetSpecialFolderPath to get home.
2012-07-09 13:26:00 +02:00
Klaas Freitag
9f900266f4
Added a newline in case the logging callback is zero.
2012-07-09 13:25:59 +02:00
Klaas Freitag
f2439d83f0
Fix wide character support for the mkdir definition.
2012-07-09 13:25:59 +02:00
Klaas Freitag
5734a31b60
Add ability to log to a callback for the csync library.
2012-07-09 13:25:59 +02:00
Klaas Freitag
03476b3a11
Set the correct define to the new released version 0.50.6.
2012-07-09 13:25:59 +02:00