Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | ldap authentication backend | Dennis Kaarsemaker | 2016-03-25 | -1/+1 |
| | | | | | | We only support the openldap scheme for now, with users that are posixAccounts. Moreover, as the plugin cannot be configured directly, you must configure libldap correctly in /etc/openldap/ldap.conf | |||
* | Linux pam authentication backend | Dennis Kaarsemaker | 2016-03-25 | -1/+1 |
| | | | | This backend authenticates users against pam. | |||
* | Authentication: scaffolding for multiple authentication backends | Dennis Kaarsemaker | 2016-03-25 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | Instead of always putting users passwords in XML files, allow site admins to configure a different authentication method to integrate authentication with other systems. This doesn't add any authentication backends yet, merely the scaffolding. Notably: - Password checking and loading/removing from storage has been decoupled. A new auth_check_pass function is used to check passwords. It does check against the configured storage first, but will handle the authentication backends as well. The XML storage merely signals that a user's password should be checked using an authentication backend. - If unknown-to-bitlbee users identify using an authentication backend, they are automatically registered. - If an authentication backend is used, that fact is stored in the XML file, the password is not. Passwords are also stored unencrypted in this case, as the password used to encrypt them can change underneath us. - configure and Makefile changes for the backend objects | |||
* | hipchat: 'chat add hipchat "channel name"' now tries to guess the JID | dequis | 2015-11-23 | -0/+20 |
| | | | | | | | | | | | It's basically prepending the organization id, appending the default MUC host from the success packet, and generating a slug based on the name for the middle part, which is replacing a few characters with underscores and doing a unicode aware lowercasing. Includes tests, which are useless other than validating the initial implementation with the test vectors that i already tested manually. Guaranteed to detect zero breakages in the future. Good test code. | |||
* | tests: Define a stub sighandler_shutdown_setup() to allow linking | dequis | 2015-10-30 | -0/+5 |
| | | | | | | I'm sure that some day the tests will be useful, not just an annoyance. Some day. | |||
* | check_jabber_util: adapt to new behavior of GET_BUDDY_EXACT | dequis | 2015-10-22 | -1/+1 |
| | | | | | | | I can't believe the tests did something! Returning the bare jabber_buddy when asking for GET_BUDDY_EXACT is now acceptable, since the google talk typing commit. | |||
* | Move CAP commands to irc_cap.c; use enum for flags | dequis | 2015-09-30 | -1/+1 |
| | ||||
* | typofix - https://github.com/vlajos/misspell_fixer | Veres Lajos | 2015-08-07 | -2/+2 |
| | ||||
* | Reindent everything to K&R style with tabs | Indent | 2015-02-20 | -469/+476 |
| | | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame. | |||
* | Fix compiler warnings on Cygwin and Mac OS X. | Jason Copenhaver | 2015-01-16 | -2/+2 |
| | | | | | | | | * Don't use PIE/PIC on Cygwin/Darwin unless specified as these platforms don't support it. * Cleanup warnings for 'make check' build. * Fix the type issue for getsockopt calls. * Fix enum warnings in Yahoo libs on Mac OS X. | |||
* | Add limit param to split_command_parts(), fix twitter quotes bug | dequis | 2014-07-24 | -0/+45 |
| | | | | Only took me a few months to write. I even added a test case. | |||
* | Added jabber_compare_jid to fix JID comparison case sensitivity | GRMrGecko | 2014-07-24 | -0/+11 |
| | ||||
* | Fix building of testsuite. | Jelmer Vernooij | 2014-04-20 | -2/+3 |
| | ||||
* | Fix compiler warnings in testsuite/. | Jelmer Vernooij | 2014-04-20 | -10/+10 |
| | ||||
* | Fix check_nick tests (Ticket #1102) | radhermit | 2014-02-27 | -3/+4 |
| | ||||
* | Rename SRCDIR directory to _SRCDIR_. I guess #907 was caused by SRCDIR | Wilmer van der Gaast | 2012-02-11 | -3/+3 |
| | | | | | unexpectedly being set to something already. | |||
* | Make the unittests work *slightly* better with libevent. (Still won't work | Wilmer van der Gaast | 2010-07-29 | -0/+1 |
| | | | | | | completely because events.h doesn't export a way to run a single event loop iteration. | |||
* | Fixing http_encode(): BitlBee now calls setlocale() (for nickname | Wilmer van der Gaast | 2010-07-29 | -0/+11 |
| | | | | | | | | | transliteration to work), which changes the behaviour of isalpha() (turns out it's not a simple macro). For HTTP-encoding, this sucks, especially when doing OAuth (which is very picky about the way HTTP encoding is done). This should fix problems some people were seeing with posting Twitter messages containing accents. | |||
* | "Fix up" unittests enough to at least compile. Never touched these during | Wilmer van der Gaast | 2010-07-29 | -55/+6 |
| | | | | | the ui-fix works. | |||
* | Allow one to run the configure script from a different directory and put all | Wilmer van der Gaast | 2010-05-25 | -1/+4 |
| | | | | | | build files in there. I need this to properly make Debian package variants (i.e. libpurple and native). | |||
* | Fixed a bug that caused full JIDs to get lost sometimes with the new way | Wilmer van der Gaast | 2010-03-18 | -0/+9 |
| | | | | | of storing full JIDs belongong to a contact. | |||
* | Test activity_timeout and some other test tweaks. | Wilmer van der Gaast | 2010-03-12 | -1/+14 |
| | ||||
* | Fixed jabber_util unittest. It passes, yet something still seems to be | Wilmer van der Gaast | 2010-03-12 | -3/+3 |
| | | | | | broken. :-( | |||
* | Killed the test for setting non-existing variables since I killed support | Wilmer van der Gaast | 2008-12-13 | -9/+1 |
| | | | | | | | for them as well. Thanks to cedk@gentoo.org for noticing (Bug #448). Also including chat.o when building the tests to fix linking issues. | |||
* | Now preserving case in JID resources, and handling them with case sensitivity | Wilmer van der Gaast | 2008-06-22 | -14/+28 |
| | | | | | | | since apparently that's how the RFC wants it. (While the rest of the JID should be case IN-sensitive. Consistency is hard to find these days...) Also extended the unittests a little bit. Closes #422. | |||
* | Added jabber_util unittests (buddy_add/_by_jid only ATM). | Wilmer van der Gaast | 2008-06-22 | -2/+82 |
| | ||||
* | Be more liberal with accepted line endings. ERC on Windows likes to use | Wilmer van der Gaast | 2008-03-29 | -2/+2 |
| | | | | | | | "\r\r\n", for example, and until now BitlBee only chopped off the \r\n, leaving the first \r as part of the command, which means it couldn't log in to BitlBee at all. (Bad character in nickname.) | |||
* | Adding padding to encrypted IM-passwords so the exact password length can't | Wilmer van der Gaast | 2008-03-16 | -13/+22 |
| | | | | | be guessed from the encrypted data anymore. | |||
* | Added help_free() test, and fixed compiler warning in SASL test. | Wilmer van der Gaast | 2008-02-16 | -3/+6 |
| | ||||
* | Improved sasl_get_part() to deal with whitespace in challenge strings, as | Wilmer van der Gaast | 2008-02-16 | -2/+123 |
| | | | | | described in RFC 2831 secion 7.1 (the #rule description). Closes bug #362. | |||
* | Fixed broken check in check_arc.c | Wilmer van der Gaast | 2008-02-16 | -2/+3 |
| | ||||
* | Don't allow nicks that start with a number. | Wilmer van der Gaast | 2007-12-10 | -3/+9 |
| | ||||
* | Added word_wrap() function to misc.c and using it at the right places so | Wilmer van der Gaast | 2007-10-12 | -0/+58 |
| | | | | | | that long messages in groupchats also get wrapped properly (instead of truncated). | |||
* | "Changed" the ArcFour implementation. I'm afraid this was a waste of time, | Wilmer van der Gaast | 2007-10-07 | -1/+1 |
| | | | | | but at least I added a neat unittest... | |||
* | Adding test for arc.c so that I can now safely replace the RC4 code with a | Wilmer van der Gaast | 2007-10-07 | -1/+100 |
| | | | | | (compatible) ArcFour implementation. | |||
* | Merge from Jelmer (mainly unit testing things). | Wilmer van der Gaast | 2007-07-01 | -1/+380 |
|\ | ||||
| * | Add tests for set | Jelmer Vernooij | 2007-01-21 | -1/+137 |
| | | ||||
| * | Add testsuite for crypting. | Jelmer Vernooij | 2007-01-21 | -1/+52 |
| | | ||||
| * | Add unit testing for user code | Jelmer Vernooij | 2007-01-21 | -1/+91 |
| | | ||||
| * | Add tests for set_url(). Fixed a bug where the default port wasn't | Jelmer Vernooij | 2006-12-24 | -0/+66 |
| | | | | | | | | | | set when socks5 was used. | |||
| * | Refactor the help code to take a filename rather than using the global struct. | Jelmer Vernooij | 2006-12-24 | -1/+35 |
| | | ||||
| * | Fix check for non-debug builds. | Jelmer Vernooij | 2006-12-24 | -0/+2 |
| | | ||||
* | | Fixed Makefiles (make distclean was completely broken). | Wilmer van der Gaast | 2007-02-18 | -1/+3 |
|/ | ||||
* | Some simple tests for irc_*() | Jelmer Vernooij | 2006-12-06 | -2/+82 |
| | ||||
* | Support arguments passed to tests/check to enable verbose logging or | Jelmer Vernooij | 2006-12-06 | -3/+25 |
| | | | | | to disable forking (for debugging purposes). | |||
* | Add tests for md5. | Jelmer Vernooij | 2006-12-06 | -1/+81 |
| | ||||
* | Fix testsuite. | Jelmer Vernooij | 2006-12-06 | -4/+4 |
| | ||||
* | Add support for checking test suite coverage using gcov. | Jelmer Vernooij | 2006-07-07 | -3/+8 |
| | ||||
* | Add checks for nick functions as well, fix bug where nick lengths weren't | Jelmer Vernooij | 2006-06-16 | -1/+107 |
| | | | | | being honored. | |||
* | Add unit testing infrastructure. | Jelmer Vernooij | 2006-06-16 | -0/+65 |