Commit graph

681 commits

Author SHA1 Message Date
Klaas Freitag
3025ada5dc owncloud: Use c_parse_uri instead of neon equivalent, minor cleanups. 2012-02-22 18:23:18 +01:00
Klaas Freitag
5c97b6f81d owncloud: Call the neon ssl functions only if SSL is active.
Especially ne_ssl_trust_default_ca seems to crash in case no SSL is
used actually. Added a flag to determine between SSL and no SSL.
Moved a debug message to the right place.
2012-02-22 18:23:18 +01:00
Klaas Freitag
bc1174cb8a owncloud: Add ne_ssl_trust_default_ca to trust default certificates. 2012-02-22 18:23:18 +01:00
Klaas Freitag
784fc60ec1 Fix off-by-one error in url rewrite for SSL. 2012-02-22 18:23:18 +01:00
Klaas Freitag
d7e13276e5 owncloud: Remove the sorting of the dirlist results. 2012-02-22 18:23:18 +01:00
Klaas Freitag
5ba71bbf79 Change module link statement to link against LIBCSYNC.
For windows building, the whole csync lib instead of the C standards
only is needed. Not a big difference, so changed for all platforms.
2012-02-22 18:23:18 +01:00
Klaas Freitag
45ec3c0248 owncloud: Removed unused _stat function. 2012-02-22 18:23:18 +01:00
Klaas Freitag
71e110364e owncloud: added cleanPath and moved _stat_perms. 2012-02-22 18:23:18 +01:00
Klaas Freitag
f56103dc0d owncloud: Removed unused cleanUrl function. 2012-02-22 18:23:18 +01:00
Klaas Freitag
664f1cb17d owncloud: some code cleanups. 2012-02-22 18:23:18 +01:00
Klaas Freitag
e320ccf7f8 owncloud: Renames of the vio functions by appending owncloud.
That avoids name clashes with MinGW. Patch provided by Dominik Schmidt.
2012-02-22 18:23:18 +01:00
Klaas Freitag
425f4b1cec owncloud: Some code fixes and more errno corrections. 2012-02-22 18:23:18 +01:00
Klaas Freitag
545115bfae owncloud: Set proper useragent, fixed some comments and warnings. 2012-02-22 18:23:18 +01:00
Klaas Freitag
936a32295f owncloud: Added SSL support. 2012-02-22 18:23:18 +01:00
Klaas Freitag
19a485944a owncloud: added missing close. 2012-02-22 18:23:18 +01:00
Klaas Freitag
7c3544611b owncloud: Adopted to new owncloud scheme. 2012-02-22 18:23:18 +01:00
Klaas Freitag
07b4fbcf4f owncloud: Module renamed to owncloud. 2012-02-22 18:23:18 +01:00
Klaas Freitag
e4259719ad owncloud: Convert webdav -> http in init function. 2012-02-22 18:23:18 +01:00
Klaas Freitag
931a2823f8 owncloud: Fixes in setting errno correctly in stat. 2012-02-22 18:23:18 +01:00
Klaas Freitag
a25c59be94 owncloud: Use the correct property name for lastmodification time. 2012-02-22 18:23:18 +01:00
Klaas Freitag
56d36ae63e owncloud: Code rearranges and stat call added to stat.
Rearranged function sequence and added stat call to parent dir to
function open if file is written to. That allows a proper ENOENT
return value if directory is not yet existing. Fixed more escaping
glitches.
2012-02-22 18:23:18 +01:00
Klaas Freitag
ac01d3a404 owncloud: More memory management fixes and debug output. 2012-02-22 18:23:18 +01:00
Klaas Freitag
1c0275bfee owncloud: Fixed escaping for url paths, improved error handling.
Fixed escaping for url paths, improved error handling and mem
management
2012-02-22 18:23:17 +01:00
Klaas Freitag
17d0b504fa owncloud: Fixed uri parsing, added escaping, more mem cleanups. 2012-02-22 18:23:17 +01:00
Klaas Freitag
0aed3f57b4 owncloud: Implemented proper auth callback handling. Fixed move request 2012-02-22 18:23:17 +01:00
Klaas Freitag
1c7a286dec owncloud: Renamed local var for consistency. 2012-02-22 18:23:17 +01:00
Klaas Freitag
fd189b3946 owncloud: Code cleanups.
Removed unused variables, fixed some comments, added some memory frees,
removed compile warnings
2012-02-22 18:23:17 +01:00
Klaas Freitag
709d4d560d owncloud: Reworked read and write to operate on local copies.
This creates local temporary files and uses them to transfer the data
(GET and PUT requests).
2012-02-22 18:23:17 +01:00
Klaas Freitag
f4978ad6eb owncloud: Fix rename: use target path only instead of complete uri. 2012-02-22 18:23:17 +01:00
Klaas Freitag
fc808fa80a owncloud: Implementation of utimes. 2012-02-22 18:23:17 +01:00
Klaas Freitag
e0deecfa82 owncloud: Set permissions in stat data block correctly. 2012-02-22 18:23:17 +01:00
Klaas Freitag
5f040f4063 owncloud: Simplify code useing c_basename to get filename from path. 2012-02-22 18:23:17 +01:00
Klaas Freitag
7f26533f8e owncloud: Improve error handling and set errno. 2012-02-22 18:23:17 +01:00
Andreas Schneider
3821e6e472 owncloud: Fix the size field in stat data structure. 2012-02-22 18:23:17 +01:00
Andreas Schneider
7c5e30be99 owncloud: Implement the _stat call correctly. 2012-02-22 18:23:17 +01:00
Andreas Schneider
2f90d5ac6f owncloud: Fix the _creat function. 2012-02-22 18:23:17 +01:00
Andreas Schneider
d5145e1e0a owncloud: Add debug messages for _open. 2012-02-22 18:23:17 +01:00
Andreas Schneider
2b15a7b663 owncloud: Implement write function. 2012-02-22 18:23:17 +01:00
Klaas Freitag
8691ce2c7e module: Start implementing functions using libneon.
Implement opendir, readdir, closedir and stat and various minor fixes.
2012-02-22 18:23:17 +01:00
Andreas Schneider
141a095d45 module: Start with some webdav code based on libneon. 2012-02-22 18:23:17 +01:00
Andreas Schneider
f0f36120ad module: Build the webdav module. 2012-02-22 18:23:17 +01:00
Andreas Schneider
f1647b3338 module: Add a webdav module skeleton. 2012-02-22 18:23:17 +01:00
Andreas Schneider
2b05dc33b7 client: Disable conflict copies by default. 2012-02-22 17:52:19 +01:00
Andreas Schneider
f753a3db0a util: Rename temp file of the unix extension test. 2012-02-22 16:18:07 +01:00
Andreas Schneider
9a12d219d3 vio: Add support for SSL scheme names.
If the scheme is https try to load the module without the s at the end
if there is no module.
2012-02-13 14:33:23 +01:00
Andreas Schneider
f4f22373ed Remove TODO. 2012-02-04 14:27:48 +01:00
Andreas Schneider
63565b0f26 time: Fix clock_gettime(). 2012-02-04 14:24:22 +01:00
Andreas Schneider
aa6bef0d77 config: Add missing config values. 2012-02-04 14:11:37 +01:00
Andreas Schneider
ca52cb0545 Update ChangeLog. 2012-02-04 13:57:55 +01:00
Andreas Schneider
c2bad8004d smb: Require newer samba version. 2012-02-04 13:47:00 +01:00