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.8 (2019-07-23)

  • Automatically increments the directory name if there’s a conflict. [href]

0.4.7 (2019-04-25)

  • Fixes error when renaming a file field. [href]

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

Uploaded Source

Built Distribution

onegov.directory-0.4.8-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.directory-0.4.8.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for onegov.directory-0.4.8.tar.gz
Algorithm Hash digest
SHA256 accea7968a773888bcab82f001becd796793da6e4c2f114a0982e234b11133f8
MD5 ad8f5eec90347cb71f6162e6ba41fb68
BLAKE2b-256 d77cbbc66237095a13b1509ac6593eab0c46591a595ec30a82eb7430126df056

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.directory-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for onegov.directory-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 54e28eededa0e34cffbed8e2f7ca5bab4474f2165841b1f47ab906edc5abe789
MD5 de8499b5e700f27a4166545d061b1673
BLAKE2b-256 c2fdce2ce288afdb6f54dbc1a41b3c743eb86170a345e4f07dab6066bec476f4

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