Skip to main content

Adapters for Plone sites

Project description

Provides a brown bag of adapters for Plone sites

The purpose of this package is not to provide new functionality but to factor out existing functionality from an existing monolitic Zope product. Thus, it is more likely to lose functionality during further development (as parts of it will be forked out into their own packages, or some functionality may even become obsolete because there are better alternatives in standard Plone components).

Features

  • flvinfo adapter:

    flash file metadata extraction

  • getmenulevel adapter:

    Catalog query to create a submenu level

  • grouplog adapter:

    Maintains a special logfile for group membership changes

  • pc2 adapter:

    The portal_catalog as a decorated_tool (which logs its calls; for development)

  • pformat adapter:

    Makes the pprint.pformat function available for page template code (for development)

  • puc adapter:

    The portal_user_catalog (if you have one)

  • rawbyname adapter:

    Return the raw contents of the given field

  • swfinfo adapter:

    Parses the header information of a Shockwave Flash (swf) file

  • uidorint adapter:

    Does the given value or (request) varname contain a number or a UID?

  • updateactualurl adapter:

    Sets the request variable ACTUAL_URL to the given value

  • userlog adapter:

    Maintains a special logfile for user account changes, e.g. registrations and activations.

    There is a utility script parseuserlog to extract information from this file and write it to a CSV file.

Examples

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

Installation

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

[buildout]

...

eggs =
    visaplan.plone.adapters

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.0.3 (2020-12-16)

Improvements:

  • Dependencies on proprietary adapters removed

New Features:

  • Installable script parseuserlog

[tobiasherp]

1.0.2 (2020-08-12)

New Features:

  • Python 3 support, using six (python-modernize)

Improvements:

  • userlog and grouplog adapters group HTTP-related information together:

    • ip, usually meaning the IP address of the client;

    • hostname, usually meaning the hostname of the server (since there may be more than one)

[tobiasherp]

1.0.1 (2019-01-29)

  • Tools updates

  • Bugfix: No generation of configure.zcml files tried anymore in production setups (using visaplan.plone.tools.zcmlgen.SubpackageGenerator)

[tobiasherp]

1.0 (2018-09-19)

Initial 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.adapters-1.0.3.tar.gz (40.1 kB view hashes)

Uploaded Source

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