Commit Graph
11836 Commits
Author SHA1 Message Date
Klaas Freitag 38946ed025 More detailed error handling if one chunk fails. 2013-03-14 13:15:45 +01:00
Klaas Freitag 0ab1a4aeeb Make chunk default size 10 MB 2013-03-14 13:15:21 +01:00
Andreas Schneider 480c97c487 cmake: Update compiler flags. 2013-03-14 10:10:41 +01:00
Klaas Freitag dd74b12b48 Merge remote-tracking branch 'ogoffart/davbf' into dav 2013-03-13 17:13:42 +01:00
Jenkins for ownCloud e2cccd8615 [tx-robot] updated from transifex 2013-03-13 00:07:52 +01:00
Olivier Goffart 2205c9a339 Resume chunked upload if conneciton is lost 2013-03-12 11:42:17 +01:00
Jenkins for ownCloud 948a98a871 [tx-robot] updated from transifex 2013-03-12 00:15:38 +01:00
Olivier Goffart b4ec9f887c Do not fetch folder id after propagation.
Delay that for the next sync.

(cherry picked from commit 1eb534dd53)
2013-03-11 20:38:17 +01:00
Olivier Goffart b99677f985 Only mark a folder as modified if files within it are modified. 2013-03-11 20:38:17 +01:00
Daniel Molkentin b50d201154 Merge pull request #423 from hefee/master
adding WITH_DOC parameter to cmake
2013-03-11 08:28:51 -07:00
hefee 25a3ceb94d adding WITH_DOC parameter to cmake
Fixes #412
2013-03-11 16:18:20 +01:00
Andreas Schneider 2ef1c72726 std: Refactor c_rename(). 2013-03-11 11:23:05 +01:00
Andreas Schneider 4c83526676 std: Implement error checks for c_iconv(). 2013-03-11 11:13:21 +01:00
Jenkins for ownCloud c514fe371a [tx-robot] updated from transifex 2013-03-10 00:08:00 +01:00
Jenkins for ownCloud 9169c70efe [tx-robot] updated from transifex 2013-03-09 00:07:47 +01:00
Andreas Schneider 862f83988f tests: Update valgrind suppressions. 2013-03-08 18:50:26 +01:00
Andreas Schneider 0b5a83fc7f tests: Fix memleaks in encoding test. 2013-03-08 18:50:26 +01:00
Andreas Schneider 13901b23f0 tests: Fix memleaks in vio test. 2013-03-08 18:50:22 +01:00
Olivier Goffart 6a5ad6e81e Revert "Do not fetch folder id after propagation."
This reverts commit 1eb534dd53.

Because folder re-appears in some cases
(IL issue #143)
2013-03-08 17:47:39 +01:00
Klaas Freitag 2cc291c520 tests: Add treewalk test.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-03-08 15:55:03 +01:00
Klaas Freitag 87c313485b tests: Treewalk function unit tests added.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-03-08 15:55:03 +01:00
Klaas Freitag cf75a71b8b Make use of push_to_tmp_first function.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-03-08 15:55:03 +01:00
Klaas Freitag d7a4a574ab Add a vio capabilites function to let a module define its capabilities.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-03-08 15:54:55 +01:00
Jenkins for ownCloud 3c07cea229 [tx-robot] updated from transifex 2013-03-08 00:27:56 +01:00
Olivier Goffart e05b44b06d Fix blacklist with renamed files
When renaming blacklisted files, we still need to find the other node to
mark the error
2013-03-07 11:07:38 +01:00
Klaas Freitag 47b1e64059 Handle renames in read only shares correctly. 2013-03-06 16:00:28 +01:00
Klaas Freitag d3f51c611f Some more troubleshooting details. 2013-03-06 08:51:04 +01:00
Olivier Goffart 1eb534dd53 Do not fetch folder id after propagation.
Delay that for the next sync.
2013-03-05 20:33:18 +01:00
Klaas Freitag f211ee8bf1 Add a command line option to set a http proxy (owncloud only) 2013-03-05 15:33:14 +01:00
Andreas Schneider 8d43a743a1 misc: Include stdio.h for snprintf. 2013-03-05 10:49:08 +01:00
Andreas Schneider fc16af05a5 misc: Include stdio.h for snprintf. 2013-03-05 10:45:33 +01:00
Andreas Schneider 3041e73b0a misc: Correctly handle getenv().
The returned string of getenv() has an unknown size. You need to store
the result always in a char array with a certain size to make sure we
don't feed tainted data to the next function call.
2013-03-05 10:43:28 +01:00
Andreas Schneider fdb2fe3ef9 misc: Correctly handle getenv().
The returned string of getenv() has an unknown size. You need to store
the result always in a char array with a certain size to make sure we
don't feed tainted data to the next function call.
2013-03-05 10:24:34 +01:00
Jenkins for ownCloud 21123bb029 [tx-robot] updated from transifex 2013-03-04 00:09:00 +01:00
Jenkins for ownCloud fb8d11650c [tx-robot] updated from transifex 2013-03-03 00:08:15 +01:00
Olivier Goffart d6a6fb0d67 Keep the tmp file and resume from it 2013-03-02 15:02:27 +01:00
Olivier Goffart 53ad4a910f Progress database:
Remember about errors, and don't retry if there is more than 3 errors

Conflicts:
	src/csync_propagate.c
2013-03-02 15:01:40 +01:00
Olivier Goffart 2e73ce5605 owncloud: Properly report the error when the connection drop 2013-03-02 15:01:40 +01:00
Olivier Goffart 0906312c02 Merge remote-tracking branch 'freitag/dav' into davbf 2013-03-02 13:43:59 +01:00
Olivier Goffart ca20703370 httpbf: Fix leak 2013-03-02 13:42:36 +01:00
Jan-Christoph Borchardt 2c250050d5 add http and https icons for connection feedback 2013-03-01 16:09:10 +01:00
Olivier Goffart 259b6050bf Progress database:
Remember about errors, and don't retry if there is more than 3 errors
2013-03-01 12:31:20 +01:00
Andreas Schneider 457086c63e tests: Apply changes to the logging system. 2013-03-01 10:06:06 +01:00
Andreas Schneider 91d92bfa16 log: Add functions to set userdata for the logging callback. 2013-03-01 09:59:55 +01:00
Jenkins for ownCloud e9b3cbf3f7 [tx-robot] updated from transifex 2013-02-28 00:07:02 +01:00
Jenkins for ownCloud d31a6e6179 [tx-robot] updated from transifex 2013-02-27 00:10:59 +01:00
Klaas Freitag 26d8c213b0 Updated Changelog. 2013-02-26 12:08:40 +01:00
Daniel Molkentin bcb9491f6a RC1 -> final v1.2.1 2013-02-26 11:32:32 +01:00
Olivier Goffart 355a807775 Fix removing of folder when the folder is locked on windows.
When the folder is locked on windows, rmdir fails and the folmder is not
removed.  But on the next sync, one should try to remove that folder again, and
not upload it to the server as we did before.

There was two problems:

1- The removed folder is still in the DB, so when csync_update read from
DB, for the remote, it still finds it.  Fix that by storing an empty MD5
for directories that should have been deleted.

2- The folder is likely to be modified since its contents are gone.
Which means next sync will try to sync it back to the server.
Fix that by refreshing the mtime in the tree
2013-02-25 11:32:32 +01:00
Klaas Freitag 9d2c3ebad3 Move config.h out of header files. 2013-02-25 09:54:19 +01:00