Daniel Molkentin
49d2fd685b
iconv support
...
This allows for files on mac to automatically be converted to UNC
2012-12-07 13:03:01 +01:00
Olivier Goffart
95edd6a9de
Merge remote-tracking branch 'origin/master' into dav
...
Conflicts:
config/ocsync_log.conf
src/csync.c
src/csync.h
src/csync_config.c
src/csync_log.h
src/csync_private.h
src/csync_statedb.c
tests/csync_tests/check_csync_config.c
2012-12-03 17:32:08 +01:00
Klaas Freitag
803b3fb542
Fix compile with mingw32 for win32, removed int decl in for loop.
2012-10-31 21:08:08 +01:00
Andreas Schneider
b43f6690d5
client: Add setting the debug level.
2012-10-30 11:27:21 +01:00
Klaas Freitag
2bb52ef6f9
Merge branch 'master' into dav - get cmocka tests and database move.
...
Conflicts:
CMakeLists.txt
cmake/Modules/FindCMocka.cmake
src/csync.c
src/csync_exclude.c
src/csync_reconcile.c
src/csync_statedb.c
src/csync_update.c
src/csync_util.c
src/vio/csync_vio.c
tests/CMakeLists.txt
tests/csync_tests/check_csync_exclude.c
tests/csync_tests/check_csync_statedb_load.c
tests/csync_tests/check_csync_statedb_query.c
tests/csync_tests/check_csync_update.c
tests/std_tests/check_std_c_path.c
2012-10-27 19:27:14 +02:00
Eric Seigne
a371546038
Fix bug #4 : Hide password from command line.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-10-15 20:57:16 +02:00
Klaas Freitag
404073fe7f
Rename csync to ocsync to not collide with upstream csync.
2012-10-01 12:39:05 +02:00
Klaas Freitag
b57f33353d
fixed copy and paste errors in error output.
2012-07-19 21:06:18 +02:00
Klaas Freitag
f7c8e9f26c
std: Renamed struct_stat to csync_stat_t and use c_private.h again.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-14 03:13:26 +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
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
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
674aa7cd64
windows: add strerror_r implementation
2012-03-02 17:04:02 +01:00
Andreas Schneider
2b05dc33b7
client: Disable conflict copies by default.
2012-02-22 17:52:19 +01:00
Christian Jann
c848d8ffd7
added conflict-copy option to csync client
2011-04-06 17:08:30 +02:00
Andreas Schneider
fdea54edc5
Fix the vim modlines.
2009-05-13 10:12:07 +02:00
Andreas Schneider
3c618a3d7d
Add possibility to pass userdata to the auth function.
2009-03-26 11:09:46 +01:00
Andreas Schneider
c826f021d6
Improve the version function.
2009-03-26 10:40:16 +01:00
Andreas Schneider
0634e0fdea
Don't require a C++ compiler.
2009-03-18 10:55:14 +01:00
Andreas Schneider
38807d09c5
Change client option to be more descriptive ( #25 ).
2009-01-20 16:57:27 +01:00
Andreas Schneider
27800adce5
Fix some visual flaws in the auth callback of the client.
2008-08-12 11:18:24 +02:00
Andreas Schneider
95f4db7c4f
Create a more generic authentication callback.
2008-08-11 13:21:15 +02:00
Andreas Schneider
ae304565af
Added password only flag or auth callback.
2008-08-08 17:28:33 +02:00
Andreas Schneider
08eab05c29
Use the GNU version of strerror_r.
2008-07-19 12:03:48 +02:00
Andreas Schneider
8451d29d12
Replace strerror with thread safe version.
2008-07-18 11:35:02 +02:00
Andreas Schneider
e5286c7c8a
Rename journal functions to statedb.
2008-07-09 10:10:00 +02:00
Andreas Schneider
9934a2842c
Fix disabling the journal in the commandline client.
2008-06-25 13:44:11 +02:00
Andreas Schneider
d7d397ab63
Change options of the client.
2008-06-24 17:39:46 +02:00
Andreas Schneider
8aed1cef83
Disable journal completely instead of writing and removing it.
2008-06-24 13:36:47 +02:00
Andreas Schneider
8f52348315
Improve the authentication calls.
...
Enter will use the old username so you don't have to type it.
2008-06-20 10:10:38 +02:00
Andreas Schneider
b5334402b9
Fix the remove-journal paramater and add new functions for it.
2008-06-02 17:02:22 +02:00
Andreas Schneider
64a8a911d3
Remove the backup mode bug add a mode to remove the journal.
2008-05-27 14:11:46 +02:00
Andreas Schneider
2ee63f24aa
Better description for backup mode.
2008-05-21 15:11:26 +02:00
Andreas Schneider
d720975617
Fix backup mode.
2008-05-21 14:46:42 +02:00
Andreas Schneider
b7a0983c75
Add backup mode to the client.
2008-05-20 16:33:34 +02:00
Andreas Schneider
dddb81c5cd
Add the possibility to load an additional exclude file.
2008-05-20 15:50:02 +02:00
Andreas Schneider
0be9a1e02b
Add reconciler.
...
Currently only new directories are created. Other functions are prepared
bug not tested yet.
2008-05-16 17:30:57 +02:00
Andreas Schneider
4489fbfa2b
Implement the reconciler.
2008-05-15 13:50:34 +02:00
Andreas Schneider
349d924126
Remove unnessesary newlines.
2008-05-13 16:00:57 +02:00
Andreas Schneider
b13fba29da
Add a text based callback function to the client.
2008-05-13 13:40:06 +02:00
Andreas Schneider
97c951e531
Use c99 syntax for structs.
2008-05-07 10:55:08 +02:00
Andreas Schneider
a472014d8b
Install the client binary.
2008-05-05 17:52:19 +02:00
Andreas Schneider
dce6278a1d
Change set right version.
2008-05-05 13:53:07 +02:00
Andreas Schneider
4fb4ff84a8
Add a journal testing mode to the client.
2008-05-05 11:09:16 +02:00
Andreas Schneider
6a2f1f0add
Add a file tree walker for the update detection.
2008-04-23 12:12:48 +02:00
Andreas Schneider
dc72b7397c
Add the local and remote uri at creation time.
2008-04-22 17:23:26 +02:00
Andreas Schneider
ff7e28f82c
Completly hide the csync structure for the user of the library.
...
So it easier to change the API/ABI.
2008-02-29 11:41:15 +01:00
Andreas Schneider
1b29a420bc
Initial commit
2008-02-27 18:56:47 +01:00