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
Issue Tracker: https://github.com/visaplan/visaplan.plone.adapters/issues
Source Code: https://github.com/visaplan/visaplan.plone.adapters
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
Tobias Herp, tobias.herp@visaplan.com
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file visaplan.plone.adapters-1.0.3.tar.gz
.
File metadata
- Download URL: visaplan.plone.adapters-1.0.3.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5574da1f6902f464f2098bfcb347fbea3596ff96da2de1fac384b3045b91f4aa |
|
MD5 | 12b1d32f948d2cdb734896f3e892f116 |
|
BLAKE2b-256 | 4c5512b2e316c570968f3828136b9429f7749261a5ee75ea3c422b8cfe12b98e |