summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Add request/response logging via cherrypy tool hooksJohn Dennis2015-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | The ability to easily review the HTTP Ipsilon request and response is boon for development and issue debugging. Normally these HTTP conversations occur on SSL/TLS encrypted connections making it difficult to use other tools to view the traffic. Client side tools have known pitfalls (e.g. Firebug) and not all conversations are browser initiated (e.g. SAML ECP). Logging performed by the server hosting Ipsilon makes logging at the server level server specific (e.g. Apache's dumpio requires post-processing the log file to extract and reassamble the HTTP conversation). The best place to log requests and responses is within Ipsilon using the cherrypy framework Ipsilon is embedded in. Cherrypy provides user defined hooks that can be invoked at specific places in the request pipeline. We establish a hook at the last stage just before the response is written to the client, it logs the incoming request and outgoing response. Resolves: https://fedorahosted.org/ipsilon/ticket/44 Signed-off-by: John Dennis <jdennis@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Make the template directory configurablePatrick Uiterwijk2014-10-241-0/+1
| | | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* Fix default and example pathsSimo Sorce2014-03-132-5/+6
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Add sample apache configurationSimo Sorce2014-01-241-0/+26
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Better infrastructure to load pluginsSimo Sorce2014-01-241-0/+2
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Move template and user retrieval to page classSimo Sorce2013-12-181-0/+1
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Add page class handlerSimo Sorce2013-12-181-0/+6
| | | | | | | This also adds support for sessions and a somewhat custom page dispatcher. Signed-off-by: Simo Sorce <simo@redhat.com>
* Initial user preferences infrastructureSimo Sorce2013-12-181-0/+1
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Fix settingsSimo Sorce2013-12-131-2/+1
| | | | | | | Fix logging to use right name and value Make all option relative to the base of the tree. Signed-off-by: Simo Sorce <simo@redhat.com>
* Use jinja2 as the templating systemSimo Sorce2013-12-111-0/+1
| | | | Add flashy css to indicate this is development stuff
* Add Admin preferences systemSimo Sorce2013-12-041-0/+1
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* Add example configurationSimo Sorce2013-12-041-0/+3
Signed-off-by: Simo Sorce <simo@redhat.com>