aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Fixed validation in API post_entry.Joar Wandborg2012-09-172-1/+11
| | | | Added state to API get_entry_serializable
* API: Fixed media file URLs, limitsJoar Wandborg2012-09-152-4/+15
| | | | | - Added default limit and limit arg to get_entries - Fixed URL generation for BasicFileStorage files in API
* Added CORS headers to API json_responseJoar Wandborg2012-09-151-0/+5
|
* Fixed ?next=<url> argument for require_active_loginJoar Wandborg2012-09-152-2/+5
| | | | It now includes the full URI, including GET args, not just the path.
* Fixed typo in API post_entryJoar Wandborg2012-09-151-1/+1
|
* Added post_entry at /api/submitJoar Wandborg2012-09-152-1/+94
|
* Added fields to /api/entries, wrote docstrings for api.toolsJoar Wandborg2012-09-152-6/+40
|
* Added /api/entries viewJoar Wandborg2012-09-154-23/+80
|
* Created API plugin, moved api_auth to the API pluginJoar Wandborg2012-09-135-14/+126
|
* Add OAuth models, plugin DB migrations, api_authJoar Wandborg2012-09-133-0/+253
|
* Updated flatpages example in plugins.rst to reflect reality & point to ↵Christopher Allan Webber2012-08-201-0/+2
| | | | flatpages docs
* Rework plugin infrastructure to nix side-effectsWill Kahn-Greene2012-07-173-64/+44
| | | | | | | | | | | | | 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.
* Overhaul flatpagesWill Kahn-Greene2012-07-163-93/+108
| | | | | | | | * move contents of main.py to __init__.py * update documentation in README * change the key/value configuration specification * added a recipe for passing values from the url to the template * removed some unused code
* Fix templateWill Kahn-Greene2012-07-161-1/+1
|
* Finish flatpagesplugin; add plugin docsWill Kahn-Greene2012-07-165-61/+177
|
* Flatpages first passWill Kahn-Greene2012-07-164-0/+129
| | | | | | | | | | This fixes the template loader so that it can load plugin templates. This adds code for registering template paths so that plugins can add their own templates. This adds the base code for the flatpagesfile plugin. It doesn't serve pages, yet, but it's pretty close.
* 401. Plugin infrastructureWill Kahn-Greene2012-05-135-0/+90
* implements installing, loading and setup for plugins * codifies configuration * has a sample plugin * docs * tests