]>
jfr.im git - irc/rqf/shadowircd.git/log
B.Greenham [Sat, 6 Mar 2010 01:23:52 +0000 (20:23 -0500)]
Fix +J not checking for local clients properly.
B.Greenham [Sat, 6 Mar 2010 01:09:26 +0000 (20:09 -0500)]
Automated merge with ssh://shadowircd/uranium/shadowircd/
B.Greenham [Sat, 6 Mar 2010 01:06:44 +0000 (20:06 -0500)]
Fix segfault on netsplit due to clearing metadata too late.
Jilles Tjoelker [Sat, 6 Mar 2010 00:45:41 +0000 (01:45 +0100)]
BAN: Reject bans with insufficient non-wildcard characters.
Such bans are not applied locally, but are propagated normally.
They can only be removed on a server that applies them.
Note that normally KLINE will not accept such bans.
This is mainly for services, differing min_wildcard and
ircd changes.
JD Horelick [Sat, 6 Mar 2010 00:32:17 +0000 (19:32 -0500)]
Made overriding join send snotes.
JD Horelick [Sat, 6 Mar 2010 00:18:38 +0000 (19:18 -0500)]
Fix a typo
B.Greenham [Sat, 6 Mar 2010 00:16:27 +0000 (19:16 -0500)]
Should just specify the name here.
B.Greenham [Sat, 6 Mar 2010 00:10:24 +0000 (19:10 -0500)]
Clean up cmode norepeat's metadata when unsetting +K.
B.Greenham [Fri, 5 Mar 2010 23:49:57 +0000 (18:49 -0500)]
Fix the 'mode changes appear multiple times' bug.
Jilles Tjoelker [Fri, 5 Mar 2010 23:31:51 +0000 (00:31 +0100)]
Add /stats g to show propagated (global) klines.
Jilles Tjoelker [Fri, 5 Mar 2010 22:16:28 +0000 (23:16 +0100)]
Among bans with the same creation time, prefer the one with longest lifetime.
Jilles Tjoelker [Fri, 5 Mar 2010 21:53:35 +0000 (22:53 +0100)]
BAN: Avoid fake direction.
Jilles Tjoelker [Fri, 5 Mar 2010 21:51:47 +0000 (22:51 +0100)]
Remove +/- from the BAN message, instead indicating unban with duration=0.
A kline must now last at least one second since its creation time.
Also add better logic for bans that have already expired
when they come in.
Jilles Tjoelker [Fri, 5 Mar 2010 21:05:15 +0000 (22:05 +0100)]
Use memmove instead of memcpy where there is overlap (modunload).
B.Greenham [Fri, 5 Mar 2010 20:04:51 +0000 (15:04 -0500)]
Adding a TODO item.
B.Greenham [Fri, 5 Mar 2010 19:39:42 +0000 (14:39 -0500)]
Fix +g messages not showing to opers.
B.Greenham [Fri, 5 Mar 2010 19:34:44 +0000 (14:34 -0500)]
Make oaccept use UIDs instead of nicks.
B.Greenham [Fri, 5 Mar 2010 19:28:48 +0000 (14:28 -0500)]
Make +gGR not affect services.
B.Greenham [Fri, 5 Mar 2010 19:26:40 +0000 (14:26 -0500)]
Make oaccept work for multiple opers on the same target.
B.Greenham [Fri, 5 Mar 2010 19:06:32 +0000 (14:06 -0500)]
Make it so that the same user can have more than one metadata entry of the same type.
B.Greenham [Fri, 5 Mar 2010 18:59:35 +0000 (13:59 -0500)]
Make m_okick support the new +J format.
B.Greenham [Fri, 5 Mar 2010 18:54:38 +0000 (13:54 -0500)]
Update NEWS.
B.Greenham [Fri, 5 Mar 2010 18:45:01 +0000 (13:45 -0500)]
Clean up +J to work nicely and properly.
Jilles Tjoelker [Fri, 5 Mar 2010 17:36:44 +0000 (18:36 +0100)]
Add propagated klines.
A KLINE command without the ON clause now sets a propagated
("global") ban. KLINE commands with the ON clause work as
before.
Propagated klines can only be removed with an UNKLINE command
without the ON clause, and this removes them everywhere.
In fact, they remain in a deactivated state until the latest
expiry ever used for the mask has passed.
Propagated klines are part of the netburst using a new BAN
message and capab. If such a burst has an effect, both the
server name and the original oper are shown in the server
notice.
No checks whatsoever are done on bursted klines at this time.
The system should be extended to XLINE and RESV later.
There is currently no way to list propagated klines,
but TESTLINE works normally.
Jilles Tjoelker [Fri, 5 Mar 2010 17:28:59 +0000 (18:28 +0100)]
kline: Fix oper reasons.
B.Greenham [Fri, 5 Mar 2010 16:57:48 +0000 (11:57 -0500)]
Make channel_metadata_time_add accept a regular value as well as a time value.
Jilles Tjoelker [Fri, 5 Mar 2010 16:28:47 +0000 (17:28 +0100)]
Fix --disable-balloc.
libratbox r26769
B.Greenham [Fri, 5 Mar 2010 06:51:36 +0000 (01:51 -0500)]
Third time's the charm, apparently. Being sleepy and committing is a bad combo.
B.Greenham [Fri, 5 Mar 2010 06:44:16 +0000 (01:44 -0500)]
Actually make okick support +J.
B.Greenham [Fri, 5 Mar 2010 06:40:52 +0000 (01:40 -0500)]
Make m_okick support +J.
B.Greenham [Fri, 5 Mar 2010 06:22:08 +0000 (01:22 -0500)]
Make RPL_WHOISMODES look a bit nicer.
B.Greenham [Fri, 5 Mar 2010 05:51:40 +0000 (00:51 -0500)]
There's no reason to have two nearly identical structs for metadata, move metadata struct to ircd.h and use it for both channel and user metadata.
B.Greenham [Fri, 5 Mar 2010 05:41:05 +0000 (00:41 -0500)]
6.0 is officially feature complete.
B.Greenham [Fri, 5 Mar 2010 05:39:18 +0000 (00:39 -0500)]
Add *_metadata_clear and start using them.
B.Greenham [Fri, 5 Mar 2010 05:18:56 +0000 (00:18 -0500)]
Add channel_metadata_time_add, a local only form of metadata that stores time values. And use it to make +J work.
Jilles Tjoelker [Thu, 4 Mar 2010 23:37:56 +0000 (00:37 +0100)]
Skip propagated bans in rehash txlines/tresvs.
B.Greenham [Thu, 4 Mar 2010 23:15:12 +0000 (18:15 -0500)]
TODO updates.
B.Greenham [Thu, 4 Mar 2010 23:05:15 +0000 (18:05 -0500)]
Finish chmode +K, which prevents repeated lines.
B.Greenham [Thu, 4 Mar 2010 22:49:15 +0000 (17:49 -0500)]
Make it so that channels can have more than one piece of channel metadata with the same value.
B.Greenham [Thu, 4 Mar 2010 20:08:41 +0000 (15:08 -0500)]
Automated merge with ssh://shadowircd/uranium/shadowircd/
B.Greenham [Thu, 4 Mar 2010 20:08:16 +0000 (15:08 -0500)]
Add channel metadata system.
JD Horelick [Thu, 4 Mar 2010 19:18:15 +0000 (14:18 -0500)]
Fix a few errors in the example configs (caused errors on starting the ircd).
JD Horelick [Thu, 4 Mar 2010 09:28:53 +0000 (04:28 -0500)]
Really fix the ugly-ass desync by re-adding some code i accidentally
deleted on the first chmode.c override commit.
JD Horelick [Thu, 4 Mar 2010 09:22:14 +0000 (04:22 -0500)]
Fix a warning which may fix a real ugly desync.
If this doesn't fix the desync, i have an idea of how to do so.
B.Greenham [Thu, 4 Mar 2010 07:22:45 +0000 (02:22 -0500)]
Add TODO for ShadowIRCd-6.2
B.Greenham [Thu, 4 Mar 2010 06:47:50 +0000 (01:47 -0500)]
Add oaccept to extensions/readme, also clarify it a bit in the NEWS.
B.Greenham [Thu, 4 Mar 2010 06:40:13 +0000 (01:40 -0500)]
Add extensions/m_oaccept , a module to allow opers to bypass +gGR with a command.
B.Greenham [Thu, 4 Mar 2010 04:32:09 +0000 (23:32 -0500)]
Merge.
B.Greenham [Thu, 4 Mar 2010 04:20:48 +0000 (23:20 -0500)]
Backed out changeset
8ff8459cb04d
B.Greenham [Thu, 4 Mar 2010 04:06:32 +0000 (23:06 -0500)]
Finish adding custom operstring support.
B.Greenham [Thu, 4 Mar 2010 03:59:49 +0000 (22:59 -0500)]
Automated merge with ssh://shadowircd/uranium/shadowircd/
B.Greenham [Thu, 4 Mar 2010 03:59:26 +0000 (22:59 -0500)]
Finish adding swhois support.
JD Horelick [Thu, 4 Mar 2010 03:34:44 +0000 (22:34 -0500)]
Have KICK not show snotes when you're opped in the channel and you have
override on.
JD Horelick [Thu, 4 Mar 2010 01:53:25 +0000 (20:53 -0500)]
Added some stuff to NEWS (primarily about metadata and OACCEPT).
B.Greenham [Thu, 4 Mar 2010 01:41:39 +0000 (20:41 -0500)]
Add core/m_metadata.c , a module required for metadata propegation to work.
B.Greenham [Thu, 4 Mar 2010 01:38:57 +0000 (20:38 -0500)]
Automated merge with ssh://shadowircd/uranium/shadowircd/
B.Greenham [Thu, 4 Mar 2010 01:38:50 +0000 (20:38 -0500)]
Add user metadata.
JD Horelick [Thu, 4 Mar 2010 01:28:22 +0000 (20:28 -0500)]
Remove override and immune from the shadow TODO since they're done now.
Jilles Tjoelker [Wed, 3 Mar 2010 23:21:22 +0000 (00:21 +0100)]
Add code to expire "propagated" bans.
The data structure is very simple: a dlink list of all propagated bans.
Jilles Tjoelker [Wed, 3 Mar 2010 22:36:28 +0000 (23:36 +0100)]
ConfItem.next is not used, remove it.
Jilles Tjoelker [Wed, 3 Mar 2010 21:58:16 +0000 (22:58 +0100)]
bandb: Group writes in transactions to reduce load on heavy kline activity.
When a ban is added or removed, open a transaction and
close it after 3 seconds; any bans in the 3 seconds
will not trigger another transaction (= 4 fsyncs with
sqlite).
The transaction is also committed if ircd closes the
connection, but not if bandb itself is terminated with
a signal.
JD Horelick [Wed, 3 Mar 2010 20:38:28 +0000 (15:38 -0500)]
Luke! Use the fail Luke!
The fail. I am made of it.
* Jdhore boards the failboat.
JD Horelick [Wed, 3 Mar 2010 20:34:57 +0000 (15:34 -0500)]
Don't discard self-oppings from remote override opers.
There's a small chance this could be incorrect.
Also, the final set of override cleanups.
JD Horelick [Wed, 3 Mar 2010 20:16:06 +0000 (15:16 -0500)]
A couple more chm_hidden cleanups/fixes.
JD Horelick [Wed, 3 Mar 2010 19:51:25 +0000 (14:51 -0500)]
Add +M awareness to KICK.
JD Horelick [Wed, 3 Mar 2010 19:44:41 +0000 (14:44 -0500)]
Added immune extension. Maybe it'll be added to the docs later...Maybe not..
JD Horelick [Wed, 3 Mar 2010 19:35:54 +0000 (14:35 -0500)]
Framework for hidden (only opers can see/set them) chmodes.
The first one of these is +M and the actual extension which handles
+M will be added next commit.
JD Horelick [Wed, 3 Mar 2010 19:11:53 +0000 (14:11 -0500)]
Woohoo! Override is complete barring a few possible cleanups in the futures.
JD Horelick [Wed, 3 Mar 2010 18:52:31 +0000 (13:52 -0500)]
Add override support to ban/quiet, owner, op, halfop and voice.
JD Horelick [Wed, 3 Mar 2010 18:21:28 +0000 (13:21 -0500)]
Made TOPIC override send snotes.
JD Horelick [Wed, 3 Mar 2010 17:56:56 +0000 (12:56 -0500)]
Add oper:override priv to the .confs
JD Horelick [Wed, 3 Mar 2010 08:43:16 +0000 (03:43 -0500)]
I fail. Move the epiration of +p statement lower so it actually...works.
B.Greenham [Wed, 3 Mar 2010 06:00:07 +0000 (01:00 -0500)]
Fix the typos in the last commit so it compiles and works.
B.Greenham [Wed, 3 Mar 2010 05:52:13 +0000 (00:52 -0500)]
Add conf options for swhois and operstring, though they don't do anything yet.
JD Horelick [Wed, 3 Mar 2010 01:49:51 +0000 (20:49 -0500)]
Make +p expiry more robust
JD Horelick [Wed, 3 Mar 2010 01:33:58 +0000 (20:33 -0500)]
First step of expiry of +p crap.
JD Horelick [Wed, 3 Mar 2010 00:54:59 +0000 (19:54 -0500)]
Initial support for 'noisy' oper-override of channel modes, using omode-type code. Supports simple modes at present.
B.Greenham [Tue, 2 Mar 2010 23:46:08 +0000 (18:46 -0500)]
Add operator::vhost option.
JD Horelick [Tue, 2 Mar 2010 18:07:14 +0000 (13:07 -0500)]
Make KICK and INVITE send snotes on override.
B.Greenham [Tue, 2 Mar 2010 06:57:25 +0000 (01:57 -0500)]
Add general::default_operhost.
B.Greenham [Tue, 2 Mar 2010 01:12:11 +0000 (20:12 -0500)]
Make it so that halfops cannot set +-h
JD Horelick [Mon, 1 Mar 2010 20:51:11 +0000 (15:51 -0500)]
Added a quite cool item to the 6.1 Todo.
B.Greenham [Mon, 1 Mar 2010 20:01:11 +0000 (15:01 -0500)]
Fix a bug I introduced by being a massive idiot.
B.Greenham [Mon, 1 Mar 2010 07:43:55 +0000 (02:43 -0500)]
Add channel::exemptchanops, and make +cCDTNG support it.
JD Horelick [Mon, 1 Mar 2010 04:08:44 +0000 (23:08 -0500)]
Add ShadowIRCd 6.0 changes to NEWS.
B.Greenham [Mon, 1 Mar 2010 04:06:42 +0000 (23:06 -0500)]
Add blank +K (norepeat) chmode, though it does nothing yet.
B.Greenham [Mon, 1 Mar 2010 03:42:59 +0000 (22:42 -0500)]
Borrow some ircd-seven code to create channel::use_local_channels.
B.Greenham [Mon, 1 Mar 2010 02:56:44 +0000 (21:56 -0500)]
Add TODO for ShadowIRCd-6.1.
Jilles Tjoelker [Mon, 1 Mar 2010 00:24:00 +0000 (01:24 +0100)]
Make struct operhash_entry private.
Jilles Tjoelker [Mon, 1 Mar 2010 00:23:22 +0000 (01:23 +0100)]
Track who set a dline/kline/xline/resv as in ratbox3.
Like in ratbox3, there is no way to query this information
(other than bandb's tables, but they worked before this
commit).
B.Greenham [Sun, 28 Feb 2010 21:50:51 +0000 (16:50 -0500)]
Update refrence.conf's explanation of invex/except with warnings about disabling them via rehash.
Jilles Tjoelker [Sun, 28 Feb 2010 15:45:25 +0000 (16:45 +0100)]
Fix memory leak on /rehash bans.
We do not have the 'oper' field in klines yet.
B.Greenham [Sun, 28 Feb 2010 19:58:44 +0000 (14:58 -0500)]
Add lines warning people of the confusion that awaits them upon disabling +ah and rehasing.
B.Greenham [Sun, 28 Feb 2010 19:30:06 +0000 (14:30 -0500)]
Add extensions to the config file which were previously missing.
B.Greenham [Sun, 28 Feb 2010 17:07:16 +0000 (12:07 -0500)]
Fix m_kick so that it checks if you're trying to kick the target, not yourself.
Jilles Tjoelker [Sun, 28 Feb 2010 15:27:06 +0000 (16:27 +0100)]
Generate the "Temporary K-line %d min" part from aconf->hold - aconf->created.
JD Horelick [Sun, 28 Feb 2010 08:19:51 +0000 (03:19 -0500)]
Add a space at the top of CREDITS
B.Greenham [Sun, 28 Feb 2010 07:40:31 +0000 (02:40 -0500)]
Update TODO.
B.Greenham [Sun, 28 Feb 2010 07:35:48 +0000 (02:35 -0500)]
Add full support for +a (owner) and +h (halfop) chmodes.
B.Greenham [Sun, 28 Feb 2010 04:47:39 +0000 (23:47 -0500)]
Fix a couple typos.