]> jfr.im git - irc/freenode/solanum.git/log
irc/freenode/solanum.git
3 years agoDocument general::stats_l_oper_only
Ed Kellett [Sun, 8 Nov 2020 17:40:01 +0000 (17:40 +0000)] 
Document general::stats_l_oper_only

3 years agoAdd general::stats_l_oper_only
Ed Kellett [Sun, 8 Nov 2020 17:37:52 +0000 (17:37 +0000)] 
Add general::stats_l_oper_only

3 years agomake more snotes L_NETWIDE
jess [Sun, 8 Nov 2020 19:30:41 +0000 (19:30 +0000)] 
make more snotes L_NETWIDE

3 years agoStop using chm_nosuch as a sentinel value (#53)
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.

3 years agoDocument general::hidden_caps
Ed Kellett [Sun, 8 Nov 2020 03:52:18 +0000 (03:52 +0000)] 
Document general::hidden_caps

3 years agoAdd general::hidden_caps
Ed Kellett [Sun, 8 Nov 2020 00:25:54 +0000 (00:25 +0000)] 
Add general::hidden_caps

3 years agoResolve shfit/reduce conflict in timespec production (#54)
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)

3 years agoClean up duplication in ChannelModeFunc prototypes (#52)
Eric Mertens [Sun, 8 Nov 2020 00:45:12 +0000 (16:45 -0800)] 
Clean up duplication in ChannelModeFunc prototypes (#52)

3 years agoTest chmode parsing
Ed Kellett [Fri, 6 Nov 2020 14:16:23 +0000 (14:16 +0000)] 
Test chmode parsing

3 years agochmode: Generate a canonical mode string
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.

3 years agochmode: Get elevated access for op-only queries
Ed Kellett [Thu, 5 Nov 2020 22:19:00 +0000 (22:19 +0000)] 
chmode: Get elevated access for op-only queries

3 years agoRework channel mode handling
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.

3 years agochmode: Make mode table manageable
Ed Kellett [Mon, 2 Nov 2020 23:07:31 +0000 (23:07 +0000)] 
chmode: Make mode table manageable

3 years agom_cap: simplify cap_req, remove multiline
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

3 years agoDocument s2s ECHO
Ed Kellett [Fri, 6 Nov 2020 17:48:15 +0000 (17:48 +0000)] 
Document s2s ECHO

3 years agom_message: Initiate message echo on target server
Ed Kellett [Fri, 6 Nov 2020 17:41:02 +0000 (17:41 +0000)] 
m_message: Initiate message echo on target server

3 years agoRemove sno_whois mention in example configuration (#48)
Eric Mertens [Fri, 6 Nov 2020 17:04:14 +0000 (09:04 -0800)] 
Remove sno_whois mention in example configuration (#48)

3 years agoUpdate news
Ed Kellett [Wed, 4 Nov 2020 11:16:03 +0000 (11:16 +0000)] 
Update news

3 years agom_webirc: Blow away ident if we've got it
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.

3 years agoExplanatory comment for LFLAGS_FAKE
Ed Kellett [Sun, 1 Nov 2020 04:09:41 +0000 (04:09 +0000)] 
Explanatory comment for LFLAGS_FAKE

3 years agoMark fake test clients, don't assert they're real
Ed Kellett [Sat, 31 Oct 2020 15:15:25 +0000 (15:15 +0000)] 
Mark fake test clients, don't assert they're real

3 years agotravis: Enable assertions correctly
Ed Kellett [Sat, 31 Oct 2020 15:14:59 +0000 (15:14 +0000)] 
travis: Enable assertions correctly

3 years agoMultiply out handle_remote_unresv
Ed Kellett [Sun, 1 Nov 2020 04:05:18 +0000 (04:05 +0000)] 
Multiply out handle_remote_unresv

3 years agoRemove shared blocks
Ed Kellett [Sat, 31 Oct 2020 15:03:46 +0000 (15:03 +0000)] 
Remove shared blocks

3 years agoRemove hardcoded TLSv1 disables
Ed Kellett [Sun, 1 Nov 2020 00:03:17 +0000 (00:03 +0000)] 
Remove hardcoded TLSv1 disables

3 years agoAdd a comment explaining match_arrange_stars
Ed Kellett [Sat, 31 Oct 2020 16:21:48 +0000 (16:21 +0000)] 
Add a comment explaining match_arrange_stars

3 years agomatch: assert mask_match mask is not too long
Ed Kellett [Fri, 30 Oct 2020 10:44:03 +0000 (10:44 +0000)] 
match: assert mask_match mask is not too long

3 years agoFix a corner case of superset matching
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.

3 years agoUpdate gitignore
Ed Kellett [Fri, 30 Oct 2020 20:46:08 +0000 (20:46 +0000)] 
Update gitignore

(shhhh)

3 years agoAdd (some failing) tests for mask matching
Ed Kellett [Fri, 30 Oct 2020 00:55:21 +0000 (00:55 +0000)] 
Add (some failing) tests for mask matching

3 years agoRefactor clear_out_address_conf*
Ed Kellett [Thu, 29 Oct 2020 16:59:37 +0000 (16:59 +0000)] 
Refactor clear_out_address_conf*

3 years agoRename UMODE_SSLCLIENT, IsSSLClient
Ed Kellett [Wed, 28 Oct 2020 21:55:26 +0000 (21:55 +0000)] 
Rename UMODE_SSLCLIENT, IsSSLClient

3 years agoDocument secure blocks
Ed Kellett [Wed, 28 Oct 2020 20:58:10 +0000 (20:58 +0000)] 
Document secure blocks

3 years agoAdd secure{} blocks
Ed Kellett [Wed, 28 Oct 2020 20:55:35 +0000 (20:55 +0000)] 
Add secure{} blocks

3 years agoReplace IsInsecure with IsSecure
Ed Kellett [Wed, 28 Oct 2020 15:28:51 +0000 (15:28 +0000)] 
Replace IsInsecure with IsSecure

3 years agoauthproc: Don't try to notice dead clients
Ed Kellett [Wed, 28 Oct 2020 20:59:43 +0000 (20:59 +0000)] 
authproc: Don't try to notice dead clients

3 years agoDelete extensions/spy_*,sno_whois
Ed Kellett [Wed, 28 Oct 2020 21:07:15 +0000 (21:07 +0000)] 
Delete extensions/spy_*,sno_whois

3 years agoUpdate news
Ed Kellett [Wed, 28 Oct 2020 13:28:55 +0000 (13:28 +0000)] 
Update news

3 years agom_message: global snote when massnotice is used
Ed Kellett [Tue, 27 Oct 2020 23:26:59 +0000 (23:26 +0000)] 
m_message: global snote when massnotice is used

3 years agoCombine stats A output parameters (#35)
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.

3 years agohelpops: change umode char to h
Ed Kellett [Mon, 26 Oct 2020 23:48:23 +0000 (23:48 +0000)] 
helpops: change umode char to h

3 years agoUnify oper:{global,local}_kill
Ed Kellett [Sat, 24 Oct 2020 22:49:28 +0000 (23:49 +0100)] 
Unify oper:{global,local}_kill

3 years agocap_realhost: neaten oper IP tag check
Ed Kellett [Sat, 24 Oct 2020 14:07:53 +0000 (15:07 +0100)] 
cap_realhost: neaten oper IP tag check

3 years agocap_realhost: Don't send realhost to non-opers
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

3 years agoImplement oper realhost view via a hidden cap
Ed Kellett [Thu, 22 Oct 2020 13:46:21 +0000 (14:46 +0100)] 
Implement oper realhost view via a hidden cap

3 years agoAdd extensions/cap_realhost
Ed Kellett [Sun, 18 Oct 2020 14:23:45 +0000 (15:23 +0100)] 
Add extensions/cap_realhost

3 years agoAdd a cap_change hook
Ed Kellett [Sun, 26 Apr 2020 21:34:00 +0000 (22:34 +0100)] 
Add a cap_change hook

3 years agoManage help indexes properly in makefile
Ed Kellett [Wed, 21 Oct 2020 00:45:09 +0000 (01:45 +0100)] 
Manage help indexes properly in makefile

3 years agoUntrack help indexes
Ed Kellett [Wed, 21 Oct 2020 00:38:33 +0000 (01:38 +0100)] 
Untrack help indexes

3 years agoUndo overzealous seddery
Ed Kellett [Fri, 23 Oct 2020 10:16:38 +0000 (11:16 +0100)] 
Undo overzealous seddery

3 years agom_testline: Complain on formerly-silent failures
Ed Kellett [Thu, 22 Oct 2020 20:17:10 +0000 (21:17 +0100)] 
m_testline: Complain on formerly-silent failures

3 years agoDocument /testkline
Ed Kellett [Tue, 20 Oct 2020 23:34:51 +0000 (00:34 +0100)] 
Document /testkline

3 years agoAdd /testkline
Ed Kellett [Tue, 20 Oct 2020 23:20:04 +0000 (00:20 +0100)] 
Add /testkline

3 years agoAdd a comment explaining ITER_COMM_CHANNELS
Ed Kellett [Wed, 21 Oct 2020 19:29:26 +0000 (20:29 +0100)] 
Add a comment explaining ITER_COMM_CHANNELS

3 years agoum_callerid: Use newer common channel iteration
Ed Kellett [Tue, 20 Oct 2020 21:02:21 +0000 (22:02 +0100)] 
um_callerid: Use newer common channel iteration

3 years ago"server-side ignore" is an incorrect description of umode +g
jesopo [Wed, 21 Oct 2020 12:12:44 +0000 (12:12 +0000)] 
"server-side ignore" is an incorrect description of umode +g

3 years agom_cap: Try to append caps even if one is too long
Ed Kellett [Mon, 19 Oct 2020 12:00:09 +0000 (13:00 +0100)] 
m_cap: Try to append caps even if one is too long

3 years agoMint CLICAP_FLAGS_PRIORITY
Ed Kellett [Mon, 19 Oct 2020 11:53:15 +0000 (12:53 +0100)] 
Mint CLICAP_FLAGS_PRIORITY

3 years agoKill CLICAP_FLAGS_REQACK
Ed Kellett [Mon, 19 Oct 2020 11:27:55 +0000 (12:27 +0100)] 
Kill CLICAP_FLAGS_REQACK

3 years agoRefactor common channel iteration
Ed Kellett [Sun, 18 Oct 2020 12:20:15 +0000 (13:20 +0100)] 
Refactor common channel iteration

3 years agoUse linear channel list comparisons
Ed Kellett [Tue, 26 May 2020 23:16:22 +0000 (00:16 +0100)] 
Use linear channel list comparisons

3 years agoKeep client channel lists sorted
Ed Kellett [Tue, 26 May 2020 23:14:58 +0000 (00:14 +0100)] 
Keep client channel lists sorted

3 years agom_names: honour userhost-in-names for global NAMES
Ed Kellett [Sun, 18 Oct 2020 11:47:27 +0000 (12:47 +0100)] 
m_names: honour userhost-in-names for global NAMES

3 years agoREADME: fix Travis badge, drop Appveyor badge
Doug Freed [Mon, 19 Oct 2020 07:20:34 +0000 (03:20 -0400)] 
README: fix Travis badge, drop Appveyor badge

[ci skip]

3 years agochannel: tell extbans in +e they're exceptions
Ed Kellett [Sat, 17 Oct 2020 00:49:42 +0000 (01:49 +0100)] 
channel: tell extbans in +e they're exceptions

3 years agoextb_canjoin: disable inside +e
Ed Kellett [Mon, 31 Aug 2020 15:34:20 +0000 (16:34 +0100)] 
extb_canjoin: disable inside +e

3 years agom_dline: don't fail on /dline <time>
Ed Kellett [Sun, 18 Oct 2020 18:49:50 +0000 (19:49 +0100)] 
m_dline: don't fail on /dline <time>

3 years agoDocument max_number in reference.conf
Ed Kellett [Sat, 17 Oct 2020 00:40:42 +0000 (01:40 +0100)] 
Document max_number in reference.conf

3 years agoAdd class::max_autoconn configuration
Ed Kellett [Sun, 11 Oct 2020 13:54:24 +0000 (14:54 +0100)] 
Add class::max_autoconn configuration

3 years agoextb_hostmask: handle banstr == NULL
Ed Kellett [Thu, 30 Jul 2020 18:58:35 +0000 (19:58 +0100)] 
extb_hostmask: handle banstr == NULL

3 years agoDon't run travis on random branches
Ed Kellett [Sat, 17 Oct 2020 13:39:24 +0000 (14:39 +0100)] 
Don't run travis on random branches

3 years agoDisable Travis notifications
Ed Kellett [Sat, 17 Oct 2020 00:59:33 +0000 (01:59 +0100)] 
Disable Travis notifications

3 years agoUpdate credits
Ed Kellett [Fri, 16 Oct 2020 20:57:22 +0000 (21:57 +0100)] 
Update credits

3 years agoImplement the solanum.chat/identify-msg vendor cap
Ed Kellett [Thu, 15 Oct 2020 23:24:46 +0000 (00:24 +0100)] 
Implement the solanum.chat/identify-msg vendor cap

3 years agoInnovation by sed
Ed Kellett [Thu, 15 Oct 2020 14:51:12 +0000 (15:51 +0100)] 
Innovation by sed

3 years agoUpdate credits
Ed Kellett [Tue, 13 Oct 2020 21:38:42 +0000 (22:38 +0100)] 
Update credits

3 years agoRemove me
Simon Arlott [Thu, 10 Sep 2020 08:30:08 +0000 (09:30 +0100)] 
Remove me

Edit by @aaronmdjones: Merged from [1] at Simon's request.

[1] <https://github.com/nomis/charybdis/commit/e5073623d07e1a62>

3 years agoMerge pull request #364 from ophion-project/upstream/fix-chmode-propagation
Aaron Jones [Thu, 10 Sep 2020 07:49:27 +0000 (07:49 +0000)] 
Merge pull request #364 from ophion-project/upstream/fix-chmode-propagation

chmode: use NULL for priv argument when auspex:cmodes priv is not needed

3 years agochmode: use NULL for priv argument when auspex:cmodes priv is not needed
Ariadne Conill [Wed, 9 Sep 2020 18:06:15 +0000 (12:06 -0600)] 
chmode: use NULL for priv argument when auspex:cmodes priv is not needed

Otherwise, sendto_channel_local_priv() will only distribute mode changes
to opers only.  This is because HasPrivilege(target_p, "") will evaluate
as false due to the target not being opered.

Thanks to Devin Brown for bisecting this issue.

3 years agoMerge pull request #355 from edk0/kline-cidr
Aaron Jones [Thu, 6 Aug 2020 09:17:00 +0000 (09:17 +0000)] 
Merge pull request #355 from edk0/kline-cidr

Improve [kd]line handling of invalid IP-like masks

3 years agoMerge pull request #288 from edk0/umode-o-split
Aaron Jones [Thu, 6 Aug 2020 09:07:50 +0000 (09:07 +0000)] 
Merge pull request #288 from edk0/umode-o-split

Split oper privs up a bit

3 years agom_stats: Remove outdated comment
Ed Kellett [Tue, 4 Aug 2020 13:57:38 +0000 (14:57 +0100)] 
m_stats: Remove outdated comment

3 years agoAlign reference.conf and ircd.conf.example
Ed Kellett [Tue, 4 Aug 2020 13:56:14 +0000 (14:56 +0100)] 
Align reference.conf and ircd.conf.example

3 years agoircd.conf.example: Fix duplicate priv
Ed Kellett [Tue, 4 Aug 2020 13:55:58 +0000 (14:55 +0100)] 
ircd.conf.example: Fix duplicate priv

3 years agoDocument extension-only oper privs
Ed Kellett [Tue, 4 Aug 2020 13:54:01 +0000 (14:54 +0100)] 
Document extension-only oper privs

3 years agoMake opers with no known privset pass IsOperGeneral
Ed Kellett [Sat, 25 Jul 2020 15:53:19 +0000 (16:53 +0100)] 
Make opers with no known privset pass IsOperGeneral

3 years agoDocument usermode:servnotice
Ed Kellett [Sun, 7 Jun 2020 20:33:13 +0000 (21:33 +0100)] 
Document usermode:servnotice

3 years agoAdd usermode:servnotice priv
Ed Kellett [Sun, 7 Jun 2020 20:29:59 +0000 (21:29 +0100)] 
Add usermode:servnotice priv

3 years agoTest sendto_channel_local_priv not ONLY_OPERS
Ed Kellett [Sun, 7 Jun 2020 17:06:51 +0000 (18:06 +0100)] 
Test sendto_channel_local_priv not ONLY_OPERS

3 years agoDocument the remaining new privs
Ed Kellett [Sun, 7 Jun 2020 16:42:38 +0000 (17:42 +0100)] 
Document the remaining new privs

3 years agoSend hidden mode changes to auspex:cmodes
Ed Kellett [Sun, 7 Jun 2020 16:36:31 +0000 (17:36 +0100)] 
Send hidden mode changes to auspex:cmodes

3 years agochmode: priv checks only for local clients
Ed Kellett [Sat, 4 Jan 2020 16:14:34 +0000 (16:14 +0000)] 
chmode: priv checks only for local clients

3 years agom_stats: use oper:privs for /stats O
Ed Kellett [Fri, 20 Dec 2019 22:03:35 +0000 (22:03 +0000)] 
m_stats: use oper:privs for /stats O

3 years agom_stats: Rework privilege requirements
Ed Kellett [Fri, 20 Dec 2019 21:45:08 +0000 (21:45 +0000)] 
m_stats: Rework privilege requirements

.need_oper is replaced with a generic mechanism for requiring any
privilege. need_admin remains because I think it's the least horrible
way to deal with oper:hidden_admin.

All need_oper requirements have been changed to oper:general
requirements.

3 years agom_stats: use designated initializers
Ed Kellett [Fri, 20 Dec 2019 21:18:50 +0000 (21:18 +0000)] 
m_stats: use designated initializers

3 years agoAdd oper:dehelper
Ed Kellett [Sat, 3 Aug 2019 05:58:05 +0000 (06:58 +0100)] 
Add oper:dehelper

3 years agoAdd oper:receive_immunity
Ed Kellett [Sat, 3 Aug 2019 02:11:00 +0000 (03:11 +0100)] 
Add oper:receive_immunity

3 years agoAdd auspex:hostname
Ed Kellett [Sat, 3 Aug 2019 02:03:09 +0000 (03:03 +0100)] 
Add auspex:hostname

3 years agoAdd auspex:umodes
Ed Kellett [Fri, 2 Aug 2019 21:03:00 +0000 (22:03 +0100)] 
Add auspex:umodes

3 years agoAdd auspex:cmodes
Ed Kellett [Fri, 2 Aug 2019 21:02:37 +0000 (22:02 +0100)] 
Add auspex:cmodes