Markus Unterwaditzer
8425984ebb
Style fixes
2015-09-11 03:14:32 +02:00
Markus Unterwaditzer
3a4e4218a6
New password fetching
...
Fix #233
2015-09-11 02:53:31 +02:00
Markus Unterwaditzer
d59376e231
Remove unnecessary params, fix tests
2015-08-20 15:49:36 +02:00
Markus Unterwaditzer
6e1846ea9d
Remove custom ctx global
2015-08-16 19:40:00 +02:00
Ben Boeckel
216e6c3b21
ssl: use verify and verify_fingerprint
...
Both have their uses. The latter is very strict in what it will accept,
but it does not catch expired certificates.
2015-08-06 11:25:06 +02:00
Markus Unterwaditzer
b58935c90d
Fix tests again
...
Reverts f087ec599e
2015-07-09 00:10:02 +02:00
Markus Unterwaditzer
fc5175f7f3
Flake8 fixes
2015-07-08 20:42:26 +02:00
Markus Unterwaditzer
75d4f08c25
Bugfix: Actually cache passwords
2015-07-08 17:16:35 +02:00
Markus Unterwaditzer
2d5a230fa4
Style fixes
2015-07-07 16:51:31 +02:00
Markus Unterwaditzer
f087ec599e
This is not needed anymore
2015-07-07 16:19:27 +02:00
Markus Unterwaditzer
31de43b4a9
Remove collection_human
2015-07-06 16:22:33 +02:00
Markus Unterwaditzer
ed12509c77
Lazily load storages
2015-04-13 18:28:11 +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
08b6ce6b8c
That test is broken on PyPy too
2015-02-22 22:01:10 +01:00
Markus Unterwaditzer
27f5d54240
Add atomicwrites dependency
2015-01-29 12:12:40 +01:00
Markus Unterwaditzer
5ce0d97f91
Remove copyright headers
2015-01-21 13:02:30 +01:00
Markus Unterwaditzer
8ab9c429cc
Rewrite safe_write
2015-01-12 00:32:49 +01:00
Markus Unterwaditzer
cda763fcc5
Set verify=False if verify_fingerprint is given
2015-01-10 23:31:55 +01:00
Markus Unterwaditzer
ebedca1e85
add testcase
2015-01-10 23:01:34 +01:00
Markus Unterwaditzer
cdb25d61ec
Move config parsing into cli module
2014-12-26 00:58:41 +01:00
Markus Unterwaditzer
90c9f227f3
Rename passwordeval to password_command
...
Fix #139
2014-12-17 14:58:26 +01:00
Markus Unterwaditzer
06a701bc10
Handle collections correctly
...
Fix #132
Passing the collections parameter used to mean that the storage should
append its value to the URL or path. This was a leaky abstraction for
the reasons explained in #132 .
The new behavior removes this meaning from this parameter. Vdirsyncer
now maintains a cache of discovered collections.
2014-12-15 21:57:56 +01:00
Markus Unterwaditzer
e40ba55bd3
Build fixes
2014-12-11 21:51:03 +01:00
Markus Unterwaditzer
d91512d07e
Even more fixes to config parsing
2014-12-11 20:12:59 +01:00
Markus Unterwaditzer
37c2467f59
Stricten testsuite
2014-11-25 15:17:51 +01: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
3bb6662e8e
Add testcase
2014-09-09 17:48:36 +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
686441b5ab
Merge pull request #106 from untitaker/tls_fingerprints
...
TLS fingerprints (2.1)
2014-08-30 18:59:26 +02:00
Thomas Weißschuh
fa2f7ca540
always serve something, else werkzeug blows up
2014-08-29 18:44:23 +00: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
b093989220
Refine testcase again
2014-08-21 01:26:00 +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
Markus Unterwaditzer
1fff7efff5
Use name from config for representing storages
2014-08-18 00:53:05 +02:00
Markus Unterwaditzer
c750561fb8
Use more fixtures
2014-07-06 23:22:02 +02:00
Markus Unterwaditzer
2fb58d6bcd
Fix bug in keyring fetching code
...
Leading to infinite loop when the password is simply not there.
Also fixed some import styling again
2014-06-19 18:14:51 +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
c1eb55c241
Copyright and contributor stuff
...
Fix #60
2014-05-22 12:50:43 +02:00
Markus Unterwaditzer
eece22723e
Move class inspection code to utils
2014-05-19 18:32:31 +02:00
Markus Unterwaditzer
7852dfc1a2
Also move tests for vobject to own module
2014-05-16 13:57:16 +02:00