Skip to main content

Directory of upcoming Events.

Project description

seantis.dir.events builds on seantis.dir.base, adding information about upcoming events.

seantis.dir.base allows to put dexterity objects into 1-4 categories, showing those categories in a browsable and searchable catalog. To learn more about seantis.dir.base visit https://github.com/seantis/seantis.dir.base.

Dependencies

seantis.dir.events relies on Plone 4.3+ with dexterity and seantis.dir.base.

python-magic is used to identify the type of uploaded files which requires the ‘libmagic’ library.

Installation

  1. Use Plone 4.3 or newer

extends =
    http://dist.plone.org/release/4.3/versions.cfg
  1. Add the module to your instance eggs

[instance]
eggs +=
    seantis.dir.events
  1. Ensure that the i18n files are compiled by adding

[instance]
...
environment-vars =
    ...
    zope_i18n_compile_mo_files true
  1. Install dexterity and seantis.dir.events using portal_quickinstaller

Special Views

JSON export

  • JSON export of all events: ?type=json

  • Export a limited number of events: ?type=json&max=10

  • Export all events with a given category: ?type=json&filter=1&cat1=text&cat2=text

  • Export all events with a given keyword: ?type=json&search=1&searchtext=text

  • Export events with RRULES: ?type=json&compact=1

Index

  • View event index: /eventindex

  • Rebuild Z-catalog: /eventindex?rebuild

  • Reindex event indices: /eventindex?reindex

Cleanup

  • Archive past events, remove stale previews and archived events: /cleanup?run=1

Import

  • Import events: /fetch?run=1

  • Reimport event: /fetch?run=1&reimport=1

  • Import only events with a given ID: /fetch?run=1&source-ids=event1,event2

  • Don’t process source in random order: /fetch?run=1&no_shuffle=1

Setup

Clean-up

Cleaning up events is done by calling the corresponding up view. This can either be done externally with a cron job or internally by setting the following environment variable of the instance (which results in a daily cleanup at 00:30):

[instance]
...
environment-vars =
    ...
    seantis_events_cleanup true

Import

Importing events is done by calling the corresponding view. This can either be done externally with a cron job or internally by setting the following environment variable of the instance (which results in an import every 15 minutes):

[instance]
...
environment-vars =
    ...
    seantis_events_import true

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

seantis.dir.events is released under GPL v2

Contributors

  • Denis Krienbühl [href]

  • Tobias Reinhard [treinhard]

  • Marc Sommerhalder [msom]

Changelog

1.2.2 (2014-05-05)

  • Remove profile function. [msom]

  • Remove pages. Implements #51. [msom]

  • Reindex directory during transaction, clean up and import events in a specific instance. Fixes #52. [msom]

1.2.1 (2014-04-28)

  • Allow concurrent import in different directories. [msom]

1.2 (2014-04-28)

  • Add import. [msom]

1.1.1 (2014-04-24)

  • Move event submission link to top and style it as button [msom]

1.1 (2014-04-07)

  • Add locality to list view. Implements #40. [msom]

  • Show organizer and ticket / registration website on detail view. Implements #41. [msom]

  • Set coordinates using the location. Implements #43. [msom]

  • Add custom date filter. Implements #33. [msom]

1.0.1 (2014-02-15)

  • Fixes a rare bug occurring when an event exist for the last day of a year, but no events exist for the whole next year. Fixes #37. [href]

1.0

  • Removes plone.app.event.dx profile depencency - it is deprecated. [href]

  • Adds plone.app.event.ploneintegration profile dependency. [href]

  • Integrates seantis.plonetools. [href]

  • Search with no results no longer shows all events. [msom]

  • Upgrade steps are no longer displayed in the coverage report. [msom]

  • Update teamraum theme integration. [msom]

  • Show a single today’s whole-day event correctly. [msom]

1.0rc3

  • Add JSON export. [msom]

1.0rc2

  • Stops event reindexing from running more than once per transaction. [href]

  • Makes event reindexing threadsafe. [href]

  • Add tests. [msom]

1.0rc1

  • Fixes ical export error [href]

  • Fixes typos in add event form [msom]

  • Fixes date formating with superfluous point [msom]

  • Upgrade to seantis.dir.base 1.7 [msom]

1.0a3

  • Bind event reindexing directly to the transaction

  • Fixes errors when using plone.app.event 1.0rc2

1.0a2

  • It is now easier to enter common events like events which happen on a single day, or events which happen on different days.

  • All-day events in different timezones than the server no longer lead to crashes in the middle of the night

  • Events are no longer shown on the wrong day

  • Single events are no longer shown twice

  • Deleting an event (as opposed to denying it’s publication) no longer results in a corrupt event index.

  • Event submission now works in IE7/IE8 on Windows XP

1.0a1

  • 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

seantis.dir.events-1.2.2.tar.gz (107.2 kB view details)

Uploaded Source

File details

Details for the file seantis.dir.events-1.2.2.tar.gz.

File metadata

File hashes

Hashes for seantis.dir.events-1.2.2.tar.gz
Algorithm Hash digest
SHA256 5113507dc33a6145c3ff80f71777a5509bd66daa3b19d8f95238e808019e7f8c
MD5 a21102de4aa7861eceaadcd8cd36ac71
BLAKE2b-256 430d10a4e4630bf4ad1e64aeaa8e594a50e29f51415a15c41ac80bfba6c838ae

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