Commit Graph

116 Commits

Author SHA1 Message Date
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
RichardHitt
1a3bfdce75 Improve handling scrollback when gui_tab_server==FALSE
Fixes #925.
2014-03-24 21:22:04 -04:00
Diogo Sousa
9969282c72 Now make_ping_time() in common/util.c returns the time in milliseconds instead
of microseconds.
In fe_set_lag(serv, lag) the lag argument is now in milliseconds as well.

Fixes #758.
2014-01-30 19:23:35 +00:00
TingPing
0f0dabdcf4 Support numeric 908 2014-01-12 07:10:26 -05:00
TingPing
91ea5b6907 Fix warnings 2014-01-08 03:51:39 -05:00
TingPing
20d26aea94 Rewrite dns command
- Cross platform
- Doesn't depend on external tools
2014-01-08 01:32:28 -05:00
TingPing
61ceaef57e Properly request server-time when it's the only cap
Closes #862
2013-12-27 09:20:39 -05:00
TingPing
5331a6145b Fix crash with negative timestamp in banlist
Closes #841
2013-11-17 11:57:13 -05:00
TingPing
f178b551da Don't auto unmark away when getting znc playback 2013-11-01 00:58:27 -04:00
TingPing
36e41a6476 fix another warning 2013-10-22 14:53:33 -04:00
TingPing
19e3fce2eb Fix SASL on some networks 2013-10-20 22:29:16 -04:00
TingPing
20c9c94a61 Ignore nick prefix when splitting NAMES reply 2013-10-20 01:33:57 -04:00
TingPing
ad1520b29a Only split NAMES reply if server supports userhost-in-names 2013-10-20 00:29:58 -04:00
TingPing
06a7d84b43 Add support for userhost-in-names capability 2013-10-18 04:40:39 -04:00
TingPing
d960006de4 Add option to auto +x on connect 2013-10-17 23:43:58 -04:00
TingPing
bc3b923131 Respect use global flag with SASL 2013-10-17 04:52:06 -04:00
TingPing
145ceba124 Strip trailing space from CAP REQ
Mentioned in #770
2013-09-23 12:45:08 -04:00
TingPing
a903f16c68 Implement BLOWFISh, AES, and EXTERNAL SASL mechanisms
Closes #657
2013-09-07 18:59:28 -04:00