Skip to main content

Calendar of events for OneGov.

Project description

Requirements

This package requires the HSTORE extension

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Onegov Events follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Events uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.event is released under GPLv2

Changelog

1.1.2 (2019-04-15)

  • Support latest onegov.search release. [href]

  • Ignores decompression bombs and super large images. [msom]

1.1.1 (2019-01-07)

  • Fixes fetching events messing up the search index. [msom]

1.1.0 (2018-12-08)

  • Allows to filter occurrences by locations. [msom]

1.0.0 (2018-12-07)

  • Allows to filter occurrences by relative date ranges. [msom]

  • Makes the outdated parameter of the occurrence collection stateful and more straightforward. If outdated is set to False, no outdated occurrences are returned no matter what start date is set. [msom]

  • Fixes JSON import of recurring events. [msom]

  • Fixes iCal export of events with indiviudal dates instead. [msom]

0.9.8 (2018-10-29)

  • Optimizes fetch and guidle import. [msom]

0.9.7 (2018-10-19)

  • Changes carriage return newlines to simple newlines. [href]

  • Fixes ampersands in titles. [href]

  • Gets the originals when downloading guidle images. [href]

0.9.6 (2018-10-19)

  • Fixes importing events with images with no filename throwing an error. [msom]

0.9.5 (2018-10-18)

  • Fixes files being imported with wrong content_type. [href]

0.9.4 (2018-10-18)

  • Adds the ability to link to external sources. [href]

  • Sets the end-time of events ending at midnight a microsecond before 00:00.

    This is consistent with other parts of the application. [href]

0.9.3 (2018-10-17)

  • Adds the ability to associate a single image with each event. [href]

0.9.2 (2018-10-16)

  • Fixes failing upgrade. [href]

0.9.1 (2018-10-16)

  • Automatically turn complex rrules into rdate lists during import. [href]

  • Strictly limits rrules to weekly rules and lists of rdates. [href]

0.9.0 (2018-09-24)

  • Adds a source property to events. [msom]

0.8.1 (2018-09-24)

  • Avoids indexing withdrawn events. [msom]

0.8.0 (2018-09-24)

  • Adds a location parameter to the fetch command. [msom]

0.7.0 (2018-09-15)

  • Adds ical export to occurrence collection. [msom]

  • Adds tags, timestamp, uid and coordinates to ical exports. [msom]

  • Adds ical import. [msom]

  • Adds guidle import. [msom]

  • Adds a command to fetch events from other instances. [msom]

  • Makes the collections fully stateful. [msom]

  • Fixes DST issue in occurrence generation. [msom]

  • Fixes caluclation of the last occurrence of an event. [msom]

  • Refactors the package. [msom]

  • Removes unused code. [msom]

0.6.3 (2018-06-14)

  • Stops indexing events before they are published. [href]

0.6.2 (2018-06-08)

  • Adds a way to get the latest occurrence per event. [href]

0.6.1 (2017-12-29)

  • Requires Python 3.6. [href]

  • Moves the coordinates field to the model provided by onegov.gis. [href]

0.6.0 (2017-09-26)

  • Switches to onegov.search’s automatic language detection. [href]

0.5.1 (2016-09-23)

  • Uses newly added onegov.core.utils.get_unique_hstore_keys function. [href]

0.5.0 (2016-08-18)

  • Adds an organizer field. [href]

0.4.1 (2016-06-13)

  • Exports events to iCalendar in UTC. [msom]

0.4.0 (2016-05-30)

  • Removes cli commands. [msom]

  • Fixes ical export test. [msom]

0.3.0 (2016-04-05)

  • Adds onegov.gis coordinates to events. [href]

0.2.0 (2015-11-12)

  • Adds CSV import and export. [msom]

0.1.0 (2015-10-12)

  • Removes Python 2.x support. [href]

0.0.6 (2015-09-25)

  • Adds onegov.search integration. [href]

0.0.5 (2015-09-15)

  • Add an optional URL to ical exports. [msom]

  • Cleanup the documentation. [msom]

0.0.4 (2015-09-08)

  • Add cli command for guidle import (experimental). [msom]

  • Add ical export functions. [msom]

0.0.3 (2015-09-03)

  • Don’t delete old event automatically. [msom]

0.0.2 (2015-08-28)

  • Use hstore for tags. [msom]

  • Filter for current occurrences by default. [msom]

  • Add autoclean option to add event function. [msom]

  • Add by_id method for event collections. [msom]

  • Automatically remove old initiated events. [msom]

0.0.1 (2015-08-20)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onegov.event-1.1.2.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

onegov.event-1.1.2-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file onegov.event-1.1.2.tar.gz.

File metadata

  • Download URL: onegov.event-1.1.2.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for onegov.event-1.1.2.tar.gz
Algorithm Hash digest
SHA256 e98180a8ea9384804d2b03a379a59f7aeecbbca6fbae2875d92457f524ab25ec
MD5 4178d6adf52b04d941c0fe8aacb49e22
BLAKE2b-256 da1589a5c572a4d6c69743d6f5af393e02cc18bbccce8c937b15a373590f1691

See more details on using hashes here.

File details

Details for the file onegov.event-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: onegov.event-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for onegov.event-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d9b47f7f18c8809789f04fdede583f93ec3e1b40a137792a958efef7c18ad1
MD5 d47a95687c74d2c9d299c9cfaa9a8892
BLAKE2b-256 acc287d89cedfc3c7ffa217f0fb49e037a28354aad8add6cfd0b02c0e1d93c80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page