Commits

Author Commit Message Labels Comments Date
Alexander Shorin
Merge
Konstantine Rybnikov
Rename links to readthedocs
Alexander Shorin
Preserve application and request contexts on dispatching response
Alexander Shorin
Backport application context feature from Flask
Alexander Shorin
Fix setup.py install
Alexander Shorin
Support endpoint as coroutine The initial design was good for single request -> single/multiple responses, but is completely unsuitable for situations, when you need make additional request from endpoint and handle response on it before return any result to client. For instance, you're trying to retrieve version info from some user in MUC. With coroutines this would be pretty simple task: @app.route('version <nick>') def ver…
Alexander Shorin
Fix app loading from specified path
Alexander Shorin
Rules are stricly matches pattern by default. Motivation: For rule `ping <host>` it's intuitive to expect matching of `ping example.com`, but not `ping example.com foo bar baz`. On other hand, sometimes you'd like to match messages by pattern no matter where it occurs.
Alexander Shorin
Use UnicodeWordConverter by default. Small routing cleanup.
Alexander Shorin
Formatting cleanup for tests
Alexander Shorin
Use relative imports for local modules.
Alexander Shorin
Add cli tests runner.
Alexander Shorin
Ooops, missed files of 6c0452311bac changeset.
Alexander Shorin
app.run(...) now returns XmppWsgiServer instance back.
Alexander Shorin
Refactor XMPPWSGI server: split XMPP driver interface from server logic. Introduced XmppWsgiServerInterface class which should be used to implement interface to additional XMPP libraries and to allow XmppWsgiServer communicate with them. Also this tricks helps(should) with testing due to we could easily be abstracted from any XMPP realisaion (see MockXmppWsgiServerInterface) and wouldn't bind XMPP library and XmppFlask app. Additionaly, XmppWsgiServer environ has ext…
Alexander Shorin
Make session TTL as config option.
Alexander Shorin
Split functional tests from module ones.
Alexander Shorin
Restructure test modules.
Alexander Shorin
Allow to access environ directly, not through request object. >>> from xmppflask import environ vs >>> from xmppflask import request >>> envrion = request.environ
Alexander Shorin
Imports regroup and cleanup.
Alexander Shorin
Ok, we still needs Jinja2 for templating. Probably, we should keep it - from first sight jinja produce quite a lot of overhead functional, but from second it's awesome idea to use it!
Alexander Shorin
Remove dependency from argparse.
Alexander Shorin
Fix logging import failure.
Alexander Shorin
Reduce external dependencies. Ported..ok, copy-pasted, config and logging modules from Flask project and extracted key functions and objects from werkzeug into submodule. Main reason is to reduce external dependencies and remove confusion about "why HTTP frameworks are needed for XMPP one?". Hope that I hadn't violate any copyright notes by this action.
Konstantine Rybnikov
fix for stupid bitbucket
Konstantine Rybnikov
link fixes
Konstantine Rybnikov
more fixes to docs
Konstantine Rybnikov
merge pull request #6
Konstantine Rybnikov
merge
Konstantine Rybnikov
add some thanks
  1. Prev
  2. Next