aboutsummaryrefslogtreecommitdiffstats
path: root/tests/send1.c
Commit message (Expand)AuthorAgeFilesLines
* Update tests•••A number of tests needed to be updated to account for the fact that tags are allowed to be up to 8191 bytes (or 4094 bytes for the client-specified portion or server-specified portion individually). The numbers in these tests were updated, and in some cases we now test both server and client tags to ensure consistent behavior between both types. Gravatar Ryan Schmidt2025-10-101-4/+4
* tests/send1: we don't add tags to remote messagesGravatar Ed Kellett2025-10-101-21/+21
* tests/send1: @time is sent remotely nowGravatar Ed Kellett2025-10-101-1/+1
* Test sendto_channel_local_priv not ONLY_OPERSGravatar Ed Kellett2020-08-041-5/+5
* Add tests for opmod_send_statusmsgGravatar Ed Kellett2020-07-061-4/+132
* Use a different cap for send testsGravatar Ed Kellett2020-04-301-85/+85
* tests: Check sendto_wallops_flags works with format stringsGravatar Simon Arlott2020-01-111-0/+122
* Propagate OPER•••Move opername and privset storage to struct User, so it can exist for remote opers. On /oper and when bursting opers, send: :foo OPER opername privset which sets foo's opername and privset. The contents of the privset on remote servers come from the remote server's config, so the potential for confusion exists if these do not match. If an oper's privset does not exist on a server that sees it, it will complain, but create a placeholder privset. If the privset is created by a rehash, this will be reflected properly. /privs is udpated to take an optional argument, the server to query, and is now local by default: /privs [[nick_or_server] nick] Gravatar Ed Kellett2019-09-131-8/+8
* tests: send1: add tag tests to all functionsGravatar Simon Arlott2017-08-061-0/+2080
* ircd: send tags on every message•••Simplify linebuf by introducing fsnprint to manage a list of printfs. Add a msgbuf unparse cache for send functions that loop. Gravatar Simon Arlott2017-08-061-20/+20
* tests: send1: fix sendto_channel_opmod (remote) to cover all scenariosGravatar Simon Arlott2017-08-061-10/+40
* tests: send1: fix sendto_channel_opmod (remote) to call the right functionGravatar Simon Arlott2017-08-061-4/+2
* tests: send1: add missing CAP_SERVER_TIME test to sendto_channel_flags from r...Gravatar Simon Arlott2017-08-061-4/+6
* tests: send1: test MODE_MODERATED with sendto_channel_opmodGravatar Simon Arlott2017-08-061-2/+16
* tests: send1: load modules in a predictable order•••So that tags are added in the same order every time. # wanted: @time=2017-07-14T02:40:00.000Z;account=test :LChanPeon!username@example.test TEST #placeholder :Hello World! # seen: @account=test;time=2017-07-14T02:40:00.000Z :LChanPeon!username@example.test TEST #placeholder :Hello World! Gravatar Simon Arlott2017-08-061-0/+4
* tests: add remaining sendto_* testsGravatar Simon Arlott2017-08-061-1/+2493
* tests: add remote server message tests•••Test sendto_one, sendto_one_prefix, sendto_one_notice and complete sendto_one_numeric (for unregistered clients). Gravatar Simon Arlott2017-08-051-9/+149
* tests: add client util make_local_person_oper()Gravatar Simon Arlott2017-08-051-15/+4
* tests: add sendto_* test frameworkGravatar Simon Arlott2017-08-051-0/+119