Sébastien Helleu
4460f92727
relay: stop URL address before the first question mark if colon is not found (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
a3f3c9d09c
relay: check that parameter ws_deflate is not NULL in function relay_websocket_deflate_free (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
90b855e1aa
relay: add connection to remote (issue #2066 )
...
Connection to remote:
- handshake: offer support for all supported hash algorithms
- network connect with a socket
- upgrade to websocket and authenticate with remote (password/TOTP)
- check websocket response
- get list of buffers (not used yet)
Note: connection to remote with TLS or a proxy is not yet supported.
2024-04-07 13:18:13 +02:00
Sébastien Helleu
fd32192464
relay: add option disconnect in command /remote (issue #2066 )
2024-04-07 13:18:10 +02:00
Sébastien Helleu
c2343ecb74
relay: add functions to parse HTTP response (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
c4c220f0a3
relay: add proxy option in remote (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
3f993f9422
relay/api: fix style (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
786f889251
relay: add command /remote, add remote configuration in relay.conf (issue #2066 )
2024-04-07 13:16:47 +02:00
Sébastien Helleu
40bfded594
irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
2024-04-06 22:44:04 +02:00
Sébastien Helleu
74729ce677
irc: display CTCP reply to a nick in server buffer instead of channel
...
When a CTCP request is received on a channel, WeeChat replies to the nick and
it is now displayed in the server buffer instead of the channel, as the target
is a nick and not a channel.
2024-04-06 16:42:15 +02:00
Sébastien Helleu
f3f9dc388f
core: remove whitespace
2024-04-01 22:23:48 +02:00
Sébastien Helleu
7e997f87e8
core: add cast to "const char *" for hashtable value
2024-04-01 21:48:11 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
1fb6fda89b
relay: rename function relay_api_search_buffer_id_name to relay_api_protocol_search_buffer_id_name
2024-03-29 13:02:45 +01:00
Sébastien Helleu
acef7dd317
relay: move assignment after comment with important note
2024-03-26 21:22:55 +01:00
Sébastien Helleu
3d8607673e
relay: fix typo in comment
2024-03-26 21:22:15 +01:00
Sébastien Helleu
5a3dff1b97
relay: fix typo in comment
2024-03-26 20:23:10 +01:00
Sébastien Helleu
372ffc1690
irc: fix error displayed on connection in case of insufficient memory
2024-03-26 20:22:50 +01:00
Sébastien Helleu
fd06c67b58
relay: add size for array relay_auth_password_hash_algo_name
2024-03-26 10:40:38 +01:00
Sébastien Helleu
6e5eb5eb25
fset: fix typo in /help fset
2024-03-26 09:21:04 +01:00
Sébastien Helleu
2f5936bc9f
relay: set the last IRC client disconnection time only after a successful connection ( closes #2103 )
2024-03-26 08:04:49 +01:00
Sébastien Helleu
3db4dd2790
fset: display number of commands executed in imported file, improve errors displayed
2024-03-26 07:46:35 +01:00
Sébastien Helleu
26630ada2d
fset: add option -import in command /fset
2024-03-25 21:00:42 +01:00
Sébastien Helleu
8482e14630
core: display a specific message when the value of option is unchanged after /set command
2024-03-25 12:06:59 +01:00
Sébastien Helleu
9bc4352089
core: fix tests on function strftimeval on Alpine
2024-03-24 20:56:29 +01:00
Sébastien Helleu
907643bc9c
core: add option weechat.completion.case_sensitive
2024-03-24 15:40:06 +01:00
Sébastien Helleu
762d71012a
script: add option enable in command /script, improve error displayed when download of scripts is disabled
2024-03-19 20:45:22 +01:00
Sébastien Helleu
7aa5d718a8
core: send signal "hotlist_changed" only if the order of hotlist has changed after sort (issue #2097 )
2024-03-18 21:45:47 +01:00
Sébastien Helleu
77bc38d21d
core: reduce number of re-sort of hotlist (issue #2097 )
...
Restore original signals caught: "buffer_moved" and "buffer_closed", and the
signal "buffer_localvar_*" is added so that any local variable
added/changed/removed triggers a re-sort of hotlist.
2024-03-18 21:44:23 +01:00
Sébastien Helleu
34a72ac02e
relay/api: add GET /api/hotlist
2024-03-17 20:13:19 +01:00
Sébastien Helleu
e29f496a96
core: optimize sort of hotlist
...
Entries are not duplicated any more.
2024-03-16 22:25:51 +01:00
Sébastien Helleu
55203680ba
core: don't resort hotlist when signal "hotlist_changed" is sent
2024-03-16 22:25:45 +01:00
Sébastien Helleu
c05b228078
core: sort hotlist and remove buffer even while upgrading
2024-03-16 21:33:08 +01:00
Sébastien Helleu
d462667ee6
core: fix crash on /upgrade when hotlist contains buffers that are closed
2024-03-16 17:24:12 +01:00
Sébastien Helleu
8eafc0624c
core: resort hotlist on any buffer signal (issue #2097 )
2024-03-16 14:43:53 +01:00
Sébastien Helleu
29b502a06a
buflist: fix help on option buflist.look.sort (issue #2097 )
2024-03-16 14:14:28 +01:00
Sébastien Helleu
25a317280f
core: fix typo in option weechat.look.hotlist_sort: time.usec -> time_usec (issue #2097 )
2024-03-16 14:08:07 +01:00
Sébastien Helleu
f856173e1f
core: add option weechat.look.highlight_prefix ( closes #2079 )
2024-03-16 11:32:51 +01:00
Sébastien Helleu
6f660f2430
core: add variable ${highlight} in option weechat.look.buffer_time_format (issue #2079 )
2024-03-16 09:46:55 +01:00
Sébastien Helleu
41fb29bbd0
core: convert option weechat.look.hotlist_sort to a list of fields ( closes #2097 )
2024-03-15 21:44:14 +01:00
Sébastien Helleu
c98d12b4af
core: rename variables with creation time in hdata "hotlist"
...
Variables renamed:
- "creation_time.tv_sec" -> "time"
- "creation_time.tv_usec" -> "time_usec"
2024-03-15 21:32:37 +01:00
Sébastien Helleu
305b046370
core: add macro to define hdata variable with different field and name
2024-03-15 21:32:35 +01:00
Sébastien Helleu
080eecef2c
core: add missing hdata name "buffer" in hdata "hotlist"
2024-03-15 21:32:32 +01:00
Trygve Aaberge
811390ebb1
core: make search_stop scroll to search start position
...
When you run /input search_stop it should scroll to the scroll position
the buffer was at before starting the search, rather than to the bottom
of the buffer.
Fixes a regression introduced in commit b83b428c5c
Fixes #2093
2024-03-13 13:50:04 +01:00
wfrsk
4d83adc7d8
lua: fix code style
2024-03-13 13:10:07 +01:00
wfrsk
fd541395f4
lua: do not depend on an init script + rework weechat_lua_output
2024-03-13 13:02:29 +01:00
wfrsk
97f87932fe
lua: do not load the debug library
2024-03-13 13:02:29 +01:00
wfrsk
b0581ac1f8
lua: do not depend on luaL_openlibs
2024-03-13 13:02:29 +01:00
Mario Campos
f76d236015
GUI: fix potential integer overflow bugs by casting to size_t
2024-03-13 09:09:29 +01:00
Mario Campos
1797fe18a3
fset: replace call to chmod() by fchmod() in the export function
2024-03-13 07:19:55 +01:00