aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | Escaping in oauth_nonce(). Not sure if the escaping is entirely right ATM...Wilmer van der Gaast2010-04-26-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :-(
| * | | | | | | | | | | OAuth, it lives!Wilmer van der Gaast2010-04-26-1/+22
| | | | | | | | | | | |
| * | | | | | | | | | | Twitter module now generates authorize URLs.Wilmer van der Gaast2010-04-26-5/+5
| | | | | | | | | | | |
| * | | | | | | | | | | Moving two public OAuth functions into the header file.Wilmer van der Gaast2010-04-26-16/+36
| | | | | | | | | | | |
| * | | | | | | | | | | Successfully posted a tweet!Wilmer van der Gaast2010-04-26-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works.
| * | | | | | | | | | | Added a function that generates an OAuth Authorization: HTTP header.Wilmer van der Gaast2010-04-26-13/+79
| | | | | | | | | | | |
| * | | | | | | | | | | oauth_access_token() added. I managed to increase the counter onWilmer van der Gaast2010-04-25-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://twitter.com/oauth_clients/details/127170 . \o/
| * | | | | | | | | | | Some HTTP stuff. Via gdb I can make this request a token.Wilmer van der Gaast2010-04-25-6/+212
| | | | | | | | | | | |
| * | | | | | | | | | | constified.Wilmer van der Gaast2010-04-25-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Code to calculate OAuth signatures. I hope that after wrapping my mindWilmer van der Gaast2010-04-25-1/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | around all of this the rest is going to be easier..
| * | | | | | | | | | | Make http_encode() RFC3986-compliant. (Escape everything except alphanumericWilmer van der Gaast2010-04-25-2/+1
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters plus [-_~.].)
* | | | | | | | | | | Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-0/+36
|\| | | | | | | | | |
| * | | | | | | | | | Added a mktime_utc() to misc.c using code that used to be in jabber_util.c.Wilmer van der Gaast2010-04-08-0/+36
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I want to use this in the Twitter module.
* | | | | | | | | | Restored CTCP/DCC hooks for outgoing file transfers.Wilmer van der Gaast2010-04-13-1/+4
| | | | | | | | | |
* | | | | | | | | | Start handling CTCPs, in a saner way than before.Wilmer van der Gaast2010-04-12-0/+47
| |_|_|_|/ / / / / |/| | | | | | | |
* | | | | | | | | Small cleanup. The max_packet_size variable doesn't seem to be readWilmer van der Gaast2010-03-17-37/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anywhere, and reworked string handling in ft_listen() a little bit.
* | | | | | | | | Merging mainline.Wilmer van der Gaast2010-03-17-2/+4
|\| | | | | | | |
| * | | | | | | | Adding a few consts and other misc fixes from bug #431. Doing this via aWilmer van der Gaast2010-03-14-2/+3
| |\ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | merge because bzr can probably deal with the conflicts better than patch.
| | * | | | | | | Some const/etc cleanups submitted by domen@coderock.org back in bug #431.Wilmer van der Gaast2010-03-14-2/+3
| | | |_|_|_|/ / | | |/| | | | |
| * | | | | | | Added ' HTML entity since we're sure getting that one a lot withWilmer van der Gaast2010-03-08-0/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | libpurple..
* | | | | | | Merging head.Wilmer van der Gaast2009-12-07-61/+135
|\| | | | | |
| * | | | | | Shuffling a few more #includes. Much more shuffling will be needed.Wilmer van der Gaast2009-10-23-0/+1
| | |/ / / / | |/| | | |
| * | | | | Fixed fd leak in ini.c. How could I miss this one.. :-(Wilmer van der Gaast2009-07-20-2/+6
| | |_|_|/ | |/| | |
| * | | | Simplified ini parser code a bit more. Not using strtok() after all sinceWilmer van der Gaast2008-12-25-27/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can't find a guarantee that it's okay with me further mutilating the strings. :-)
| * | | | First version of new ini parser. Will just attempt to simplify code a bit.Wilmer van der Gaast2008-12-24-42/+98
| | | | |
| * | | | Removed a double g_free() in proxy.c (that couldn't actually ever beWilmer van der Gaast2008-12-14-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | invoked but was stupid anyway). #409.
| * | | | events_libevent now detects when the event currently being handled isWilmer van der Gaast2008-12-14-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed. This could otherwise cause unpredictable behaviour, especially for timers.
| * | | | Fixed crappy memory management in http_client.Wilmer van der Gaast2008-09-28-9/+12
| | | | |
| * | | | Restored support for password-protected chatrooms (for now only by acceptingWilmer van der Gaast2008-09-28-2/+2
| |/ / / | | | | | | | | | | | | | | | | a password in the IRC JOIN command).
* | | | More hints for getaddrinfo().ulim2008-08-12-4/+4
| | | | | | | | | | | | | | | | | | | | Hopefully solves a problem on FreeBSD.
* | | | Added lib/ftutil.[ch].ulim2008-08-12-0/+159
| | | | | | | | | | | | | | | | | | | | yes, that was supposed to happen in the last commit ;)
* | | | Added conf entries and lib/ftutil.[ch].ulim2008-08-12-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | ft_listen = <IP-A>:<Port-A>;<IP-B>:<Port-B> to specify listening addresses for the bitlbee<->client connection and the bitlbee<->IM peer connection, respectively. ft_max_size should be obvious. ft_max_kbps should limit the kilobits per second per transfer (not implemented yet).
* | | Silenced a compiler warning - I don't think there's any way the unitializedWilmer van der Gaast2008-06-30-6/+2
| | | | | | | | | | | | | | | version of ret could actually be returned.
* | | Merge trunk.Jelmer Vernooij2008-06-28-26/+0
|\ \ \
| * | | Partial fix for #419: Moved normalize() and some other stuff to OSCARWilmer van der Gaast2008-06-22-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | becuase it's the only place where it's used, and using this to strip spaces from all screennames before sending them to BitlBee.
* | | | Move SSPI SSL implementation to same directory as other SSL backends.Jelmer Vernooij2008-06-10-0/+278
| | | |
* | | | Implement ssl_pending() in bogus ssl backend.Jelmer Vernooij2008-06-10-0/+5
| | | |
* | | | Move random_bytes() back to lib/Jelmer Vernooij2008-06-10-0/+67
| | | |
* | | | Merge integration branch.Jelmer Vernooij2008-06-09-0/+15
|\| | |
| * | | Added ClientInterface configuration option to make BitlBee bind() to aWilmer van der Gaast2008-04-06-0/+11
| | | | | | | | | | | | | | | | | | | | specific interface before connecting to a remote host.
| * | | Fixed GLib <2.6 compatibility issue in arc.h. (G_GNUC_MALLOC)Wilmer van der Gaast2008-04-05-0/+4
| | | |
* | | | Move unix-specific random_bytes() implementation to unix.c.Jelmer Vernooij2008-04-02-65/+0
|/ / /
* | | Fixed a broken check in lib/proxy.c, this restores proxy support. ThanksWilmer van der Gaast2008-03-24-2/+2
| | | | | | | | | | | | | | | | | | | | | to Miles Bader for reporting this in the Debian BTS. Apparently not many people use this functionality, it was broken in bzr for more than a year already...
* | | Fixed stalling issue with OpenSSL and Jabber (#368).Wilmer van der Gaast2008-03-23-4/+34
| | |
* | | Taught GLib-mode subprocesses how to die. (Closes: #374)Wilmer van der Gaast2008-03-22-2/+3
| | |
* | | Moved password hash verification to md5_verify_password() so this can beWilmer van der Gaast2008-03-16-0/+43
| | | | | | | | | | | | | | | reused for IRC/OPER passwords (to have encrypted in bitlbee.conf).
* | | Fixed base64_decode() to not barf on corrupted Base64 strings.Wilmer van der Gaast2008-03-16-1/+1
| | |
* | | Adding padding to encrypted IM-passwords so the exact password length can'tWilmer van der Gaast2008-03-16-4/+27
| | | | | | | | | | | | | | | be guessed from the encrypted data anymore.
* | | Fixed issues with "long" URLs in url.c. Reusing code from 2001 wasn't aWilmer van der Gaast2008-03-15-20/+22
| | | | | | | | | | | | | | | good idea...
* | | Moved xmltree handlers initialization to xt_new().Wilmer van der Gaast2008-02-16-3/+4
| | |