summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
AgeCommit message (Collapse)Author
2024-04-25irc: remove check of NULL pointers before calling free() (issue #865)Sébastien Helleu
2024-04-01core: fix print of pointer valuesSébastien Helleu
2024-03-26irc: fix error displayed on connection in case of insufficient memorySébastien Helleu
2024-02-11irc: add server option "autojoin_delay" (closes #862)Sébastien Helleu
The server option "autojoin_delay" adds a delay before autojoin. The server option "command_delay" is now used to add a delay before the execution of the command. On upgrade from an old version, the option "command_delay" is copied to "autojoin_delay" (in old versions, "command_delay" was applied after the execution of command and before the autojoin).
2024-01-01core: update copyright datesSébastien Helleu
2023-11-29irc: add server option "anti_flood", remove server options ↵Sébastien Helleu
"anti_flood_prio_{high|low}" (issue #1039) The new option is set in milliseconds.
2023-11-26irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when ↵Sébastien Helleu
messages are queued
2023-11-03irc: change default value of server option "tls_priorities" to `NORMAL`Sébastien Helleu
It is no more needed to remove `VERS-SSL3.0` because it is no longer in the default priorities since GnuTLS 3.4.0 (released on 2015-04-08).
2023-09-12irc: fix unexpected message sent to server when part of the second line of ↵Sébastien Helleu
an IRC command (closes #1992)
2023-09-11irc: fix autojoin of channels when private buffers are opened (closes #2012)Sébastien Helleu
2023-09-06irc: fix code style (issue #2004)Sébastien Helleu
2023-09-06xfer: add passive DCC support.Mario Campos
This commit also includes support for passive DCC RESUME. There was also a potential segfault with calling `atoi(pos_token)` when `pos_token` is NULL, so `token` is set to be stored as a string. Although it is an integer, we don't need to store it as such. That's really more of an implementation detail.
2023-09-06xfer: add and identify active/passive xfer types.Mario Campos
Before making any significant changes, let's identify the existing xfer types by either active or passive.
2023-08-27irc: add count and mode filter in command `/names` (closes #98)Sébastien Helleu
2023-08-24api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" ↵Sébastien Helleu
(issue #194)
2023-08-24irc: add functions to convert strings to lower/upper case (following ↵Sébastien Helleu
casemapping) (issue #194)
2023-08-23irc: fix string comparison when CASEMAPPING is set to "ascii"Sébastien Helleu
2023-08-23irc: check that server is not NULL in function irc_server_eval_fingerprintSébastien Helleu
2023-08-23irc: move function irc_server_fingerprint_search_algo_with_sizeSébastien Helleu
2023-08-12irc: add buffer for /list reply (closes #1972)Sébastien Helleu
New options: - irc.color.list_buffer_line_selected - irc.color.list_buffer_line_selected_bg - irc.look.list_buffer_sort - irc.look.list_buffer_scroll_horizontal - irc.look.new_list_position - irc.look.list_buffer_topic_strip_colors
2023-08-01irc: add channel in "autojoin" server option only when the channel is ↵Sébastien Helleu
actually joined (closes #1990)
2023-07-08core: use type "enum" in optionsSébastien Helleu
2023-06-25irc: reply to a CTCP request sent to self nick (closes #1966)Sébastien Helleu
2023-05-20irc: create server/channel/raw buffers with function buffer_new_props (issue ↵Sébastien Helleu
#1942) With this function, buffer properties are set when the buffer is created and can be read immediately by other plugins/scripts, for example in a callback of signal "buffer_opened".
2023-05-17irc: start from the beginning of nicks at automatic reconnection (closes #337)arza
2023-05-17irc: add field "utf8only" in IRC server structureSébastien Helleu
2023-05-17irc: Implement the UTF8ONLY IRCv3 specificationValentin Lorentz
https://ircv3.net/specs/extensions/utf8-only
2023-05-14irc: set "input_multiline" to 1 in buffers only if capability ↵Sébastien Helleu
draft/multiline is enabled (issue #1923)
2023-05-14irc: add support of "LINELEN" in message 005 (max message length in bytes) ↵Sébastien Helleu
(closes #1927)
2023-05-14irc: reset all internal servers variables when disconnectingSébastien Helleu
2023-05-14irc: add support of capability "draft/multiline" (closes #1923)Sébastien Helleu
2023-05-14irc: return arraylist instead of hashtable in function irc_server_sendf ↵Sébastien Helleu
(issue #1923)
2023-05-14irc: don't split messages on "\n" in function irc_server_sendf (issue #1923)Sébastien Helleu
The function now allows only a single message. Newline chars ("\n") are allowed in messages but not used as message separator. This is a preparation work for the support of capability "draft/multiline".
2023-05-03irc: add support of capability "batch" (closes #1292)Sébastien Helleu
2023-04-27irc: add `${username}` in server options "nicks" and "username", change ↵Sébastien Helleu
their default values to use it
2023-04-12core: update translations (issue #1903)Sébastien Helleu
2023-04-12irc: improve short description of server (issue #1903)Sébastien Helleu
2023-04-12irc: connect with TLS and port 6697 by default (issue #1903)Sébastien Helleu
2023-04-12irc: rename "ssl" options to "tls" (issue #1903)Sébastien Helleu
2023-04-12irc: check that IRC URL starts with "irc" (issue #1903)Sébastien Helleu
2023-04-12irc: add more info in description of function irc_server_alloc_with_url ↵Sébastien Helleu
(issue #1903)
2023-04-12irc: set gnutls_sess, tls_cert and tls_cert_key to NULL by default in server ↵Sébastien Helleu
(issue #1903)
2023-04-05tests: add tests on function irc_server_alloc_with_urlSébastien Helleu
2023-01-29irc: add server option "registered_mode" (closes #1625)Andrew Potter
Two new fields are added in IRC server structure: - "authentication_method", possible values: 0: not authenticated 1: authenticated with SASL 2: authenticated with other method - "sasl_mechanism_used", possible values: see enum t_irc_sasl_mechanism in src/plugins/irc/irc-sasl.h
2023-01-28core, plugins: check that string parameters are not NULL in search functions ↵Sébastien Helleu
(issue #1872)
2023-01-28irc: make IRC server names case sensitive (issue #1872)Sébastien Helleu
2023-01-28core, plugins: make commands, hook command_run, completions and aliases case ↵Sébastien Helleu
sensitive (issue #1872)
2023-01-23irc: fix autojoin on server connection (closes #1873)Sébastien Helleu
Now the autojoin is made only one time, until the server buffer is closed. A new flag `autojoin_done` is added to know whether the autojoin has already been done or not on the server. It is set to 1 on first autojoin, and reset to 0 only if the server buffer is closed. The flag `reconnect_join` is removed, because it is now obsolete.
2023-01-01core: update copyright datesSébastien Helleu
2022-12-17irc: do not join channels in server autojoin option after reconnection to ↵Sébastien Helleu
the server (closes #560, bug #21529)