Markus Unterwaditzer
a90815f5df
Improve errorhandling for enduser
2015-04-28 17:57:00 +02:00
Markus Unterwaditzer
8c7af4bfc9
Disallow verify=false
2015-04-28 16:56:05 +02:00
Markus Unterwaditzer
e2eb79d656
A lot of module restructuring
...
- Split utils up again
- Optimize performance when importing a specific storage. This is useful
for khal which uses our FilesystemStorage (and doesn't want to import
requests).
2015-04-13 17:33:44 +02:00
Markus Unterwaditzer
575d270e06
Use FingerprintAdapter from req-toolbelt
...
Fix #187
2015-04-11 15:03:07 +02:00
Markus Unterwaditzer
33d9d7d93e
Convert to tuple before passing to requests
...
Requests accesses the cert tuple like this:
if isinstance(cert, basestring):
a = cert
else:
a = cert[0]
b = cert[1]
On Python 3, map doesn't return a list, so (theoretically) this would
fail.
2015-02-26 12:22:10 +01:00
Ben Boeckel
9223899996
ssl: support client certificates
...
Password-protected keys are not supported.
2015-02-25 22:42:44 -05:00
Markus Unterwaditzer
5ce0d97f91
Remove copyright headers
2015-01-21 13:02:30 +01:00
Markus Unterwaditzer
a1bf00837d
Refer to SSL tutorial from config docs
2015-01-10 23:01:34 +01:00
Markus Unterwaditzer
e3bc764515
Deduplicate HTTP storage args
2015-01-10 22:16:38 +01:00
Markus Unterwaditzer
8933da7db4
Add example configuration to storage docs
2014-12-27 16:44:18 +01:00
Markus Unterwaditzer
f22548000b
Fix another typo and add test assertion
2014-10-19 18:36:09 +02:00
Markus Unterwaditzer
c5c5208662
Bugfix: http storage: Actually respect useragent
2014-10-19 18:26:55 +02:00
Markus Unterwaditzer
1db680eb4d
Internal API and doc improvements
2014-09-19 23:53:08 +02:00
Markus Unterwaditzer
c9c2a43f43
Rename tls_fingerprint to verify_fingerprint
2014-08-20 23:39:26 +02:00
Markus Unterwaditzer
5509868958
Revert "Revert "Tls fingerprints""
2014-08-20 18:43:34 +02:00
Markus Unterwaditzer
c86ad88c96
Revert "Tls fingerprints"
2014-08-20 18:38:59 +02:00
Thomas Weißschuh
8c77c57d4c
document tls_fingerprint
2014-08-18 21:08:11 +00:00
Thomas Weißschuh
cd72de610a
add tls_fingerprint support to the http backend
2014-08-18 19:18:30 +00:00
Markus Unterwaditzer
eb1431e5db
Fix all known URL-quoting problems
...
- Fix #49 -- The old fix caused problems with other servers. The new
behavior only decodes ``@`` characters.
- ``@`` is now not used when generating a new href, as some servers seem
to have problems with it (http://sabre.io/dav/character-encoding/ ).
This behavior is configurable via the ``unsafe_href_chars`` parameters
for DAV storages, and is disabled in the testsuite for Radicale and
ownCloud.
- Decoding of hrefs is also done twice for CarddavStorage.list because
of owncloud/contacts#581 . Vdirsyncer has behaved like that before, but
not intentionally.
- Storages now don't share their ``_get_href`` methods anymore.
2014-08-06 16:43:23 +02:00
Markus Unterwaditzer
e4ae04aaa1
Some minor optimizations
...
In the case of singlefile this doesn't help much as the whole
implementation is algorithmically flawed. It's not like i care enough to
make the code even more complicated though.
2014-06-29 19:03:49 +02:00
Markus Unterwaditzer
201c840e88
Import beautification
2014-06-19 00:07:54 +02:00
Markus Unterwaditzer
783d2b56b3
Add some docs for read-only storage support
2014-06-13 19:35:24 +02:00
Markus Unterwaditzer
5028d09f61
Add read_only parameter
...
Just skip any updates when the storage is read-only, write to status
anyway. The change will get reverted in the next sync.
Fix #54
2014-06-12 14:24:00 +02:00
Markus Unterwaditzer
179d9bc393
Move 3k compat stuff to own module
2014-06-11 19:37:39 +02:00
Markus Unterwaditzer
4921d25e18
Add warning to HTTP storage
...
re #54
2014-06-11 19:25:09 +02:00
Markus Unterwaditzer
55ad24db3d
Add storage_name parameter on storages
2014-05-27 18:37:37 +02:00
Markus Unterwaditzer
d46795bdb7
Simplify error handling
2014-05-26 23:02:24 +02:00
Markus Unterwaditzer
c1eb55c241
Copyright and contributor stuff
...
Fix #60
2014-05-22 12:50:43 +02:00
Markus Unterwaditzer
cae0abe8c1
Formatting fixes
2014-05-21 19:01:45 +02:00
Markus Unterwaditzer
811f378ece
More doc updates
2014-05-21 18:43:52 +02:00
Markus Unterwaditzer
404bc6dce0
Fix formatting
2014-05-20 18:16:16 +02:00
Markus Unterwaditzer
c66a074f36
Add GuessAuth to authentication methods
2014-05-18 23:22:55 +02:00
Markus Unterwaditzer
9d5be79cf5
Style fixes
2014-05-18 22:43:10 +02:00
Markus Unterwaditzer
3c1718a64a
Add some docs
2014-05-18 22:25:42 +02:00
Markus Unterwaditzer
7e8fa89985
First version of SingleFileStorage
2014-05-18 21:42:46 +02:00
Markus Unterwaditzer
29405f59ef
Fix a bug where only basic auth would work
2014-05-18 19:43:09 +02:00
Markus Unterwaditzer
bcf6c0612e
Move vobject utils to own module
2014-05-16 13:51:55 +02:00
Markus Unterwaditzer
72d20e26d6
Remove unnecessary enumeration
2014-05-15 16:27:18 +02:00
Markus Unterwaditzer
46f7a0cb05
Flake8
2014-05-15 15:18:25 +02:00
Markus Unterwaditzer
61ef8b3ee3
Use icalendar for parsing
2014-05-15 15:14:06 +02:00
Markus Unterwaditzer
a33e34bc60
Flake8
2014-05-14 15:47:41 +02:00
Markus Unterwaditzer
cb29c2567f
Allow uploading of items without UID
2014-05-14 14:48:50 +02:00
Markus Unterwaditzer
0f3ba10650
Remove UID checking from item
2014-05-14 14:12:59 +02:00
Markus Unterwaditzer
c89242e512
Fix VOBJECT parsing again
...
Apparently stuff like
BEGIN:VEVENT
UID
:hahaha
is a thing.
2014-05-13 20:19:50 +02:00
Markus Unterwaditzer
d3cff80beb
Fix #51
2014-05-13 19:25:16 +02:00
Markus Unterwaditzer
2656ac7a92
Small refactoring for http storage
2014-05-12 20:16:17 +02:00
Markus Unterwaditzer
f565cd43a9
Possible fix for #50
2014-05-12 20:08:38 +02:00
Markus Unterwaditzer
6bf52092a2
Style fixes
2014-05-03 22:39:51 +02:00
Markus Unterwaditzer
d781ac1101
Kill it with fire.
2014-05-03 21:52:05 +02:00
Markus Unterwaditzer
bb579a8879
Fix some imports
2014-05-02 19:30:38 +02:00