summaryrefslogtreecommitdiff
path: root/src/irc
AgeCommit message (Collapse)Author
2016-06-13Use ; as separator instead of ,LemonBoy
2016-06-12Make rejoin_channels_mode of type CHOICELemonBoy
2016-06-05Clean up some GTimeVal jugglingLemonBoy
2016-06-05Replace strarray_length with g_strv_lengthLemonBoy
2016-06-05Replace strocpy with g_strlcpyLemonBoy
The only difference was that the former returned 1 if the buffer was overflown, but the return value was never checked.
2016-06-01Correct the name of the emitted signal.LemonBoy
There's a typo in 'sasl_fail', the signal that's emitted should be 'server sasl failure' and not 'server sasl fail'.
2016-05-03Fix some ANSI C issues.pisculichi
2016-04-05Merge pull request #453 from LemonBoy/dcc-quoteailin-nemui
Support quoted filenames in some /DCC commands
2016-03-29Revert "Removed the obsolete SQUERY and SERVLIST commands"ailin-nemui
This reverts commit 4beebe3238dda96efd4c3a0a6f6002ad5afc96e7.
2016-03-22Support quoted filenames in some /DCC commandsLemonBoy
2016-03-22Merge pull request #446 from ailin-nemui/fix_445ailin-nemui
strip less whitespace from commands
2016-03-20strip less whitespace from commandsailin-nemui
fixes #445
2016-03-20Merge pull request #442 from LemonBoy/fix-435ailin-nemui
Do not assume any default value for statusmsg.
2016-03-20Use 0 as a sentinel value for sasl_timeoutLemonBoy
If sasl_timeout is never initialized with a valid timeout id then calling /disconnect on the server calls g_source_remove() with 0 as tag, causing an harmless error message to be printed. Beside that, the sasl_timeout field is defined as a unsigned int. We can use 0 as sentiel since g_timeout_add returns tags that are always greater than zero.
2016-03-19Make ischannel_func return false for empty stringsLemonBoy
2016-03-17Do not assume any default value for statusmsg.LemonBoy
If the server didn't send it then just skip the check, the old value it defaulted to was possibly overlapping with the CHANTYPES leading to an incorrect behaviour. Fixes #435.
2016-03-11Remove sasl timeout source when the server disconnectsdequis
2016-03-08Fix SASL EXTERNAL authenticationMantas Mikulėnas
The "AUTHENTICATE" command is always required – it's part of the IRCv3 SASL framing. RFC 4422 only documents the Base64 payload.
2016-03-02irssi proxy: allow listening on unix socketsLukas Mai
2016-03-02reindentLukas Mai
2016-02-26fix proxy server nameLukas Mai
2016-02-18remove redundant checkLukas Mai
2016-02-18make pointer check explicitLukas Mai
2016-02-18irssi proxy: allow multiplexing multiple networks over a single portLukas Mai
2016-02-18fix formattingLukas Mai
2016-01-24Duplicate the code paths for autocommands.LemonBoy
2016-01-14Change when the autocmds are sent.LemonBoy
As per #175 if a -botcmd is specified for a given channel without a -bots parameter then the command is sent right after joining the channel.
2016-01-11Merge pull request #393 from ailin-nemui/moduleversion-perlailin-nemui
forward ABI to perl modules
2016-01-11Merge pull request #390 from LemonBoy/ignore-findailin-nemui
Clean up the ignore_find API to make it more powerful.
2016-01-08make /knockout use /unban to remove bansLukas Mai
/knockout uses /ban to set bans but calls ban_remove() directly to remove them. This commit makes it use /unban instead. This allows scripts that hook ban/unban to work automatically with /knockout.
2016-01-08irc/core/irc-commands.c: fix indentationLukas Mai
2016-01-06irssiproxy: avoid using pointer after freeing itLukas Mai
2016-01-03Don't break the API.LemonBoy
Have a ignore_find_full method that is the one that all the new code should be using and provide some working stubs for ignore_find and ignore_find_noact.
2016-01-03Clean up the ignore_find API to make it more powerful.LemonBoy
This way we prevent the creation of duplicate ignores since the old code skipped the ignore_find call when a pattern was specified. It should also cover all the cases where the ignores would be wrongly overwritten, such as the case outlined in #78.
2015-12-10module check irssi versionailin-nemui
Add explicit checks into every module to match the ABI version defined in common.h
2015-11-26irc-cap: Don't send a space at the beginning of the CAP REQ parameterdequis
Turns out it confuses inspircd, making it reply a NAK with empty parameter. The rest is ACKed anyway. I've already whined at saberuk and there's a pending pull request over there fixing this issue. And, of course, this is cleaner.
2015-11-19Correctly alias 'channel' to '#channel'LemonBoy
Use the same approach used in 'irc_channels_join'. Remove 'irc_nick_strip' since it was unused.
2015-11-09Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.LemonBoy
2015-10-28Preserve the sasl_ options across reconnects.LemonBoy
2015-10-03Merge pull request #314 from LemonBoy/sasl_sessiondx
Save the sasl state in the session
2015-10-02Set HOST_NAME_MAX to 255, if it's undefined.Alexander Færøy
Thanks to Jilles and dx. Fixes #309
2015-10-02Don't set the usermode field if blankLemonBoy
Fixes FS#919
2015-10-02Save the sasl state in the sessionLemonBoy
This is seemingly required to have irssi re-authenticate after a restart.
2015-09-26Merge pull request #304 from LemonBoy/sasl_user_optionsailin-nemui
Allow the user to set and modify the SASL parameters
2015-09-26Allow the user to set and modify the SASL parametersLemonBoy
The /NETWORK ADD command now is able to modify the SASL mechanism, the username and the password on a chatnet basis.
2015-09-24Merge pull request #301 from dequis/dcc-get-ntfs-temp-bugGeert Hauwaerts
dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mounts
2015-09-23dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mountsRobert C Jensen
Patch from debian bug 696963 [1] Fixes github bug #220 and flyspray bug 867 [2] [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696963 [2]: http://bugs.irssi.org/index.php?do=details&task_id=867
2015-09-23Add multi-prefix to list of capabilities to requestdequis
Turns out event_names_list() in irc-nicklist.c already handles this. event_who() just ignores it, which is probably a good idea since some of the irc servers I tested this with have a bug that results in sending multiple prefixes in the NAMES reply but not in the WHO one (they were forks of ircd-hybrid before 7.3.0) And NAMES always happens, anyway. WHO is omitted sometimes for huge channels.
2015-09-22Revert "Network and IPv{4,6} related changes"ailin-nemui
2015-09-22Merge pull request #290 from LemonBoy/ipv6ailin-nemui
Network and IPv{4,6} related changes