Commit Graph

5 Commits

Author SHA1 Message Date
Lucas Verney 5faf0eec15 Fix issue #5
Provide richer API for modules

Provide a mechanism to download documents using Weboob modules
abilities.

If a user wants to download any document, it will be fetched in a
temporary folder. The file URI will be passed back in the output JSON.

If the users then have access to the server filesystem, they can
directly get the requested document and remove temporary files when they
are no longer needed.

If the users do not have such access, they can use the `/retrieve`
endpoint exposed by the webserver to retrieve the content of this
file. Note that this endpoint is not designed for a production
environment and might expose other sensitive content from your temporary
directory. Note also that this endpoint will note delete the temporary
file.

Closes #5.
2016-10-12 16:39:32 -04:00
Lucas Verney ee677ab6d2 Distinguish fetch and download, see #5 2016-10-07 12:29:12 -04:00
Lucas Verney a5c9039fee Add conversation mode script
Start to tackle #4.
2016-10-07 04:29:33 +02:00
Lucas Verney 93412281d0 Add a /list endpoint to the server
Add a new `/list` endpoint to the server. This endpoint lists all the
available modules and their configuration options.
2016-10-04 03:34:13 +02:00
Lucas Verney 238cf61acc Server script and better debugging tools 2016-09-30 16:09:08 -04:00