Plone debug/development helper
Project description
Introduction
The Oracle is a debug/development helper app for Plone. It currently shows the following information about a given user/context:
Authenticated User Info - ID, member type, roles, etc.
Authenticated User Attributes
Basic Context Info - ID, portal type, path, absolute url, etc.
Context Workflow Info - Review state, history, assigned workflow
Catalog Indexes
Catalog Metadata
Methods - view source and call those without arguments
Attributes and their values
Valid/Invalid permissions
Context source code
It also provides a fast way to drop to PDB at any given context.
Installation/Use
To install, just stick it in your buildout, once you’ve got your instance running, there’s a few of views which you can use:
the_oracle - Main context inspection tool
pdb - Drops you to pdb at the current context
the_oracall - Call method on the object context (?method=…)
the_oracode - See the source of a given method (?object=…)
A Friendly Warning
Don’t leave this product installed on a production site, or anywhere near production data. It massively undermines the security of the site it’s installed on and allows you wreck a site and data in all kinds of new and exciting ways. Also, angry bears with assault rifles will come to your house and rough you up if you do. Seriously. They’re not happy bears at all.
Changelog
0.0.1 - Unreleased
Initial release, original TTW python script for getting some useful info
0.0.2 - Unreleased
Added lots of shiny
Added the_oracall
Added PDB
0.0.3 - First release
Changed system to use content providers (allows products to add their own information)
Made prettier
Added syntax highlighting for code stuff
0.0.4
Removed dependency on pygments (now optional)
Modified the_oracode to accept modules
Made module name in method list link to source of module
Added path to file on filesystem on source view
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
Hashes for teamrubber.theoracle-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f495fb6be4605839f80f9284b258ee648c3391cbf917a37aee89ee276cee1afb |
|
MD5 | ad347ee49d014aaa70a1cbd40fe5aca3 |
|
BLAKE2b-256 | e622294c9f01b45d931e443723c5952c9bf4967ee8fa35f11bd84266d95e3dd0 |