Skip to main content

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]

Metadata

Release files for visaplan.plone.base 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visaplan.plone.base 1.1
File Size Uploaded
visaplan.plone.base-1.1.tar.gz 17.4 kB Details

Release files / visaplan.plone.base-1.1.tar.gz

Download URL visaplan.plone.base-1.1.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
20c616f49a2743d3c6c5f97de6cc56c60b86a7b3d40bcbc092fa6c9d5780b32a
BLAKE2b-256 checksum
How to use checksums
ad5e20d589eb59cdf56a8684caed1a04c8832fd2b627450e6584fbaa31da6ad7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page