Commit graph

889 commits

Author SHA1 Message Date
Hugo Osvaldo Barrera
a9fa61040f Tidy up some collection initializations 2021-06-12 13:23:54 +02:00
Hugo Osvaldo Barrera
ee124f5c82 Improve readability of failed tests 2021-06-12 13:23:52 +02:00
Hugo Osvaldo Barrera
320ac6020b Tweak linter to ignore less issues 2021-06-12 12:58:13 +02:00
Bernhard Reiter
b9f5d88af9
Fixing docs/config.rst and code formatting 2021-06-02 13:52:10 +02:00
Bernhard Reiter
81895c291e
Make /storage/filesystem more flexible
by adding the optional fileignoreext parameter.
2021-05-19 18:00:09 +02:00
Bernhard Reiter
439e63f8ea
Make /storage/filesystem ignore .tmp files
Hardcode to ignore files with `.tmp` suffix as this is mentioned
in the vdir specification.
2021-05-19 17:51:57 +02:00
Hugo Osvaldo Barrera
d2d41e5df1 Use black to auto-format the codebase 2021-05-06 19:28:54 +02:00
Дилян Палаузов
bf67af609e Substitute the d: prefix for the DAV: namespace with no prefix (default namespace) 2021-03-09 22:23:12 +02:00
Hugo Osvaldo Barrera
f281f956f1 Dedupe import 2020-08-06 12:42:00 +02:00
Hugo Osvaldo Barrera
7577fa2117 Update usage of deprecated method 2020-06-09 17:04:46 +02:00
Hugo Osvaldo Barrera
b1b4dd92fe Sort imports
I don't want to ever have to sort imports again. It's a poor use of
developer time. Automate this with a pre-commit hook, and check this on
CI.

Developers: I suggest you configure your editor to use
`reorder_python_imports`. It uses the standard sorting, and detects
first/third party libs well.
2020-06-09 14:34:45 +02:00
Hugo Osvaldo Barrera
9cb1f8d704 Drop support for Python 3.5 and 3.6 2020-06-09 14:33:14 +02:00
Amanda Hickman
c78ec6b3bd Little spelling fix (#695)
* Fixed spelling of "occurred"

* Fix spelling of occurred.

* fixed one lingering misspelling
2020-06-08 19:58:35 +02:00
Hugo Osvaldo Barrera
308289febf Remove python2 leftover code 2020-06-08 18:40:33 +02:00
Hugo Osvaldo Barrera
7e4a0be674 Upgrade flake8
Update to the latest flake8, and fix all code warnings related to that.
2020-06-08 18:40:31 +02:00
Hugo Osvaldo Barrera
cb4ba5b38c Fix linting errors
One more green checkmark! 
2020-06-08 15:39:01 +02:00
Hugo Osvaldo Barrera
e987d6eb4a Drop Python 3.4
Never gonna get master back to green working with a dead Python.
2020-06-08 13:34:17 +02:00
Markus Unterwaditzer
80a42e4c6c Fixes for open_graphical_browser, fixes #754 2018-07-19 21:14:30 +02:00
Markus Unterwaditzer
68f2cf3195 (backport) Make docs build independent of app 2018-06-13 18:25:10 +02:00
Markus Unterwaditzer
9e3c231cc3 Remove Python 3.3 support (#674)
* Remove Python 3.3 support
2017-10-02 14:38:54 +02:00
Markus Unterwaditzer
be33fd3ed3 Restructure vdirsyncer.sync 2017-10-01 21:44:14 +02:00
Markus Unterwaditzer
32d1fecbb4 New tests for sync status 2017-10-01 21:44:14 +02:00
Markus Unterwaditzer
3112e6899e Remove invalid ascii chars from xml, fix #626 (#668)
* Remove invalid ascii chars from xml, fix #626

* Add changelog

* Remove unused imports

* Fix errors on older Python versions

* Fix tests
2017-09-13 20:55:03 +02:00
Markus Unterwaditzer
6954b26e0f Fixes for click-log 0.2.0 2017-08-24 13:29:20 +02:00
Markus Unterwaditzer
35ffdd6f8c Fix crash in google calendar when using filters
Fix #657
2017-08-15 14:05:52 +02:00
Markus Unterwaditzer
c9a085522f Abort discovery on UserError 2017-08-15 14:05:09 +02:00
Markus Unterwaditzer
395e8276de Change warning to debug, see #658 2017-08-12 17:01:47 +02:00
Markus Unterwaditzer
629de5558d Remove babbling about abstract interfaces 2017-08-12 16:56:32 +02:00
Markus Unterwaditzer
e305869fac Simplify code a little 2017-08-12 16:26:16 +02:00
Markus Unterwaditzer
e3060529a5 Move from deprecated readfp to read_file 2017-07-15 22:50:59 +02:00
Markus Unterwaditzer
37a1eb2fdb Remove remoteStorage (#648)
Fix #647
2017-07-02 18:42:55 +02:00
Markus Unterwaditzer
fb558e5139 Remove stray debug print 2017-06-10 21:24:33 +02:00
Markus Unterwaditzer
9d393623fd Fix error message if etesync is not installed 2017-05-31 13:56:10 +02:00
Markus Unterwaditzer
6a273953f7 Fix xandikos test: multistatus parsing 2017-05-30 11:25:52 +02:00
Markus Unterwaditzer
7f80251527 Test development Radicale again (#428)
* Revert "Don't test development Radicale"

This reverts commit 7a5241101e.

* Fix Radicale test setup

* Radicale is very tolerant

* Simplify test such that output is more predictable

* Runtime version check for Radicale

* Don't create user explicitly

* stylefix

* Shorter tracebacks

Travis logs are very hard to read
2017-05-30 09:12:00 +02:00
Markus Unterwaditzer
d2127030c2 Use inode number in addition to mtime (#632)
* Use inode number in addition to mtime

* Changelog
2017-05-18 20:42:08 +02:00
Markus Unterwaditzer
6851ceede0 Better useragent (#633) 2017-05-18 20:41:52 +02:00
Markus Unterwaditzer
83531f95e5 Fix NameError 2017-04-27 16:50:21 +02:00
Markus Unterwaditzer
97708ab3da Fix shitty exception 2017-04-13 18:41:37 +02:00
Markus Unterwaditzer
0d9ec646d7 Initial etesync support (#614)
* Initial etesync support

* Optimized get()

* Bugfixes

* bugfixes

* Add writing operations

* collection creation WIP

* Fix collection creation

* tests wip

* wip

* Final touch for test setup

* actually skip tests

* Disable metadata tests

* Avoid polluting working tree

* Avoid importing wsgi-intercept if not installed

* Fix collection tests

* Proper teardown

* Skip bad test

* Remove vtodo

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Add docs

* Remove useless pkg

* Don't crash if etesync isn't imported

* Stylefix

* Fix more import errors

* More import errors

* Only run etesync on latest python

* Fix etesync check

* journal-manager migration
2017-04-13 16:27:11 +02:00
Markus Unterwaditzer
dad9fd8904 Ignore directories with leading dot 2017-03-30 22:48:00 +02:00
Markus Unterwaditzer
fbe3f9910d Fix transactions once again 2017-03-29 21:57:34 +02:00
Markus Unterwaditzer
e7a746705f Fix status migration on Py34 2017-03-28 10:47:09 +02:00
Markus Unterwaditzer
9a32c34e76 Switch to sqlite for sync status (#611)
* Switch to sqlite for sync status

* Add more info to changelog

* Fix transactions

* Fix transactions more
2017-03-28 10:18:24 +02:00
Markus Unterwaditzer
0e89753757 Use sqlite for sync internally (#609)
See #546
2017-03-27 00:08:23 +02:00
Markus Unterwaditzer
9d2d35f21a fixup! Refine Python 3 warning 2017-03-23 13:55:34 +01:00
Markus Unterwaditzer
2952ea8b15 Refine Python 3 warning 2017-03-23 13:52:00 +01:00
Markus Unterwaditzer
b361fe755c Add Windows warning, see #535 2017-03-23 13:48:06 +01:00
Markus Unterwaditzer
5a508ae327 Abstract status into own class (#607)
* Refactor status management in separate class

* Rename to SubStatus, remove unused field

* Move item cache out of status

* stylefix
2017-03-22 15:08:43 +01:00
Markus Unterwaditzer
f36061969a Fix misformatted doc 2017-03-16 21:56:33 +01:00