aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/piwigo/views.py
Commit message (Collapse)AuthorAgeFilesLines
* piwigo: Fix pwg_getversionElrond2013-03-261-1/+1
| | | | | This one needs to return just "2.5.0 (Mediagoblin)" instead of "Piwigo 2...".
* piwigo: Start at pwg.images.addSimple.Elrond2013-03-261-0/+15
| | | | | | | | Without a session and a logged in user, this can't go much further. Misses check for the file upload field. Need refactored test tool for this.
* piwigo start at pwg.images.addChunk.Elrond2013-03-211-1/+43
| | | | | | | | This function receives part of an upload. Does most parameter validation, but does not safe the data anywhere for now. Also fake pwg.images.exist
* piwigo: Add session.getStatus, improve categories.getListElrond2013-03-211-5/+9
| | | | | | | | | | | - pwg.session.getStatus returns the current user as "fake_user". When we have a session, we'll return something better. - pwg.categories.getList add a name and the parent id for its one and only "collection". - Improve logging a bit.
* piwigo: Sent a fake cookie.Elrond2013-03-211-1/+18
| | | | | | | shotwell needs a pwg_id cookie to continue. And really, it's the only cookie it supports, so in the long run, we need to send a proper session cookie as pwg_id.
* piwigo: Move tool functions into tools.pyElrond2013-03-191-83/+2
|
* Start at pwg.categories.getList and improve xml output.Elrond2013-03-191-13/+51
| | | | | | - The xml formatting is now in the main function. - Add PwgNamedArray to have named lists in xml output. - Remove gmg.test method
* piwigo: start xml response encoding, more (fake) methods.Elrond2013-03-191-2/+55
|
* Starting a piwigo api plugin.Elrond2013-03-191-0/+79
This one just puts up the basic endpoint, some infrastructure and a fake login method. Lots more needed.