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

Uploaded Source

Built Distribution

onegov.event-1.0.0-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.event-1.0.0.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for onegov.event-1.0.0.tar.gz
Algorithm Hash digest
SHA256 62327eaff463f528930e6b180047345d7c65230a4acd4ee611017998453411d9
MD5 0a018c9d38c817b73afca14d99a72b3c
BLAKE2b-256 ef565d229a9b08910a4c60f5ce1457288e4eef3c986ede929f0c2714fc87dbbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.event-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 48.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for onegov.event-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ebbc961c21e56fda27ed8e46d186be1027e72d089885512338dd4b7927f2be
MD5 47e7df13983db54429820595322be853
BLAKE2b-256 ed70729e2d6a6ecf5061847cde0f1e8cf82337ff7c543581300ccc723d22050b

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