]> jfr.im git - irc/freenode/solanum.git/log
irc/freenode/solanum.git
3 years agoAdd `attainable` client capability callback origin/edk/cap-attainable
Ed Kellett [Sat, 17 Oct 2020 21:54:32 +0000 (22:54 +0100)] 
Add `attainable` client capability callback

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

3 years agoremove callerid definitions
Ariadne Conill [Fri, 26 Jun 2020 18:50:24 +0000 (12:50 -0600)] 
remove callerid definitions

3 years agomessage: remove hardcoded +G logic
Ariadne Conill [Fri, 26 Jun 2020 18:49:52 +0000 (12:49 -0600)] 
message: remove hardcoded +G logic

3 years agoinvite: remove hardcoded callerid logic
Ariadne Conill [Fri, 26 Jun 2020 18:49:19 +0000 (12:49 -0600)] 
invite: remove hardcoded callerid logic

3 years agoMerge remote-tracking branch 'ophion/upstream/dnsbl-rename'
Simon Arlott [Thu, 9 Jul 2020 19:53:38 +0000 (20:53 +0100)] 
Merge remote-tracking branch 'ophion/upstream/dnsbl-rename'

3 years agoauthd: Don't reveal to users how many DNSBLs are configured
Simon Arlott [Thu, 9 Jul 2020 19:53:00 +0000 (20:53 +0100)] 
authd: Don't reveal to users how many DNSBLs are configured

3 years agoauthd: Fix DNSBL messages
Simon Arlott [Thu, 9 Jul 2020 19:52:24 +0000 (20:52 +0100)] 
authd: Fix DNSBL messages

3 years agoMerge pull request #345 from edk0/alias
Aaron Jones [Tue, 7 Jul 2020 09:16:38 +0000 (09:16 +0000)] 
Merge pull request #345 from edk0/alias

m_alias: Preserve protocol framing characters

3 years agoMerge pull request #346 from edk0/opmod-as-statusmsg
Aaron Jones [Mon, 6 Jul 2020 10:52:15 +0000 (10:52 +0000)] 
Merge pull request #346 from edk0/opmod-as-statusmsg

Port opmod_send_cprivmsg from ircd-seven, sans naming mistake

3 years agoAdd tests for opmod_send_statusmsg
Ed Kellett [Sun, 5 Jul 2020 18:08:33 +0000 (19:08 +0100)] 
Add tests for opmod_send_statusmsg

3 years agoMake 5614c9e6f0b (opmod as fake statusmsg) optional
Janik Kleinhoff [Tue, 27 Feb 2018 22:49:13 +0000 (22:49 +0000)] 
Make 5614c9e6f0b (opmod as fake statusmsg) optional

This adds a channel { ... } option, opmod_send_statusmsg, disabled by
default for compatibility reasons.

3 years agoMerge pull request #347 from edk0/hide-tls-info
Aaron Jones [Mon, 6 Jul 2020 08:31:47 +0000 (08:31 +0000)] 
Merge pull request #347 from edk0/hide-tls-info

Add general::tls_ciphers_oper_only

3 years agoauthd: rename blacklist_provider to dnsbl_provider, change auth notices accordingly
Ariadne Conill [Mon, 6 Jul 2020 03:18:23 +0000 (21:18 -0600)] 
authd: rename blacklist_provider to dnsbl_provider, change auth notices accordingly

3 years agoexample config: dnsbl{} block change, update explanation comment a bit
Ariadne Conill [Mon, 6 Jul 2020 03:09:48 +0000 (21:09 -0600)] 
example config: dnsbl{} block change, update explanation comment a bit

3 years agonewconf: deprecate blacklist{} blocks, replace with dnsbl{} blocks.
Ariadne Conill [Mon, 6 Jul 2020 03:07:33 +0000 (21:07 -0600)] 
newconf: deprecate blacklist{} blocks, replace with dnsbl{} blocks.

3 years agoircd: rename DNSBL entries from blacklist to dnsbl_entry.
Ariadne Conill [Mon, 6 Jul 2020 03:01:56 +0000 (21:01 -0600)] 
ircd: rename DNSBL entries from blacklist to dnsbl_entry.

3 years agoclient: drop no longer existent 'struct blacklist' definition.
Ariadne Conill [Mon, 6 Jul 2020 02:53:30 +0000 (20:53 -0600)] 
client: drop no longer existent 'struct blacklist' definition.

This went away when authd was implemented.

3 years agoAdd general::tls_ciphers_oper_only
Ed Kellett [Sun, 5 Jul 2020 20:05:18 +0000 (21:05 +0100)] 
Add general::tls_ciphers_oper_only

3 years agoadd @ prefix to op-moderated (+z) messages to distinguish them from regular channel...
Mike Quin [Sat, 10 Jun 2017 12:21:29 +0000 (12:21 +0000)] 
add @ prefix to op-moderated (+z) messages to distinguish them from regular channel traffic

3 years agom_alias: Preserve protocol framing characters
Ed Kellett [Sun, 5 Jul 2020 00:15:03 +0000 (01:15 +0100)] 
m_alias: Preserve protocol framing characters

3 years agoircd/modules.c: complain to foreground if unable to locate module
Aaron Jones [Sat, 4 Jul 2020 02:13:13 +0000 (02:13 +0000)] 
ircd/modules.c: complain to foreground if unable to locate module

Without this a conftest user has no idea whether the module path
is correct or not.

[ci skip]

3 years agoMerge pull request #344 from dwfreed/use-module-hook-priorities
Aaron Jones [Thu, 2 Jul 2020 12:41:18 +0000 (12:41 +0000)] 
Merge pull request #344 from dwfreed/use-module-hook-priorities

Actually use modules' declared hook priorities

3 years agoActually use modules' declared hook priorities
Doug Freed [Wed, 1 Jul 2020 19:43:48 +0000 (19:43 +0000)] 
Actually use modules' declared hook priorities

3 years agoMerge pull request #343 from xnrand/patch-ison-unreg-conn
Aaron Jones [Mon, 29 Jun 2020 17:36:30 +0000 (17:36 +0000)] 
Merge pull request #343 from xnrand/patch-ison-unreg-conn

m_ison: Do not report unregistered connections

3 years agom_invite: remove redundant block of code missed by review
Aaron Jones [Sat, 27 Jun 2020 14:42:20 +0000 (14:42 +0000)] 
m_invite: remove redundant block of code missed by review

I missed this due to refactoring in #341. This function is already
called by the same function we're already in, just further down.

[ci skip]

3 years agoMerge pull request #341 from ophion-project/upstream/modularize-regonlymsg
Aaron Jones [Sat, 27 Jun 2020 10:46:36 +0000 (10:46 +0000)] 
Merge pull request #341 from ophion-project/upstream/modularize-regonlymsg

modularize regonlymsg

3 years agoregonlymsg: use hdata.error where available
Ariadne Conill [Fri, 26 Jun 2020 21:34:22 +0000 (15:34 -0600)] 
regonlymsg: use hdata.error where available

3 years agom_ison: Do not report unregistered connections
xnrand [Sun, 17 Feb 2019 09:47:19 +0000 (10:47 +0100)] 
m_ison: Do not report unregistered connections

Prior to this, m_ison would report a nick as being online if a client
that was not yet registered had chosen this nickname on the same server.
This change adds a check to make sure the struct Client has a
struct User associated with it, i.e. registration has occurred.

3 years agoregonlymsg: catch find_umode_slot() failure
Ariadne Conill [Fri, 26 Jun 2020 20:32:46 +0000 (14:32 -0600)] 
regonlymsg: catch find_umode_slot() failure