Hugo Osvaldo Barrera
41b48857eb
Remove reference to dead domain
2025-03-06 11:57:05 +01:00
Hugo Osvaldo Barrera
70d09e6d5d
Remove stale comment
2025-02-13 13:42:06 +01:00
Ben Boeckel
8b063c39cb
atomicwrites: remove dependency on abandoned library
2025-02-13 13:37:06 +01:00
Hugo Osvaldo Barrera
12a06917db
Add explicit configuration for readthedocs
...
See: https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/
2025-02-13 13:34:13 +01:00
Hugo Osvaldo Barrera
2fee1d67f2
Update CI job with "oldest supported dependencies"
...
Alpine 3.17 has faded away, bump to Alpine 3.18.
2025-02-13 13:32:59 +01:00
Hugo Osvaldo Barrera
a934d5ec66
Keep test for duplicate consecutive keys
...
See: https://github.com/pimutils/vdirsyncer/pull/1153
2024-12-21 16:49:50 +01:00
Colin Watson
c79d3680cd
Fix _Component.__delitem__ with adjacent identical keys
...
Hypothesis found the following example:
```
tests/unit/utils/test_vobject.py:335: in add_prop
assert c[key] == value
E AssertionError: assert '0' == '1'
E
E - 1
E + 0
E Falsifying example:
E state = VobjectMachine()
E unparsed_0 = state.get_unparsed_lines(encoded=False, joined=False)
E parsed_0 = state.parse(unparsed=unparsed_0)
E state.add_prop_raw(c=parsed_0, key='0', params=[], value='0')
E state.add_prop_raw(c=parsed_0, key='0', params=[], value='0')
E state.add_prop(c=parsed_0, key='0', value='1')
E state.teardown()
```
After the two `add_prop_raw` calls, `c.props` is `["0;:0", "0;:0",
"FOO:YES"]`. `_Component.__delitem__` then fails to effectively delete
the previous key: it deletes the first `"0;:0"` item, but then checks
for continuation lines following it and incorrectly keeps the second
`"0;:0"` item even though it begins with one of the prefixes it's trying
to delete. Checking for the prefix in the check for continuation lines
fixes this.
Fixes : #1149
2024-12-20 01:43:15 +00:00
Hugo Osvaldo Barrera
cd050d57b9
Use direnv to set up a virtualenv for development
2024-12-09 14:18:24 +01:00
Hugo Osvaldo Barrera
8c98992f74
Move setuptools-scm config into pyproject.toml
2024-12-09 14:18:06 +01:00
Hugo Osvaldo Barrera
c2eed9fb59
Add a readthedocs configuration file
...
Used for building docs in CI pipelines.
2024-12-09 01:36:22 +01:00
Mike A.
a490544405
Do not load netrc config files
2024-12-09 01:32:29 +01:00
Hugo Osvaldo Barrera
688d6f907f
Update deprecated usages of hypothesis
2024-12-09 01:30:44 +01:00
euxane
2e7e31fdbf
storage/http: add support for filter_hook
...
This allows users to process fetched items through a filter command,
to fix malformed webcal items as they are imported.
In my case, my provider adds the export time to the description and
random sequence numbers to all events. This caused the whole collection
to be invalidated and propagated at each sync. I use the filter to
remove those, canonicalising the items.
2024-12-08 19:31:32 +01:00
Arran Ubels
616d7aacb0
OfflineIMAP url Update
2024-10-31 22:43:45 +01:00
Hugo Osvaldo Barrera
89129e37b6
Typo
...
Fixes: https://github.com/pimutils/vdirsyncer/issues/1139
2024-09-13 18:36:17 +02:00
Hugo Osvaldo Barrera
88722ef4b7
Add changelog entry for Digest Auth
2024-09-11 17:25:29 +02:00
Mike A.
35f299679f
Rewrite guess auth test for unsupported status
2024-09-11 12:04:05 +02:00
Mike A.
67e1c0ded5
Make tests pass
2024-09-11 12:04:05 +02:00
Mike A.
89a01631fa
Remove requests_toolbelt
2024-09-11 12:04:05 +02:00
Mike A.
611b8667a3
Implement digest auth
2024-09-11 12:04:05 +02:00
Hugo Osvaldo Barrera
8550475548
Formatting
2024-08-26 12:49:36 +02:00
Hugo Osvaldo Barrera
cd2445b991
Upgrade Alpine release used in CI
2024-08-26 12:49:24 +02:00
Jakub Klinkovský
5ca2742271
Add short option for the help option
2024-08-26 12:43:20 +02:00
Jakub Klinkovský
5ac9dcec29
Update documentation regarding SSL pinning by fingerprint
2024-08-16 15:18:18 +02:00
octvs
a513a7e4fa
docs: update config info on todoman tutorial
2024-04-02 15:30:16 +02:00
Dick Marinus
5ae05245e6
fix pylint W0621: Redefining name 'main' from outer scope (line 68) (redefined-outer-name)
2024-03-19 09:59:08 +01:00
Hugo Osvaldo Barrera
055ed120dd
Pre-commit autoupdate
2024-02-20 15:08:51 +01:00
Hugo Osvaldo Barrera
31816dc652
Add some type hints
2024-02-20 15:08:51 +01:00
Bleala
2e023a5feb
Update AUTHORS.rst
2024-02-16 14:29:11 +01:00
Bleala
14afe16a13
Update CHANGELOG.rst
2024-02-16 14:29:11 +01:00
Bleala
5766e1c501
Add Docker Environment
2024-02-16 14:29:11 +01:00
Xavier Brochard
fade399a21
more explanations of "collection" meaning
2024-02-02 10:26:49 +01:00
Xavier Brochard
3433f8a034
A bit more explanation of "from a" and "from b"
2024-02-02 10:25:10 +01:00
chrisblech
6a3077f9dc
add pre_deletion_hook
...
closes https://github.com/pimutils/vdirsyncer/issues/1107
2024-01-31 19:14:59 +01:00
Hugo Osvaldo Barrera
42c5dba208
Pre-commit autoupdate
2024-01-31 19:08:25 +01:00
Hugo Osvaldo Barrera
7991419ab1
Merge implicitly concatenated strings
2024-01-31 19:08:25 +01:00
Hugo Osvaldo Barrera
03e6afe9dc
Remove broken contact link
...
Fixes: https://github.com/pimutils/vdirsyncer/issues/1104
2024-01-28 20:15:08 +01:00
Hugo
762d369560
Merge pull request #1103 from jasonccox/main
...
Require matching BEGIN and END lines in vobjects
2024-01-28 20:13:28 +01:00
Hugo Osvaldo Barrera
2396c46b04
Allow specifying deb distro/ver via env vars
2023-12-18 14:35:48 +01:00
Hugo Osvaldo Barrera
b626236128
Use docker (instead of podman) to build debs
2023-12-18 14:35:48 +01:00
Hugo Osvaldo Barrera
45b67122fe
Fast-mail publishing if credentials are missing
2023-12-18 14:35:48 +01:00
Jason Cox
7a387b8efe
Require matching BEGIN and END lines in vobjects
...
Raise an error when parsing a vobject that has mismatched `BEGIN` and
`END` lines (e.g., `BEGIN:FOO` followed by `END:BAR`) or missing `END`
lines (e.g., `BEGIN:FOO` with no subsequent `END:FOO`).
Fixes #1102 .
2023-12-13 10:31:32 -05:00
Kai Herlemann
889e1f9ea2
Implement a no_delete flag
...
See: https://github.com/pimutils/vdirsyncer/pull/1090
2023-11-29 23:50:32 +08:00
azrdev
d1f93ea0be
docs: add instructions to get pw from environment variable
...
tested with vdirsyncer 0.19.2 on archlinux
2023-11-26 08:20:20 +01:00
Hugo Osvaldo Barrera
82fd03be64
Clarify that pipx won't install man pages
...
And reword the section a bit.
2023-11-16 07:19:15 +08:00
Hugo Osvaldo Barrera
b50f9def00
Ensure type annotations are backwards compatible
...
Related: https://github.com/pimutils/todoman/issues/544
2023-10-29 16:04:23 +01:00
Hugo Osvaldo Barrera
91c16b3215
Add a changelog entry for vcard 4.0 support
2023-10-07 03:26:04 +02:00
wrvsrx
d45ae04006
Update doc about use_vcard_4
2023-10-06 23:18:26 +02:00
wrvsrx
9abf9c8e45
Add an option to use vCard 4.0
...
Fix #503
2023-10-06 23:18:21 +02:00
Hugo Osvaldo Barrera
0f0e5b97d3
Ignore type checking lines in coverage report
2023-09-25 16:24:52 +02:00