用于事件的Dexterity场馆类型。
项目描述
collective.venue
此软件包提供了一个具有地理位置支持的Dexterity Venue类型,可用于事件或任何其他特定位置的内容。
地理位置
如果您想使用具有地理位置行为的collective.venue,您应该在您的eggs buildout部分添加以下行
eggs = collective.venue [geolocation]
变更日志
4.1 (2020-07-10)
修复索引器以在Zope 4/Python 3上工作。[jensens]
明确加载依赖的ZCML。[jensens]
4.0 (2019-06-06)
破坏性更改
以下设置现在由plone.formwidget.geolocation处理,并已将前缀更改为geolocation。它们需要手动升级:collective.venue.default_map_layer、collective.venue.google_api_key、collective.venue.map_layers、collective.venue.show_google_maps_link。
将 collective.venue.icalexporter.AAFICalendarEventComponent 重命名为 collective.venue.icalexporter.VenueICalendarEventComponent。此 AAF 名称是从一个客户项目中遗留下来的。[thet]
事件访问器现在已注册为 ILocation 行为。这次更改后,我们不再需要重写 p.a.event 访问器。[cekk]
新功能
重构映射设置和索引器 -> 已移动到 plone.app.formwidget 和 collective.geolocationbehavior [petschki, thet]
卸载配置文件 [petschki]
自定义事件_summary 视图和事件面板渲染器以正确显示位置信息。[cekk]
错误修复
使 @@locationsearch 视图的注册依赖于 geopy 的可用性。修复 #15。[thet]
控制面板:修复了一个问题,即始终只显示默认值,而没有任何已存储的值。[thet]
ical 导出:修复了如果 IOrganizer 行为未启用时的联系人获取器。[cekk]
在捆绑包中删除注册初始化。[cekk]
3.1.2 (2017-12-06)
防止 ILocation 行为在 VenueEventAccessor 中不可适配。[thet]
添加 IICalendarEventComponent 适配器以自定义 location、contact 和 geo 属性的 ical 导出。[thet]
通过 add_bundle_on_request 仅在需要时包含 leaflet 捆绑包。[thet]
调整 contenttype-venue 图标以适应 plonetheme.barceloneta 1.7.4 的最新更改。[thet]
3.1.1 (2017-04-04)
明确包含必要的 zcml 依赖关系,以避免在测试中明确执行。[thet]
3.1 (2017-02-28)
删除纬度/经度的样式。它们太不具体了,使得 Leaflet 的图层选择非常丑陋且无法使用。[thet]
改进捆绑包注册并包括升级步骤。[thet]
3.0.3 (2017-02-24)
再次依赖 z3c.unconfigure < 1.1。buildout.coredev 仍然依赖于 1.0.1。[thet]
3.0.2 (2017-01-25)
删除 z3c.unconfigure 版本依赖性。buildout.coredev 5.1 现在依赖于 1.1。[thet]
3.0.1 (2017-01-13)
更新德语本地化。[thet]
3.0 (2016-10-06)
破坏性更改
将字段放置在自己的选项卡上,以减少默认选项卡上的混乱。[jensens]
可选依赖性为 collective.geolocationbehavior。如果您想使用地理位置支持,则依赖于 [geolocation] 额外功能,并添加来自 collective.geolocationbehavior 的 geolocatable 行为。[agitator, thet]
移除了对 Plone < 5 的支持。[agitator, thet]
新功能
在标记弹出窗口中显示地址。[thet]
提供地图叠加的 @@venue_overlay 视图。[thet]
当安装了 plone.tiles 时,提供场馆瓦片,它基本上类似于场馆视图。[thet]
允许配置用于搜索地理坐标的 Google API 密钥,显示 Google 地图的链接,默认地图图层和可用图层。提供升级步骤。[thet]
添加 Google 地图的链接。[thet]
添加搜索地址以获取地理坐标的可能性。[thet]
重新排列场馆表单并将地图置于顶部。[thet]
稍微清理行为表单。[thet]
更新 pot/po 文件和德语翻译。[jensens]
添加行为短名 venue.locationreference 和 vanue.organizerreference。[thet]
添加除 ILocation 行为之外的 IOrganizer 行为。[thet]
升级配置文件以适应 Plone 5 资源注册表。添加了 setuphandlers 和升级步骤。[agitator]
从 c.address 添加社交媒体字段行为。[agitator]
将地理位置支持移至额外功能(WIP)。[agitator]
禁用不工作的注册和适配器条目。[agitator]
错误修复
从站点设置和快速安装器中隐藏卸载配置文件。[thet]
2.1.3 (2016-02-04)
将所有 RichTextValue.output 参考更改为 RichTextValue.output_relative_to 以正确解析相对链接。另请参阅:https://github.com/plone/plone.app.textfield/pull/17 [thet]
2.1.2 (2015-10-06)
让 SearchBaseVocabulary 仅返回 Folder 和 Plone Site 类型,而不是所有可折叠类型,以减少词汇列表。 [thet]
将 VenueVocabulary 重命名为 SearchBaseVocabulary。旧名称具有误导性。 [thet]
2.1.1 (2015-10-02)
修复索引器,其中注释未正确提取,导致索引器失败。 [thet]
2.1 (2015-09-25)
允许通过其他子站点的 uid 显示场馆,否则在虚拟托管环境中将无法访问。 [thet]
添加控制面板,用于配置场馆搜索基础文件夹和默认场馆。在多站点环境中,搜索基础文件夹很有用。 [thet]
更好的 SearchableText 索引。 [thet]
2.0 (2015-07-15)
删除 Leaflet 代码。现在它在 plone.formwidget.geolocation 中。 [thet]
删除 div.geolocation 元素。相反,将地理定位点的列表作为 JSON 值渲染在地图元素的 data-geopoints 属性上。 [thet]
包括 IDXEvent 的 IEventAccessor 实现,并覆盖来自 plone.app.event 的默认实现。此实现的 location 属性在定义的情况下返回一个指向位置对象的 HTML 链接。 [thet]
删除 geolocation_display.pt 和 geolocation_input.pt 模板。这些模板只是覆盖了位于 plone.formwidget.geolocation 下的原始模板的 id 属性。我们无论如何都应该使用 CSS 类。 [thet]
将视图名称 venue 更改为 venue_view,以便在遍历的内容和命名场馆之间更独特。 [thet]
删除 Archetypes 代码。自 2.0 版以来,我们只支持基于 plone.app.event >= 2.0 的 Dexterity 类型。 [thet]
1.1 (2014-07-04)
修复 prepOverlay 可用性检查,它不知何故变为仅在 jQuery 对象上可用,而不是 jQuery 本身。 [thet]
JSLint。 [thet]
同时支持 IEventAccessor 在 get_location 中,并修复 @@event_listing 视图中未显示位置。 [thet]
1.0 (2014-04-30)
initial。