Commit graph

1630 commits

Author SHA1 Message Date
Markus Unterwaditzer
ac3fd8d7fc Elaborate on collections
Fix #444
2016-09-27 10:36:55 +02:00
Markus Unterwaditzer
6aedd624a9 update nextcloud 2016-09-26 20:19:29 +02:00
Markus Unterwaditzer
2cf0aee526 Add known problems for nextcloud 2016-09-26 19:02:47 +02:00
Markus Unterwaditzer
30ab52ea4c Stylefix 2016-09-26 13:28:57 +02:00
Markus Unterwaditzer
5f76c9e720 Another sync refactor 2016-09-26 12:51:49 +02:00
Markus Unterwaditzer
8cbfb69691 Test rollback in sync 2016-09-26 12:51:49 +02:00
Markus Unterwaditzer
4e3d351917 Stylefix 2016-09-25 14:42:41 +02:00
Markus Unterwaditzer
dd5f76ca5d ignore UIDs in http storage 2016-09-25 14:03:46 +02:00
Markus Unterwaditzer
78e11ebb66 Fix missing return value 2016-09-20 09:59:24 +02:00
Markus Unterwaditzer
fbaac88776 Merge pull request #507 from citrin/master
Strip trailing slash from .well-known-URIs to fix autodiscovery
2016-09-19 23:52:34 +02:00
Anton Yuzhaninov
d60132cbc0 Strip slash from well-known URL for Google
According to https://developers.google.com/google-apps/carddav/
URL should be https://www.googleapis.com/.well-known/carddav
2016-09-19 21:50:30 +00:00
Markus Unterwaditzer
5e44f0cfe1 Stylefix 2016-09-19 22:46:07 +02:00
Anton Yuzhaninov
2747bee9a6 Strip trailing slash from .well-known-URIs to fix autodiscovery
According to RFC6764 URLs should be "/.well-known/caldav" and
"/.well-known/caldav".
2016-09-19 18:53:12 +00:00
Markus Unterwaditzer
1087afeaa8 Tone down a warning to an error
Fix #498
2016-09-19 19:44:28 +02:00
Markus Unterwaditzer
722a4be598 ISSUE_TEMPLATE: Clarify importance of debug output 2016-09-19 19:17:39 +02:00
Markus Unterwaditzer
22568571c2 Introduce conflict resolution via commands
Fix #127

More options of conflict resolution are discussed there, but they all
require extra dependencies. This new API allows the user to plug in
third-party scripts to do those.
2016-09-19 19:17:39 +02:00
Markus Unterwaditzer
e62e3a26f6 Better formatting in setup.py 2016-09-19 19:17:39 +02:00
Markus Unterwaditzer
dc5500892b More config refactor 2016-09-19 19:17:39 +02:00
Markus Unterwaditzer
cfbc7ec71b Refactor of status handling in sync (#505)
- Using `info.idents` as new status, this saves a few operations where
  no storage actions have to be taken, but the status has to be updated.

- Rename StorageSyncer to _StorageInfo and make it a private API again.

- Ability to pass custom functions for conflict resolution. This part is
  a preparation for #127.
2016-09-18 15:46:56 +02:00
Markus Unterwaditzer
99e7ff6d37 fix codecov config
See https://github.com/codecov/support/issues/162#issuecomment-246771924
2016-09-13 20:17:30 +02:00
Markus Unterwaditzer
b0c498f70a Don't require current-user-principal
See #498
2016-09-12 18:58:02 +02:00
Markus Unterwaditzer
1846b392fa Fix encoding bug with http data 2016-09-08 14:09:56 +02:00
Markus Unterwaditzer
4354469a93 Changelog for #459 2016-09-08 13:38:37 +02:00
Markus Unterwaditzer
b20fc996a2 Refactor config parsing
Fix #459
2016-09-08 13:34:34 +02:00
Markus Unterwaditzer
18d8bb9fc2 Remove Python 2 support (#499)
* Discontinue Python 2.

See #219

* Remove Python 2 config option

* Remove coerce_native

* Remove PY2 variable

* s/text_type/str/g

* Flake8 fixes

* Remove str = str

* s/to_native/to_unicode/g

* Remove to_unicode = to_unicode

* Remove iteritems

* Remove itervalues

* Remove str import, flake8 fixes

* Remove urlparse compat code

* Remove with_metaclass

* Remove unused PY2 variable

* Remove getargspec_ish

* Remove to_bytes

* Remove compat module

* Remove Python 2 from Travis

* fixup! Remove urlparse compat code

* fixup! Remove urlparse compat code

* fixup! Remove compat module
2016-09-08 12:18:36 +02:00
Markus Unterwaditzer
696e53dc1f Fix up http storage example
Fix #497
2016-09-06 11:32:13 +02:00
Markus Unterwaditzer
b6f009e79e Fix identconflict handling
See #495
2016-09-02 18:23:42 +02:00
Markus Unterwaditzer
5a382be9c6 update davical-testserver 2016-08-28 23:19:22 +02:00
Markus Unterwaditzer
8ecef1e9a6 Update davical
Fix #458
2016-08-27 17:20:10 +02:00
Markus Unterwaditzer
d9387ad0a7 Improve title 2016-08-27 15:49:22 +02:00
Markus Unterwaditzer
ecd35e4a00 Move installation to own page 2016-08-27 15:48:35 +02:00
Markus Unterwaditzer
509b1f5b88 Add debian package 2016-08-27 15:45:23 +02:00
Markus Unterwaditzer
540713f006 Replace with slightly less clever code 2016-08-26 16:58:06 +02:00
Markus Unterwaditzer
d89ec31168 Fix bug in Component.__del__ 2016-08-26 10:36:42 +02:00
Markus Unterwaditzer
12f5d32251 Fix up pytest deprecation warning 2016-08-26 08:35:22 +02:00
Markus Unterwaditzer
0de8415183 Stylefixes 2016-08-26 08:34:32 +02:00
Markus Unterwaditzer
3c7c1f5f67 Add test for CollectionRequired 2016-08-26 01:39:29 +02:00
Markus Unterwaditzer
5ae2d27b66 Refactor IGNORE_PROPS 2016-08-26 00:46:53 +02:00
Markus Unterwaditzer
66031a51e6 Add CODE_OF_CONDUCT.rst for completeness 2016-08-23 23:48:13 +02:00
Markus Unterwaditzer
6bed4f504e Add the CoC to this project 2016-08-23 23:45:22 +02:00
Markus Unterwaditzer
6f43e14908 Update baikal-testserver 2016-08-23 16:05:47 +02:00
Markus Unterwaditzer
a05c30be58 Update mysteryshack-testserver 2016-08-20 17:14:26 +02:00
Markus Unterwaditzer
8645310422 Version 0.12.1 2016-08-20 11:41:14 +02:00
Markus Unterwaditzer
902d914db6 Remove = from reserved chars
See #491
2016-08-19 20:05:14 +02:00
Markus Unterwaditzer
e1c2e1b5d8 Fix bug in URL normalization 2016-08-19 20:05:14 +02:00
Markus Unterwaditzer
f238a58c85 DAV: Don't violate Storage API (#492)
The implementation of #476 is problematic as it returns None.
`vdirsyncer.sync` has internal assertions that this is a string, which
is why we get a crash like this:

    error: Unknown error occured for cal/markus@unterwaditzer.net:
    error: Use `-vdebug` to see the full traceback.
    debug:   File "/home/untitaker/projects/vdirsyncer/vdirsyncer/cli/tasks.py", line 66, in sync_collection
    debug:     force_delete=force_delete
    debug:   File "/home/untitaker/projects/vdirsyncer/vdirsyncer/sync.py", line 228, in sync
    debug:     action(a_info, b_info, conflict_resolution)
    debug:   File "/home/untitaker/projects/vdirsyncer/vdirsyncer/sync.py", line 276, in inner
    debug:     assert isinstance(dest_etag, (bytes, text_type))

Discovered in #467
2016-08-19 19:58:38 +02:00
Markus Unterwaditzer
f8dffaf51e Update mysteryshack-testserver 2016-08-19 19:11:58 +02:00
Markus Unterwaditzer
214ec10826 Add CREATED to ignored properties 2016-08-19 17:36:17 +02:00
Markus Unterwaditzer
9a4dbef3a9 Version 0.12.0 2016-08-19 12:36:21 +02:00
Markus Unterwaditzer
4b4ed83df2 Fix broken formatting in changelog 2016-08-18 13:14:20 +02:00