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.6 (2019-04-03)

  • Support latest onegov.search release. [href]

0.4.5 (2019-03-22)

  • Uses yamls safe load function. [msom]

0.4.4 (2018-09-12)

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

0.4.3 (2018-09-10)

  • Adds the ability to hide the external directory link. [href]

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.6.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

onegov.directory-0.4.6-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.directory-0.4.6.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for onegov.directory-0.4.6.tar.gz
Algorithm Hash digest
SHA256 a99193d1e171dec6feb5a3f0fa6aa942c7c96cf22dbf848dae56b9f088cfaf6a
MD5 fd7ff2efc66c67ea8db5d972d7090a41
BLAKE2b-256 5da0f7163406c49d1f825b39d9f4448a5a943999739f650ee14d4547b89888c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.directory-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for onegov.directory-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c3e75ed956275308efc7d3df4420528f8096461433b5f83a19b13249f6a962ad
MD5 6a658dc8bb5dbe554a73ec5d7aab340a
BLAKE2b-256 b756768b42456dd3aec6073d80e9642c70dd5eb87c9feb99f245c5c1c934218d

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