summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-10-02Don't set the usermode field if blankLemonBoy
Fixes FS#919
2015-09-29Make sure sasl settings are defined before printing them outJari Matilainen
2015-09-29Add sasl info to /network list output if availableJari Matilainen
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-24Added functionality to create dir if dir specified in rawlog filenameJari Matilainen
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-23Merge pull request #298 from dequis/multi-prefixGeert Hauwaerts
Add multi-prefix to list of capabilities to request
2015-09-23Drop some glib version checks that are not needed anymoredequis
The g_strcmp0 fallback in particular was broken since it was used in a few places as a GCompareFunc, and macros don't work that way. Yes, that one was my fault, but nobody complained :D
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-22sig_message_irc_op_public: fix nickmode lookup, use cleantarget insteaddequis
2015-09-23Merge pull request #297 from vague666/hilight_nick_matchesailin-nemui
Add new setting to modify behaviour of hilight_nick_matches to match anywhere in message Fixes #56
2015-09-22Fix return value from nick_match_msg_everywhere, remove #include 'settings.h'Jari Matilainen
2015-09-22Fix return value from nick_match_msg_everywhereJari Matilainen
2015-09-22Add new setting to optionally modify behaviour of hilight_nick_matchesJari Matilainen
Fix indentation Remove unused variables that crept into the nick_match_msg_everywhere function
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
2015-09-22fe_channel_skip_prefix: fix return value (FALSE/NULL isn't valid)dequis
The return value is a char*, and here it was false which is 0 which is more or less the same as null. That could have been a crash somewhere, the functions that call this don't expect null ever.
2015-09-22Fix #291, "/msg +#channel incorrectly shows up as Nick:@#channel"dequis
Just passing the full target to the "message irc op_public" signal handler and letting it do the cleanup. The fe_channel_skip_prefix() call in event_privmsg() is kept because recode_in() needs a real channel name, but There was similar code in sig_message_own_wall(), but that one is correct - the /wall command always sends NOTICE @#chan, so I added a comment down there to make it clear.
2015-09-21Fix FS#905, mangled text when pasted line length exceeds 400dequis
http://bugs.irssi.org/index.php?do=details&task_id=905 Not using the patch from that ticket, the issue turned out to be that (dest - last_lf_pos) returned number of unichr, not bytes, so that's 4 times less than what the size parameter of memmove() should be.
2015-09-21Merge pull request #267 from kyak/masterailin-nemui
Add expandos for hostname
2015-09-21Ding dong the switch is deadLemonBoy
2015-09-21Initial work to make irssi respect the resolved ip orderLemonBoy
Ip's aren't selected using random() anymore, also select the ip version by using getaddrinfo and some proper hints.
2015-09-20Merge pull request #278 from LemonBoy/sasldx
SASL support
2015-09-21Use formats instead of g_warningLemonBoy
Add some copyright headers here and there too.
2015-09-20More format warnings removed.Alexander Færøy
2015-09-20Fix formatting warnings.Alexander Færøy
2015-09-20Merge pull request #288 from irssi/ahf/kill-gcdx
Remove Garbage Collection support.
2015-09-20Fix warning.Alexander Færøy
Add comment on the use of ??) in C, since that string isn't entirely obvious to people who are reading the code.
2015-09-20Remove Garbage Collection support.Alexander Færøy
GC support was never enabled by default and nobody in the current development team seems to care about it.
2015-09-20Fix warning.Alexander Færøy
2015-09-20Use g_string_append() instead of g_string_append_c() for string.Alexander Færøy
2015-09-20Use g_string_append() instead of g_string_append_c() for string.Alexander Færøy
2015-09-19Merge remote-tracking branch 'origin' into saslLemonBoy
2015-09-19Add setting to configure rejoin on reconnect behaviourJari Matilainen
Closes #169
2015-09-19Merge pull request #283 from LemonBoy/unset-crnlailin-nemui
Clear the ICRNL flag
2015-09-19Modify the terminal initialization sequenceLemonBoy
We disable the ICRNL flag to make Enter independent from ^J from the keybinding point of view since the former will now send ^M, leaving the user free to remap ^J without trapping itself into the irssi session because of a broken Enter key. Also disable the software flow control because we don't expect anyone to run irssi over a serial console; we gain some more freedom by having ^Q and ^S freely mappable by the user.
2015-09-18Add two missing #include "fe-irc-channels.h"dequis
Fixes #285
2015-09-19Merge pull request #259 from dequis/irssiproxyailin-nemui
Updates for irssiproxy
2015-09-11Don't handle 908 as a critical failureLemonBoy
"if the mechanism is unknown, 908 is optional, 904 (or equivalent error condition) is required"
2015-09-11Parse the error string received by the serverLemonBoy
So that in case of SASL failure the user sees a nice error message.
2015-09-11Consider the SASL handshake successful on 903LemonBoy
2015-09-11Handle event 906 and 908LemonBoy
2015-09-11Explicitly set the authorization id during the PLAIN handshakeLemonBoy
On error show the user the message sent by the server.
2015-09-11Replace spaces with tabsLemonBoy
2015-09-11Address all the points outlined in the first reviewLemonBoy
Replace G_SOURCE_REMOVE with FALSE for the compatibility sake. Zero the timeout id after g_source_remove and when exipred. Save the sasl_* options in sig_chatnet_saved().
2015-09-11SASL supportLemonBoy
The only supported methods are PLAIN and EXTERNAL, the latter is untested as of now. The code gets the values from the keys named sasl_{mechanism,username,password} specified for each chatnet.
2015-09-10Merge pull request #248 from LemonBoy/chantypesAlexander Færøy
Implement CHANTYPES support
2015-09-09Move the function prototypes in a separate headerLemonBoy