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

Uploaded Source

Built Distribution

onegov.directory-0.4.1-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.directory-0.4.1.tar.gz
  • Upload date:
  • Size: 21.3 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.1.tar.gz
Algorithm Hash digest
SHA256 f09796ac5ef6ace4d04395d0a304095d8c0ce242e02418b822252274da8b032e
MD5 00cef91daafb1b92086ecbda6a87d339
BLAKE2b-256 0193d4024e044126bdb4fa67edca4fe62174b51de4c54ae19b150c439cd27695

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.directory-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 27.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e27c73ebcbde55cf42cd19a45ac7e217a9632aee5a0d7ddc6f99b63559dc894c
MD5 0f7d8db29eabed885f16f767590b7f9f
BLAKE2b-256 383a67e9c64e4557d128f359a7fe746bca40103b31ae1fddbde129ea02225fa6

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