summaryrefslogtreecommitdiff
path: root/src/irc/core
AgeCommit message (Collapse)Author
2015-10-02Don't set the usermode field if blankLemonBoy
Fixes FS#919
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-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-21Merge pull request #267 from kyak/masterailin-nemui
Add expandos for hostname
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-20Fix warning.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-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-02Fix two minor issues outlined in the PR#222LemonBoy
irc-cap.c has now a licence header. A minor style fix in misc.c
2015-08-29Remove extra line breakkyak
How did this extra break cripple in here?
2015-08-29Use HOST_NAME_MAX for userhost and hostname expandoskyak
Use HOST_NAME_MAX instead of hardcoded 100 for userhost and hostname expandos.
2015-08-29Use "(none)" as fallback for hostname and userhost expandoskyak
Use "(none)" instead of "??" for hostname and userhost expandos when these can't be reliably detected.
2015-08-29In expando_hostname, set *free_ret to TRUEkyak
*free_ret must be set to TRUE in both cases, since we return some newly initialised memory
2015-08-26Clean up in hostname expando before returnkyak
Clean up the vector resulting from g_strsplit before returning from expando_hostname(). Also, use g_strdup() instead of g_strconcat() to return the pointer to hostname.
2015-08-24Merge pull request #222 from LemonBoy/cap-supportAlexander Færøy
[RFC] CAP support
2015-08-20Send the CAP LS after sending the proxy stringsLemonBoy
Patch by @dequis
2015-07-19Add expandos for hostnamekyak
See http://bugs.irssi.org/index.php?do=details&task_id=829
2015-06-12Add server check in irc_server_connect (#208)Geert Hauwaerts
Fail instead of crash, if irc_server_connect is called without object. (#208)
2015-05-31Improve ischannel_func (#253)LemonBoy
The function now skips all the leading characters that are in the STATUSMSG. If the server didn't send the STATUSMSG option then it's assumed to be "@+" for compatibility with bahamut 2.4 (sic).
2015-05-15Implement CHANTYPES supportLemonBoy
2015-05-05Implement support for IRCv3.1 CAP negotiationLemonBoy
2015-04-17Merge pull request #199 from ailin-nemui/config-parserAlexander Færøy
Make config parser more robust
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-02-17add CONFIG_REC to config_node_section* APIsAilin Nemui
this adds the CONFIG_REC * to the config_node_section and config_node_section_index APIs as they will require access to the config cache later on to make the config parser more robust.
2015-02-08accept freenode extbans in /ban [#150]mauke
2015-01-05Merge pull request #152 from sebth/masterAlexander Færøy
Try to split long lines on spaces
2014-11-08typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos
2014-10-19Try to split long lines on spacesSebastian Thorarensen
Try to split long lines on spaces to avoid words being splitted. This can be turned off with the option `split_line_on_space'. The code assumes that the terminal encoding has ASCII spaces.
2014-10-01Merge pull request #140 from sebth/masterAlexander Færøy
Make line splitting fail-safe
2014-10-01Merge pull request #142 from dequis/away-with-no-reasonAlexander Færøy
irc_server_send_away: don't send empty param if there's no away reason
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-09-09irc_server_send_away: don't send empty param if there's no away reasondequis
2014-09-01Make line splitting fail-safeSebastian Thorarensen
The userhost Irssi uses for line splitting can in some cases be wrong, for instance when a proxy is used or when a server cloaks the hostname without telling the client. Now Irssi always assumes the userhost is of maximum length. 10 for username (common value) and 63 for hostname (in RFC 2812).
2014-08-05Syntax rewrite of U-Z commandsGeert Hauwaerts
Rewrote the syntax documentation of U-Z commands.
2014-07-30Removed the obsolete SQUERY and SERVLIST commandsGeert Hauwaerts
Removed the obsolete SQUERY and SERVLIST commands.
2014-07-14Removed the obsolete RPING commandGeert Hauwaerts
The RPING command is obsolete.
2014-07-09Removed the obsolete NOTE commandGeert Hauwaerts
I removed the binding for the NOTE command that doesn't exist anymore on any major network.