Age | Commit message (Collapse) | Author |
|
Fixes FS#919
|
|
Allow the user to set and modify the SASL parameters
|
|
The /NETWORK ADD command now is able to modify the SASL mechanism, the
username and the password on a chatnet basis.
|
|
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.
|
|
Add expandos for hostname
|
|
SASL support
|
|
Add some copyright headers here and there too.
|
|
|
|
|
|
|
|
|
|
Closes #169
|
|
"if the mechanism is unknown, 908 is optional, 904 (or equivalent error condition) is required"
|
|
So that in case of SASL failure the user sees a nice error message.
|
|
|
|
|
|
On error show the user the message sent by the server.
|
|
|
|
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().
|
|
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.
|
|
Implement CHANTYPES support
|
|
irc-cap.c has now a licence header.
A minor style fix in misc.c
|
|
How did this extra break cripple in here?
|
|
Use HOST_NAME_MAX instead of hardcoded 100 for userhost
and hostname expandos.
|
|
Use "(none)" instead of "??" for hostname and userhost expandos
when these can't be reliably detected.
|
|
*free_ret must be set to TRUE in both cases, since we return
some newly initialised memory
|
|
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.
|
|
[RFC] CAP support
|
|
Patch by @dequis
|
|
See http://bugs.irssi.org/index.php?do=details&task_id=829
|
|
Fail instead of crash, if irc_server_connect is called without object.
(#208)
|
|
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).
|
|
|
|
|
|
Make config parser more robust
|
|
Just a string replacement (but i did check every one of them)
sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
|
|
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.
|
|
|
|
Try to split long lines on spaces
|
|
|
|
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.
|
|
Make line splitting fail-safe
|
|
irc_server_send_away: don't send empty param if there's no away reason
|
|
|
|
|
|
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).
|
|
Rewrote the syntax documentation of U-Z commands.
|
|
Removed the obsolete SQUERY and SERVLIST commands.
|
|
The RPING command is obsolete.
|
|
I removed the binding for the NOTE command that doesn't exist anymore on
any major network.
|