]>
jfr.im git - solanum.git/log
Doug Freed [Sun, 13 Dec 2020 08:41:13 +0000 (08:41 +0000)]
librb/helper: call rb_clear_cloexec on child fds
Doug Freed [Sun, 13 Dec 2020 08:39:29 +0000 (08:39 +0000)]
librb: call rb_set_cloexec in rb_setup_fd
Doug Freed [Sun, 13 Dec 2020 08:38:25 +0000 (08:38 +0000)]
librb: add rb_{set,clear}_cloexec
Doug Freed [Thu, 17 Dec 2020 17:02:36 +0000 (17:02 +0000)]
CI: test on gcc-10 too
jess [Mon, 25 Jan 2021 05:00:34 +0000 (05:00 +0000)]
/accept list should track nick changes when you share channels (#96)
* move has_common_channel to s_user.c
* don't remove clients from /accept on NICK when there's a common channel
Co-authored-by: Ed Kellett <redacted>
Eric Mertens [Sun, 24 Jan 2021 13:13:03 +0000 (05:13 -0800)]
Add +R channel mode module requiring services account to chat (#102)
* Add +R channel mode module requiring services account to chat
* Use void* in hook argument
* move chm_regmsg from modules to extensions
* generate error message when module fails to load
Doug Freed [Sat, 12 Dec 2020 09:09:11 +0000 (09:09 +0000)]
README: update build statusbadge to use GH Actions
Doug Freed [Sat, 12 Dec 2020 09:03:22 +0000 (09:03 +0000)]
Kill appveyor too
[ci skip]
Doug Freed [Sat, 12 Dec 2020 08:39:26 +0000 (03:39 -0500)]
Oper-guide workflow for Github Actions
Doug Freed [Sat, 12 Dec 2020 08:34:12 +0000 (03:34 -0500)]
Kill Travis
Doug Freed [Sat, 12 Dec 2020 08:33:09 +0000 (03:33 -0500)]
Start CI configuration for Github Actions
Ed Kellett [Mon, 30 Nov 2020 09:24:32 +0000 (09:24 +0000)]
chmode: end the grace period more intelligently (#84)
We were ending the flood grace period for any channel mode command other
than `MODE #foo [bq]` by means of a hardcoded check. I've moved that to
after we parse the mode string, so we can correctly identify all
requests to change modes and end the grace period on exactly those.
It would have been entirely possible to move the check even further down
and flood_endgrace on only mode commands that *actually* change modes,
but I don't like the idea of making it sensitive to external conditions.
Doug Freed [Sun, 29 Nov 2020 01:03:29 +0000 (20:03 -0500)]
send: fix infinite recursion in _send_linebuf
A netwide snote eventually calls into this function again with the same
server as has already been determined is over its sendq. Mark the link
dead before sending the snote to avoid infinite recursion.
Doug Freed [Mon, 23 Nov 2020 03:12:36 +0000 (03:12 +0000)]
bandb: remove embedded sqlite
jesopo [Mon, 23 Nov 2020 15:12:14 +0000 (15:12 +0000)]
fix broken atheme link in README.md
Doug Freed [Sun, 22 Nov 2020 22:24:27 +0000 (22:24 +0000)]
extensions: remove m_roleplay
Doug Freed [Thu, 19 Nov 2020 19:19:14 +0000 (14:19 -0500)]
m_challenge: various fixes
jess [Wed, 18 Nov 2020 14:29:08 +0000 (14:29 +0000)]
add ConfigFileEntry.oper_secure_only, to require TLS to oper up (#76)
Ed Kellett [Sat, 14 Nov 2020 18:00:20 +0000 (18:00 +0000)]
Get rid of hub_mask/leaf_mask
Ed Kellett [Fri, 13 Nov 2020 22:47:09 +0000 (22:47 +0000)]
Use opernames not servernames for remote opers
Doug Freed [Sun, 8 Nov 2020 18:33:45 +0000 (18:33 +0000)]
s_serv: refactor burst_modes_TS6 to use multiline
Doug Freed [Sun, 8 Nov 2020 17:28:29 +0000 (17:28 +0000)]
m_findforwards: refactor to use multiline
Fixes #57
Doug Freed [Sun, 8 Nov 2020 16:17:52 +0000 (16:17 +0000)]
m_monitor: refactor to use multiline
Doug Freed [Sun, 8 Nov 2020 01:44:10 +0000 (01:44 +0000)]
m_privs: refactor to use multiline
Doug Freed [Sun, 8 Nov 2020 00:39:11 +0000 (00:39 +0000)]
m_whois: refactor channel list to use multiline
Doug Freed [Fri, 6 Nov 2020 23:44:57 +0000 (23:44 +0000)]
names: refactor to use multiline
Doug Freed [Fri, 6 Nov 2020 22:30:45 +0000 (22:30 +0000)]
m_cap: refactor clicap_generate to use multiline
Ed Kellett [Mon, 9 Nov 2020 00:16:52 +0000 (00:16 +0000)]
Add some tests for multiline
Doug Freed [Fri, 6 Nov 2020 19:03:59 +0000 (19:03 +0000)]
send: add sendto_one_multiline_* API
Allows simplifying multiline wrapping for multiple usages, like CAP
LS/LIST, NAMES, and WHOIS channel listing
jesopo [Thu, 12 Nov 2020 21:10:08 +0000 (21:10 +0000)]
iter lists backwards when sending BMASK
Ed Kellett [Wed, 11 Nov 2020 22:14:12 +0000 (22:14 +0000)]
Update .gitignore for
25d169b649 (#69)
Ed Kellett [Mon, 9 Nov 2020 21:53:53 +0000 (21:53 +0000)]
Remove *.la from install/lib
Co-authored-by: Unit 193 <redacted>
Ed Kellett [Mon, 9 Nov 2020 21:53:44 +0000 (21:53 +0000)]
Don't reassign logdir
Co-authored-by: Unit 193 <redacted>
Ed Kellett [Mon, 9 Nov 2020 21:17:00 +0000 (21:17 +0000)]
tests: clean *.db, *.log
Co-authored-by: Unit 193 <redacted>
Ed Kellett [Mon, 9 Nov 2020 21:16:45 +0000 (21:16 +0000)]
help: cleanup indexes properly
Co-authored-by: Unit 193 <redacted>
Ed Kellett [Mon, 9 Nov 2020 21:08:56 +0000 (21:08 +0000)]
readme: add building instructions
Ed Kellett [Mon, 9 Nov 2020 18:29:54 +0000 (18:29 +0000)]
Forget the old drain reason when rehashing
Ed Kellett [Mon, 9 Nov 2020 14:50:08 +0000 (14:50 +0000)]
m_info: Add some missing things
Ed Kellett [Sun, 8 Nov 2020 20:37:24 +0000 (20:37 +0000)]
Autogenerate tests/runtime/modules
Ed Kellett [Sun, 8 Nov 2020 14:30:36 +0000 (14:30 +0000)]
tests: autogenerate TESTS
Ed Kellett [Sun, 8 Nov 2020 14:29:30 +0000 (14:29 +0000)]
tests: cleanup .gitignore
Ed Kellett [Sat, 7 Nov 2020 23:48:04 +0000 (23:48 +0000)]
tests: implicitly link *_util.c into every test
Eric Mertens [Mon, 9 Nov 2020 02:51:27 +0000 (18:51 -0800)]
Rename bantool to solanum-bantool (#64)
Rename bantool to solanum-bantool
Ed Kellett [Mon, 9 Nov 2020 00:55:26 +0000 (00:55 +0000)]
m_info: string constness
Ed Kellett [Sun, 8 Nov 2020 21:15:20 +0000 (21:15 +0000)]
m_info: remove repetition
Ed Kellett [Sun, 8 Nov 2020 21:09:15 +0000 (21:09 +0000)]
m_info: be type-safe, somewhat enforced by macros
Ed Kellett [Sun, 8 Nov 2020 19:11:54 +0000 (19:11 +0000)]
Remove some unnecessary commenty things
Ed Kellett [Sun, 8 Nov 2020 23:29:56 +0000 (23:29 +0000)]
Add /stats s to list secure blocks
`s` and `S` were both used for ssld stats, but only `S` was documented,
so I'm taking `s`. You can't stop me!
Ed Kellett [Sun, 8 Nov 2020 17:40:01 +0000 (17:40 +0000)]
Document general::stats_l_oper_only
Ed Kellett [Sun, 8 Nov 2020 17:37:52 +0000 (17:37 +0000)]
Add general::stats_l_oper_only
jess [Sun, 8 Nov 2020 19:30:41 +0000 (19:30 +0000)]
make more snotes L_NETWIDE
Eric Mertens [Sun, 8 Nov 2020 17:50:17 +0000 (09:50 -0800)]
Stop using chm_nosuch as a sentinel value (#53)
Remove chmode compat modules
This removes the need for chm_nosuch as well. Unknown mode detection happens in mode parsing now.
Ed Kellett [Sun, 8 Nov 2020 03:52:18 +0000 (03:52 +0000)]
Document general::hidden_caps
Ed Kellett [Sun, 8 Nov 2020 00:25:54 +0000 (00:25 +0000)]
Add general::hidden_caps
Eric Mertens [Sun, 8 Nov 2020 03:54:25 +0000 (19:54 -0800)]
Resolve shfit/reduce conflict in timespec production (#54)
Resolve shfit/reduce conflict in timespec production (no operational change)
Eric Mertens [Sun, 8 Nov 2020 00:45:12 +0000 (16:45 -0800)]
Clean up duplication in ChannelModeFunc prototypes (#52)
Ed Kellett [Fri, 6 Nov 2020 14:16:23 +0000 (14:16 +0000)]
Test chmode parsing
Ed Kellett [Fri, 6 Nov 2020 14:00:06 +0000 (14:00 +0000)]
chmode: Generate a canonical mode string
Primarily because I want to use it in tests, but it also means people
reading override snotes don't have as much mental overhead. I hope.
Ed Kellett [Thu, 5 Nov 2020 22:19:00 +0000 (22:19 +0000)]
chmode: Get elevated access for op-only queries
Ed Kellett [Thu, 5 Nov 2020 16:31:57 +0000 (16:31 +0000)]
Rework channel mode handling
Incoming MODE processing is split into a parsing step and an execution
step, instead of a mode's effector function being involved in its own
parsing. Modes can no longer use custom logic to control their parsing,
and instead supply a combination of CHM_* flags to the parser. As a
result, we know before we try to effect any mode changes what all of
them will be.
The reauthorize hack for override is no longer necessary. A side effect
of its introduction was that `MODE #foo b x!y@z` no longer worked; in
removing it we restore that behaviour.
We gain the ability to reject various invalid inputs that:
- mutate or query unknown modes
- supply excess mode arguments
- query modes that can't be queried
In each case, whether we *should* reject it is an open question; for now
I'm rejecting the first one.
Ed Kellett [Mon, 2 Nov 2020 23:07:31 +0000 (23:07 +0000)]
chmode: Make mode table manageable
Doug Freed [Fri, 6 Nov 2020 22:57:40 +0000 (22:57 +0000)]
m_cap: simplify cap_req, remove multiline
Spec doesn't really allow multiline here, so don't use it
Ed Kellett [Fri, 6 Nov 2020 17:48:15 +0000 (17:48 +0000)]
Document s2s ECHO
Ed Kellett [Fri, 6 Nov 2020 17:41:02 +0000 (17:41 +0000)]
m_message: Initiate message echo on target server
Eric Mertens [Fri, 6 Nov 2020 17:04:14 +0000 (09:04 -0800)]
Remove sno_whois mention in example configuration (#48)
Ed Kellett [Wed, 4 Nov 2020 11:16:03 +0000 (11:16 +0000)]
Update news
Ed Kellett [Sun, 25 Oct 2020 19:40:03 +0000 (19:40 +0000)]
m_webirc: Blow away ident if we've got it
Previously, anyone on the WEBIRC gateway would get its ident if it
advertised one, which seems wrong to me.
This allows ident to be used with WEBIRC while still letting users send
their own ~username in band.
Ed Kellett [Sun, 1 Nov 2020 04:09:41 +0000 (04:09 +0000)]
Explanatory comment for LFLAGS_FAKE
Ed Kellett [Sat, 31 Oct 2020 15:15:25 +0000 (15:15 +0000)]
Mark fake test clients, don't assert they're real
Ed Kellett [Sat, 31 Oct 2020 15:14:59 +0000 (15:14 +0000)]
travis: Enable assertions correctly
Ed Kellett [Sun, 1 Nov 2020 04:05:18 +0000 (04:05 +0000)]
Multiply out handle_remote_unresv
Ed Kellett [Sat, 31 Oct 2020 15:03:46 +0000 (15:03 +0000)]
Remove shared blocks
Ed Kellett [Sun, 1 Nov 2020 00:03:17 +0000 (00:03 +0000)]
Remove hardcoded TLSv1 disables
Ed Kellett [Sat, 31 Oct 2020 16:21:48 +0000 (16:21 +0000)]
Add a comment explaining match_arrange_stars
Ed Kellett [Fri, 30 Oct 2020 10:44:03 +0000 (10:44 +0000)]
match: assert mask_match mask is not too long
Ed Kellett [Fri, 30 Oct 2020 01:06:07 +0000 (01:06 +0000)]
Fix a corner case of superset matching
The algorithm we're using gets stuck if it has a ? and can only see a *
to feed to it, even if it could skip over that * and consume a character
following it. Remedy this by rearranging the input so * always precedes
? in runs of wildcards, so when we're matching ? we know we can skip
things.
Ed Kellett [Fri, 30 Oct 2020 20:46:08 +0000 (20:46 +0000)]
Update gitignore
(shhhh)
Ed Kellett [Fri, 30 Oct 2020 00:55:21 +0000 (00:55 +0000)]
Add (some failing) tests for mask matching
Ed Kellett [Thu, 29 Oct 2020 16:59:37 +0000 (16:59 +0000)]
Refactor clear_out_address_conf*
Ed Kellett [Wed, 28 Oct 2020 21:55:26 +0000 (21:55 +0000)]
Rename UMODE_SSLCLIENT, IsSSLClient
Ed Kellett [Wed, 28 Oct 2020 20:58:10 +0000 (20:58 +0000)]
Document secure blocks
Ed Kellett [Wed, 28 Oct 2020 20:55:35 +0000 (20:55 +0000)]
Add secure{} blocks
Ed Kellett [Wed, 28 Oct 2020 15:28:51 +0000 (15:28 +0000)]
Replace IsInsecure with IsSecure
Ed Kellett [Wed, 28 Oct 2020 20:59:43 +0000 (20:59 +0000)]
authproc: Don't try to notice dead clients
Ed Kellett [Wed, 28 Oct 2020 21:07:15 +0000 (21:07 +0000)]
Delete extensions/spy_*,sno_whois
Ed Kellett [Wed, 28 Oct 2020 13:28:55 +0000 (13:28 +0000)]
Update news
Ed Kellett [Tue, 27 Oct 2020 23:26:59 +0000 (23:26 +0000)]
m_message: global snote when massnotice is used
Eric Mertens [Tue, 27 Oct 2020 23:39:38 +0000 (16:39 -0700)]
Combine stats A output parameters (#35)
Every other use of RPL_STATSDEBUG follows the format: <letter> :<text>
This case appeared to slip through because it's two-word argument is encoded
in a single `->data` buffer.
Ed Kellett [Mon, 26 Oct 2020 23:48:23 +0000 (23:48 +0000)]
helpops: change umode char to h
Ed Kellett [Sat, 24 Oct 2020 22:49:28 +0000 (23:49 +0100)]
Unify oper:{global,local}_kill
Ed Kellett [Sat, 24 Oct 2020 14:07:53 +0000 (15:07 +0100)]
cap_realhost: neaten oper IP tag check
Ed Kellett [Thu, 22 Oct 2020 15:58:23 +0000 (16:58 +0100)]
cap_realhost: Don't send realhost to non-opers
If they can see it it's already in the message source
Ed Kellett [Thu, 22 Oct 2020 13:46:21 +0000 (14:46 +0100)]
Implement oper realhost view via a hidden cap
Ed Kellett [Sun, 18 Oct 2020 14:23:45 +0000 (15:23 +0100)]
Add extensions/cap_realhost
Ed Kellett [Sun, 26 Apr 2020 21:34:00 +0000 (22:34 +0100)]
Add a cap_change hook
Ed Kellett [Wed, 21 Oct 2020 00:45:09 +0000 (01:45 +0100)]
Manage help indexes properly in makefile
Ed Kellett [Wed, 21 Oct 2020 00:38:33 +0000 (01:38 +0100)]
Untrack help indexes
Ed Kellett [Fri, 23 Oct 2020 10:16:38 +0000 (11:16 +0100)]
Undo overzealous seddery
Ed Kellett [Thu, 22 Oct 2020 20:17:10 +0000 (21:17 +0100)]
m_testline: Complain on formerly-silent failures
Ed Kellett [Tue, 20 Oct 2020 23:34:51 +0000 (00:34 +0100)]
Document /testkline