Skip to main content

Directory module for Plone using Dexterity

Project description

Introduction

seantis.dir.base allows to put dexterity objects into 1-4 categories, showing those categories in a browsable and searchable catalog.

The idea of this plone module is to provide all basic functionality needed to categorize, search and filter objects. These objects may be extended with custom fields using dexterity.

An example, offering a directory of contacts can be found here: https://github.com/seantis/seantis.dir.contacts

This module is probably only really useful for anyone if used as a base to build on. By itself it only offers the categorization and search functionalities.

http://onegov.ch/approved.png/image

Certified: 01/2013

Build Status

https://secure.travis-ci.org/seantis/seantis.dir.base.png

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI version

Installation

  1. Add dexterity to Plone by adding the following Known Good Set to your buildout.cfg:

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

    [instance]
    ...
    eggs =
        ...
        seantis.dir.base
  3. Ensure that the i18n files are compiled by adding:

    [instance]
    ...
    environment-vars =
        ...
        zope_i18n_compile_mo_files true
  4. Install seantis.dir.base using portal_quickinstaller

License

seantis.dir.base is released under GPL v2

Maintainer

seantis.dir.base is maintained by Seantis GmbH (www.seantis.ch)

Changelog

1.9 (2015-12-02)

  • Center and zoom map on directory items in list. Implements #27. [msom]

  • Change layout of search bar for visual redesign. [msom]

  • Move styles from plonetheme.onegov to this package. [msom]

1.8.1 (2015-09-29)

  • Support List Filter Terms. Implements #20. [msom]

  • Handle undefined geostyles gracefully. Closes #24. [msom]

1.8.0 (2015-01-26)

  • Loosens the permissions required for import/export to add/edit respectively. Closes #6.

  • Adds an option to enable/disable the map on a per-directory basis. Closes #21. [href]

  • Remove category descriptions feature which was only ever used in the no longer maintained seantis.dir.council. Closes #20. [href]

1.7.8 (2014-10-29)

  • Adds the ability to filter the directory’s kml-document by category. [href]

1.7.7 (2014-10-20)

  • Remove deprecated.js for openlayers. Requires collective.geo.openlayers 3.1. [href]

1.7.6 (2014-09-23)

1.7.5 (2014-06-18)

  • Don’t store marker images for items persistently. Fixes #15. [msom]

1.7.4 (2014-04-24)

  • Fix fuzzy search. [msom]

  • Add zoom to location on map functionality again. [msom]

1.7.3 (2014-04-10)

  • Make the circles in the collective geo maps more visible again. [msom]

1.7.2 (2014-02-05)

  • No longer fix the width of the search/filter viewlet in python. This will impact the style of existing themes, except for plonetheme.onegov. [href]

  • Integrate seantis.plonetools. [href]

  • Fixes geo customstyles not returning a value. [href]

1.7.1 (2014-01-22)

  • Switching between locked/unlocked categories no longer results in ability to save an item. Fixes #11. [href]

  • No longer trigger a transaction on a simple read-only view request. Fixes #9. [href]

1.7 (2013-11-21)

  • Upgrade to latest collective.geo releases. Please note that an upgrade step is necessary for each module using seantis.dir.base. Implemented as follows:

    https://github.com/seantis/seantis.dir.contacts/commit/02c18f8f10fb20ac1610d94204e7ff753bfbaadf (note that the release is 1.7 instead of 1.6)

  • Adds category values to extended data if collective.geo.fastkml is installed. Use seantis.dir.base[extended_data] to install. Collective.geo.fastkml will be merged into collective.geo.kml in the future at which point this feature will no longer be optional.

1.6.1 (2013-06-16)

  • Adds seantis-directory-all, seantis-directory-results or seantis-directory-items to all directory views’ body class. This allows for easier styling of different seantis.dir.* modules.

1.6 (2013-09-12)

  • Removes almost all css styles - it’s the job of seantis.dir.* packages to look shiny.

  • Removes fieldset/legend from directory search

  • Adds category values to extended data if collective.geo.fastkml is installed. Use seantis.dir.base[extended_data] to install. Collective.geo.fastkml will be merged into collective.geo.kml in the future at which point this feature will no longer be optional.

1.5.9

  • Update French translations

1.5.8

  • Exclude *.mo files from the release

1.5.7

  • Show ‘Any’ instead of ‘Whatever’

  • Wrap search text in quotes to avoid query parsers errors

1.5.6

  • Fixes group-less forms controlled by seantis.dir.base crashing

  • Temporarily reintroduces jq as jQuery alias for collective.geo.mapwidget until the new release is out of beta.

1.5.5

  • Put search and categories on different lines if more than two categories and the searchbox is active

1.5.4

  • Stop directory search from throwing exceptions if an empty string is given

  • Show ‘Whatever’ instead of an empty string as default in filter combo boxes

1.5.3

  • Render ative/pulsating map markers in front of inactive ones

  • Make core form work with directory again

  • Prevents code from storing categories as sets (which trips up the keyword index)

1.5.2

  • Stop hooking up group forms completely, fixing an issue in seantis.dir.events

1.5.1

  • Limit portlet blocking to directory, making it easy to enable portlets for all items through the portlet settings of the directory. Fixes #4.

  • Fixes form view failing on IDirectoryCategorized items outside a directory

  • Fixes form reordering issue on group forms

1.5

  • Adds a behavior with which any item can be used as a directory item.

    This is a major change to the way directories and their items relate to each other internally. All directories using seantis.dir.base have to be migrated by adding the new IDirectoryCategorized behavior to the each item and reimporting the typeinof.

  • Adds category values to KML document

  • View now use their own directory specific browserlayer

  • Adds ability to define new xls exports through adapters

  • Fixes crash in big excel exports

  • Removes Directory Item Viewlets in Directory View. They have not been working correctly sinde 1.3 anyway.

  • Defines slots in macros which may be replaced by directories building on seantis.dir.base. This may be used as an alternative to the viewlets.

1.4.1

  • Provide better default template for result list entry

  • Provide a macro for default directory information

  • Fixes search viewlet being hidden on item view

  • New flag allow_custom_categories on directory which can be used to prevent users from entering their own categories on items

1.4

  • Map markers macro is now compatible with both brains and actual objects

  • Requires Plone 4.3 to run

1.3

  • Map markers are now always set in the order of the itemview’s batch list.

  • The directory no longer uses a homegrown getObject cache and will instead use catalog brains as much as possible. Directories building on seantis.dir.base might have taken that for granted, so they might be incompatible with this version.

    As a result, viewlets registered with the DirectoryItemViewletManager now need to expect catalog brains instead of objects.

    The upsides are big performance gains and more stability.

1.2

  • onegov.ch approved: add badge to readme.

  • Makes catalog adaptable for better customization

  • Adds maps to items using collective.geo

  • Refactors design. Base does no longer hold it’s own type.

  • Resolves name clash breaking absolute_url()

  • Adds french translations

1.1

  • Adds absolute url to xls export as a read only field

1.0.1

  • Makes fulltext search work independently of folder structure

  • Fixes an IE7 bug resulting in shrinking input boxes

1.0

  • 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.base-1.9.tar.gz (408.0 kB view details)

Uploaded Source

File details

Details for the file seantis.dir.base-1.9.tar.gz.

File metadata

File hashes

Hashes for seantis.dir.base-1.9.tar.gz
Algorithm Hash digest
SHA256 293f9afdcd0c4a3acb152de6492cac20970baa763917b2dae73a1a5b97521908
MD5 8d3c7047d6fd7ab8638bb3187d4a8077
BLAKE2b-256 afe66c9ddd1807e34bc8623f726dd5bb0e1cd43dc46165a471c4e4cb6a21835f

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