]> jfr.im git - irc/freenode/solanum.git/log
irc/freenode/solanum.git
3 years agom_webirc: Blow away ident if we've got it origin/edk/webirc-ident
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 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

3 years agoAdd oper:testline
Ed Kellett [Sun, 7 Jul 2019 22:15:43 +0000 (23:15 +0100)] 
Add oper:testline

3 years agoAdd oper:privs
Ed Kellett [Sun, 7 Jul 2019 19:56:41 +0000 (20:56 +0100)] 
Add oper:privs

3 years agoAdd auspex:oper
Ed Kellett [Sun, 7 Jul 2019 17:28:13 +0000 (18:28 +0100)] 
Add auspex:oper

3 years agochm_staff: use oper:cmodes, don't check op status
Ed Kellett [Sun, 7 Jul 2019 15:51:03 +0000 (16:51 +0100)] 
chm_staff: use oper:cmodes, don't check op status

3 years agoReplace most checks for +o with oper:general
Ed Kellett [Sun, 7 Jul 2019 04:34:28 +0000 (05:34 +0100)] 
Replace most checks for +o with oper:general

I'm preparing to PR a succession of privs changes with the ultimate goal
of severely limiting the scope of the binary oper/user dichotomy and
move conceptually distinct oper functions into their own privs.

Accomplishing this is a non-trivial task, and can wait, but it's
inconvenient now to have such functions enabled by the same mechanism
that grants any privs at all--so I'm moving all of them to a
transitional priv with the intention of eroding that later.

3 years agoMerge pull request #359 from edk0/stats-l-operhide
Aaron Jones [Tue, 4 Aug 2020 10:00:41 +0000 (10:00 +0000)] 
Merge pull request #359 from edk0/stats-l-operhide

m_stats: Make /stats l respect oper hiding

3 years agom_stats: Make /stats l respect oper hiding
Ed Kellett [Mon, 3 Aug 2020 00:21:49 +0000 (01:21 +0100)] 
m_stats: Make /stats l respect oper hiding

found by @jesopo

3 years agoMerge pull request #352 from edk0/grant-oper-data
Aaron Jones [Mon, 27 Jul 2020 17:13:33 +0000 (17:13 +0000)] 
Merge pull request #352 from edk0/grant-oper-data

m_grant: zero-initialize struct oper_conf

3 years agom_dline: make apply_undline permissive
Ed Kellett [Sun, 26 Jul 2020 17:17:18 +0000 (18:17 +0100)] 
m_dline: make apply_undline permissive

Trying to find invalid bans won't do anything unless they already exist,
in which case it's legitimate to try to remove them.

3 years agom_dline: Make error notices more verbose
Ed Kellett [Sun, 26 Jul 2020 17:17:01 +0000 (18:17 +0100)] 
m_dline: Make error notices more verbose

3 years agom_dline: Abort early if host isn't an IP address
Ed Kellett [Sun, 26 Jul 2020 16:45:49 +0000 (17:45 +0100)] 
m_dline: Abort early if host isn't an IP address

3 years agoAdd tests for parse_netmask
Ed Kellett [Mon, 6 Jul 2020 00:39:54 +0000 (01:39 +0100)] 
Add tests for parse_netmask

3 years agoAdd error handling to parse_netmask()
Ed Kellett [Sun, 5 Jul 2020 23:45:49 +0000 (00:45 +0100)] 
Add error handling to parse_netmask()

3 years agoMerge pull request #353 from edk0/privs-strtok
Aaron Jones [Sat, 25 Jul 2020 23:55:57 +0000 (23:55 +0000)] 
Merge pull request #353 from edk0/privs-strtok

m_privs: don't leave a damaged privset behind

3 years agom_privs: don't leave a damaged privset behind
Ed Kellett [Sat, 25 Jul 2020 22:49:52 +0000 (23:49 +0100)] 
m_privs: don't leave a damaged privset behind

3 years agom_grant: zero-initialize struct oper_conf
Ed Kellett [Thu, 16 Jul 2020 16:50:27 +0000 (17:50 +0100)] 
m_grant: zero-initialize struct oper_conf

bug noticed by @xnrand

3 years agoMerge pull request #351 from ophion-project/upstream/sasl
Simon Arlott [Sun, 12 Jul 2020 09:28:02 +0000 (10:28 +0100)] 
Merge pull request #351 from ophion-project/upstream/sasl

sasl: use mapi_cap_list_v2 correctly

3 years agoFix a couple typos.
Unit 193 [Thu, 9 Jul 2020 22:34:24 +0000 (18:34 -0400)] 
Fix a couple typos.

automaticlly → automatically
completly → completely
permissable → permissible
redunant → redundant
threshhold → threshold

3 years agohelp/*/umode: update help text for +g/+G
Aaron Jones [Sat, 11 Jul 2020 03:43:31 +0000 (03:43 +0000)] 
help/*/umode: update help text for +g/+G

cf. https://github.com/charybdis-ircd/charybdis/pull/342

[ci skip]

3 years agoMerge pull request #342 from ophion-project/upstream/modularize-callerid
Aaron Jones [Sat, 11 Jul 2020 03:39:25 +0000 (03:39 +0000)] 
Merge pull request #342 from ophion-project/upstream/modularize-callerid

modularize callerid

3 years agocallerid: fix a missed instance of hardcoded +g
Ariadne Conill [Sat, 11 Jul 2020 03:25:25 +0000 (21:25 -0600)] 
callerid: fix a missed instance of hardcoded +g

3 years agocallerid: fix invite case
Ariadne Conill [Sat, 11 Jul 2020 00:43:31 +0000 (18:43 -0600)] 
callerid: fix invite case

3 years agocallerid: align soft caller-id behavior with ircd-hybrid implementation
Ariadne Conill [Sat, 11 Jul 2020 00:17:50 +0000 (18:17 -0600)] 
callerid: align soft caller-id behavior with ircd-hybrid implementation

3 years agoextensions/umode_noctcp: skip privmsg_user hook except on recipient server
Ariadne Conill [Sat, 11 Jul 2020 00:06:51 +0000 (18:06 -0600)] 
extensions/umode_noctcp: skip privmsg_user hook except on recipient server

3 years agosasl: use mapi_cap_list_v2 correctly
Ariadne Conill [Thu, 9 Jul 2020 23:46:45 +0000 (17:46 -0600)] 
sasl: use mapi_cap_list_v2 correctly

3 years agomessage: run privmsg_user hook on both source and target
Ariadne Conill [Thu, 9 Jul 2020 22:04:56 +0000 (16:04 -0600)] 
message: run privmsg_user hook on both source and target

3 years agocallerid: actually the guard should be for source_p
Ariadne Conill [Sat, 27 Jun 2020 16:13:03 +0000 (16:13 +0000)] 
callerid: actually the guard should be for source_p

3 years agocallerid: only check the target's accept list on their own local server
Ariadne Conill [Sat, 27 Jun 2020 16:10:29 +0000 (16:10 +0000)] 
callerid: only check the target's accept list on their own local server

3 years agocallerid: use public isupport_umode
Ariadne Conill [Sat, 27 Jun 2020 16:03:52 +0000 (16:03 +0000)] 
callerid: use public isupport_umode

3 years agosupported: make isupport_umode() public
Ariadne Conill [Sat, 27 Jun 2020 16:03:00 +0000 (16:03 +0000)] 
supported: make isupport_umode() public

3 years agocallerid: has_common_channels(): fix return value
Ariadne Conill [Sat, 27 Jun 2020 16:01:58 +0000 (16:01 +0000)] 
callerid: has_common_channels(): fix return value

3 years agocallerid: fix module description
Ariadne Conill [Sat, 27 Jun 2020 16:00:07 +0000 (16:00 +0000)] 
callerid: fix module description

3 years agocallerid: unregister usermode +g if usermode +G cannot be allocated
Ariadne Conill [Sat, 27 Jun 2020 15:59:44 +0000 (15:59 +0000)] 
callerid: unregister usermode +g if usermode +G cannot be allocated

3 years agohelp: document soft callerid mode
Ariadne Conill [Sat, 27 Jun 2020 10:54:31 +0000 (10:54 +0000)] 
help: document soft callerid mode

3 years agocallerid: use hdata.error where available
Ariadne Conill [Fri, 26 Jun 2020 21:40:03 +0000 (15:40 -0600)] 
callerid: use hdata.error where available

3 years agocallerid: catch find_umode_slot() failures
Ariadne Conill [Fri, 26 Jun 2020 21:32:11 +0000 (15:32 -0600)] 
callerid: catch find_umode_slot() failures

3 years agocallerid: use invite instead of can_invite hook
Ariadne Conill [Fri, 26 Jun 2020 20:23:02 +0000 (14:23 -0600)] 
callerid: use invite instead of can_invite hook

3 years agocallerid: implement relaxed caller id mode (+G)
Ariadne Conill [Fri, 26 Jun 2020 19:33:49 +0000 (19:33 +0000)] 
callerid: implement relaxed caller id mode (+G)

3 years agocallerid: fix up isupport
Ariadne Conill [Fri, 26 Jun 2020 19:11:46 +0000 (19:11 +0000)] 
callerid: fix up isupport

3 years agocallerid: don't clobber other modules
Ariadne Conill [Fri, 26 Jun 2020 19:05:17 +0000 (13:05 -0600)] 
callerid: don't clobber other modules

3 years agoadd callerid module
Ariadne Conill [Fri, 26 Jun 2020 18:50:34 +0000 (12:50 -0600)] 
add callerid module