314dfbbd75
Fixed highlight word parsing so Unicode symbols (including emoji like 🐜 ) are treated as part of words when scanning incoming text for alert matches, which enables /Extra words to highlight/ entries containing emoji to work.
...
Improved token scanning to use UTF-8-aware character classification (gunichar, g_unichar_isdigit, g_unichar_isalpha) instead of byte-only checks, avoiding split/mis-detection on multibyte characters.
2026-02-23 16:11:41 -07:00
deepend-tildeclub
a975ddc80a
Merge pull request #57 from ZoiteChat/master
...
merge master changes into C17.
2026-02-12 14:27:21 -07:00
9aba312c8e
Resolved the merge conflict in STS capability handling by keeping the clearer warning message for missing values.
2026-02-04 13:13:51 -07:00
983ae5337b
Added a diagnostic message when an STS capability token is missing its value, while keeping the ignore behavior intact.
2026-02-04 12:57:07 -07:00
f58785c2e0
Added an explicit diagnostic when an STS capability token lacks a value while keeping the ignore policy unchanged.
2026-02-04 12:42:22 -07:00
2ecf1c18fb
Added STS value parsing in CAP ACK handling so sts= capability values are applied immediately before toggling capabilities.
2026-02-04 12:41:32 -07:00
4008d94571
fix(portability): replace POSIX-only string funcs and legacy hostent fields
2026-01-26 15:56:52 -07:00
a0f0c48bc5
Added STS profile persistence and policy parsing/enforcement (including load/save, upgrades, and expiry rescheduling) to the STS module.
...
Integrated STS capability handling and connection lifecycle hooks (ignore CAP DEL, trigger upgrades, reschedule on disconnect, new server fields).
Initialized and cleaned up STS state during startup/shutdown to persist policies across sessions.
2026-01-25 17:20:53 -07:00
deepend-tildeclub
a40f53a1f3
Add 'standard-replies' to inbound.c
...
Add support for the standard-replies capability.
2026-01-25 11:09:31 -07:00
4683ef705b
new name after fork
2026-01-05 23:12:38 -07:00
Patrick Okraku
681a88d6df
SASL SCRAM: renamed scram_free_session to scram_session_free
2024-01-04 16:17:14 -06:00
Patrick Okraku
c82ad32171
SASL SCRAM: Apply changes from code review
2024-01-04 16:17:14 -06:00
Patrick Okraku
9b76b557ec
Added support for SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512
2023-11-05 07:12:01 -06:00
Patrick Okraku
50ca0d5b09
Moved SASL PLAIN authentication to own function
2023-11-05 07:11:23 -06:00
Sadie Powell
bb7a03e9f6
Fix updating the topic (user@host) of dialogs on CHGHOST.
...
This is updated when a user receives a new message but would have
not been updated when a user sent a CHGHOST.
2022-11-05 12:42:51 -05:00
Sadie Powell
9d175cc459
Also request the extended-monitor capability.
...
This allows getting hostname/awaymsg/etc updates for monitored clients
which will update the internal cache for that data.
2022-11-05 12:42:51 -05:00
Artem Zhurikhin
b8645bfbf2
Split long SASL auth strings into 400-byte chunks ( #2709 )
...
Fixes #2705
2022-05-13 15:56:26 -05:00
Sadie Powell
08e13a3ac5
Replace identify-msg support with solanum.chat/identify-msg.
2021-06-19 20:16:40 -05:00
DasBrain
09e9d1f749
Place ChanServ notices in the front buffer if the front buffer is on the same network.
2021-06-17 11:03:18 -05:00
Sadie Powell
37118a4d2b
Implement support for the IRCv3 account-tag specification. ( #2572 )
...
Co-authored-by: Patrick <tingping@tingping.se >
2021-05-23 20:53:28 -05:00
Sadie Powell
c06f6f2565
Implement support for the IRCv3 invite-notify specification. ( #2574 )
2021-05-23 19:32:00 -05:00
Sadie Powell
e4fd69e3d4
Implement support for the IRCv3 SETNAME specification. ( #2571 )
2021-05-23 13:12:10 -05:00
Patrick Griffis
964ae72fa8
Better handle various ctime() calls failing
2021-03-03 15:39:02 -06:00
jesopo
aec72593f2
SASL EXTERNAL doesn't necessitate a certificate
2020-07-22 10:34:19 -07:00
Patrick Griffis
7d9f3acfc9
Fix capability negotiation ending before sasl finishes with multi-line cap
...
Closes #2398
2019-11-24 13:01:48 -08:00
Stepan Broz
ed1d5061a4
Make dcc_ip being a per-server value.
...
Moved dcc_ip from prefs to sess->server.
2019-05-28 14:33:39 -07:00
Patrick Griffis
c6d9e26e2b
Fix crash when connect commands change network
...
Fixes #2084
2017-10-25 15:26:26 -04:00
Patrick Griffis
4188f26ab9
Improve CTCP notice handling
...
Cutting off all text after \001 can result in users hiding text
so lets only bother handling it if it is a valid CTCP message
(starting and ending with \001).
2017-10-07 17:31:53 -04:00
Patrick Griffis
053003f490
Handle leading spaces when matching extra alerts
...
It is common for users to set "foo, bar" and the leading space
has caused issues in the past so lets just ignore that.
2017-09-19 20:26:28 -04:00
Joseph Bisch
f4a592c4f0
Fix oob read caused by ptr[0] being NULL in inbound_notice
...
If ptr[0] is NULL, then strchr may return a pointer to the NULL
terminator for serv->nick_prefixes, making the if statement true, which
then leads to the pointer increment leaving ptr oob. Now we check to
ensure ptr[0] != NULL.
From the Linux manpages for strchr:
The terminating null byte is considered part of the string, so that if c is
specified as '\0', these functions return a pointer to the terminator.
2017-09-18 22:01:48 -04:00
Patrick Griffis
241dd69b08
Further tab color improvements
...
- Combine the three properties into a single one
- Finally fully fix the handling with plugins handling events
TODO: Look into lastact handling of these, seems wrong
2016-11-11 19:27:57 -05:00
gaffatape
29b5785bb4
Update usercount in inbound_nameslist_end
2016-10-08 14:55:58 -04:00
Patrick Griffis
03767ee0f9
Kill fe_set_hilight()
...
It just duplicates functionality and this fixes:
- alert_taskbar chanopt not being respected
- tab color being incorrect when highlight print events are eaten
2016-07-24 18:08:09 -04:00
Ben Gamari
bcbe42dd7a
Introduce and use fe_timeout_add_seconds
...
This should allow the operating system to be a bit more lax about
timeouts, allowing more efficient power management.
2016-06-29 15:42:11 -04:00
Patrick Griffis
4362085847
Remove DH-AES/DH-BLOWFISH mechanisms and misc cleanup
...
- AES and Blowfish mechanisms are deemed insecure and servers
have removed support for them
- Remove attempts to retry since we only support one mech
- Handle SASL 3.2's new syntax for supported mechs
2016-01-29 17:41:08 -05:00
Patrick Griffis
6b62c4738d
Add support for twitch.tv/membership
2016-01-29 15:28:34 -05:00
Patrick Griffis
8da205b0a8
Add support for chghost
2016-01-29 15:28:33 -05:00
Patrick Griffis
981d55e84c
Add support for CAP 3.2
2016-01-29 15:28:33 -05:00
Patrick Griffis
a2c2abd60a
Fix missed comma
2016-01-28 16:17:30 -05:00
Patrick Griffis
7a85c9160d
Add support for cap-notify
2016-01-28 16:02:04 -05:00
Patrick Griffis
4e061a43b3
Clean up handling CAP LS
2016-01-28 15:18:15 -05:00
TingPing
60fa7efbc8
Fix logging hostname of queries
...
- Move query topic setting from frontend (where its too late)
- Respect chanopts for logging hostname
- Open query logfile *after* chanopts loaded
2015-02-01 01:47:50 -05:00
TingPing
2a28289314
Don't return 0 in place of NULL
2014-12-31 11:31:17 -05:00
TingPing
95febd978c
Fix building as c89
2014-12-28 06:47:23 -05:00
TingPing
83032b1aa3
Use glib for all allocations
...
- Removes need to check for malloc failure
- Removes need for NULL checks on free
- Adds checks for integer overflows
- Removes some extra memset calls
- Removes chance of mixing libc and glib malloc/free
2014-12-28 06:44:44 -05:00
TingPing
aeb5d15871
More consistently include config.h
2014-12-17 18:21:10 -05:00
Arnavion
8062bce835
Fix some obvious type warnings.
2014-12-04 04:06:38 -08:00
Derp Derpingston
7435572282
Properly support notices to prefix'd users on a channel
...
Instead of hardcoding this behavior for @, +, and %, fetch the list of
mode prefixes from the server's state and look for one of those instead.
Closes #977
2014-05-12 04:55:45 -04:00
TingPing
b41bd594b0
Add account to Join event
...
Also reorganizes some logic. The account will usually be NULL unless
extended-join capability enabled.
Closes #934
2014-04-06 15:33:22 -04:00
RichardHitt
0f828dd74f
Add marker-line functionality for scrollback, instant seek.
...
Fixes #662 .
2014-04-02 16:14:45 -07:00