1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-10-19 04:42:46 +02:00
Commit Graph

51 Commits

Author SHA1 Message Date
Klaas Freitag
ed4877c27c Use strerror_r outside of log functions to avoid warnings.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-08-01 16:48:44 +02:00
Andreas Schneider
354ef5e771 client: Fix strtol error check. 2013-08-01 10:37:02 +02:00
Klaas Freitag
fed0eefde3 client: Add better implementation of atoi for numeric arguments.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-30 09:31:14 +02:00
Andreas Schneider
d80da2a088 LICENSE: Change license of libcsync from GPL to LGPL.
All contributors have agreed to change the license of libcsync to LGPL.
2013-07-29 14:04:37 +02:00
Klaas Freitag
6aa7a62ee0 client: Check if optarg is different from NULL before dereferencing.
CID 968159
2013-07-25 17:46:55 +02:00
Klaas Freitag
8e1c8a3ea8 client: Fix a build warning of used userdata parameter.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 17:31:11 +02:00
Klaas Freitag
05a62bb41f csync: Add userdata parameter to the overall progress callback.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:45:17 +02:00
Klaas Freitag
70495d3ede client: Don't call strdup on NULL.
CID: #968159

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:54:02 +02:00
Klaas Freitag
b0fbabc1bf Show progress in csync client with commandline switch -v 2013-05-06 17:27:20 +02:00
Andreas Schneider
11b539088e client: Fix connection to a remote with password in it.
The password needs to be cleaned after we processed the uri.

Thanks to Patrick Buergi.
2013-02-19 08:35:20 +01:00
Andreas Schneider
fc2b860022 client: Fix setting the debug level.
Thanks to Patrick Buergi.
2013-02-19 08:34:44 +01:00
Daniel Molkentin
9c0c693081 Add iconv support to convert charsets to different platforms. 2013-02-06 15:11:40 +01:00
Klaas Freitag
e40a810187 Make client compile with picky compiler.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:39:21 +01:00
Andreas Schneider
9a539526f1 log: Use a thread local variable for the log level. 2012-12-17 09:40:17 +01:00
Andreas Schneider
b43f6690d5 client: Add setting the debug level. 2012-10-30 11:27:21 +01: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
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
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
c826f021d6 Improve the version function. 2009-03-26 10:40:16 +01:00
Andreas Schneider
38807d09c5 Change client option to be more descriptive (#25). 2009-01-20 16:57:27 +01: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
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