Ariadne Conill
81531536aa
Remove ziplinks ( #218 )
2021-06-26 17:45:52 +01:00
Eric Mertens
4d8088c386
Allow auth{} to apply extra umodes ( #202 )
...
Allow auth{} to apply extra umodes
Co-authored-by: Doug Freed <dwfreed@mtu.edu>
Co-authored-by: Ed Kellett <e@kellett.im>
2021-06-12 11:04:33 -07:00
Ed Kellett
ce376a21cc
Keep propagated bans in a dictionary, not a list
2021-06-08 21:57:43 +01:00
Ed Kellett
b5f46fda92
Delete RPL_WHOISSPECIAL
2021-06-05 20:21:45 +01:00
Ariadne Conill
3fc0499e77
Mailmap and copyright update for Ariadne
2021-06-01 12:40:02 -04:00
Mike Quin
f47785bca2
Use plain language in +r/+R error messages ( #169 )
2021-05-29 00:41:25 +01:00
Ed Kellett
3ff5a12e75
Allow temporary K-lines to extend shorter ones ( #142 )
...
* Temp K-lines may extend shorter temp K-lines
* /unkline removes multiple matching K-lines
* K-lines remove any temp K-lines they're replacing
2021-04-27 14:45:04 +01:00
Ed Kellett
dfeba65563
Add channel::ip_bans_through_vhost
2021-04-26 17:51:55 +01:00
Ed Kellett
e6e26343c3
Reword ERR_ALREADYREGISTERED ( #145 )
2021-04-17 18:48:53 +00:00
Ed Kellett
92fa29ce37
channel: flood warnings for privmsg, not notice ( #147 )
2021-04-17 18:43:59 +00:00
David Schultz
f8838806ef
make VERSION not include sid ( #118 )
2021-04-10 15:19:27 +01:00
Ed Kellett
181410f218
Make privilegeset_privs more const
2021-03-01 15:45:03 +00:00
Ed Kellett
9962f62577
privilegeset_diff: return things in a struct
2021-03-01 15:45:03 +00:00
Ed Kellett
8b8320596c
privilege: factor out a null check
2021-03-01 15:45:03 +00:00
Ed Kellett
8aadf0ce46
Track and inform modules of privset changes
2021-03-01 15:45:03 +00:00
jess
fdd4857c1d
/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 <e@kellett.im>
2021-01-24 21:00:34 -08:00
Eric Mertens
0ba1da5910
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
2021-01-24 05:13:03 -08:00
jess
40ecb85a1d
add ConfigFileEntry.oper_secure_only, to require TLS to oper up ( #76 )
2020-11-18 14:29:08 +00:00
Ed Kellett
6485005214
Get rid of hub_mask/leaf_mask
2020-11-14 18:22:08 +00:00
Ed Kellett
e5e814b3db
Use opernames not servernames for remote opers
2020-11-13 23:30:04 +00:00
Doug Freed
fcdc666b42
m_privs: refactor to use multiline
2020-11-12 19:18:01 -05:00
Doug Freed
8efff56fdf
send: add sendto_one_multiline_* API
...
Allows simplifying multiline wrapping for multiple usages, like CAP
LS/LIST, NAMES, and WHOIS channel listing
2020-11-12 19:18:01 -05:00
Ed Kellett
63ab1dd609
Add general::stats_l_oper_only
2020-11-08 19:38:19 +00:00
Eric Mertens
d295a3986d
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.
2020-11-08 09:50:17 -08:00
Ed Kellett
6ac21a70e2
Add general::hidden_caps
2020-11-08 14:08:38 +00:00
Eric Mertens
92c6e47b4a
Clean up duplication in ChannelModeFunc prototypes ( #52 )
2020-11-07 16:45:12 -08:00
Ed Kellett
ea41b24fd4
chmode: Get elevated access for op-only queries
2020-11-08 00:26:27 +00:00
Ed Kellett
04952c32ad
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.
2020-11-08 00:26:27 +00:00
Ed Kellett
861a544541
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.
2020-11-02 19:59:29 +00:00
Ed Kellett
05e3afc87e
Explanatory comment for LFLAGS_FAKE
2020-11-01 04:33:30 +00:00
Ed Kellett
5409fbc0f7
Mark fake test clients, don't assert they're real
2020-11-01 04:33:30 +00:00
Ed Kellett
f57d88bc71
Remove shared blocks
2020-11-01 04:20:44 +00:00
Ed Kellett
625cbb195b
Refactor clear_out_address_conf*
2020-10-31 16:00:02 +00:00
Ed Kellett
35eccf4930
Rename UMODE_SSLCLIENT, IsSSLClient
2020-10-31 16:00:02 +00:00
Ed Kellett
1cf798beb1
Add secure{} blocks
2020-10-31 16:00:02 +00:00
Ed Kellett
bbdc439aa3
Replace IsInsecure with IsSecure
2020-10-31 16:00:02 +00:00
Ed Kellett
7d84719d68
Unify oper:{global,local}_kill
2020-10-25 20:02:03 +00:00
Ed Kellett
71f10f833f
Add a cap_change hook
2020-10-24 16:19:52 +01:00
Ed Kellett
6b3ae7e7b7
Add a comment explaining ITER_COMM_CHANNELS
2020-10-21 20:42:02 +01:00
jesopo
b9b28600d7
"server-side ignore" is an incorrect description of umode +g
2020-10-21 13:21:58 +01:00
Ed Kellett
738b5d291e
Mint CLICAP_FLAGS_PRIORITY
2020-10-19 19:30:43 -04:00
Ed Kellett
9f9e21dfbe
Kill CLICAP_FLAGS_REQACK
2020-10-19 19:30:43 -04:00
Ed Kellett
e8a8d7a440
Refactor common channel iteration
2020-10-19 20:15:26 +01:00
Ed Kellett
5e413b1372
Use linear channel list comparisons
2020-10-19 20:15:26 +01:00
Ed Kellett
7c7065b07e
Add class::max_autoconn configuration
2020-10-18 20:03:05 +01:00
Ed Kellett
94613c78b6
Implement the solanum.chat/identify-msg vendor cap
2020-10-16 21:47:38 +01:00
Ed Kellett
a6f63a829e
Innovation by sed
2020-10-15 15:52:41 +01:00
Aaron Jones
59cfd72e68
Merge pull request #355 from edk0/kline-cidr
...
Improve [kd]line handling of invalid IP-like masks
2020-08-06 09:17:00 +00:00
Ed Kellett
64c9f5093f
Make opers with no known privset pass IsOperGeneral
2020-08-04 22:58:31 +01:00
Ed Kellett
d3fd88a406
Send hidden mode changes to auspex:cmodes
2020-08-04 22:58:30 +01:00