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.2.0 (2019-06-13)

  • Adds the ability to get a virtual occasion before accepting the event. [href]

1.1.4 (2019-05-06)

  • Fixes RRULE in Guidle import. [msom]

1.1.3 (2019-04-22)

  • Improves performance of guidle import. [msom]

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.2.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

onegov.event-1.2.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.event-1.2.0.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for onegov.event-1.2.0.tar.gz
Algorithm Hash digest
SHA256 25ef56cd6ad93a22692f06b1e0efdbd554932a630ba606f2c66c4f9f63041846
MD5 9e7792a80c549f20a6450dd45cd0575d
BLAKE2b-256 b454c314169048d047210d0119214933aea4e2d68a70f6a039361303b8da857f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.event-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for onegov.event-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32836fe40e48789160aae0825e947611b7b2b118d7baf0aab373c8b4e7a4d713
MD5 029ad33f639003d301f8f6f33fae110e
BLAKE2b-256 afcfaf87578133c2aed77fed87d11b2d6ec64fad68dd7995b399f0135af97295

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