Markus Unterwaditzer
2bbc92534d
Some sync refactoring
...
- Use only one dict for storing all temporary state of a storage
- Rename functions to be internal
2014-08-30 16:23:27 +02:00
Markus Unterwaditzer
69505f4c61
Fix link again
2014-08-27 17:46:04 +02:00
Markus Unterwaditzer
7e606f6123
Update link
2014-08-27 17:42:13 +02:00
Markus Unterwaditzer
b3e6f22518
Version 0.2.5
2014-08-27 14:06:55 +02:00
Markus Unterwaditzer
96b1c08804
doubleclick: sanity check re multiple contexts
2014-08-26 00:43:44 +02:00
Markus Unterwaditzer
c78ac67ba9
Merge pull request #107 from untitaker/reuse_passwords
...
Reuse passwords
2014-08-24 19:55:44 +02:00
Markus Unterwaditzer
f6088fd036
Give up on proper signal handling
2014-08-23 10:37:42 +02:00
Markus Unterwaditzer
ed6d75f1db
Add locks for click.confirm
...
I assumed click.confirm uses click.prompt, but it doesn't (version 3.1)
2014-08-22 20:06:37 +02:00
Markus Unterwaditzer
c7e6acc0ba
Rewrite get_password
...
Only fetching by hostname, no bruteforce algorithm for system keyring
2014-08-22 20:06:37 +02:00
Markus Unterwaditzer
25843580e0
Switch to threading
2014-08-22 20:06:37 +02:00
Markus Unterwaditzer
f5a701a920
Create global context
2014-08-22 13:06:22 +02:00
Markus Unterwaditzer
9816e0140d
Require click>=3.1
...
See https://github.com/mitsuhiko/click/issues/200
2014-08-21 17:38:52 +02:00
Markus Unterwaditzer
d30437b8fe
Merge pull request #104 from untitaker/revert-102-tls_fingerprints
...
Revert "Tls fingerprints"
2014-08-20 18:39:11 +02:00
Markus Unterwaditzer
c86ad88c96
Revert "Tls fingerprints"
2014-08-20 18:38:59 +02:00
Markus Unterwaditzer
ec708ea273
Fix typo
2014-08-19 23:04:33 +02:00
Markus Unterwaditzer
eb0833e180
Make CI scripts more readable.
2014-08-19 22:56:40 +02:00
Markus Unterwaditzer
d0a2331d86
Don't produce overlapping output or prompts.
...
See #96 and #101
2014-08-19 15:54:25 +02:00
Markus Unterwaditzer
73b8381ab8
Merge pull request #102 from t-8ch/tls_fingerprints
...
Tls fingerprints
Fix #100
2014-08-18 23:51:23 +02:00
Thomas Weißschuh
8c77c57d4c
document tls_fingerprint
2014-08-18 21:08:11 +00:00
Thomas Weißschuh
0de3102c2c
add tls_fingerprint to storage.dav.DavStorage
2014-08-18 21:02:46 +00:00
Thomas Weißschuh
c9cfd0f1ed
s/CONTRIBUTORS.rst/AUTHORS.rst/
2014-08-18 19:21:00 +00:00
Thomas Weißschuh
9d034b7ed6
add myself to AUTHORS.rst
2014-08-18 19:20:25 +00:00
Thomas Weißschuh
cd72de610a
add tls_fingerprint support to the http backend
2014-08-18 19:18:30 +00:00
Thomas Weißschuh
af06e24f45
enable tls_fingerprint for the dav backend
2014-08-18 19:18:30 +00:00
Thomas Weißschuh
56d566e55a
add a tls_prefix parameter to utils.request
...
This assumes that a backend only ever connects to a single domain, because we
set the fingerprint on the whole session
2014-08-18 19:17:55 +00:00
Thomas Weißschuh
d5e8be4979
[tests] directly monkeypatch requests Session
...
need for later changes
2014-08-18 19:11:07 +00:00
Markus Unterwaditzer
a321038a1d
Don't try to show pretty error messages for ^C
2014-08-18 18:39:19 +02:00
Markus Unterwaditzer
bb4939bfdb
Validate general section.
...
Fix #100
2014-08-18 18:33:58 +02:00
Markus Unterwaditzer
ea756175d3
Raise proper error messages when using discovery
...
Init arg introspection didn't properly occur when the user used
collection discovery to create the storages. Instead the raw exception
from the inside of s.discover bubbled up.
2014-08-18 17:13:15 +02:00
Markus Unterwaditzer
226006f985
Actually check for dav_headers
2014-08-18 17:12:45 +02:00
Markus Unterwaditzer
cef25b58da
Version 0.2.4
2014-08-18 12:45:50 +02:00
Markus Unterwaditzer
4af6da43ef
Include metadata and doc files in distribution
...
Fix #98
Fix #97
2014-08-18 12:35:32 +02:00
Markus Unterwaditzer
8ea3b82c50
Add assertion for CLI output
2014-08-18 01:03:34 +02:00
Markus Unterwaditzer
1fff7efff5
Use name from config for representing storages
2014-08-18 00:53:05 +02:00
Markus Unterwaditzer
2fd4aaead3
Add tests for prepare_auth
2014-08-15 18:29:11 +02:00
Markus Unterwaditzer
8414d654d3
Rename CONTRIBUTORS to AUTHORS
...
Easy to confuse when skimming through the tree.
But the real reason (for me) is that the tab-completion is not very
useful when two files start with the same prefix.
2014-08-14 19:56:35 +02:00
Markus Unterwaditzer
d9c2b7ba35
Don't emit collections twice
2014-08-13 17:19:25 +02:00
Markus Unterwaditzer
a741b5d639
I hope this helps more servers than just Radicale
2014-08-13 13:44:52 +02:00
Markus Unterwaditzer
5051e8949a
Code deduplication
2014-08-13 00:46:15 +02:00
Markus Unterwaditzer
9f26c6450c
Version 0.2.3
2014-08-11 16:42:31 +02:00
Markus Unterwaditzer
39472b9db4
Update CONTRIBUTING.rst
2014-08-07 18:37:32 +02:00
Markus Unterwaditzer
2e2082fb55
Make _create_bogus_item a fixture.
...
Also rename the "storage" fixture to "get_storage".
2014-08-06 22:03:30 +02:00
Markus Unterwaditzer
6841b25264
Add --version flag, fix #92
2014-08-06 17:47:58 +02:00
Markus Unterwaditzer
05d2beb3dc
Merge pull request #93 from untitaker/href_quoting
...
Fix all known URL-quoting related problems
2014-08-06 17:25:37 +02: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
73a540261c
Version 0.2.2
2014-08-04 18:49:18 +02:00
Markus Unterwaditzer
59dd78dfd9
Don't check for href prefix anymore
...
This doesn't really serve any security purposes at all.
Fix #91
Fix #87
2014-08-04 18:34:11 +02:00
Markus Unterwaditzer
667c10ef00
Fix autodiscovery for radicale
...
See https://github.com/Kozea/Radicale/pull/95#issuecomment-50314561
2014-08-04 11:48:27 +02:00
Markus Unterwaditzer
574869f619
ownCloud 7 now does If-Match headers right
2014-07-23 14:21:10 +02:00
Markus Unterwaditzer
62a817fef3
Hardcode mkdir mode
2014-07-23 12:25:06 +02:00