]> jfr.im git - irc/blitzed-org/atheme.git/log
irc/blitzed-org/atheme.git
12 years agoAtheme 7.0.0-beta1. atheme-services-7.0.0-beta1
William Pitcock [Thu, 15 Mar 2012 14:21:57 +0000 (09:21 -0500)] 
Atheme 7.0.0-beta1.

12 years agogameserv/rps: hook up helpfile
William Pitcock [Mon, 12 Mar 2012 22:54:32 +0000 (17:54 -0500)] 
gameserv/rps: hook up helpfile

Pointed out by Casey.

12 years agoMove to right place.
William Pitcock [Mon, 12 Mar 2012 22:35:58 +0000 (17:35 -0500)] 
Move to right place.

12 years agogameserv/rps: add missing helpfile
William Pitcock [Mon, 12 Mar 2012 22:35:14 +0000 (17:35 -0500)] 
gameserv/rps: add missing helpfile

Helpfile contributed by KindOne.

12 years agoexample config: add missing gameserv modules
William Pitcock [Mon, 12 Mar 2012 00:36:27 +0000 (19:36 -0500)] 
example config: add missing gameserv modules

Pointed out by KindOne.

12 years agoMore proofreading fixes.
William Pitcock [Sun, 11 Mar 2012 10:38:33 +0000 (05:38 -0500)] 
More proofreading fixes.

All fixes pointed out by KindOne.

12 years agoFix some typos in helpfiles.
William Pitcock [Sun, 11 Mar 2012 08:19:32 +0000 (03:19 -0500)] 
Fix some typos in helpfiles.

Pointed out by KindOne.

12 years agochanserv/main: mark immutable
William Pitcock [Sun, 11 Mar 2012 04:41:47 +0000 (22:41 -0600)] 
chanserv/main: mark immutable

12 years agobackend/opensex: use kline_add_with_id().
William Pitcock [Sun, 11 Mar 2012 04:14:56 +0000 (22:14 -0600)] 
backend/opensex: use kline_add_with_id().

12 years agolibathemecore: add kline_add_with_id().
William Pitcock [Sun, 11 Mar 2012 04:13:56 +0000 (22:13 -0600)] 
libathemecore: add kline_add_with_id().

12 years agooperserv/rwatch: use srename().
William Pitcock [Sun, 11 Mar 2012 03:58:43 +0000 (21:58 -0600)] 
operserv/rwatch: use srename().

12 years agobackend/opensex: use srename().
William Pitcock [Sun, 11 Mar 2012 03:56:21 +0000 (21:56 -0600)] 
backend/opensex: use srename().

12 years agocontrib/graphtastical: use srename().
William Pitcock [Sun, 11 Mar 2012 03:55:43 +0000 (21:55 -0600)] 
contrib/graphtastical: use srename().

12 years agolibathemecore: add srename().
William Pitcock [Sun, 11 Mar 2012 03:54:43 +0000 (21:54 -0600)] 
libathemecore: add srename().

srename() is a wrapper around rename() which unlinks the new path if this is needed
for an atomic rename.

12 years agocontrib/ircd_announceserv: avoid assertion hits
William Pitcock [Sun, 11 Mar 2012 03:49:00 +0000 (21:49 -0600)] 
contrib/ircd_announceserv: avoid assertion hits

Also, while we're here -- use the direct service reference we created instead of using
service_named_*() commands (which is a slow path).

12 years agoAdd missing helpfile for SET NOGREET.
William Pitcock [Sun, 11 Mar 2012 02:00:51 +0000 (20:00 -0600)] 
Add missing helpfile for SET NOGREET.

Pointed out by Casey.

12 years agoexample config: add nickserv/set_nogreet to config.
William Pitcock [Sun, 11 Mar 2012 01:51:17 +0000 (19:51 -0600)] 
example config: add nickserv/set_nogreet to config.

Pointed out by KindOne.

12 years agocontrib/ns_waitreg: make XMLRPC-clean
William Pitcock [Sun, 11 Mar 2012 01:49:22 +0000 (19:49 -0600)] 
contrib/ns_waitreg: make XMLRPC-clean

12 years agoexample config: templates::hop shouldn't have +V, it has +H already.
William Pitcock [Sun, 11 Mar 2012 01:44:42 +0000 (19:44 -0600)] 
example config: templates::hop shouldn't have +V, it has +H already.

Pointed out by Casey.

12 years agocontrib/ns_cleannick: don't try to clean internal clients
William Pitcock [Sun, 11 Mar 2012 01:34:24 +0000 (19:34 -0600)] 
contrib/ns_cleannick: don't try to clean internal clients

12 years agoMake chanacs_host_flags_by_user() and chanacs_entity_flags_by_user() static.
Jilles Tjoelker [Sun, 11 Mar 2012 00:33:33 +0000 (01:33 +0100)] 
Make chanacs_host_flags_by_user() and chanacs_entity_flags_by_user() static.

These functions are only useful as part of chanacs_user_flags().

12 years agoCombine all chanacs entries matching a user to determine their access.
Jilles Tjoelker [Sun, 11 Mar 2012 00:27:07 +0000 (01:27 +0100)] 
Combine all chanacs entries matching a user to determine their access.

This means that having an entry for a specific user no longer overrides
entries for a group that user is in, but the combined flags apply.

The ChanServ WHY command already pretended this was the case.

Note that chanacs_find() is rarely useful. In most cases either
chanacs_find_literal() or chanacs_entity_has_flag() are needed. One
exception is finding an akick reason to kick with, since this needs
any matching chanacs entry with +b, it does not matter much which.

12 years agochanserv: Use exact matching when finding a user-specified access entry.
Jilles Tjoelker [Sun, 11 Mar 2012 00:15:41 +0000 (01:15 +0100)] 
chanserv: Use exact matching when finding a user-specified access entry.

If a user does ACCESS INFO, AKICK DEL, FLAGS (query), SET FOUNDER, xOP DEL
or USERINFO on an entity, or userinfo is being checked for a joining user,
only look for an exact match, not groups or the like.

12 years agoatheme.conf.example: Remove commented out nickserv/subscribe module.
Jilles Tjoelker [Sat, 10 Mar 2012 23:34:45 +0000 (00:34 +0100)] 
atheme.conf.example: Remove commented out nickserv/subscribe module.

The nickserv/subscribe module was removed a while ago, remove it from the
example configuration file as well.

Reported by Casey.

12 years agoOnly accept exact matches for entities in chanacs_find_by_mask().
Jilles Tjoelker [Sat, 10 Mar 2012 23:18:32 +0000 (00:18 +0100)] 
Only accept exact matches for entities in chanacs_find_by_mask().

12 years agoChange daemonizing to fork early and wait for initialization using a pipe.
Jilles Tjoelker [Sat, 10 Mar 2012 23:06:18 +0000 (00:06 +0100)] 
Change daemonizing to fork early and wait for initialization using a pipe.

This is necessary because a kqueue will not work in a different process
(really, file descriptor table) than it was created in. Rearranging the
code to move creating the event loop later but still load the database
seems complicated and fragile.

A similar thing is done in charybdis.

12 years agochanserv/sync: In autosync, sync each user matching the change to all their flags.
Jilles Tjoelker [Sat, 10 Mar 2012 22:06:18 +0000 (23:06 +0100)] 
chanserv/sync: In autosync, sync each user matching the change to all their flags.

If a user matches other access entries than the one changed, take these
into account as well, avoiding inappropriate changes.

12 years agochanserv/sync: Only autosync if +brqaOoHhVv flags were changed.
Jilles Tjoelker [Fri, 9 Mar 2012 12:15:37 +0000 (13:15 +0100)] 
chanserv/sync: Only autosync if +brqaOoHhVv flags were changed.

Only the +brqaOoHhVv flags (akick, akick exempt, statuses) have an
effect on sync. If they have not been changed, a sync is not needed.

12 years agoUpdate libmowgli snapshot.
William Pitcock [Thu, 8 Mar 2012 05:14:39 +0000 (23:14 -0600)] 
Update libmowgli snapshot.

12 years agoexample config: set_core modules should be loaded prior to any other SET modules
William Pitcock [Thu, 8 Mar 2012 04:45:54 +0000 (22:45 -0600)] 
example config: set_core modules should be loaded prior to any other SET modules
Otherwise, we get a warning at startup.

Fix pointed out by Elizacat, whilst eating low-quality dominos pizza.

12 years agochanserv/sync: only call grant_channel_access legacy hook for identified users
William Pitcock [Thu, 8 Mar 2012 04:39:13 +0000 (22:39 -0600)] 
chanserv/sync: only call grant_channel_access legacy hook for identified users

12 years agochanserv/sync: When something changes about a user, only autosync that user,
Jilles Tjoelker [Wed, 7 Mar 2012 22:59:52 +0000 (23:59 +0100)] 
chanserv/sync: When something changes about a user, only autosync that user,
not the entire channels they are in.

12 years agochanserv/sync: Reindent.
Jilles Tjoelker [Wed, 7 Mar 2012 22:55:42 +0000 (23:55 +0100)] 
chanserv/sync: Reindent.

12 years agochanserv/sync: Split off the code to sync a particular chanuser.
Jilles Tjoelker [Wed, 7 Mar 2012 22:54:50 +0000 (23:54 +0100)] 
chanserv/sync: Split off the code to sync a particular chanuser.

This will allow syncing only a particular user when they identify or the
like.

Side effect: if multiple akicks are applied in one sync and an earlier
has a reason and a later does not, the earlier reason is no longer
erroneously used for the later akick.

12 years agoInclude <ext/getopt_long.h> explicitly in atheme.c so it can go away everywhere else.
Jilles Tjoelker [Wed, 7 Mar 2012 22:45:32 +0000 (23:45 +0100)] 
Include <ext/getopt_long.h> explicitly in atheme.c so it can go away everywhere else.

12 years agodbverify: Fix compiler warnings about functions that should be static.
Jilles Tjoelker [Wed, 7 Mar 2012 22:36:29 +0000 (23:36 +0100)] 
dbverify: Fix compiler warnings about functions that should be static.

12 years agoprotocol/p10-generic: add the first little bits of a proposed P10 SASL implementation
William Pitcock [Wed, 7 Mar 2012 01:28:48 +0000 (19:28 -0600)] 
protocol/p10-generic: add the first little bits of a proposed P10 SASL implementation

12 years agodbverify: use offline_mode
William Pitcock [Tue, 6 Mar 2012 09:19:29 +0000 (03:19 -0600)] 
dbverify: use offline_mode

12 years agolibathemecore: add offline_mode flag for dbverify.
William Pitcock [Tue, 6 Mar 2012 09:18:26 +0000 (03:18 -0600)] 
libathemecore: add offline_mode flag for dbverify.

12 years agoprotocol/inspircd: Fix module names.
William Pitcock [Tue, 6 Mar 2012 09:05:53 +0000 (03:05 -0600)] 
protocol/inspircd: Fix module names.

12 years agoRevert "protocol/inspircd: Change the name in the module headers to show a difference...
William Pitcock [Tue, 6 Mar 2012 09:02:12 +0000 (03:02 -0600)] 
Revert "protocol/inspircd: Change the name in the module headers to show a difference between the "core" module and the versioned module(s)."

Unfortunately, this isn't true anymore now that we have MDEP.

This reverts commit 0dee22e8d49ee5b26c85b73f9155b0b7eb8c94ce.

12 years agoAdd binki as a patch author.
William Pitcock [Tue, 6 Mar 2012 08:46:58 +0000 (02:46 -0600)] 
Add binki as a patch author.

12 years agoAtheme 7.0.0-alpha14. atheme-services-7.0.0-alpha14
William Pitcock [Tue, 6 Mar 2012 08:16:39 +0000 (02:16 -0600)] 
Atheme 7.0.0-alpha14.

12 years agoNEWS: add dbverify
William Pitcock [Tue, 6 Mar 2012 08:16:07 +0000 (02:16 -0600)] 
NEWS: add dbverify

12 years agodbverify: correct corrupted AKICK ACL entries which have flags other than AKICK.
William Pitcock [Tue, 6 Mar 2012 07:53:17 +0000 (01:53 -0600)] 
dbverify: correct corrupted AKICK ACL entries which have flags other than AKICK.

This was detected on StaticBox, and was not specifically corrected prior to now.

12 years agolibathemecore: we shouldn't send anything to server if we're not connected to anything
William Pitcock [Tue, 6 Mar 2012 07:45:37 +0000 (01:45 -0600)] 
libathemecore: we shouldn't send anything to server if we're not connected to anything

12 years agochanserv/main: just move all synchronization stuff to chanserv/sync.
William Pitcock [Tue, 6 Mar 2012 07:22:26 +0000 (01:22 -0600)] 
chanserv/main: just move all synchronization stuff to chanserv/sync.

12 years agochanserv/sync: hook oper/identify
William Pitcock [Tue, 6 Mar 2012 07:19:29 +0000 (01:19 -0600)] 
chanserv/sync: hook oper/identify

12 years agoexample conf: Turn on SASL by default.
William Pitcock [Tue, 6 Mar 2012 05:52:05 +0000 (23:52 -0600)] 
example conf: Turn on SASL by default.

It's pretty much supported in one way or another on all of the IRCds anyone actually
cares about.

12 years agoAdd strict_mode, which dbverify can disable.
William Pitcock [Mon, 5 Mar 2012 22:14:22 +0000 (16:14 -0600)] 
Add strict_mode, which dbverify can disable.

This will allow us to make more errors fatal and remove broken codepaths from Atheme that
attempt to correct breaks and inconsistencies in the object store.

12 years agodbverify: add checks for entity EID consistency
William Pitcock [Mon, 5 Mar 2012 21:59:19 +0000 (15:59 -0600)] 
dbverify: add checks for entity EID consistency

12 years agobackend/opensex: allow duplicate EIDs through (so that dbverify can handle them properly)
William Pitcock [Mon, 5 Mar 2012 21:58:53 +0000 (15:58 -0600)] 
backend/opensex: allow duplicate EIDs through (so that dbverify can handle them properly)

12 years agodbverify: new tool for verifying object store consistency
William Pitcock [Mon, 5 Mar 2012 21:36:25 +0000 (15:36 -0600)] 
dbverify: new tool for verifying object store consistency

This is basically a fsck(1) for your services object store.

Right now, only a couple of checks are implemented, but this can be fairly
easily expanded as it builds ontop of the same codebase as atheme itself.

12 years agobackend/opensex: fix logic error
William Pitcock [Mon, 5 Mar 2012 21:36:13 +0000 (15:36 -0600)] 
backend/opensex: fix logic error

12 years agobackend/opensex: list module dependencies of the database (presently all loaded modules)
William Pitcock [Mon, 5 Mar 2012 21:12:35 +0000 (15:12 -0600)] 
backend/opensex: list module dependencies of the database (presently all loaded modules)

12 years agoAdd log_path to atheme_init().
William Pitcock [Mon, 5 Mar 2012 21:02:07 +0000 (15:02 -0600)] 
Add log_path to atheme_init().

12 years agolibathemecore: Allow specifying a specific filename to db_load().
William Pitcock [Mon, 5 Mar 2012 20:52:34 +0000 (14:52 -0600)] 
libathemecore: Allow specifying a specific filename to db_load().

12 years agoSplit out initialization steps so other programs can use libathemecore sanely.
William Pitcock [Mon, 5 Mar 2012 20:38:53 +0000 (14:38 -0600)] 
Split out initialization steps so other programs can use libathemecore sanely.

12 years agoRemove serno.h on DISTCLEAN.
William Pitcock [Mon, 5 Mar 2012 20:11:30 +0000 (14:11 -0600)] 
Remove serno.h on DISTCLEAN.

12 years agoFix invalid usage of 'make', which fixes FreeBSD compile errors
Bryan Drewery [Mon, 5 Mar 2012 13:07:59 +0000 (07:07 -0600)] 
Fix invalid usage of 'make', which fixes FreeBSD compile errors

12 years agoAtheme 7.0.0-alpha13.37. atheme-services-7.0.0-alpha13.37
William Pitcock [Mon, 5 Mar 2012 08:01:03 +0000 (02:01 -0600)] 
Atheme 7.0.0-alpha13.37.

Yes, we had to do it.  It was just too obvious.

12 years agoUpdate yet again to fix windows build.
William Pitcock [Mon, 5 Mar 2012 05:27:22 +0000 (23:27 -0600)] 
Update yet again to fix windows build.

12 years agoUpdate snapshot again.
William Pitcock [Mon, 5 Mar 2012 05:17:19 +0000 (23:17 -0600)] 
Update snapshot again.

12 years agoUpdate libmowgli-2 snapshot.
William Pitcock [Mon, 5 Mar 2012 05:05:52 +0000 (23:05 -0600)] 
Update libmowgli-2 snapshot.

12 years agochanfix: marshal chanfix_channel_t object metadata to/from opensex
William Pitcock [Mon, 5 Mar 2012 04:36:27 +0000 (22:36 -0600)] 
chanfix: marshal chanfix_channel_t object metadata to/from opensex

12 years agochanfix: add MARK command (SRV-142).
William Pitcock [Mon, 5 Mar 2012 04:30:26 +0000 (22:30 -0600)] 
chanfix: add MARK command (SRV-142).

12 years agochanfix: derive chanfix_channel_t from object_t.
William Pitcock [Mon, 5 Mar 2012 04:20:15 +0000 (22:20 -0600)] 
chanfix: derive chanfix_channel_t from object_t.

This allows us to add metadata to it.

12 years agoNEWS: Add chanserv/moderate.
William Pitcock [Mon, 5 Mar 2012 04:12:12 +0000 (22:12 -0600)] 
NEWS: Add chanserv/moderate.

12 years agolibathemecore: break circular dependency caused by refcounting non-dynamic entities
William Pitcock [Mon, 5 Mar 2012 04:02:45 +0000 (22:02 -0600)] 
libathemecore: break circular dependency caused by refcounting non-dynamic entities

Instead, we should only refcount dynamic entities.

12 years agolibathemecore: if an object being unref'd is already being disposed, just make the...
William Pitcock [Mon, 5 Mar 2012 03:57:34 +0000 (21:57 -0600)] 
libathemecore: if an object being unref'd is already being disposed, just make the unref a noop

12 years agochanserv/moderate: write pending requests to database
William Pitcock [Mon, 5 Mar 2012 03:12:10 +0000 (21:12 -0600)] 
chanserv/moderate: write pending requests to database

12 years agochanserv/moderate: store request timestamp and display it in WAITING.
William Pitcock [Mon, 5 Mar 2012 03:03:40 +0000 (21:03 -0600)] 
chanserv/moderate: store request timestamp and display it in WAITING.

12 years agochanserv/moderate: don't moderate registrations from those who have PRIV_CHAN_ADMIN.
William Pitcock [Mon, 5 Mar 2012 02:58:58 +0000 (20:58 -0600)] 
chanserv/moderate: don't moderate registrations from those who have PRIV_CHAN_ADMIN.

They can just approve them anyway; so there's no point in wasting their time.

12 years agochanserv/moderate: plug memory leak in request destructor
William Pitcock [Mon, 5 Mar 2012 02:57:14 +0000 (20:57 -0600)] 
chanserv/moderate: plug memory leak in request destructor

12 years agochanserv/moderate: add logcommand() for pending registration
William Pitcock [Mon, 5 Mar 2012 02:56:02 +0000 (20:56 -0600)] 
chanserv/moderate: add logcommand() for pending registration

12 years agomemoserv/send: ensure commands are dispatched using the memoserv object's context
William Pitcock [Mon, 5 Mar 2012 02:52:47 +0000 (20:52 -0600)] 
memoserv/send: ensure commands are dispatched using the memoserv object's context

If the sourceinfo handle is for a different service object, memoserv commands wouldn't be
found.

12 years agochanserv/moderate: add chanserv::reggroup option for sending moderation queue reminde...
William Pitcock [Sun, 4 Mar 2012 07:22:53 +0000 (01:22 -0600)] 
chanserv/moderate: add chanserv::reggroup option for sending moderation queue reminders to

12 years agochanserv/moderate: ensure the baked sourceinfo has a service reference
William Pitcock [Sun, 4 Mar 2012 06:55:22 +0000 (00:55 -0600)] 
chanserv/moderate: ensure the baked sourceinfo has a service reference

12 years agocontrib/backtrace: add some stupid code to dump a backtrace
William Pitcock [Sun, 4 Mar 2012 05:06:07 +0000 (23:06 -0600)] 
contrib/backtrace: add some stupid code to dump a backtrace

12 years agoRemove broken libunwind.
William Pitcock [Sun, 4 Mar 2012 04:32:30 +0000 (22:32 -0600)] 
Remove broken libunwind.

12 years agoAdd libunwind as a submodule.
William Pitcock [Sun, 4 Mar 2012 04:29:52 +0000 (22:29 -0600)] 
Add libunwind as a submodule.

12 years agohostserv/request: fix major WTF in getting hostserv object
William Pitcock [Sun, 4 Mar 2012 03:28:10 +0000 (21:28 -0600)] 
hostserv/request: fix major WTF in getting hostserv object

whoever wrote this crap was drunk.

12 years agoUpdate headers for rpl_*() functions.
William Pitcock [Sun, 4 Mar 2012 03:21:57 +0000 (21:21 -0600)] 
Update headers for rpl_*() functions.

12 years agoconfigure: check for broken snprintf() and replace it.
William Pitcock [Sun, 4 Mar 2012 03:14:44 +0000 (21:14 -0600)] 
configure: check for broken snprintf() and replace it.

12 years agoAdd macro: SIZE_T_FORMAT. It does the right thing for platforms where %zu isn't...
William Pitcock [Sun, 4 Mar 2012 02:54:39 +0000 (20:54 -0600)] 
Add macro: SIZE_T_FORMAT.  It does the right thing for platforms where %zu isn't known to exist.

12 years agochanserv/moderate: avoid assertion hits
William Pitcock [Sun, 4 Mar 2012 02:42:32 +0000 (20:42 -0600)] 
chanserv/moderate: avoid assertion hits

12 years agochanserv/moderate: fix memo sending
William Pitcock [Sun, 4 Mar 2012 02:38:44 +0000 (20:38 -0600)] 
chanserv/moderate: fix memo sending

12 years agoEnsure that config_options symbol only exists once.
William Pitcock [Sun, 4 Mar 2012 02:30:58 +0000 (20:30 -0600)] 
Ensure that config_options symbol only exists once.

12 years agochanserv/moderate: more debug
William Pitcock [Sun, 4 Mar 2012 02:13:40 +0000 (20:13 -0600)] 
chanserv/moderate: more debug

12 years agochanserv/moderate: debug help
William Pitcock [Sun, 4 Mar 2012 02:06:56 +0000 (20:06 -0600)] 
chanserv/moderate: debug help

12 years agochanserv/moderate: parv[0], not parv[1].
William Pitcock [Sun, 4 Mar 2012 01:31:34 +0000 (19:31 -0600)] 
chanserv/moderate: parv[0], not parv[1].

12 years agochanserv/moderate: hook up some missing bits
William Pitcock [Sat, 3 Mar 2012 22:22:49 +0000 (16:22 -0600)] 
chanserv/moderate: hook up some missing bits

12 years agochanserv/moderate: new module, implementing moderated registration
William Pitcock [Sat, 3 Mar 2012 21:11:14 +0000 (15:11 -0600)] 
chanserv/moderate: new module, implementing moderated registration

12 years agobackend/opensex: exit to avoid data loss if an entity cannot be found when processing...
William Pitcock [Sat, 3 Mar 2012 19:56:22 +0000 (13:56 -0600)] 
backend/opensex: exit to avoid data loss if an entity cannot be found when processing CA objects

12 years agoabirev: bump to 700017.
William Pitcock [Fri, 2 Mar 2012 06:57:21 +0000 (00:57 -0600)] 
abirev: bump to 700017.

12 years agoRemove config_options.time_format.
William Pitcock [Fri, 2 Mar 2012 06:57:00 +0000 (00:57 -0600)] 
Remove config_options.time_format.

12 years agoRemove time_format mention from NEWS.
William Pitcock [Fri, 2 Mar 2012 06:56:05 +0000 (00:56 -0600)] 
Remove time_format mention from NEWS.

12 years agoexample config: remove time_format option
William Pitcock [Fri, 2 Mar 2012 06:55:34 +0000 (00:55 -0600)] 
example config: remove time_format option

12 years agoMake TIME_FORMAT overridable with CFLAG -DTIME_FORMAT="whatever".
William Pitcock [Fri, 2 Mar 2012 06:53:10 +0000 (00:53 -0600)] 
Make TIME_FORMAT overridable with CFLAG -DTIME_FORMAT="whatever".

12 years agomodules/*: replace config_options.time_format reference with TIME_FORMAT define
William Pitcock [Fri, 2 Mar 2012 06:51:18 +0000 (00:51 -0600)] 
modules/*: replace config_options.time_format reference with TIME_FORMAT define

POSIX requires that format strings be static.