Skip to main content
CI Status Coveralls Latest Version Egg Status https://img.shields.io/pypi/pyversions/imio.events.core.svg?style=plastic:alt:Supported-PythonVersions License

imio.events.core

Core product form iMio events website

Features

This products contains: - Content types: Agenda, Folder, Event

Examples

Documentation

ODWB endpoints:

@odwb

  • Push event(s) in odwb table : “iMio - Agenda - événements”

  • some subscribers are called to push/remove event in odwb table

  • We add an event in odwb table when it is published and remove it when it is unpublished (or deleted)

  • When we duplicate an event, the copy of this event is not push to odwb until it is published

  • When we move an event into another agenda, the event is updated in odwb table (the agenda title and its uid change)

@odwb_entities

  • Push entities in odwb table : “iMio - Agenda - Entités”

Translations

This product has been translated into

  • French

Installation

Install imio.events.core by adding it to your buildout:

[buildout]

...

eggs =
    imio.events.core

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.2.56 (2026-09-03)

  • Main contact : fix “Constraint not satisfied” when saving an Event with a contact selected. directory_linked_contact is a single-valued Choice on a TranslatedAjaxSelectWidget, a combination plone.app.z3cform has no data converter for (it only covers ICollection), so z3c.form fell back to Choice.fromUnicode() on the unbound field, which resolves the vocabulary with a None context – always empty for a vocabulary that needs the parent Entity. Added AjaxSelectChoiceDataConverter, which resolves the token through the widget’s own vocabulary. The scoping to the Entity’s linked directory entities is unchanged : an out-of-scope contact is still refused. [boulch]

1.2.55 (2026-09-02)

  • Contact autofill : fix the fields never being filled for non-Manager editors. @@directory_contact_info / @@directory_entities_info required cmf.ModifyPortalContent, but the edit-form JS calls the first one on the portal root, where an editor holding only local roles on an Entity has no modify right : Plone answered with the insufficient-privileges page (HTTP 200 + HTML) and the autofill silently gave up. Both views now use zope2.View and refuse anonymous callers themselves. [boulch]

1.2.54 (2026-08-26)

  • @events : return a 400 for invalid b_size/b_start parameters. [boulch]

  • Contacts vocabulary : search directory contacts on demand, limited to 20 results. [boulch]

  • ODWB : reduce push/delete endpoint logs while keeping warnings. [boulch]

  • WEBBDC-2831 : Contact autofill : always show the “Refresh” button when a contact is selected. It is no longer hidden by the SHOW_DIRECTORY_LINKS kill-switch (which now only covers the links going to the remote directory), because it was the only way to (re)pull data for an already-linked contact : re-picking the same option in a native <select> fires no change event and the edit form does not autofill on load.

  • Contact autofill : drop the dead NBSP-stripping logic on zipcode. It assumed z3c.form’s IntegerDataConverter inserted a thousand separator, but IAddress.zipcode is a TextLine (it used to be an Int). [boulch]

1.2.53 (2026-08-14)

  • WEB-4468 : Perf @events : close the upper end of the event_dates catalog window for event_dates.range=min. An open-ended range: min made the catalog load one persistent IITreeSet per indexed day: 18,409 ZODB loads per query, now 3,816 for an identical resultset (2,311 instead of 17,552 when filtering on an agenda). [boulch]

1.2.52 (2026-07-07)

  • Update to Plone 6.1.5 and buidlout 5-x versions

  • WEBBDC-2831 : Update some fields descriptions [boulch]

  • WEBBDC-2831 : Add links to create a new contact in the directory [boulch]

  • WEBBDC-2831 : Add link to edit the linked contact in the directory [boulch]

  • WEBBDC-2831 : Fix intermittently empty event_sponsors Fix RemoteDirectoryContact vocabulary cache key (per-entity cache key) [boulch]

  • WEBBDC-2831 : Add auto-filed-contact class to improve autofiled field styles [thomaslamb]

  • WEBBDC-2831 : Auto-expand “address” fieldset on contact selection [boulch]

  • WEBBDC-2831 : Add description on “address” fieldset [boulch]

  • WEBBDC-2831 : Move “event_url” (from plone.app.event’s IEventContact behavior) right below the description [boulch]

  • WEBBDC-2831 : Remove cleanBtn. Linked contact is cleaned thank to onChange event on directory_linked_contact select field [boulch]

  • SUP-47733 : Add cancel button to event add/edit forms [thomlamb]

  • WEBBDC-2803 : Add a new “Parteners” fieldset to imio.events.Event [thomlamb]

  • WEBBDC-2803 : Auto-fill Event contact/address from linked directory contact When the user picks an entry in directory_linked_contact, fetch the remote contact via a new @@directory_contact_info view and populate the IEventContact (name/email/phone) and IAddress inputs. Existing values are never overwritten; a “Clear” button wipes those fields. The JS is shipped via a new imio-events-core-edit Plone bundle restricted to logged-in members. [boulch]

  • WEBBDC-2803 : Reorganize imio.events.Event fieldsets (and fields order) Move the geolocation field into “address” and the change-note field into “settings” (stripping IVersionable’s order_after rule that would undo it). Place directory_linked_contact just before contact_name. Pin explicit order on the “address” and “categorization” fieldsets. [boulch]

  • WEBBDC-2803 : Add RemoteDirectoryContact vocabulary for Event Register imio.events.vocabulary.RemoteDirectoryContact, which queries the Smartweb directory for contacts scoped to the parent Entity’s directory_linked_entities. Reorder Event behaviors to align tab order with the new fieldset layout. [boulch]

1.2.51 (2026-06-08)

  • WEB-4427 : Fix a bug when whole_day for only 1 day [boulch]

1.2.50 (2026-05-11)

  • WEB-4426 : fix: prevent child items truncation when querying events by UID [thomlamb]

1.2.49 (2026-04-29)

  • SUP-52831 : Fix @events ?event_dates.range=min dropping future events when the agenda has many past events. Restore the event_dates catalog filter (with a 1-year permissive lower bound to keep ongoing/open_end events) and replace the hardcoded b_size=400 by the actual resultset length so the serializer never truncates. [boulch]

1.2.48 (2026-04-28)

  • SUP-52831 : Fix @events range=min to return ongoing and open_end events [boulch]

  • Fix a bug in BringEventIntoAgendasForm and improve tests [boulch]

1.2.47 (2026-04-13)

  • WEB-4353 : Feat: switch portal timezone from UTC to Europe/Brussels and push all published events to ODWB after commit [boulch]

1.2.46 (2026-03-20)

  • OIA-109 : OMNIA : Add ia “CategorizeContent” and titles proposal generation features on imio.events.Event [boulch]

1.2.45 (2026-01-05)

  • WEB-4257 : improve tests to avoid data leak in some requests [boulch]

  • WEB-4300 : Add upgrade step to delete plone.eventattendees behavior. [thomlamb]

1.2.44 (2025-11-14)

  • SUP-38561 : Refactored deletion checks: ignore news items when counting apply restriction only to news folders or folders containing items. [boulch]

  • Migrate to Plone 6.1.3 [boulch]

1.2.43 (2025-09-08)

  • SUP-46571: Correct handling of “min” range for event recurrences [boulch]

  • CITI-10 : Add (de) translation for event_public taxonomy and for event types vocabulary [boulch]

1.2.42 (2025-07-10)

  • CITI-10 : Add new translated (de) vocabularies for e-guichet [boulch]

1.2.41 (2025-07-10)

  • SUP-45754 : Fix (another) bug when we get whole day events [boulch]

1.2.40 (2025-06-25)

  • WEB-4278 : Create translated (de) collective.taxonomy.event_public taxonomy as EventPublicDe vocabulary for e-guichet (citizen project) [boulch]

  • SUP-45270 : Don’t set end date when undetermined end date is set to True (open_end property) [boulch]

1.2.39 (2025-06-16)

  • CITI-8 : Fix images for citizen space in e-guichet [boulch]

1.2.38 (2025-05-28)

  • WEB-4251 : Fix bug when we get a whole day event. On the day, these events don’t appear! [boulch]

1.2.37 (2025-05-27)

  • WEB-4270 : Mark event as dirty when modifying selected agendas Ensures that initial values in the TranslatedAjaxSelectWidget are correctly updated [remdub]

1.2.36 (2025-05-27)

  • WEB-4264 : Fix has_leadmage metadata_field [boulch]

1.2.35 (2025-05-20)

  • Use fullobjects=1 when we want to get only one event [boulch]

1.2.34 (2025-05-15)

  • WEB-4234 : Fix LookupError when querying on events without fullobjects=1 in querystring (old/bad occurences refer to old event UID) [boulch]

1.2.33 (2025-05-14)

  • Upgrade dev environment to Plone 6.1.1 [boulch]

  • Update Python classifiers to be compatible with Python 3.13 [boulch]

  • Update Python classifiers to be compatible with Python 3.12 [boulch]

  • WEB-4234 : Avoid using fullobjects in events endpoint. Increase events time caching. Reduce b_size. [boulch]

1.2.32 (2025-05-12)

  • WEB-4234 : Refactor agenda subscription (so => events indexing). Try to avoid latency [boulch]

  • Add some logs [boulch]

1.2.31 (2025-03-28)

  • WEB-4234 : Continue refactoring endpoint. Correct a bug with batching. [boulch]

1.2.30 (2025-03-24)

  • WEB-4234 : Refactor events endpoint. Try to improve performances : Enhance cache management, less dates transformations, Use a generator to get occurrences,Remove deepcopy to manage occurrences,… [boulch])

1.2.29 (2025-03-17)

  • Cache the UserAgendas vocabulary and set pattern_options to start the AJAX query after 3 characters [boulch]

  • Update Python classifiers to be compatible with Python 3.12 [remdub]

  • Migrate to Plone 6.0.14 [boulch]

1.2.28 (2025-01-09)

  • WEB-4153 : Add a new cacheRuleset to use with our custom rest endpoints [remdub]

1.2.27 (2024-08-02)

  • WEB-4130 : Fix bug which forbid to remove events [boulch]

1.2.26 (2024-06-26)

  • WEB-4121 : Add logs if container_uid is None [boulch]

1.2.25 (2024-06-21)

  • WEB-4088 : Use transaction commit hook to be sure event object is available before odwb call [boulch]

  • GHA tests on Python 3.8 3.9 and 3.10 [remdub]

1.2.24 (2024-06-20)

  • WEB-4088 : Use one state workflow for imio.events.Agenda / imio.events.Folder [boulch]

1.2.23 (2024-06-19)

  • Add events lead image (preview scale) for odwb and some logs [boulch]

  • Refactor items_to_delete : Added translations / Corrected result of number of items [boulch]

1.2.22 (2024-06-06)

  • WEB-4113 : Use TranslatedAjaxSelectWidget to fix select2 values translation [laulaz]

1.2.21 (2024-05-28)

  • WEB-4101 : Calculate search-filters JSON based on @events search results logic. We need to refactor & test (more) this module. [laulaz]

1.2.20 (2024-05-27)

  • WEB-4101 : Add index for local category search [laulaz]

1.2.19 (2024-05-24)

  • Fix naming of two fields for odwb [boulch]

1.2.18 (2024-05-24)

  • improves odwb fields nomenclature [boulch]

1.2.17 (2024-05-24)

  • WEB-4101 : Handle (local) categories translations with datagrid field and new indexes. French value is used as identifier for local categories. [laulaz]

  • WEB-4088 : Cover use case for sending data in odwb for a staging environment [boulch]

  • Fix Topics & Categories in SearchableText translated indexes [laulaz]

  • WEB-4088 : Add some odwb endpoints (for events , for entities) [boulch]

  • WEB-4108 : Prevent removing calendar if there is at least 1 event in it. [boulch]

1.2.16 (2024-05-02)

  • WEB-4101 : Use local category (if any) instead of category in category_title indexer [laulaz]

1.2.15 (2024-04-10)

  • Fix : Keep events where start date is earlier than current date and end date is later than current date (when no period defined) [boulch]

1.2.14 (2024-04-04)

  • Fix serializer. Sometimes we have brain, sometines event, agenda or folder… [boulch]

1.2.13 (2024-04-04)

  • Getting agenda title/id to use it in rest views [boulch]

1.2.12 (2024-03-29)

  • MWEBPM-9 : Add container_uid as metadata_field to retrieve agenda id/title in event serializer and set it in our json dataset [boulch]

  • MWEBPM-8 : Add support for getting only past events [boulch]

1.2.11 (2024-03-21)

  • Fix some issues (bad copy/paste!) [boulch]

1.2.10 (2024-03-21)

  • WEB-4068 : Refactor / Fix some issues [boulch]

1.2.9 (2024-03-13)

  • WEB-4068 : Add field to limit the new feature “adding events in any agenda” to some entities [boulch]

1.2.8 (2024-03-12)

  • WEB-4068 : Refactor “adding events in any agenda” : (update translations, add feature : “remove agenda”) [boulch]

1.2.7 (2024-03-11)

  • WEB-4068 : Adding events in any agenda of the current entity [boulch]

1.2.6 (2024-02-28)

  • WEB-4072, WEB-4073 : Enable solr.fields behavior on some content types [remdub]

  • WEB-4006 : Exclude some content types from search results [remdub]

  • MWEBRCHA-13 : Add versioning on imio.events.Event [boulch]

1.2.5 (2024-01-25)

  • WEB-3802 : Fix : Avoid noizy events occurrences. Occurences that begin later than min date with a valid end date. [boulch]

1.2.4 (2024-01-25)

  • WEB-3802 : Fix : Keep events occurrences when start date is smaller than min date but end date is greater than min date [boulch]

1.2.3 (2024-01-24)

  • WEB-3802 : Manually filter dates to respect range passing into REST request. [boulch]

1.2.2 (2024-01-22)

  • WEB-3802 : Get dates range for events in REST views. Comming from imio.smartweb.core React view [boulch]

1.2.1 (2024-01-09)

  • WEB-4041 : Handle new “carre” scale [boulch]

1.2 (2023-10-25)

  • WEB-3985 : Use new portrait / paysage scales & logic [boulch, laulaz]

  • WEB-3985 : Remove old cropping information when image changes [boulch, laulaz]

1.1.15 (2023-10-18)

  • WEB-3997 : Fix : Initial agenda must be kept! [boulch]

  • WEB-3997 : Fix : Add condition to avoid getting a broken “_broken_to_path” old/removed agenda [boulch]

1.1.14 (2023-10-17)

  • WEB-3997 : Fix recursive_generator if agenda A has a reference to agenda B and agenda B has a reference to agenda A [boulch]

1.1.13 (2023-10-11)

  • WEB-3997 : Add cascading agendas subscriptions retrieval in endpoint to get events “by dependency” [boulch]

1.1.12 (2023-10-09)

  • WEB-3989 : Fix infinite loop on object deletion & remove logs [laulaz]

1.1.11 (2023-09-12)

1.1.10 (2023-07-26)

  • [WEB-3937] Fix add / edit forms for events [boulch, laulaz]

1.1.9 (2023-07-24)

  • [WEB-3937] Limit event duration to maximum 3 years [boulch, laulaz]

1.1.8 (2023-07-18)

  • Add logs in endpoint. Help us to find why agenda go slowlier [boulch]

1.1.7 (2023-07-03)

1.1.6 (2023-05-05)

  • INFRA-4725 : Add logging to find infinite loop in recurrence calculation [laulaz]

  • Migrate to Plone 6.0.4 [boulch]

1.1.5 (2023-03-31)

  • Need fullobjects in query to avoid “Cannot read properties of undefined (reading ‘latitude’)” in rest view So, we need to serialize first_start and first_end from obj.start and obj.end. If we don’t do that, we got brain.start/end these are updates with first valid event occurence [boulch]

1.1.4 (2023-03-30)

  • Fix occurrences expansion calculation for start dates We can’t use start/end recurring indexes because they return the next occurrence and not the first one, so recurrence rule cannot be applied on them. [laulaz]

  • Fix bug calculating event_dates index with occurrences [laulaz]

  • WEB-3908 : Create new endpoint to serve batched events occurrences [boulch]

1.1.3 (2023-03-13)

  • Add warning message if images are too small to be cropped [laulaz]

  • Migrate to Plone 6.0.2 [boulch]

  • Fix reindex after cut / copy / paste in some cases [laulaz]

1.1.2 (2023-02-20)

  • Remove unused title_fr and description_fr metadatas [laulaz]

  • Remove SearchableText_fr (Solr will use SearchableText for FR) [laulaz]

1.1.1 (2023-01-12)

  • Add new descriptions metadatas and SearchableText indexes for multilingual [laulaz]

1.1 (2022-12-20)

  • Update to Plone 6.0.0 final [boulch]

1.0.1 (2022-11-15)

  • Fix SearchableText index for multilingual [laulaz]

1.0 (2022-11-15)

  • Add multilingual features: New fields, vocabularies translations, restapi serializer [laulaz]

1.0a6 (2022-10-21)

  • WEB-3770 : Add serializer to get included items when you request an imio.events.Event fullbobjects [boulch]

  • WEB-3757 : Automaticaly create some defaults agendas (with agendas subscription) when creating a new entity [boulch]

  • WEB-3726 : Add subjects (keyword) in SearchableText [boulch]

1.0a5 (2022-10-18)

  • Add logging to find cause of infinite loop statement [laulaz]

  • Fix deprecated get_mimetype_icon [boulch]

  • Add logging to find cause of infinite loop statement [laulaz]

  • Add eea.faceted.navigable behavior on Entity & Agenda types [laulaz]

1.0a4 (2022-07-14)

  • Ensure objects are marked as modified after appending to a list attribute [laulaz]

  • Fix selected_agendas on events after creating a “linked” agenda [boulch]

1.0a3 (2022-05-03)

  • Remove useless imio.events.Page content type [boulch]

  • Use unique urls for images scales to ease caching [boulch]

  • Use common.interfaces.ILocalManagerAware to mark a locally manageable content [boulch]

1.0a2 (2022-02-09)

  • Add event_dates index to handle current events queries correctly [laulaz]

  • Update buildout to use Plone 6.0.0a3 packages versions [boulch]

1.0a1 (2022-01-25)

  • Initial release. [boulch]

Metadata

Release files for imio.events.core 1.2.56

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imio.events.core 1.2.56
File Size Uploaded
imio_events_core-1.2.56.tar.gz 152.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imio.events.core 1.2.56
File Interpreter ABI Platform
imio_events_core-1.2.56-py3-none-any.whl Python 3 none any Details

Total release size: 329.4 kB

Release files / imio_events_core-1.2.56.tar.gz

Download URL imio_events_core-1.2.56.tar.gz
Size 152.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c9924b9efba12232d8269408826b99b6907a8df2093c459e1a236034595eada0
BLAKE2b-256 checksum
How to use checksums
e5b7ec2bbaf6512ebf130195beac18dfb9d6f59ccb77cd32b3e28bbe9dce7336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / imio_events_core-1.2.56-py3-none-any.whl

Download URL imio_events_core-1.2.56-py3-none-any.whl
Size 177.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f60a58292d6d12bcc2b0d2be1a7db7b4f447803d8429bbaa91c054bd757ba3be
BLAKE2b-256 checksum
How to use checksums
9f7fbc75058a58b3426899af3736f6dfbb24b85b5c3bb261e18d02fc382066d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.2.56 This release

2 release files

1.2.54

2 release files

1.2.53

2 release files

1.2.50

2 release files

1.2.49

2 release files

1.2.48

2 release files

1.2.47

2 release files

1.2.46

2 release files

1.2.44

2 release files

1.2.42

2 release files

1.2.41

2 release files

1.2.40

2 release files

1.2.39

2 release files

1.2.38

2 release files

1.2.37

2 release files

1.2.36

2 release files

1.2.35

2 release files

1.2.34

2 release files

1.2.33

2 release files

1.2.32

2 release files

1.2.31

2 release files

1.2.30

2 release files

1.2.29

2 release files

1.2.28

1 release file

1.2.26

2 release files

1.2.25

2 release files

1.2.24

2 release files

1.2.23

2 release files

1.2.21

2 release files

1.2.20

2 release files

1.2.19

2 release files

1.2.18

2 release files

1.2.17

2 release files

1.2.16

1 release file

1.2.15

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

1 release file

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2

1 release file

1.1.15

2 release files

1.1.14

2 release files

1.1.13

2 release files

1.1.11

1 release file

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page