Klaas Freitag
8d14286bd3
Merge dav and transmit the mtime with the PUT request
2013-09-25 14:23:04 +02:00
Klaas Freitag
373746c296
Fix crash in case of NE_TIMEOUT happened.
...
Fixes https://github.com/owncloud/mirall/issues/1010
In case of NE_TIMEOUT the request is repeated for three times. In this
case, the hooks weren't correctly unhooked which caused a crash.
2013-09-18 12:58:17 +02:00
Klaas Freitag
525278450a
Fix crash in case of NE_TIMEOUT happened.
...
Fixes https://github.com/owncloud/mirall/issues/1010
In case of NE_TIMEOUT the request is repeated for three times. In this
case, the hooks weren't correctly unhooked which caused a crash.
2013-09-18 12:57:15 +02:00
Klaas Freitag
de074804eb
Detect empty etags coming from server side.
2013-09-16 16:15:15 +02:00
Olivier Goffart
79c1514a2b
Chenge the headers to LGPL for the file that were added in the dav branch
...
The LGPL changes was not merged for the new files
2013-08-21 13:23:52 +02:00
Olivier Goffart
56d5359f5b
Fix compilation after merge
...
Still untetested
2013-08-18 18:55:32 +02:00
Krzesimir Nowak
3979d002bd
Add an owncloud-specific redirect callback.
2013-08-05 19:21:38 +02:00
Olivier Goffart
6766f41bf5
Add a hook in httpbf to do the logging
2013-08-01 13:13:05 +02:00
Klaas Freitag
38403f3343
Fix compile warning.
2013-08-01 09:59:48 +02:00
Klaas Freitag
0524613a57
Removed end up- and download notification, done in propagate.
2013-08-01 09:30:13 +02:00
Klaas Freitag
344ea661c9
Add more logging to chunking routines.
2013-07-31 16:26:28 +02:00
Daniel Molkentin
d9b34121ae
Fix OS X build with -Werror
2013-07-31 14:50:44 +02:00
Daniel Molkentin
8d99364d63
Eliminate all warnings
...
- use proper casts
- use aproproate types
- offer to build with -Werror
- make printf attribute hinting gnu format style
- remove unused helper methods
- begin to use inttyes.h macros where suitable
- move var declarations to the beginning of the method
- properly use _FILE_OFFSET_BITS
- silence variables unused depending on the define
2013-07-31 13:12:10 +02:00
Olivier Goffart
4f5bfbdb78
Use int64_t instead of off_t
...
off_t is 64 or 32 bit depending on the architecture and the defines for
large file support. It is better to always use int64_t which is always
64 bits
2013-07-30 16:33:19 +02:00
Klaas Freitag
2fcfe883eb
Proper error reporting for HBF PUT fails.
2013-07-30 08:56:53 +02:00
Klaas Freitag
d53a3f2f98
Only log when really something was transmitted.
2013-07-29 15:27:22 +02:00
Klaas Freitag
1e1df5d94d
ownCloud: Add a log entry when chunk is uploaded.
2013-07-29 14:27:01 +02:00
Klaas Freitag
2cc5bbe187
ownCloud: Some fixes to promote the correct progress.
2013-07-26 13:43:02 +02:00
Klaas Freitag
0a15f0e7ad
New progress API: Consolidate to one progress Callback having all info.
...
Before there were two callbacks, one for the individual file and one for
for the overall progress. Now its more easy and clean.
2013-07-25 15:36:46 +02:00
Olivier Goffart
3d1994747a
Also allow to specify a % of bandwidth for the limit
2013-07-24 18:17:59 +02:00
Olivier Goffart
6109b22aa6
Implement bandwidth limitation
2013-07-24 18:17:54 +02:00
Olivier Goffart
09e30509d1
Propertly report the error from the server while uploading
2013-07-23 17:40:44 +02:00
Olivier Goffart
75682f981d
Add a threshold to httpbf before splitting the files
2013-07-23 17:31:31 +02:00
Klaas Freitag
45cdcb7502
Add a progress callback for overall and individual file up and download
...
progress.
2013-07-19 12:26:48 +02:00
Markus Goetz
1263ca990d
Fix download resuming on OS X
2013-07-16 13:33:55 +02:00
Klaas Freitag
ebc98f07c3
Cleaned code a bit, covertiy found.
2013-07-12 11:41:51 +02:00
Olivier Goffart
c20a2bf16b
Add a way to configure the block size for httpbf
2013-07-10 12:15:11 +02:00
Klaas Freitag
6898d96a5c
Do not store userdata but retrieve dynamically through csync API.
2013-07-05 18:43:29 +02:00
Klaas Freitag
7ef620f58d
Merge remote-tracking branch 'ogoffart/dav' into dav
2013-07-03 16:36:28 +02:00
Klaas Freitag
44a52ad951
Removed useless logging.
2013-07-03 16:32:33 +02:00
Olivier Goffart
270e06a99b
Fix a possible leak
2013-07-02 17:42:47 +02:00
Daniel Molkentin
c53ad974ee
Make socks proxies work.
2013-05-29 14:17:30 +02:00
Daniel Molkentin
4d663f6cfa
More cheating on proxies: Add OS to User-Agent
2013-05-28 19:35:54 +02:00
Daniel Molkentin
95c532c46a
Set User-Agent to contain Mozilla/5.0 string
...
A blatant lie for a blatant abuse of Firewall filters.
2013-05-28 15:46:03 +02:00
Klaas Freitag
61335b6a70
Do not set the error_code from errno
2013-05-17 12:25:17 +02:00
Klaas Freitag
4f47aba1e2
Allow user aborting in chunked uploads
2013-05-16 17:37:30 +02:00
Olivier Goffart
3e795a84c2
Fix memory leak.
...
csync_destroy do not call vio_commit. Maybe it should?
2013-05-14 15:30:56 +02:00
Klaas Freitag
1a648a612e
Merge remote-tracking branch 'ogoffart/rename_folders_merged' into dav
2013-05-13 16:28:31 +02:00
Klaas Freitag
b7c03e92da
Temporary disable cached propfind.
2013-05-10 09:55:44 +02:00
Markus Goetz
952290890c
Merge remote-tracking branch 'origin/dav' into dav_recursive_update_squashed
...
Conflicts:
modules/csync_owncloud.c
2013-05-08 14:31:24 +02:00
Markus Goetz
9b4eb40216
Remove timedelta stuff
2013-05-08 14:27:59 +02:00
Markus Goetz
639f1127b7
Move stuff to _util.c
2013-05-08 13:59:07 +02:00
Markus Goetz
9c2f223093
Add module property to disable recursive PROPFIND
2013-05-08 13:26:59 +02:00
Markus Goetz
52e2775292
Make PROPFIND cache external unit
...
and introduce a csync_owncloud.h
2013-05-08 13:12:01 +02:00
Markus Goetz
980c176073
Recursive PROPFIND cache for ownCloud module
2013-05-08 11:58:17 +02:00
Olivier Goffart
3c87cd71d7
Merge branch 'rename_folders' into dav
...
Conflicts:
modules/csync_owncloud.c
src/csync.c
src/csync.h
src/csync_propagate.c
src/csync_propagate.h
src/csync_statedb.c
src/csync_statedb.h
src/csync_util.c
src/std/c_path.h
2013-05-07 15:24:12 +02:00
Olivier Goffart
247f4d948c
don't ajust the time anymore with the difference from client to server
2013-05-07 11:45:02 +02:00
Olivier Goffart
546fdeed6c
Add a way for mirall to access the dav session
2013-05-03 19:23:25 +02:00
Klaas Freitag
ab17e2aa8b
Revert "Don't include csync_version.h from csync.h"
...
This reverts commit 5cda5d523c
.
2013-04-26 10:45:14 +02:00
Klaas Freitag
5cda5d523c
Don't include csync_version.h from csync.h
2013-04-26 10:37:45 +02:00