aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/sampleplugin
Commit message (Collapse)AuthorAgeFilesLines
* Rework plugin infrastructure to nix side-effectsWill Kahn-Greene2012-07-172-45/+25
| | | | | | | | | | | | | This reworks the plugin infrastructure so as to remove module-loading side-effects which were making things a pain in the ass to test. With the new system, there's no auto-registering meta class. Instead plugins do whatever they want and then specify a hooks dict that maps hook names to callables for the things they're tying into. The most common one (and the only one we've implemented so far) is "setup". This also simplifies the sampleplugin a little by moving the code to __init__.py.
* Finish flatpagesplugin; add plugin docsWill Kahn-Greene2012-07-162-6/+8
|
* 401. Plugin infrastructureWill Kahn-Greene2012-05-133-0/+68
* implements installing, loading and setup for plugins * codifies configuration * has a sample plugin * docs * tests