Skip to main content

Base modules for UNITRACC, a Plone customization

Project description

This package simply collects some basic constants etc. (e.g. permission names) which are used by other packages, e.g. visaplan.plone.browsers.

It is part of the footing of the “Unitracc family” of Plone sites which are maintained by visaplan GmbH, Bochum, Germany.

Some parts of this package might be outdated now and not anymore considered to follow Plone’s current Best Practices. The reason is:

The purpose of this package (for now) is not to provide new functionality but to factor out existing functionality from our former monolithic Zope product. Later versions might reflect more recent insights and/or the requirements of more recent Zope/Plone versions.

This package does still contain some resources (e.g. permission names) which are specific to our “Unitracc family” of sites; thus, we considere it more likely you to create your own yourcompany.plone.base fork than to use this package directly.

Features

  • exceptions module

    • Provides the UnitraccBaseException class which supports the localization of error messages which are presented to the users

    • Some more exception classes.

  • permissions module

    Imports some permission names from the Zope/Plone packages, and adds some proprietary permission names from our “Unitracc family”.

  • typestr module

    Creates dictionaries for the localization (l10n) of strings related to object type names; e.g., for your portal_type thingy you might want a Gettext message id thingies, and perhaps as well My thingies and others.

    When calles as a script, the module creates a honeypot file for use by extraction tools.

  • adapter module

    A “Base” class for the adapters of visaplan.plone.adapters which saves the context (given during adapter creation) to an attribute and calls (probably for historical reasons) the reference_catalog tool (this may change in the future).

  • the browserview module

    Provides an extended version of the Products.Five.BrowserView (hwich may as well change in the future).

Examples

This add-on can be seen in action at the following sites:

Installation

Install visaplan.plone.base by adding it to your buildout:

[buildout]

...

eggs =
    visaplan.plone.base

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.1 (2018-09-17)

  • First public release. [tobiasherp]

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

visaplan.plone.base-1.1.tar.gz (17.4 kB view details)

Uploaded Source

File details

Details for the file visaplan.plone.base-1.1.tar.gz.

File metadata

  • Download URL: visaplan.plone.base-1.1.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5

File hashes

Hashes for visaplan.plone.base-1.1.tar.gz
Algorithm Hash digest
SHA256 20c616f49a2743d3c6c5f97de6cc56c60b86a7b3d40bcbc092fa6c9d5780b32a
MD5 222cf60027d795482be89678536a5a71
BLAKE2b-256 ad5e20d589eb59cdf56a8684caed1a04c8832fd2b627450e6584fbaa31da6ad7

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