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

66 Commits

Author SHA1 Message Date
Andreas Schneider
5e0cd2276c owncloud: Fix #ifdef mess. 2013-07-30 09:50:14 +02:00
Klaas Freitag
6ef2b25bff owncloud: Fix compile warnings if NDEBUG is not defined.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-30 09:23:22 +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
Andreas Schneider
d454a261ce owncloud: Fix a build warning. 2013-07-25 08:39:46 +02:00
Klaas Freitag
03685bd15b owncloud: Fix compile warnings if NDEBUG is not defined.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-24 16:34:51 +02:00
Klaas Freitag
9c09c1f1cb owncloud: Removed malicious logging.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-24 16:33:19 +02:00
Klaas Freitag
4f45381920 owncloud: Also pass user from commandline.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:39:14 +02:00
Klaas Freitag
9d1e020970 owncloud: Use correct namespace for fixing modification times.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:32:22 +02:00
Klaas Freitag
35ebf70ad1 owncloud: Clear the stat cache on close to force a new stat call.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-23 07:31:40 +02:00
Klaas Freitag
40d1498fc3 owncloud: Fix possible NULL pointer dereferences.
CID: #996808

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:46:54 +02:00
Klaas Freitag
f552637ffd owncloud: Fix a possible null pointer dereference.
CID: #996827

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-22 15:38:55 +02:00
Klaas Freitag
9046df8985 CID 1032811: Fix resource leaks on error.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-12 12:09:49 +02:00
Klaas Freitag
be58f3a64e CID 1032816: Leave the ownership of the buffer to the calling function.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-12 12:06:30 +02:00
Klaas Freitag
fb48813f15 owncloud: Use the new get/put methods of file up- and download. 2013-07-04 11:30:54 +02:00
Klaas Freitag
ec6f40c84e vio: Add new function csync_vio_put and csync_vio_put.
With that, modules can implement get and put functions to up- and
download files from or to a given file descriptor. That is just an
alternative way of the usual read/write way that is still there
of course.

If a module wants to implement get and put, it has to set its
capabilities to true.
2013-07-04 11:30:48 +02:00
Klaas Freitag
161e2fbadc Avoid build failure if NDEBUG is unset. 2013-06-07 16:19:22 +02:00
Klaas Freitag
599e435443 Use the new logging framework for ownCloud module. 2013-05-06 16:58:14 +02:00
Klaas Freitag
36ec7aa5b6 Added set_property method for the ownCloud module. 2013-05-06 16:56:45 +02:00
Klaas Freitag
25948ef708 Add the file level progress callback. 2013-05-06 16:52:08 +02:00
Klaas Freitag
3de8a78e1c Added error_string handling, improved error handling.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-04-05 17:40:22 +02: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
Andreas Schneider
2d6514b509 owncloud: Fix some problems in the owncloud module.
Thanks to Patrick Buergi.
2013-02-19 08:36:46 +01:00
Klaas Freitag
c7e60b5231 Renamed filename encoding functions.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-07 12:59:31 +01:00
Klaas Freitag
1e61a03f32 Fix const warnings after revert of wrong SAFE_FREE patch.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 15:11:41 +01:00
Klaas Freitag
d2e5fc66fa ownCloud: Added missing brackets.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:39:58 +01:00
Klaas Freitag
1d703ee6c4 Rename _TCHAR type to mbchar_t.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:38:58 +01:00
Klaas Freitag
ce080d5ee1 Fix definition of tmp file name.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:38:25 +01:00
Klaas Freitag
b152b39e67 ownCloud: Use wide char aware file system functions.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:36:29 +01:00
Klaas Freitag
9120098811 Use wide character abstraction functions for file operations.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-02-06 14:27:53 +01:00
Andreas Schneider
0a9cca8441 modules: Fix csync_owncloud module license header. 2012-12-04 13:50:14 +01:00
Andreas Schneider
8212553cbe owncloud: Fix some build warnings. 2012-04-17 11:23:20 +02:00
Klaas Freitag
010305eab2 ownCloud: catch some compiler warnings when very pedantic.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:16:09 +02:00
Klaas Freitag
f40ab9c6e1 ownCloud: Debug output only if NDEBUG is undefined.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:15:46 +02:00
Klaas Freitag
b8100868a3 ownCloud: added memory buffered put requests with fallback on file.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:13:18 +02:00
Klaas Freitag
4acb4eef63 ownCloud: Added a flag for the existance of the current directory.
That saves a lot of stat calls because the for each PUT a stat has
to be done if the parent dir exists.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:50:10 +02:00
Klaas Freitag
99c0405a26 ownCloud: Disabled useless debugging output.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:59 +02:00
Klaas Freitag
45ad55d894 ownCloud: Added http compression support for GET requests.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:28 +02:00
Klaas Freitag
53263a2685 owncloud: set _fmode variable to set file ops to binary mode.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:40:21 +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
e264ac347d owncloud: use decoded file name to search in stat result list. 2012-03-15 14:11:14 +01:00
Klaas Freitag
5ad5d176f9 ownCloud: Use win32 API to get the standard user temp path.
Conflicts:

	modules/csync_owncloud.c
2012-03-15 14:11:14 +01:00
Klaas Freitag
14791534ca owncloud: cleaned some comment signs from C++ to C type. 2012-03-15 14:11:14 +01:00
Klaas Freitag
bc138efa4e owncloud: set _fmode variable to set file ops to binary mode. 2012-03-07 16:18:08 +01:00
Klaas Freitag
87d3a56221 owncloud: More robust programming, some additional logs. 2012-03-07 16:18:08 +01:00
Klaas Freitag
bb1ccadebc ownCloud: Fix translation of mkcol 405 errcode to ernno. 2012-03-07 16:18:08 +01:00
Klaas Freitag
9b8e75e4fc ownCloud: append a trailing slash in mkdir as neon requests. 2012-03-07 16:18:08 +01:00
Klaas Freitag
a454156dc2 ownCloud: remove wired function to generate errno from neon error.
The errno is now either generated from the session values of neon
or individually in each function.
2012-03-07 16:18:08 +01:00
Klaas Freitag
edb073a290 ownCloud: removed the test on webdav.php. It is not needed.
The server handles it correctly itself to return the correct
type for the toplevel dir webdav.php
2012-03-07 16:18:08 +01:00
Klaas Freitag
9f67accf14 owncloud: Fix stat function for WebDAV root.
If a propcall happens to webdav.php the webdav server returns the
result list for all entries. In stat only the webdav.php entry is
interesting and must be searched within the result list.
2012-03-07 16:18:08 +01:00
Klaas Freitag
ded226911e owncloud: Removed unused file attribute contenttype from PROPFIND. 2012-02-22 18:23:18 +01:00