aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* user-guide: add help for the jabber 'proxy' settingdequis2015-08-27-0/+20
|
* irc_channel_name_gen: handle g_convert_with_fallback failuresdequis2015-08-27-0/+10
| | | | | | | | | | First fallback to ASCII without TRANSLIT, and if that fails too, just give up by returning NULL. Basically the same thing as 3a27896 (a netbsd specific fix), but for channel names. This wasn't needed before because the older version of this code caught the NULL from the ASCII//TRANSLIT attempt and gave up immediately, while the refactored version lacked null checking.
* jabber: Improvements to the MUC part reason handlingdequis2015-08-26-15/+26
| | | | | | | - Look for a status message right inside <presence> (seen with ejabberd as a result of a s2s connection error) - Check status codes in a while loop, skipping unknown ones (such as 110, which means "Inform user that presence refers to itself")
* jabber/io: Split input buffer parsing to a jabber_feed_input() functiondequis2015-08-26-51/+71
| | | | | | | | | | | To simplify testing. Also allow passing a -1 as size to use strlen() Minor behavior change: The jabber_init_iq_auth() branch can no longer return immediately, which means it will continue through the ssl_pending() check in jabber_read_callback(). Other than that, the size -1 change, and one indentation level less, the function body is the same as before.
* Makefile: suggest users to run "make install-dev" after installdequis2015-08-26-2/+6
| | | | Also add a couple of missing targets to .PHONY
* conf: Fix leak of members of conf_t when using -c to specify a configdequis2015-08-19-1/+30
| | | | | | Can only happen once, and it's just ~200 bytes. But being valgrind-clean is good.
* irc: Replace NOTICE AUTH before registration with NOTICE *dequis2015-08-18-3/+3
| | | | | | Because many other ircds do that. (But actually mostly because @SaberUK said so)
* otr: add otr_filter_colors, replaces '\x03' with '?' for "security"dequis2015-08-11-2/+16
| | | | | | | | | | | | | Fixes trac ticket 835, "an attacker can spoof color codes" Which had "major" priority, and was open for a few years. Yeah. Every time I looked at that ticket I thought about lowering the priority, but then saw that pesco opened the bug. Welp. Anyway, it's gone now. Yay.
* otr: color multiline messagesdequis2015-08-11-24/+51
| | | | | | | | | | | Fixes trac ticket 710. Incoming messages can have newlines in them, which become several PRIVMSG on the irc layer. Prepending color codes at the beginning of the message resulted in showing the rest of those PRIVMSG as white. This splits the message by newlines and rebuilds it in a GString, re-adding the color codes right after each newline.
* jabber_logout: avoid null jd->buddies warnings in jabber_buddy_remove_alldequis2015-08-08-1/+3
|
* jabber: Show MUC kick/ban/leave reasonsdequis2015-08-08-2/+34
|
* Pass 'reason' values around in imcb_chat_remove_buddy/chat_remove_userdequis2015-08-08-4/+4
|
* travis: Switch to container based infrastructuredequis2015-08-07-5/+15
| | | | | This means faster builds, which is something I don't really need but I felt like doing this.
* configure: use pkg-config for libotrdequis2015-08-07-22/+14
|
* typofix - https://github.com/vlajos/misspell_fixerVeres Lajos2015-08-07-58/+58
|
* Merge remote-tracking branch 'origin/release-3.4.1'Wilmer van der Gaast2015-08-03-3/+5
|\
| * 3.4.1-1 Debian package.Wilmer van der Gaast2015-08-03-3/+5
| |
* | Only try DIGEST-MD5 if there's no SSL/TLS or if PLAIN isn't supporteddequis2015-07-30-1/+5
| | | | | | | | | | | | | | Which in practice means "don't bother with DIGEST-MD5 most of the time". It's weak, pointless over TLS, and often breaks with some servers (hi openfire)
* | Merge branch 'develop'dequis2015-07-30-4/+34
|\ \
| * | jabber: Add SASL ANONYMOUS support (XEP-0175)dequis2015-07-04-3/+33
| | | | | | | | | | | | Use "account jabber set anonymous on" to have bitlbee try that method
| * | jabber/s5bytestream: add G_GNUC_PRINTF to jabber_bs_abortdequis2015-06-28-1/+1
| | |
* | | Replace `backticks` with $(something better) in configure script.Wilmer van der Gaast2015-07-29-26/+26
| | |
* | | Restore old autojoin logic and a hopefully better fix for the problemWilmer van der Gaast2015-07-29-5/+6
|/ / | | | | | | jgeboski was trying to solve. #1221 for details.
* / Fix NULL pointer dereference in lib/json.c. (#1220)Wilmer van der Gaast2015-06-17-1/+1
|/
* Update changelog with date and other bits.3.4.1Wilmer van der Gaast2015-06-16-3/+3
|
* 3.4.1 release notesdequis2015-06-14-2/+36
|
* oscar: Fix some more g_source_remove warningsdequis2015-06-13-0/+6
|
* twitter: show full url in the url command, with usernamedequis2015-06-08-5/+41
| | | | | | | By asking the server for the username. Storing the username somewhere would have made sense, but this command isn't going to be used very often, so, whatever.
* twitter: fix leak of the letter "s" in twitter_url_len_diffdequis2015-06-08-2/+6
| | | | | | | | Yeah, just the letter s from "https", and a null byte. Really critical stuff. You'd have to post a million tweets to even notice this at all.
* sock.h: Add EAGAIN check to sockerr_again()dequis2015-06-04-1/+1
|
* nick_gen: retry g_convert_with_fallback without //TRANSLIT if it failsdequis2015-06-04-2/+10
| | | | | | | | | | Based on patch from trac ticket #1152. Quoting: >NetBSD's implementation of iconv does not appear to support //TRANSLIT. >This means g_convert_with_fallback() called with //TRANSLIT will always fail Removed the log_message part of the patch since that's daemon level logging and it's unlikely to fail twice anyway (even if it did, it wouldn't crash)
* configure: allow specifying location of python executabledequis2015-06-04-2/+15
| | | | | Because openbsd/netbsd don't have a 'python' in the PATH unless the user creates the symlink explicitly.
* Allow building docs from any directorydequis2015-06-04-4/+7
| | | | | Also just remove the .git check completely - just rely on make skipping it if it exists already.
* Revert "Provides" "fix" in debian control file.zer0def2015-06-01-1/+0
|
* configure: bsd sed doesn't support \+ without -r, use * insteaddequis2015-05-31-1/+1
| | | | | | | | | Tested in openbsd 5.6, which does have sed -r (unlike Mac OS X) but it needs -r to recognize + at all. The previous commit did fix enough to make it 'work' with the git describe output as version string, the only problem was that the sed didn't match in bsds and mac os x.
* configure: 'sed -r' doesn't work in mac os xdequis2015-05-31-2/+2
|
* configure: handle 'git describe' failures when no tags are reachabledequis2015-05-31-2/+7
| | | | Just make up some fake describe output based on the real version
* twitter: add twitter_log_local_user back (oops)dequis2015-05-30-0/+2
| | | | | Accidentally nuked it while resolving merge conflicts of a different branch.
* Move twitter_parse_id() to parse_int64() in misc.cdequis2015-05-30-19/+19
|
* configure: workaround for branch names with slashes in them...dequis2015-05-30-1/+1
|
* Merge branch 'develop'dequis2015-05-30-72/+328
|\
| * Merge branch 'master' into developdequis2015-05-28-3/+0
| |\
| * \ Merge branch 'master' into developdequis2015-05-28-4/+2
| |\ \
| * | | Fixes 'Provides' in debian control filezer0def2015-05-28-1/+1
| | | |
| * | | Rename mail notification related settings for consistencydequis2015-05-28-30/+21
| | | | | | | | | | | | | | | | | | | | - GMail notifications stuff is now just 'mail_notifications' - sed -i s/notify_handle/mail_notifications_handle/
| * | | imcb_notify_email: change parameters to take a format stringdequis2015-05-28-29/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Saves some messing with g_strdup_printf for the callers, and flags/sent_at weren't used anyway. Also check if the mail_notifications setting is enabled
| * | | Simplify display of gmail notificationsdequis2015-05-28-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add gmail_notifications_limit hidden setting, set to 5 by default. - Don't show "snippets" in email notifications. Not very useful and they make the whole thing seem too spammy - Show sender name instead of your own email - Default values for empty subject / sender
| * | | Gmail notifications support through new imcb_notify_email() APIArtem Savkov2015-05-28-14/+233
| | | |
| * | | jabber: Refactor conference message handlingdequis2015-05-28-55/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Improve handling of "unknown 'from'" - Try a bit harder to detect the source of the message, and fall back to messages sent from a fake temporary user. - Fix receiving topic when it was set by someone who left the room. - Add jabber_get_bare_jid() utility function
| * | | Lowering xmpp presence priority on away.Artem Savkov2015-05-28-1/+19
| | | | | | | | | | | | | | | | | | | | When user set's away lower xmpp presence priority by 5 as most clients do, new priority won't go below zero though.