Commit graph

11725 commits

Author SHA1 Message Date
Andreas Schneider
8b3b57734e Fix segfault in the modules if running in a pam module.
If csync is running in a pam module and the module isn't linked
against the cstdlib, the module segfaults.
2008-09-09 15:07:37 +02:00
Andreas Schneider
0ddd5d9e82 More work on the userguide. 2008-09-05 16:54:48 +02:00
Andreas Schneider
e25422ba3f Fix the formating not be be longer than 80 chars. 2008-09-05 13:28:30 +02:00
Andreas Schneider
959911fa32 Only build the sftp module if libssh is found. 2008-09-04 16:08:50 +02:00
Andreas Schneider
1b8935a857 Install the userguide. 2008-09-04 10:26:53 +02:00
Andreas Schneider
2bbd66d82c Add a new line after pkg-config stuff. 2008-09-04 10:26:27 +02:00
Andreas Schneider
1119e84d96 Add user guide. 2008-09-03 13:38:45 +02:00
Andreas Schneider
cd2ab8353d Add some documentation for the merge algorithm. 2008-09-03 09:49:12 +02:00
Andreas Schneider
f400f1852f Improve the update detection.
Document and fix a problem in getting the phash value.
2008-09-03 09:48:19 +02:00
Andreas Schneider
971e3301e3 Add some comments. 2008-09-02 11:43:29 +02:00
Andreas Schneider
6d3a7d84c1 Fix flags for the statedb tree merger. 2008-09-02 11:42:34 +02:00
Andreas Schneider
8753352e5e Set errno for expand function of the string list. 2008-09-02 11:23:38 +02:00
Andreas Schneider
b629730fb0 Created a better function to create the file stat. 2008-09-01 14:53:26 +02:00
Andreas Schneider
55c17b6832 Fix build warning. 2008-08-22 15:28:09 +02:00
Andreas Schneider
33681552c7 Remove useless error message. 2008-08-22 15:27:27 +02:00
Andreas Schneider
ebfbcf18a5 Handle no space left on device. 2008-08-22 15:26:02 +02:00
Andreas Schneider
f607dfbefa Add a basic implemntation for a second sftp module with libssh2. 2008-08-20 18:58:46 +02:00
Andreas Schneider
f059286e48 Update doxygen generation. 2008-08-20 18:58:17 +02:00
Andreas Schneider
56a26d8cd0 Revert "Rename the libssh sftp module to have a backup."
This reverts commit 12d8ba2c97.
2008-08-20 18:48:16 +02:00
Andreas Schneider
c0f7b4546f Add parse_uri tests. 2008-08-18 09:46:14 +02:00
Andreas Schneider
12d8ba2c97 Rename the libssh sftp module to have a backup. 2008-08-18 09:45:36 +02:00
Andreas Schneider
f984f78198 Use the uri parser of the stdlib. 2008-08-12 15:43:42 +02:00
Andreas Schneider
538d03f94e Cleanup and reformating of the dirname and basename function. 2008-08-12 15:43:02 +02:00
Andreas Schneider
04d022f2ae Add a function to parse an uri in stdlib. 2008-08-12 15:37:02 +02:00
Andreas Schneider
b5da50b035 Use the auth callback for ssh kbd interaction. 2008-08-12 15:36:14 +02: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
4b03d4ff78 Linking against the stdlib isn't needed. 2008-08-08 15:58:18 +02:00
Andreas Schneider
e4fc52188d Finalize the functions for sftp.
The authentication with username/password still doesn't work.
2008-08-08 15:57:19 +02:00
Andreas Schneider
d875c8a6fa More work on the sftp module.
The module doesn't really work, cause the sftp functions don't
set any errno.
2008-08-07 14:24:27 +02:00
Andreas Schneider
ecf1027a54 This is a start for a sftp module. 2008-08-06 18:16:54 +02:00
Andreas Schneider
05253be461 Simplify _readdir function of the smb module. 2008-08-06 18:16:08 +02:00
Andreas Schneider
de86c0ba6b Add more tests for the virtual io system. 2008-08-06 18:14:34 +02:00
Andreas Schneider
d9432bee61 Add no memory tests to the rbtree testcases. 2008-08-05 11:31:37 +02:00
Andreas Schneider
1315b1197f Fix a memory leak in the rename test. 2008-08-04 17:21:32 +02:00
Andreas Schneider
fc85165f48 Mark the include dir as advanced too.
Thanks to Bernhard Walle.
2008-08-04 10:17:37 +02:00
Andreas Schneider
5853d67855 Use readline. Patch by Bernhard Walle. 2008-08-04 10:13:10 +02:00
Andreas Schneider
1572841ec5 Add a testcase for the update detection. 2008-08-01 15:58:28 +02:00
Andreas Schneider
9722fd0bad Test if we have a correct path. 2008-08-01 15:57:19 +02:00
Andreas Schneider
ce6896453c Fix check for CSYNC_NOMEMORY env variable. 2008-07-29 15:43:18 +02:00
Andreas Schneider
7143f20f95 Add memory NULL tests. 2008-07-28 11:49:56 +02:00
Andreas Schneider
bccadc7d67 Fix segfault in str(n)dup function. 2008-07-28 11:49:37 +02:00
Andreas Schneider
33aa3abd96 Add some error log messages. 2008-07-21 14:31:34 +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
7ef568d815 Mark each library as advanced. 2008-07-15 14:06:21 +02:00
Andreas Schneider
e84527ccc8 Add a valgrind suppression file to get rid of 3rdparty errors. 2008-07-10 19:08:24 +02:00
Andreas Schneider
5a7008ae53 Set the right license header in csync.{c,h}. 2008-07-10 10:25:12 +02:00
Andreas Schneider
e5286c7c8a Rename journal functions to statedb. 2008-07-09 10:10:00 +02:00