Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4034d07d5a
core: use https for links in comments
2018-12-01 08:21:49 +01:00
Sébastien Helleu
342261d35b
core: use https for all links where secured http is supported
2018-11-29 23:18:55 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
de8d640958
relay: add support of close frame in websocket connection ( closes #1281 )
2018-11-12 20:43:48 +01:00
Sébastien Helleu
ba3d805167
Merge pull request #1273 from half-duplex/master
...
Fix regex in relay.network.allowed_ips doc
2018-11-04 16:46:11 +01:00
Sébastien Helleu
738535e7f6
relay: add support of Time-based One-Time Password (TOTP) as second authentication factor in weechat protocol
2018-11-04 14:50:53 +01:00
Sébastien Helleu
ed3f281ba9
api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64
2018-11-04 14:49:11 +01:00
Sébastien Helleu
8848b0e22a
api: return integer in function string_encode_base64
2018-11-02 14:09:23 +01:00
Trevor Bergeron
9121e5812c
Fix regex in relay allowed_ips doc
2018-10-23 00:33:01 -04:00
Sébastien Helleu
ecdbaef288
relay: remove useless test on length
2018-10-01 22:59:05 +02:00
Sébastien Helleu
4b58ea37c0
relay: remove useless test on num_sent
2018-10-01 22:58:25 +02:00
Sébastien Helleu
d6d8b9094f
irc: replace call to gmtime by gmtime_r
2018-10-01 22:22:06 +02:00
Sébastien Helleu
8abd05fe3d
core: replace "long unsigned int" by "unsigned long"
2018-10-01 22:21:25 +02:00
Sébastien Helleu
e28cb00106
relay: add real IP in client description ( closes #1256 )
2018-09-30 09:59:45 +02:00
Sébastien Helleu
7b8faf6d97
relay: fix URL to the page with remote interfaces in /help relay
2018-09-09 10:07:16 +02:00
Sébastien Helleu
bf48efffec
relay: fix compiler warnings on calls to snprintf
2018-07-13 21:25:07 +02:00
Sébastien Helleu
5decae145f
relay: fix socket creation for relay server on OpenBSD ( closes #1213 )
...
The socket option IPV6_V6ONLY is not needed on OpenBSD and must not be set (it
is read-only).
2018-07-01 15:39:34 +02:00
Sébastien Helleu
744ded04bd
relay: add filtering on protocol in info "relay_client_count" (issue #1206 )
2018-06-14 21:57:27 +02:00
Sébastien Helleu
eb8043f2b4
relay: remove unneeded check on variable irc_argv
...
The variable "irc_argv" is always set if irc_argc > 0.
2018-05-19 08:14:56 +02:00
Sébastien Helleu
ec169f535d
core: reinitialize config file pointer to NULL after an error on section creation
2018-01-14 21:47:18 +01:00
Sébastien Helleu
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
5aab494dd6
core, plugins: check return code of strftime function
2017-09-23 15:06:28 +02:00
Sébastien Helleu
aeeec38d6f
core: fix cast of time_t (to "long long" instead of "long") ( closes #1051 )
2017-08-12 18:36:45 +02:00
Sébastien Helleu
9bad3f44db
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
2017-08-10 20:05:16 +02:00
Sébastien Helleu
cf51849ac5
relay: fix send of "PART" command in backlog (irc protocol)
2017-07-23 16:13:00 +02:00
Sébastien Helleu
b95da03f3a
relay: end capability negociation if CAP REQ is received without arguments (issue #1040 )
...
This fixes a bug with clients like Atomic which are sending "CAP REQ :".
2017-07-23 15:47:06 +02:00
Sébastien Helleu
70839c732e
relay: fix initialization of irc_argv_eol, free variable after use (issue #1040 )
2017-07-23 14:22:12 +02:00
Sébastien Helleu
a58d3fac4c
relay: fix parsing of CAP command without arguments in irc protocol, send ACK only if all capabilities received are OK and NAK otherwise ( closes #1040 )
2017-07-23 13:58:45 +02:00
Sébastien Helleu
6532c9a538
fset: fix priority of plugin (load it after all other plugins)
...
This fixes a refresh problem of options after /upgrade in fset buffer.
2017-07-08 14:46:33 +02:00
Sébastien Helleu
ee2f09fb13
relay: add option "start" in command /relay
2017-06-12 20:06:58 +02:00
Sébastien Helleu
54bf589d7d
core, plugins: fix conditions to insert elements in linked lists
...
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-10 16:21:11 +02:00
Simmo Saan
43451e8481
relay: remove callback unused after d2ff46fa69
2017-06-03 16:26:09 +03:00
Simmo Saan
7ab6731efe
relay: fix relay.network.bind_address change callback not being called
2017-06-03 15:59:12 +03:00
Simmo Saan
996aaf0613
relay: remove local variables used only for sizeof
2017-06-03 15:56:26 +03:00
Sébastien Helleu
1bace336bc
relay: fix parsing of CAP command arguments in irc protocol ( closes #995 )
2017-05-19 21:21:30 +02:00
Sébastien Helleu
532216e760
relay: check buffer pointer received in "sync" and "desync" commands (weechat protocol) ( closes #936 )
2017-03-26 15:15:56 +02:00
Sébastien Helleu
7ceacabd46
relay: remove buffer from synchronized buffers when it is closed (fix memory leak)
2017-03-26 08:55:08 +02:00
Sébastien Helleu
9e0d103ff7
relay: check that pointers received in arguments are not NULL in "free" functions
...
Functions:
- relay_irc_free
- relay_client_outqueue_free
- relay_raw_message_free
- relay_weechat_msg_free
- relay_weechat_nicklist_item_free
- relay_weechat_nicklist_free
- relay_weechat_free
2017-03-25 14:07:46 +01:00
Sébastien Helleu
1361602ea5
tests: fix compilation of tests on FreeBSD 11
...
Some includes were missing in .h files, and the tests must be linked
with intl and execinfo on FreeBSD.
2017-01-13 20:57:59 +01:00
Sébastien Helleu
b547bf6bbb
relay: make HTTP headers case-insensitive for WebSocket connections ( closes #888 )
2017-01-11 07:11:01 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
d4a9c48cc8
relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825 )
2016-10-25 07:23:26 +02:00
Sébastien Helleu
133cbbd947
relay: set status to AUTH_FAILED in case of auth failure in weechat protocol ( closes #825 )
2016-10-21 07:49:10 +02:00
Sébastien Helleu
09c52755d1
relay: return an empty hdata when the requested hdata or pointer is not found ( closes #767 )
2016-07-29 15:55:42 +02:00
Sébastien Helleu
20c86db0d8
api: remove functions printf_date() and printf_tags()
2016-06-18 08:49:35 +02:00
Sébastien Helleu
499b9be1fb
relay: add option relay.network.allow_empty_password ( closes #735 )
2016-05-18 07:55:03 +02:00
Sébastien Helleu
af83fb55e1
relay: allow escape of comma in command "init" (weechat protocol) (issue #730 )
2016-05-13 19:37:19 +02:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00