summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2016-09-25Fix #16 Accept command-line arguments.Christoph Burschka
If main.php is called with commandline arguments, these will be passed to the bridge as a single request, instead of running the bridge as a daemon. The arguments are, in order: <command> <username> <server> <password> The result will be printed to stdout (1 for success, 0 for failure), and will be set as the exit status (0 for success, 1 for failure).
2015-03-27Fix #11: Revert escape sequences in XMPP node names.Christoph Burschka
2014-04-13Fix #3: Check session bridge before using it.Christoph Burschka
When config['session'] is not set, the session bridge doesn't exist and should not be used.
2014-01-17Okay, the last patch was actually rubbish.Christoph Burschka
It turns out that you can't hope to bootstrap more than one PHP-based software without messing stuff up, particularly because they rely on global variables without exception. If it is risky and unpredictable for different systems, it is completely impossible with multiple instances of the same. Therefore, the ability to use multiple plugins (and the accompanying config.php structure) has been removed. The only plugin that can be used in conjunction with another is session.
2014-01-16Big multiple-plugins patch (fixes #2).Christoph Burschka
2014-01-16Finally remove unused setpass/register hooks.Christoph Burschka
2014-01-16Finished session auth framework for now. (fixes #1)Christoph Burschka
Doc changes and some implementations remain.
2013-12-30Use STD* constants instead of opening new streams.Christoph Burschka
PHP provides STDIN, STDOUT and STDERR constants in CLI mode.
2012-11-01Huge overhaul to deal with the global variables more cleanly. Avoid globals ↵Christoph Burschka
wherever possible, to avoid collisions with CMS systems.
2012-10-31Huge overhaul to deal with the global variables more cleanly. Avoid globals ↵Christoph Burschka
wherever possible, to avoid collisions with CMS systems.
2012-10-30Refactor to a general, flexible and extensible architecture.Christoph Burschka