Commit graph

616 commits

Author SHA1 Message Date
Markus Unterwaditzer
14f7da4e04 Change command error to warning
Also fix some smaller stilistic things
2014-09-13 14:38:51 +02:00
Markus Unterwaditzer
1699324304 Add docs for passwordeval function 2014-09-13 14:34:16 +02:00
Markus Unterwaditzer
3ad598c7b4 Merge pull request #117 from vimbaer/passwordeval
New general config option: passwordeval
2014-09-13 14:29:54 +02:00
vimbaer
23a4a96cb9 Fixed style. 2014-09-12 00:02:11 +02:00
vimbaer
64e9ef7dc3 Renamed evalcmd -> command, use py.test's tmpdir, allow arguments in passwordeval option. 2014-09-11 23:33:44 +02:00
vimbaer
4e895b8635 Added passwordeval as an option for the general config section. If no password is provided the command provided as passwordeval will be called with username and hostname as arguments. 2014-09-10 22:03:05 +02:00
Markus Unterwaditzer
9dbb359569 Fix failing testcase 2014-09-10 16:39:25 +02:00
Markus Unterwaditzer
4f05962cb0 Merge remote-tracking branch 'origin/keyring_bugfix'
Fix #116
2014-09-09 17:49:06 +02:00
Markus Unterwaditzer
3bb6662e8e Add testcase 2014-09-09 17:48:36 +02:00
Christian Geier
753e730906 bugfix: save password with host in keyring
(the same way we try to recover it)
2014-09-09 14:10:37 +02:00
Markus Unterwaditzer
f9f1e37655 Properly mark a wart in code. 2014-09-06 01:51:36 +02:00
Markus Unterwaditzer
9e12e29db6 Properly deal with invalid filename characters
Fix #110
2014-09-03 20:35:31 +02:00
Markus Unterwaditzer
3d39526531 Allow file arg on netrc mock
On my machine, requests is trying to access it for some reason
2014-09-03 19:13:20 +02:00
Markus Unterwaditzer
add9f640b4 CalDAV: Explicitly exclude items
Excluding items without mimetype "text/calendar" becomes necessary when
listing items, because iCloud would re-send us the URL we issued the
REPORT request on, a collection, with a mimetype of
"httpd/unix-directory".

    debug: REPORT https://p28-caldav.icloud.com/8010146223/calendars/home/
    debug: {'Depth': 'infinity', 'Content-Type': 'application/xml; charset=UTF-8', 'User-Agent': 'vdirsyncer '}
    debug: <?xml version="1.0" encoding="utf-8" ?>
    debug:             <C:calendar-query xmlns:D="DAV:"
    debug:                 xmlns:C="urn:ietf:params:xml:ns:caldav">
    debug:                 <D:prop>
    debug:                     <D:getetag/>
    debug:                 </D:prop>
    debug:                 <C:filter>
    debug:
    debug:                 <C:comp-filter name="VCALENDAR">
    debug:                     <C:comp-filter name="VTODO">
    debug:
    debug:                     </C:comp-filter>
    debug:                 </C:comp-filter>
    debug:
    debug:                 </C:filter>
    debug:             </C:calendar-query>
    debug: Sending request...
    debug: 207
    debug: {'content-encoding': 'gzip', 'transfer-encoding': 'chunked', 'server': 'iCloudCalendarServer 14F4 1', 'last-modified': 'Tue, 02 Sep 2014 13:59:11 GMT', 'dav': '1, access-control, calendar-access, calend ar-schedule, calendar-auto-schedule, calendar-managed-attachments, calendarserver-sharing, calendarserve r-subscribed, calendarserver-home-sync', 'x-transaction-id': '7f311996-32b4-11e4-a6db-78e3b5058dc0', 'da te': 'Tue, 02 Sep 2014 15:19:13 GMT', 'x-responding-server': 'mr21p28ic-hpaf05163701 18 a63660a6f7d1a25b 5a7ed66dab0da843', 'content-type': 'text/xml'}
    debug: <?xml version='1.0' encoding='UTF-8'?><multistatus xmlns='DAV:'>
    debug:
    debug:   <response>
    debug:     <href>/8010146223/calendars/home/</href>
    debug:     <propstat>
    debug:       <prop>
    debug:          <getetag>"FT=-@RU=301785db-0889-442c-ab5d-03144258969a@S=30"</getetag>
    debug:         <getcontenttype>httpd/unix-directory</getcontenttype>
    debug:       </prop>
    debug:       <status>HTTP/1.1 200 OK</status>
    debug:     </propstat>
    debug:   </response>
    debug:
    debug:   <response>
    debug:     <href>/8010146223/calendars/home/412580F4-7A0A-480D-BA99-73260B921E5D.ics</href>
    debug:     <propstat>
    debug:       <prop>
    debug:         <getetag>"C=30@U=301785db-0889-442c-ab5d-03144258969a"</getetag>
    debug:         <getcontenttype>text/calendar</getcontenttype>
    ...
2014-09-02 17:25:09 +02:00
Markus Unterwaditzer
4426fbc1d3 Merge pull request #109 from geier/master
README: build.sh command names changed
2014-09-01 17:44:40 +02:00
Christian Geier
406392db5d README: build.sh command names changed 2014-09-01 17:43:27 +02:00
Markus Unterwaditzer
686441b5ab Merge pull request #106 from untitaker/tls_fingerprints
TLS fingerprints (2.1)
2014-08-30 18:59:26 +02:00
Markus Unterwaditzer
0bc03666ba Fix dead doubleclick testcase
click.CliRunner swallowed all exceptions, also AssertionError
2014-08-30 17:06:01 +02:00
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
Thomas Weißschuh
fa2f7ca540 always serve something, else werkzeug blows up 2014-08-29 18:44:23 +00:00
Thomas Weißschuh
23ae6eb03f we need the git version of werkzeug for ssl support on py3 2014-08-29 17:24:27 +00: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
b093989220 Refine testcase again 2014-08-21 01:26:00 +02:00
Markus Unterwaditzer
63c990a320 Properly remove monkeypatching in radicale tests 2014-08-21 00:56:13 +02:00
Markus Unterwaditzer
b909d525f8 Fix broken testcase 2014-08-21 00:51:25 +02:00
Markus Unterwaditzer
e8e55de165 Add some tests 2014-08-21 00:26:48 +02:00
Thomas Weißschuh
f61ef5318d remove superfluous method override 2014-08-20 22:04:35 +00:00
Markus Unterwaditzer
44c1d84a7e Fix style errors 2014-08-21 00:01:17 +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
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