Commit graph

1313 commits

Author SHA1 Message Date
Markus Goetz
69a979c16b ownCloud: Allow HTTP timeout to be settable 2012-12-05 18:15:56 +01:00
Klaas Freitag
5c44eb563f Removed wrong csync_vio_file_stat_destroy calls. 2012-12-05 15:58:14 +01:00
Olivier Goffart
f946dd4287 Owncloud: cache the last PROPFIND call.
So we do not need to have two calls (stat+opendir)
2012-12-05 14:49:50 +01:00
Olivier Goffart
c4dc285ff0 Move the errno codes to another header
We can't include csync_private.h from the modules
2012-12-05 14:43:37 +01:00
Olivier Goffart
0169b034f3 Use the full URL in the callback instead of just the path 2012-12-05 14:43:36 +01:00
Klaas Freitag
41c4e05b93 Fix error reporting from sendfile method. 2012-12-05 14:19:22 +01:00
Klaas Freitag
fb3662127c Better error checking on get_file_id. 2012-12-05 12:55:05 +01:00
Klaas Freitag
d3378a7991 Some cleanups to avoid compile warnings. 2012-12-05 12:54:50 +01:00
Klaas Freitag
79d5e19a65 Remove left over WIP code. 2012-12-05 12:38:57 +01:00
Klaas Freitag
823706caac Use cross platform stat type and free mem of lastDir. 2012-12-05 12:38:29 +01:00
Klaas Freitag
aaa8fe6e34 Commented loggings as currently logging is broken. 2012-12-04 18:41:20 +01:00
Klaas Freitag
b428b46ff8 Fix return code from sendfile. 2012-12-04 18:13:28 +01:00
Klaas Freitag
3e8c5e92cc Removed leftover variables. 2012-12-04 18:12:42 +01:00
Olivier Goffart
f18f58ace0 Add progress callback 2012-12-04 17:26:23 +01:00
Olivier Goffart
f2f1672ba6 Owncloud: don't use userdata for proxy parameter
Use set_module_propery instead
2012-12-04 17:22:11 +01:00
Olivier Goffart
36715f54ef owncloud: get session cookie from a module property 2012-12-04 17:22:11 +01:00
Olivier Goffart
0f35b92d75 Add an API to be able to pass information to the vio module 2012-12-04 17:22:11 +01:00
Klaas Freitag
ca30b99cea More accurate setting of errno with custom values. 2012-12-04 17:03:00 +01:00
Klaas Freitag
d2730f6133 Clean read and write functions in owncloud_module. 2012-12-04 17:02:39 +01:00
Klaas Freitag
9e3dd6e5c8 Simplify up- and download through sendfile method in owncloud module. 2012-12-04 15:04:22 +01:00
Klaas Freitag
0d4c824fbf Add sendfile method including a module capability. 2012-12-04 15:03:49 +01:00
Klaas Freitag
13f51c85ab Make definition of fhandle_t more visible. 2012-12-04 15:02:13 +01:00
Klaas Freitag
13354b6e8b Removed old log callback code. 2012-12-03 19:41:44 +01:00
Klaas Freitag
924a19b8ea Push variable declaration where its needed. 2012-12-03 19:40:06 +01:00
Klaas Freitag
41adbbdea7 Remove LOG_TO_CALLBACK cmake option. 2012-12-03 19:39:39 +01:00
Olivier Goffart
b8fd96fc62 Merge remote-tracking branch 'ogoffart/dav' into dav 2012-12-03 18:23:25 +01:00
Olivier Goffart
cab1324d18 Remove references to ocsync_log.conf 2012-12-03 17:56:47 +01:00
Olivier Goffart
04ebe966d2 Fix compilation after merge.
Log in owncloud module is temporarly disabled because it does not
compile as upstream added the context in the log.
2012-12-03 17:45:40 +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
9c1893fa6d Fix for #123: Move declaration to top of function to escape goto. 2012-11-29 13:38:28 +01:00
Daniel Molkentin
9c853594e8 owncloud: Clean up resources allocated by neon
Fixes crashes that result from owncloud running out of FDs,
like oc-920.
2012-11-28 12:57:22 +01:00
Klaas Freitag
01ba8d4a9b Wide char fixes for exclude, lock and statedb. 2012-11-27 15:39:06 +01:00
Klaas Freitag
f90550775c Fixed tests to also run on debian host 2012-11-23 12:51:01 +01:00
Klaas Freitag
3fcc56ebbc Add removal of a test dir 2012-11-23 11:43:39 +01:00
Klaas Freitag
1147e77d67 Fix delete in csync_config 2012-11-23 11:26:24 +01:00
Markus Goetz
d74c81feee Owncloud: Add support for sending a cookie 2012-11-22 21:54:34 +01:00
Daniel Molkentin
ea14dc1a75 Bump version for cpack as well 2012-11-22 16:55:41 +01:00
Klaas Freitag
9eda137c77 Commented too verbose logging. 2012-11-22 15:25:27 +01:00
Klaas Freitag
a180b1c400 Changelog for 0.60.2 2012-11-21 16:12:37 +01:00
Klaas Freitag
24e137ca19 Detect loop in mkdir function to prevent looping in readonly Shared. 2012-11-21 14:53:54 +01:00
Klaas Freitag
7bce6696d4 Discover DST time error and correct. 2012-11-20 17:33:25 +01:00
Klaas Freitag
6e29ec7a7c :x 2012-11-20 17:26:05 +01:00
Klaas Freitag
eae3b863d0 Log the http result code of the propfind 2012-11-19 13:11:26 +02:00
Klaas Freitag
917eeea48c ownCloud: Added a stricter check on HTTP PROPFINDs.
Now check on both the result code and the content type of the
reply. If the content-type is not applicaton/xml do not accept the
answer even if the status code is good.
This fixes https://github.com/owncloud/mirall/issues/92
2012-11-17 21:15:59 +01:00
Klaas Freitag
3265e2c6a2 Handle PUT fail correctly. 2012-11-16 12:31:09 +01:00
Klaas Freitag
ca7fceaa2c Remove left over declaration. 2012-11-16 12:30:29 +01:00
Daniel Molkentin
d9b14670ab owncloud: remove unused member from transfer context 2012-11-15 12:48:02 +01:00
Klaas Freitag
a577bf8faa Add a version table to csyncs database with the current version no. 2012-11-14 17:24:13 +01:00
Klaas Freitag
094554366b Fix casting to signed data types. 2012-11-14 15:10:44 +01:00
Klaas Freitag
385b48da5c Commented database copy. Rather let it recreate. 2012-11-14 15:09:16 +01:00