Skip to main content

Directories for the OneGov Cloud.

Project description

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 Directory follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Directory uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.directory is released under GPLv2

Changelog

0.4.2 (2018-08-13)

  • Fixes xlsx import failing in certain cases. [href]

  • Raises an error when metadata.json is missing in an import. [href]

0.4.1 (2018-08-10)

  • No longer overwrites the directory name during import if it exists already. [href]

  • Throws a proper error when a file is missing from an import. [href]

  • Ensures that only fields which have choices are actually avilable as filters. [href]

0.4.0 (2018-06-15)

  • Adds natural sorting with a variant of the alphanum algorithm. [href]

0.3.4 (2018-06-06)

  • Adds the ability to configure a thumbnail. [href]

0.3.3 (2018-06-05)

  • Improves the quality of the dynamic elasticsarch content. [href]

  • Adds the directory_id to the elasticsearch properties. [href]

  • Adds support for meta/content data in the directory import/export. [href]

0.3.2 (2018-05-21)

  • Adds the ability to programatically influence the entry collection results. [href]

0.3.1 (2018-05-16)

  • Adds the ability to define an external link by pattern on each entry. [href]

0.3.0 (2018-05-16)

  • Adds the ability to specify the order direction for directory collections. [href]

0.2.2 (2018-04-26)

  • Fixes some migrations not triggering a database update. [href]

0.2.1 (2018-02-23)

  • Fixes a serious performance regression. [href]

0.2.0 (2018-02-09)

  • Filters values within one category using OR (existing behaviour) and values between categories using AND (was OR). [href]

0.1.7 (2018-02-06)

  • Fixes entries from other directories being considered as duplicates. [href]

0.1.6 (2018-01-24)

  • Fixes number ranges not being validated during migrations. [href]

0.1.5 (2018-01-24)

  • Fixes import duplicates not being detected in all instances. [href]

  • Fixes limit not being applied correctly (off by one). [href]

  • Adds the ability to provide a callback for each successful entry import. [href]

  • Fixes a case where an empty image field would result in an error. [href]

0.1.4 (2018-01-23)

  • Ensures the imported lat/lon values are proper coordinates. [href]

0.1.3 (2018-01-22)

  • Fixes coordinates export. [href]

0.1.2 (2018-01-04)

  • Improves the flexibility of the migration helper. [href]

  • Fixes a case where invalid entries would be added to the directory. [href]

0.1.1 (2017-12-29)

  • Throws an error early if an entry with a duplicate name is created. [href]

0.1.0 (2017-12-22)

  • Switches to onegov core’s custom json module. [href]

  • Adds support for text to url migration. [href]

  • Changes the category filter from AND to OR. [href]

  • Adds support for radio to checkbox migration. [href]

0.0.2 (2017-11-30)

  • Fixes required fileinput fields not working. [href]

0.0.1 (2017-11-08)

  • Initial Release. [href]

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.directory-0.4.2.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

onegov.directory-0.4.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file onegov.directory-0.4.2.tar.gz.

File metadata

  • Download URL: onegov.directory-0.4.2.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for onegov.directory-0.4.2.tar.gz
Algorithm Hash digest
SHA256 bc32a06a30fbb24890638532c9086a8e10bedf6340b668d58641e35a19174f6a
MD5 c43d652ae1e1be7862ea46d90b6f2e4b
BLAKE2b-256 f3b6a2fd7c48d83f25aa356a2429897a917a4b8cda0334dd3ba32b5b52d2d461

See more details on using hashes here.

File details

Details for the file onegov.directory-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: onegov.directory-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for onegov.directory-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e69ab4a00030f0c6c474a8ca82d9d82a5a51ba2583c38748543afd9e6df0710
MD5 9f5e2ab68e28073f39d8c99f9f21b5cd
BLAKE2b-256 c372d4b16348952df4008ce35f93ef9b190867d9550723f6bc60ee60a92924bb

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