summary refs log tree commit diff stats
path: root/src/common/inbound.c
AgeCommit message (Collapse)Author
2017-10-07Improve CTCP notice handlingPatrick Griffis
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-09-19Handle leading spaces when matching extra alertsPatrick Griffis
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-18Fix oob read caused by ptr[0] being NULL in inbound_noticeJoseph Bisch
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.
2016-11-11Further tab color improvementsPatrick Griffis
- 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-10-08Update usercount in inbound_nameslist_endgaffatape
2016-07-24Kill fe_set_hilight()Patrick Griffis
It just duplicates functionality and this fixes: - alert_taskbar chanopt not being respected - tab color being incorrect when highlight print events are eaten
2016-06-29Introduce and use fe_timeout_add_secondsBen Gamari
This should allow the operating system to be a bit more lax about timeouts, allowing more efficient power management.
2016-01-29Remove DH-AES/DH-BLOWFISH mechanisms and misc cleanupPatrick Griffis
- 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-29Add support for twitch.tv/membershipPatrick Griffis
2016-01-29Add support for chghostPatrick Griffis
2016-01-29Add support for CAP 3.2Patrick Griffis
2016-01-28Fix missed commaPatrick Griffis
2016-01-28Add support for cap-notifyPatrick Griffis
2016-01-28Clean up handling CAP LSPatrick Griffis
2015-02-01Fix logging hostname of queriesTingPing
- Move query topic setting from frontend (where its too late) - Respect chanopts for logging hostname - Open query logfile *after* chanopts loaded
2014-12-31Don't return 0 in place of NULLTingPing
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for all allocationsTingPing
- 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-17More consistently include config.hTingPing
2014-12-04Fix some obvious type warnings.Arnavion
2014-05-12Properly support notices to prefix'd users on a channelDerp Derpingston
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-04-06Add account to Join eventTingPing
Also reorganizes some logic. The account will usually be NULL unless extended-join capability enabled. Closes #934
2014-04-02Add marker-line functionality for scrollback, instant seek.RichardHitt
Fixes #662.
2014-03-24Improve handling scrollback when gui_tab_server==FALSERichardHitt
Fixes #925.
2014-01-30Now make_ping_time() in common/util.c returns the time in milliseconds insteadDiogo Sousa
of microseconds. In fe_set_lag(serv, lag) the lag argument is now in milliseconds as well. Fixes #758.
2014-01-12Support numeric 908TingPing
2014-01-08Fix warningsTingPing
2014-01-08Rewrite dns commandTingPing
- Cross platform - Doesn't depend on external tools
2013-12-27Properly request server-time when it's the only capTingPing
Closes #862
2013-11-17Fix crash with negative timestamp in banlistTingPing
Closes #841
2013-11-01Don't auto unmark away when getting znc playbackTingPing
2013-10-22fix another warningTingPing
2013-10-20Fix SASL on some networksTingPing
2013-10-20Ignore nick prefix when splitting NAMES replyTingPing
2013-10-20Only split NAMES reply if server supports userhost-in-namesTingPing
2013-10-18Add support for userhost-in-names capabilityTingPing
2013-10-17Add option to auto +x on connectTingPing
2013-10-17Respect use global flag with SASLTingPing
2013-09-23Strip trailing space from CAP REQTingPing
Mentioned in #770
2013-09-07Implement BLOWFISh, AES, and EXTERNAL SASL mechanismsTingPing
Closes #657
2013-08-26Handle incoming messages from yourselfTingPing
These are common for users of bouncers, private messages still need to be handled.
2013-08-10And free connect command..TingPing
2013-08-10Only replace variables in connect commandsTingPing
2013-07-11Fix requesting sasl multiple timesTingPing
2013-06-28Also support znc.in/server-time-isoTingPing
2013-06-28Added preferences options to enable the server-time extension when available.Diogo Sousa
(Internationalization messages missing.)
2013-06-28A few messages missing regarding server-time.Diogo Sousa
2013-06-28Now inbound_cap_ls() can enable extensions when a bouncer uses a namespace forDiogo Sousa
the extension server-time.
2013-06-28server-time for all numerical messages.Diogo Sousa
2013-06-28server-time supported in all named servermsg: ping, error, notice andDiogo Sousa
authenticate. The only thing left to do for server-time are the numeric messages.