Wykres commitów

314 Commity (master)

Autor SHA1 Wiadomość Data
Maurits van Rees c73cab2c10
Require Python 3.8. 2022-08-13 14:41:37 +02:00
Maurits van Rees 7921e63160
Merge branch 'master' into master 2022-08-13 13:54:47 +02:00
Christian Geier 5b14a1e5e5 Moved Changelog entry to unreleased version 2022-08-09 01:55:46 +02:00
Christoph Becker 3b82f204d1 change assertRaisesRegexp to assertRaisesRegex 2022-08-09 01:52:16 +02:00
spralja 1afa99398a Fix #345 2022-08-09 01:46:59 +02:00
Nicco Kunzmann 10ebdbcd76 describe doumentation changes in the changelog 2022-08-07 22:10:27 +01:00
Maurits van Rees d297b9df1d
Back to development: 5.0.0a2
[ci skip]
2022-07-11 13:40:34 +02:00
Maurits van Rees 2a99dd8674
Preparing release 5.0.0a1
[ci skip]
2022-07-11 13:40:08 +02:00
Maurits van Rees e0af3e9d92
Drop support for PyPy2.
Not available on GHA for latest Ubuntu 20.
2021-11-22 22:33:17 +01:00
Maurits van Rees 789e38f3e0
Bumped version for breaking release. 2021-11-22 22:30:56 +01:00
Maurits van Rees de04a7efac
Drop support for Python 3.4 and 3.5.
These Python versions are out of support.
3.4 is no longer available on Ubuntu 20 on GitHub Actions.
2021-11-22 22:30:33 +01:00
Maurits van Rees a92f20387f
Use GitHub Actions. 2021-11-22 22:23:59 +01:00
Tobias Brox 324c1507a1 Merge branch 'bugfix-335b' into bugfix-335 2021-11-17 23:14:01 +01:00
Tobias Brox b880472e72 changelog entry 2021-11-17 21:46:47 +01:00
Tobias Brox d6de71b828 Bugfix for datetime objects with tzinfo from zoneinfo library
See https://github.com/collective/icalendar/issues/333 for details

Includes test code and changelog entry
2021-11-17 16:05:00 +01:00
Maurits van Rees 90c0593506
Back to development: 4.0.10
[ci skip]
2021-10-16 15:24:26 +02:00
Maurits van Rees c0feddca64
Preparing release 4.0.9
[ci skip]
2021-10-16 15:24:04 +02:00
Maurits van Rees 3c839b3c16
Cleaned up empty headers from changelog.
[ci skip]
2021-10-16 15:24:03 +02:00
Johannes Raggam f5632be462 Add missing chagelog entry for last commit. 2021-10-15 15:03:26 +02:00
Johannes Raggam 9b72b0b1d6 Fix vCategories for correct en/de coding. 2021-10-15 14:51:05 +02:00
Maurits van Rees c54000617e
Back to development: 4.0.9
[ci skip]
2021-10-07 15:34:26 +02:00
Maurits van Rees 4ff3f4cc9a
Preparing release 4.0.8
[ci skip]
2021-10-07 15:34:00 +02:00
Maurits van Rees 17dd06b3bd
Fix changelog.
[ci skip]
2021-10-07 15:33:48 +02:00
Fayas Noushad a0508664fa
Update CHANGES.rst 2021-10-05 19:21:08 +05:30
jaca 99fbfc90a0
write changelog and add myself to credits 2021-06-19 17:26:12 +02:00
Maurits van Rees 07e4ac2cff
Back to development: 4.0.8
[ci skip]
2020-09-07 13:09:06 +02:00
Maurits van Rees 5f46363f0f
Preparing release 4.0.7
[ci skip]
2020-09-07 13:08:33 +02:00
Maurits van Rees bfe3d733c6
Cleaned up empty headers from changelog.
[ci skip]
2020-09-07 13:08:30 +02:00
Simon Budig 2a82c88c65 Correct the handling of rrules within timezone definitions.
Fix for https://github.com/collective/icalendar/issues/303
2020-08-24 15:27:21 +02:00
Maurits van Rees 8047148a7b
Back to development: 4.0.7
[ci skip]
2020-05-06 23:01:49 +02:00
Maurits van Rees 3d38ca7819
Preparing release 4.0.6
[ci skip]
2020-05-06 23:01:19 +02:00
Maurits van Rees 4aa5b2af4b
Cleaned up empty headers from changelog.
[ci skip]
2020-05-06 23:01:18 +02:00
Kamil Mankowski 8119391210
Fix incorrect CHANGELOG entry 2020-04-08 12:23:28 +02:00
Maurits van Rees c5f5602b20
Merge pull request #299 from kam193/master
Default type vText when converting vRecur to ical
2020-04-08 11:06:34 +02:00
Maurits van Rees 3258ea929e
Back to development: 4.0.6
[ci skip]
2020-03-21 01:57:03 +01:00
Maurits van Rees 325501db54
Preparing release 4.0.5
[ci skip]
2020-03-21 01:56:27 +01:00
Maurits van Rees b5250c8c16
Cleaned up empty headers from changelog.
[ci skip]
2020-03-21 01:56:23 +01:00
Kamil Mankowski (kam193) 3fc1007e60
Update changelog 2020-03-18 20:04:09 +01:00
Kamil Mankowski (kam193) 9b26e188f1
Default type vText when converting vRecur to ical
Use default type when converting recurence definition
to ical string.
2020-03-18 20:04:09 +01:00
Maurits van Rees 21a2b30861
Merge pull request #289 from davidfischer/rtd-config-file
Add a readthedocs config file
2020-03-03 21:57:12 +01:00
Maurits van Rees ce71b8e3bf
Back to development: 4.0.5
[ci skip]
2019-11-25 22:32:23 +01:00
Maurits van Rees 2aef5f6394
Preparing release 4.0.4
[ci skip]
2019-11-25 22:31:58 +01:00
Maurits van Rees 1670e1ec6f
Cleaned up empty headers from changelog.
[ci skip]
2019-11-25 22:31:56 +01:00
Dalton Durst b6f211dbfe Calm down fuzzing
The fuzzing configuration introduced by
https://github.com/collective/icalendar/pull/191 *did* find a novel
issue in its first run. However, it is unable to run on travis-ci due to
taking too long without output. I tried running it locally to make sure
it wasn't Travis being Travis, and sure enough, on my i9-9880H, the
operation took well over 20 minutes before I stopped it.

Because of this, I've reduced the number of examples that Hypothesis
will run. This will catch fewer errors but help us get PRs back on track
2019-11-12 10:47:14 -06:00
David Fischer f44cec15d4
Changelog entry for RTD build issue 2019-05-14 10:08:50 -07:00
Maurits van Rees f340b761aa
Back to development: 4.0.4
[ci skip]
2018-10-10 09:41:47 +02:00
Maurits van Rees b9b7e63458
Preparing release 4.0.3
[ci skip]
2018-10-10 09:41:14 +02:00
Maurits van Rees d70d801101
Cleaned up empty headers from changelog.
[ci skip]
2018-10-10 09:41:01 +02:00
Christian Ledermann 2b56bc4ee7 more tests, mark test as expected failure 2018-07-13 10:56:25 +01:00
esteele 1943386293 Back to development: 4.0.3
[ci skip]
2018-06-20 08:54:26 -04:00
esteele cd160f4a7e Preparing release 4.0.2
[ci skip]
2018-06-20 08:52:51 -04:00
esteele 4f84e706f9 Cleaned up empty headers from changelog.
[ci skip]
2018-06-20 08:52:43 -04:00
esteele 8be2b6bf7c Back to development: 4.0.2
[ci skip]
2018-02-11 21:34:55 -05:00
esteele 7a378ef0d0 Preparing release 4.0.1
[ci skip]
2018-02-11 21:33:17 -05:00
Jeroen F.J. Laros e86570b2da Cli (#256)
* Added rudimentary command line interface.

* Added documentation on the CLI.

* Added example output.

* Removed _optional wrapper in favour of the built-in get() method.

* Added --version option.

* Removed default for 'attendee'.

* Looping over all vevents now.

* Updated changelog.
2018-02-09 01:37:52 +01:00
Johannes Raggam c880a5b262 changelog for last 3 PR merges 2018-02-08 22:48:02 +01:00
Johannes Raggam c55dbdf2dc Back to development: 4.0.1 2017-11-08 14:24:15 +01:00
Johannes Raggam 4f20924e49 Preparing release 4.0.0 2017-11-08 14:24:01 +01:00
Johannes Raggam ae4b882524 prepare release pt2 2017-11-08 14:23:48 +01:00
Johannes Raggam 47f98e4d87 prepare release 2017-11-08 14:13:02 +01:00
Jon Dufresne 80f2c308c6 Drop support for Python 2.6 and 3.3
I would humbly like to suggest icalendar drop support for Python 2.6.

The last release of Python 2.6 was 2013-10-29. It is no longer receiving
security or bug fixes.

https://www.python.org/dev/peps/pep-0361/

The pip project itself has decided to drop support for 2.6. At the
beginning of the year, their numbers estimated that Python 2.6 accounts
for ~2% of their downloads.

https://github.com/pypa/pip/pull/4343

For projects that still use Python 2.6, they can continue to pip install
an older version.

I've tried my best to remove as much 2.6 specific code as I can,
including the 'Programming Language :: Python :: 2.6' trove classifier
from setup.py. I've also removed Travis CI testing, which should result
in slightly faster testing and fewer wasted resources.

Changed:

* Update documented Python support and trove classifiers
* Update Travis test matrix and tox test matrix
* Use set literals (and more literals in general)
* Use dict comprehension
* Remove dependencies on ordereddict and unittest2
* Remove u string prefix, use more modern unicode literals instead
2017-11-07 03:44:09 -08:00
Johannes Raggam 5feee9bac5 Back to development: 3.12.1 2017-11-07 10:12:39 +01:00
Johannes Raggam ff1c351ae6 Preparing release 3.12 2017-11-07 10:12:00 +01:00
Johannes Raggam ad3093cbe0 prepare release 2017-11-07 10:11:33 +01:00
Jon Dufresne 93e5d7b7c1 Fix invalid escape sequences in string and bytes literals (#245)
Invalid escape sequences have been deprecated in Python 3.6. See:

https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

> A backslash-character pair that is not a valid escape sequence now
> generates a DeprecationWarning. Although this will eventually become a
> SyntaxError, that will not be for several Python releases.

When warnings are enabled, this appears as:

  DeprecationWarning: invalid escape sequence ...

Sequences discovered through test suite.
2017-10-23 14:56:09 +02:00
Johannes Raggam 720dd8be81 Merge pull request #242 from collective/MStimezones
Accept Windows timezone identifiers as valid.
2017-09-28 21:49:05 +02:00
Christian Geier 043cf5a400 Accept Windows timezone identifiers as valid.
Currently we accept Olson timezone identifiers (tzids) as valid, even
when no matching VTIMEZONE component is present.  Windows tzids are
different from Olson tzids, but also far spread.  Some software produces
.ics files using those Windows tzids with missing VTIMEZONE components.
While in general our stance is to only support standard compliant .ics
files and try to get the issuer of the invalid .ics files to fix their
software, I believe our chances here are very slim.  On the other hand,
a lot of those .ics files exist in the wild and not supporting those
Windows tzids is a source of major inconvenience for our users.  We
should there accept Windows tzids as we do for Olson tzids.  The unicode
consortium has a suggested mapping from Windows tzids to Olson tzids
[0], which we now make use of.

[0] http://www.unicode.org/cldr/charts/29/supplemental/zone_tzid.html
2017-09-28 18:45:43 +02:00
Christian Geier 3f8d215b11 Merge branch 'master' into fix/237 2017-09-28 12:53:52 +02:00
Ekran aba8766f7e Update install.rst (#240)
* Update install.rst

change to pip install instead of not referenced setup.py

* Update CHANGES.rst

add a line for changed install instruction in wiki to use pip
2017-09-23 13:00:13 +02:00
esteele 9d5a3b5a72 Back to development: 3.11.8
[ci skip]
2017-08-27 18:41:50 -04:00
esteele b776af91e0 Preparing release 3.11.7
[ci skip]
2017-08-27 18:41:24 -04:00
esteele 9a2bf80d42 Cleaned up empty headers from changelog.
[ci skip]
2017-08-27 18:41:01 -04:00
Clive Stevens ebe06a4976 Fix non-ascii TZID and TZNAME handling in python 2
Zone needs to be a python 2 str because it's used as the timezone type name.
Zone name is a python 2 str for consistency with pytz. Needs to be made
unique if the conversion is inexact
2017-08-17 16:44:48 +01:00
Christian Geier 68e33af1c8 Merge pull request #235 from collective/fix/155
Allow ignoring of TZ offsets > 24h
2017-08-16 23:35:39 +02:00
Maurits van Rees a212983774
Back to development: 3.11.7
[ci skip]
2017-08-04 20:45:28 +02:00
Maurits van Rees b992e83f11
Preparing release 3.11.6
[ci skip]
2017-08-04 20:45:02 +02:00
Maurits van Rees 8f381e0966
Added changelog entry for last change.
[ci skip]
2017-08-04 20:44:42 +02:00
Christian Geier 9a03ff1e20 Allow ignoring of TZ offsets > 24h
fixes #155
2017-07-18 11:58:09 +02:00
esteele 34fda85e99 Back to development: 3.11.6
[ci skip]
2017-07-03 14:46:40 +03:00
esteele 61c591eeea Preparing release 3.11.5
[ci skip]
2017-07-03 14:45:50 +03:00
Christian Geier d445fcf87c Fix handling of non-unique VTIMEZONEs.
We should probably choose a better system for generating unique TZNAMEs.
2017-06-20 13:58:26 +02:00
Christian Geier f94cd35b6b Assertion for VTIMEZONE sub-components' DTSTART 2017-05-26 14:59:54 +02:00
esteele fa86fd5dfb Back to development: 3.11.5
[ci skip]
2017-05-10 08:52:19 -04:00
esteele a0380b78db Preparing release 3.11.4
[ci skip]
2017-05-10 08:52:03 -04:00
Christian Geier 5c269e1082 Fix handling of VTIMEZONEs with subcomponents with the same DTSTARTs
For VTIMEZONE subcomponents without a TZNAME we would construct a
TZNAME from their shared TZID and DTSTART, if their DTSTART was equal,
this would lead to the same TZNAME and with that to a broken timezone
object.

Fixes #217.
2017-04-19 00:21:59 +02:00
Christian Geier d0fd108ec7 Allow `=` in parameter values.
Some parameter values (e.g., BASE64 encoded binary data often ends with
one or two equal signs) may contain an equal sign (`=`). The current
implementation splits key-value pairs at all equal signs, which leads to
errors. Especially icalendar files generated by Apple's software often
feature BASE64 encoded binary data in parameter values.

This patch introduces a new parameter `maxsplit` to
icalendar.parser.q_split() which works similar as python's
string.split(sep, maxsplit) which we then use to split parameter
key-value pairs only at the first equal sign.

This patch fixes #197.
2017-04-19 00:07:41 +02:00
Maurits van Rees 9e4a4f018d Back to development: 3.11.4
[ci skip]
2017-02-15 12:37:39 +01:00
Maurits van Rees ebd677a0eb Preparing release 3.11.3
[ci skip]
2017-02-15 12:37:19 +01:00
Maurits van Rees e921a8d4bc Removing setuptools is no breaking change.
Moved this changelog entry to the 'Bug fixes' header.

[ci skip]
2017-02-15 12:37:01 +01:00
Markus Unterwaditzer 87f374d96e Introduce Hypothesis for testing (#191) 2017-02-05 21:36:33 +01:00
Jon Dufresne 70985f19b2 Drop requirement for setuptools package from setup.py
setuptools is shipped with Python, no need to include it as a requirement.

Further, it is not used by the icalendar package, but only by setup.py.

setuptools is imported by setup.py _before_ dependencies have been installed.
2017-01-24 07:06:08 -08:00
Timo Stollenwerk ebb47ee991 Back to development: 3.11.3
[ci skip]
2017-01-12 17:34:09 +01:00
Timo Stollenwerk 5ec4e60560 Preparing release 3.11.2
[ci skip]
2017-01-12 17:33:22 +01:00
Timo Stollenwerk eca7a6160d Fix changelog style. 2017-01-12 17:32:51 +01:00
Christian Geier cda4f8d5a0 Merge pull request #206 from geier/tox_py35
Also test on python 3.5 and 3.6, allow failures on pypy3
2017-01-05 01:40:10 +01:00
Christian Geier 8160afdbef Also test on python 3.5 and 3.6.
Also allow failures on travis.ci with pypy3.
2016-12-30 15:16:03 +01:00
Maurits van Rees 3d3015f186 Back to development: 3.11.2
[ci skip]
2016-12-19 18:03:18 +01:00
Maurits van Rees 69b5ec7f54 Preparing release 3.11.1
[ci skip]
2016-12-19 18:03:04 +01:00
Maurits van Rees d7af875e42 Cleaned up empty headers from changelog.
[ci skip]
2016-12-19 18:02:57 +01:00
Andreas Ruppen 885a547d34 Handle UnicodeEncodeError in Error messages. Depending on the input, I might be that instead of collecting the thrown error message, python throws a new UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 96: ordinal not in range(128). So we use the six library and unicode function to properly treat the error message before adding it to the stack of already collected error messages. 2016-11-22 21:11:16 +01:00
Maurits van Rees b8e242af4d Back to development: 3.11.1
[ci skip]
2016-11-18 20:13:51 +01:00
Maurits van Rees 617ca66589 Preparing release 3.11
[ci skip]
2016-11-18 20:13:07 +01:00
Maurits van Rees 72ee6a1c2a Updated changelog and added PyPy and CPython classifiers.
[ci skip]
2016-11-18 20:12:55 +01:00
Johannes Raggam c5a53fe973 Back to development: 3.11 2016-05-26 11:23:54 +02:00
Johannes Raggam a6f2b900db Preparing release 3.10 2016-05-26 11:23:10 +02:00
Johannes Raggam 03ae2d2783 prepare release 2016-05-26 11:18:05 +02:00
Johannes Raggam b91bc75ec4 Changelog 2016-05-26 11:14:36 +02:00
Johannes Raggam 7ad5491760 Merge pull request #185 from collective/fix_184
Reintroduce cal.Component.is_broken
2016-05-26 10:58:45 +02:00
Johannes Raggam 640aa85e10 Merge pull request #183 from stlaz/rfc5545
Updated components to better conform to RFC 5545
2016-05-26 10:52:46 +02:00
Christian Geier 70a049e06c Reintroduce cal.Component.is_broken
cal.Component.is_broken got removed with 3.9.2 but should not have been
removed before 4.0.0
2016-04-25 23:56:07 +02:00
Markus Unterwaditzer 6888bbe020 Add changelog for #195 2016-04-25 20:18:06 +02:00
Stanislav Laznicka 4f845ce91e Updated components to better conform to RFC 5545
https://github.com/collective/icalendar/issues/176
2016-02-17 08:28:40 +01:00
Johannes Raggam 7c6571d621 back to dev 2016-02-05 13:24:47 +01:00
Johannes Raggam a0f31b871e Preparing release 3.9.2 2016-02-05 13:19:00 +01:00
Johannes Raggam 759a6b122b add changelog entry 2016-02-05 13:15:51 +01:00
Johannes Raggam 5eb5476741 code comment, changelog reformat 2016-02-05 13:06:19 +01:00
Stanislav Laznicka d9264e90c0 Fixes unknown component represented as known one
from_ical() caused unknown an component to be represented as a known
one, losing the name information about the original component

https://github.com/collective/icalendar/issues/178
2016-02-05 12:55:13 +01:00
Johannes Raggam 4a5244ce72 add changelog entry. formatings 2016-02-05 12:47:34 +01:00
Stanislav Laznicka 63fcf7436e Fixes IndexError in Component.from_ical() 2016-01-29 10:42:36 +01:00
Johannes Raggam c64db780f3 change some list and dict calls to list and dict literals 2016-01-14 15:20:45 +01:00
Johannes Raggam 2d62c56ab0 all utf 8 headers 2016-01-14 15:08:00 +01:00
Johannes Raggam 9e26485f6d all pep8 2016-01-14 15:04:19 +01:00
Stanislav Laznicka 70a7b5a167 Fixes bug when date-time is recognized as time
Date-time was recognized incorrectly as a date or time. This resulted
in wrong representation of some iCalendar strings.

Also adds "errors" list in Component for saving error strings from parsing.

https://github.com/collective/icalendar/issues/174
https://github.com/collective/icalendar/issues/168
2015-12-18 20:59:07 +01:00
Johannes Raggam ff1f2eec3d allow zest.releaser to set the version in __init__.py. cleanup 2015-12-02 16:01:57 +01:00
Tom Try 86e4106a3b First commit 2015-11-29 21:00:58 +00:00
TomTry 445c11f4ee Reflect doc changes 2015-11-23 08:56:30 +00:00
Maurits van Rees 6fb784614e Added New/Fixes headers to changelog.
[ci skip]
2015-10-31 00:13:51 +01:00
Johannes Raggam f7154d5528 Back to development: 3.9.2 2015-09-08 16:08:23 +02:00
Johannes Raggam 01521a4406 Preparing release 3.9.1 2015-09-08 16:07:50 +02:00
Johannes Raggam 9ffc41b619 missing changelog 2015-09-08 16:07:08 +02:00
Johannes Raggam 64d17410a4 Improve foldline() performance
This improves the foldline performance, especially for large strings like
base64-encoded inline attachements. In some cases (1MB string) from 7 Minutes
to less than 20ms for ASCII data and 500ms for non-ASCII data. Ref: #163.
2015-06-15 12:15:33 +02:00
Johannes Raggam d3da3899da Back to development: 3.9.1 2015-03-24 13:01:01 +01:00
Johannes Raggam ab121fd7be Preparing release 3.9.0 2015-03-24 13:00:01 +01:00
Johannes Raggam e882e0379e merge prepare 2015-03-24 12:51:03 +01:00
Christian Geier 93ce1ee02a typo 2015-03-24 12:35:06 +01:00
Christian Geier 85b608853f CHANGELOG updated 2015-03-24 12:35:06 +01:00
sleeper c434cf755c Made the recurrence rule parser tolerant of trailing semicolons. 2015-03-22 13:37:38 +01:00
Johannes Raggam 832b326aab chanelog 2014-11-20 13:22:58 +01:00
esteele 419fdf847e Back to development: 3.8.5 2014-11-01 10:50:23 +00:00
esteele 470e76e645 Preparing release 3.8.4 2014-11-01 10:49:37 +00:00
Markus Unterwaditzer 34404f1a43 Add changelog and credits 2014-09-06 13:24:05 +02:00
Johannes Raggam 1e0feb5377 back to dev 2014-08-26 11:37:04 +02:00
Johannes Raggam ca674ab735 prepare release 2014-08-26 11:35:13 +02:00
Johannes Raggam c25004f6d3 added changelog note 2014-08-21 22:21:07 +02:00
Johannes Raggam a2f904f67f back to dev 2014-07-22 12:13:21 +02:00
Johannes Raggam 80630163a5 prepare release 2014-07-22 12:11:19 +02:00
Johannes Raggam 823e8d7afd Exclude editor backup files from egg distributions. Fixes #144. 2014-07-22 12:10:27 +02:00
Johannes Raggam 62c1b3de4e back to dev 2014-07-17 16:36:33 +02:00
Johannes Raggam 77d66180aa prepare release 2014-07-17 16:35:01 +02:00
Markus Unterwaditzer a9b83c960a Add CHANGES entry for parent commit 2014-07-17 15:50:58 +02:00