Vincent Petry
0b5fb1bfc7
Fix to make it compatible with Sabre 2.1
...
Also fixed unit tests so they run but some still fail
- Added IUserSession mock
- Replaced OCP::getUser() with IUserSession usage to make the mock work
- Added base class for test cases
2015-03-17 12:53:05 +01:00
Thomas Müller
ea6629df63
update SabreDAV to 1.8.10
2014-05-26 22:09:12 +02:00
Thomas Tanghus
08b5bf4514
Line break for readability
2014-04-10 20:29:34 +02:00
Thomas Tanghus
ff395f36a3
Misc. code cleanups
2014-03-23 19:02:16 +01:00
Thomas Tanghus
d7d8d3e998
Scrutinizer fixes
2014-03-17 23:48:16 +01:00
Thomas Tanghus
1724c872ef
Don't force UTF-8 convertion on a raw vCard.
...
- See http://lists.kde.org/?l=kde-pim&m=139499803011869&w=2
2014-03-17 23:20:21 +01:00
Thomas Tanghus
b672cd7ea7
Doc for carddav backend class
2014-02-10 16:55:51 +01:00
Thomas Tanghus
7ada585112
Don't thrown exception in CardDAV backend if card not found
2014-02-03 17:36:02 +01:00
Thomas Tanghus
f347f3725a
name -> displayname
2014-01-27 17:51:13 +01:00
Thomas Tanghus
a5d3697b97
Don't reset array. Refs #361
2014-01-27 17:31:05 +01:00
jbtbnl
9530b8d14d
Partial fix for #379 .
2014-01-27 13:47:00 +01:00
Thomas Tanghus
c3d30be656
CardDAV: Etag wasn't returned in getCard()
2014-01-26 23:00:32 +01:00
Thomas Tanghus
9abdeb75ce
2014
2014-01-26 00:40:22 +01:00
Thomas Tanghus
e22d39aa10
Try to fix DAV adr.book creation. Refs. #361
2014-01-23 10:23:30 +01:00
Thomas Tanghus
b81a475b78
Do more error checking. Refs. #367
2014-01-22 22:22:58 +01:00
Thomas Tanghus
4c2fe05bd4
Fix CardDAV updating/deleting
2013-10-03 18:09:19 +02:00
Thomas Tanghus
ec06ba01e4
Port hack from 5.0.12 to fix wrongly escaped parameters. #146
...
Add a test for it and remove validator plugin as it's now done
in the CardDAV plugin to avoid parsing unnecessarily.
2013-10-01 19:15:22 +02:00
Thomas Tanghus
bbcfb14363
Fix namespaces in CardDAV ValidatorPlugin
2013-10-01 19:15:21 +02:00
Thomas Tanghus
e7f17bdcb6
Add CardDAV ValidatorPlugin
2013-10-01 19:15:21 +02:00
Thomas Tanghus
3249720f40
Fix namespaces in CardDAV ValidatorPlugin
2013-09-16 21:30:51 +02:00
Thomas Tanghus
3aeb94fc5d
Add CardDAV ValidatorPlugin
2013-09-16 21:30:51 +02:00
Thomas Tanghus
3ee20ca1b6
Urlencode/decode uri in CardDAV backend. Fix #188
...
Google uses a URL as UID, and we use UID for URI so got a 404
on Google imports because the card URL was truncated.
2013-09-06 18:52:42 +02:00
Thomas Tanghus
7031bb57c6
Fix typo for #186
2013-09-04 20:25:23 +02:00
Thomas Tanghus
0d628fb766
Backends were instantiated before user was logged in and broke CardDAV
...
fix #186
2013-09-04 20:10:43 +02:00
Thomas Tanghus
4a67ad28ca
Improved unit tests and adjust backend method signatures.
2013-08-26 20:10:29 +02:00
Nicolas Mora
fcbb555ab2
personalsettings draft
2013-08-03 22:55:26 -04:00
Nicolas Mora
07b4edcf07
sorry, typo fixed
2013-08-03 22:46:27 -04:00
Nicolas Mora
fc09c31def
use new backend prefs
2013-08-03 22:40:52 -04:00
Thomas Tanghus
78c6ece5ed
CardDAV: Set 'supported-address-data' property.
2013-05-31 21:32:45 +02:00
Thomas Tanghus
7d9194e066
CardDAV: Wrong arguments used to deleteContact()
2013-05-09 15:44:21 +02:00
Thomas Tanghus
a308a3ed21
Contacts: Use a backend name/id combo for CardDAV
2013-04-08 01:27:35 +02:00
Thomas Tanghus
221f1bbcdf
Contacts: Add docstring
2013-04-07 22:28:14 +02:00
Thomas Tanghus
2e23ba5bb1
Contacts: Use the return value from the address book backend
2013-04-07 22:27:43 +02:00
Thomas Tanghus
f160332dcb
Better variable names
2013-04-07 22:04:17 +02:00
Thomas Tanghus
fb385150dc
Contacts: Fix namespace
2013-04-07 22:03:42 +02:00
Thomas Tanghus
f0e6472d73
Contacts: Port fixes from master/stable5
2013-04-07 16:47:28 +02:00
Thomas Tanghus
3960793209
Contacts: CardDAV fixes
2013-03-30 04:22:30 +01:00
Thomas Tanghus
7a69ed85d3
Contact: port getACL
2013-03-17 10:48:12 +01:00
Thomas Tanghus
2d3769f273
Contacts: CardDAV getCard() returns false if not found.
2013-03-13 19:48:25 +01:00
Thomas Tanghus
006bf317f4
Contacts: var 'url' => 'uri'.
2013-03-13 05:56:31 +01:00
Thomas Tanghus
1b1a2ef7d4
Contacts: New backends WiP
2013-03-12 09:15:40 +01:00
Thomas Tanghus
29dc6cf0b0
Contacts: Convinience method for getting backend in carddav.
2013-03-11 16:22:27 +01:00
Thomas Tanghus
293c0b260d
Contacts: Use new backends for CardDAV.
2013-03-10 12:50:37 +01:00
Thomas Tanghus
efad313280
Contacts: Typo in CardDAV plugin.
2013-03-10 12:36:08 +01:00
Thomas Tanghus
99e8f5b5f6
Contacts: Properly namespace VObject subclasses.
2013-03-05 11:36:35 +01:00
Thomas Tanghus
ac19b7f0f3
Contacts: Namespace CardDAV backend.
2013-03-05 11:08:04 +01:00