]> jfr.im git - solanum.git/log
solanum.git
8 years agoauthd: plug in new C type.
Elizabeth Myers [Thu, 10 Mar 2016 14:09:16 +0000 (08:09 -0600)] 
authd: plug in new C type.

8 years agoauthd: crap, C was taken already, rename reload to H.
Elizabeth Myers [Thu, 10 Mar 2016 14:06:57 +0000 (08:06 -0600)] 
authd: crap, C was taken already, rename reload to H.

8 years agoauthd: add rdns provider (compile-tested)
Elizabeth Myers [Thu, 10 Mar 2016 14:04:17 +0000 (08:04 -0600)] 
authd: add rdns provider (compile-tested)

8 years agoauthd/provider: use rb_sockaddr_storage for IP addresses.
Elizabeth Myers [Thu, 10 Mar 2016 13:25:22 +0000 (07:25 -0600)] 
authd/provider: use rb_sockaddr_storage for IP addresses.

8 years agodns: create sockcmp function.
Elizabeth Myers [Thu, 10 Mar 2016 12:32:25 +0000 (06:32 -0600)] 
dns: create sockcmp function.

8 years agodns: add format_address function
Elizabeth Myers [Thu, 10 Mar 2016 11:57:33 +0000 (05:57 -0600)] 
dns: add format_address function

8 years agoauthd: add address families to provider processing.
Elizabeth Myers [Thu, 10 Mar 2016 11:40:21 +0000 (05:40 -0600)] 
authd: add address families to provider processing.

ircd knows about them so let's not reinvent checking for address types
and stuff.

8 years agoauthd/provider: add these to provider.h
Elizabeth Myers [Thu, 10 Mar 2016 09:15:03 +0000 (03:15 -0600)] 
authd/provider: add these to provider.h

8 years agorename auth.[ch] to provider.[ch]
Elizabeth Myers [Thu, 10 Mar 2016 09:07:52 +0000 (03:07 -0600)] 
rename auth.[ch] to provider.[ch]

This name is less confusing and more descriptive.

8 years agoauthd: convert auth stuff to use a linked list.
Elizabeth Myers [Thu, 10 Mar 2016 09:02:16 +0000 (03:02 -0600)] 
authd: convert auth stuff to use a linked list.

This allows runtime loadable providers.

8 years agoOnce more with feeling, remove useless enum bit
Elizabeth Myers [Thu, 10 Mar 2016 08:42:40 +0000 (02:42 -0600)] 
Once more with feeling, remove useless enum bit

Now with 50% less experimental changes

8 years agoRevert "[ci skip] remove useless bit in auth.h"
Elizabeth Myers [Thu, 10 Mar 2016 08:42:18 +0000 (02:42 -0600)] 
Revert "[ci skip] remove useless bit in auth.h"

This reverts commit 4cc131fc4824db6e315be2509dfc046c7a359eb0.

8 years ago[ci skip] remove useless bit in auth.h
Elizabeth Myers [Thu, 10 Mar 2016 08:37:52 +0000 (02:37 -0600)] 
[ci skip] remove useless bit in auth.h

8 years agoauth: minor changes
Elizabeth Myers [Thu, 10 Mar 2016 07:59:37 +0000 (01:59 -0600)] 
auth: minor changes

8 years agoauthd: initial authentication framework implementation
Elizabeth Myers [Thu, 10 Mar 2016 07:50:36 +0000 (01:50 -0600)] 
authd: initial authentication framework implementation

Not plugged into anything yet, but compile-tested.

8 years agom_error: use strncasecmp, not strcmp
Elizabeth Myers [Thu, 10 Mar 2016 00:53:08 +0000 (18:53 -0600)] 
m_error: use strncasecmp, not strcmp

8 years agom_stats: eliminate special casing of calling the stats L handler.
Elizabeth Myers [Wed, 9 Mar 2016 23:19:16 +0000 (17:19 -0600)] 
m_stats: eliminate special casing of calling the stats L handler.

8 years agoauthd, m_stats: fix command table sizes
Mantas Mikulėnas [Wed, 9 Mar 2016 16:15:42 +0000 (18:15 +0200)] 
authd, m_stats: fix command table sizes

There are 256 possible byte values.

8 years agorehash: don't restart authd for DNS reloads
Elizabeth Myers [Wed, 9 Mar 2016 09:46:04 +0000 (03:46 -0600)] 
rehash: don't restart authd for DNS reloads

This could lead to pretty nasty things, like losing DNS (and in the
future, ident) queries. That's a Bad Thing™.

8 years agoMore bool conversions
Elizabeth Myers [Wed, 9 Mar 2016 08:19:31 +0000 (02:19 -0600)] 
More bool conversions

8 years agoMerge branch 'elizafox-cleanups' of github.com:charybdis-ircd/charybdis into elizafox...
Elizabeth Myers [Wed, 9 Mar 2016 08:10:36 +0000 (02:10 -0600)] 
Merge branch 'elizafox-cleanups' of github.com:charybdis-ircd/charybdis into elizafox-cleanups

8 years agoFix m_xline [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:10:23 +0000 (02:10 -0600)] 
Fix m_xline [ci skip]

8 years agoMore bool conversions [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:06:21 +0000 (02:06 -0600)] 
More bool conversions [ci skip]

8 years agoMore bool conversions [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:06:21 +0000 (02:06 -0600)] 
More bool conversions [ci skip]

8 years agoRemove dead variable "cold_start" that no longer exists [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:01:26 +0000 (02:01 -0600)] 
Remove dead variable "cold_start" that no longer exists [ci skip]

8 years agoMore bool conversions
Elizabeth Myers [Wed, 9 Mar 2016 08:00:40 +0000 (02:00 -0600)] 
More bool conversions

8 years agom_close: remove dangling return [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 07:44:45 +0000 (01:44 -0600)] 
m_close: remove dangling return [ci skip]

8 years agom_chghost: convert more stuff to bool [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 07:44:05 +0000 (01:44 -0600)] 
m_chghost: convert more stuff to bool [ci skip]

8 years agoMerge branch 'master' of github.com:charybdis-ircd/charybdis into elizafox-cleanups
Elizabeth Myers [Wed, 9 Mar 2016 07:41:10 +0000 (01:41 -0600)] 
Merge branch 'master' of github.com:charybdis-ircd/charybdis into elizafox-cleanups

8 years agoMessage handlers should return void.
Elizabeth Myers [Wed, 9 Mar 2016 07:37:03 +0000 (01:37 -0600)] 
Message handlers should return void.

Also fix up some return values and stuff to use bool (or void if
nothing). I just did it whilst I was here.

According to jilles, the return value used to signify whether or not the
client had exited. This was error-prone and was fixed a long, long time
ago, but the return value was left int for historical reasons.

Since the return type is not used (and has no clear use case anyway),
it's safe to just get rid of it.

8 years agoMerge pull request #163 from awilfox/master
Elizabeth Myers [Wed, 9 Mar 2016 07:30:52 +0000 (01:30 -0600)] 
Merge pull request #163 from awilfox/master

core/m_error: Be consistent in strncmp usage

8 years agoMove module description headers to the top
Elizabeth Myers [Wed, 9 Mar 2016 07:29:41 +0000 (01:29 -0600)] 
Move module description headers to the top

This is cleaner.

Note this was broken out of a much larger piece of work I did, so if
there's any problems, I apologise!

8 years agocore/m_error: Be consistent in strncmp usage
Andrew Wilcox [Wed, 9 Mar 2016 07:08:23 +0000 (01:08 -0600)] 
core/m_error: Be consistent in strncmp usage

8 years agoircd: further cleanup of YES/NO
William Pitcock [Tue, 8 Mar 2016 19:52:48 +0000 (13:52 -0600)] 
ircd: further cleanup of YES/NO

8 years agoircd: fix up some iwarn() calls which referred to L_MAIN
William Pitcock [Tue, 8 Mar 2016 19:47:41 +0000 (13:47 -0600)] 
ircd: fix up some iwarn() calls which referred to L_MAIN

8 years agomodules: using labs() for date math is unsafe
William Pitcock [Tue, 8 Mar 2016 19:46:19 +0000 (13:46 -0600)] 
modules: using labs() for date math is unsafe

8 years agos_conf: remove YES/NO references
William Pitcock [Tue, 8 Mar 2016 19:45:29 +0000 (13:45 -0600)] 
s_conf: remove YES/NO references

8 years agos_user: clean up return types and can YES/NO.
Elizabeth Myers [Tue, 8 Mar 2016 11:06:29 +0000 (05:06 -0600)] 
s_user: clean up return types and can YES/NO.

8 years agoDetect stdbool.h and add conformant shims if it isn't available
Elizabeth Myers [Tue, 8 Mar 2016 10:52:31 +0000 (04:52 -0600)] 
Detect stdbool.h and add conformant shims if it isn't available

Charybdis requires C99 already, so it's high time we start using
stdbool. I've converted a few pieces of code already.

A lot of the old code that uses YES/NO should probably be updated too
because that's fucking hideous.

8 years agoRemove another silly outdated comment [ci skip]
Elizabeth Myers [Tue, 8 Mar 2016 10:40:46 +0000 (04:40 -0600)] 
Remove another silly outdated comment [ci skip]

8 years agom_svinfo: remove outdated comment
Elizabeth Myers [Tue, 8 Mar 2016 10:40:19 +0000 (04:40 -0600)] 
m_svinfo: remove outdated comment

8 years agom_stats: kill O(n) lookup on stats.
Elizabeth Myers [Tue, 8 Mar 2016 10:38:42 +0000 (04:38 -0600)] 
m_stats: kill O(n) lookup on stats.

8 years agoMore mailmap entries
Elizabeth Myers [Tue, 8 Mar 2016 09:59:30 +0000 (03:59 -0600)] 
More mailmap entries

8 years agoUpdate mailmap for my emails past and present.
Elizabeth Myers [Tue, 8 Mar 2016 09:50:59 +0000 (03:50 -0600)] 
Update mailmap for my emails past and present.

8 years agodns: prune worthless function.
Elizabeth Myers [Tue, 8 Mar 2016 09:25:21 +0000 (03:25 -0600)] 
dns: prune worthless function.

8 years agodns: clean up awful hacks.
Elizabeth Myers [Tue, 8 Mar 2016 09:22:25 +0000 (03:22 -0600)] 
dns: clean up awful hacks.

We now have a resolver cache which we init on startup.

8 years agoauthd: allow querying the list of DNS servers.
Elizabeth Myers [Tue, 8 Mar 2016 08:53:25 +0000 (02:53 -0600)] 
authd: allow querying the list of DNS servers.

This was an asston of pain, and it still feels "dirty" as it introduces
an async call where there normally wouldn't be one. Better
implementation more than welcome.

8 years agoblacklist: clean up some of my old code
Elizabeth Myers [Tue, 8 Mar 2016 01:54:25 +0000 (19:54 -0600)] 
blacklist: clean up some of my old code

8 years agoConvert 2.8 style ToUpper/ToLower names to irctoupper/irctolower
Elizabeth Myers [Tue, 8 Mar 2016 01:04:24 +0000 (19:04 -0600)] 
Convert 2.8 style ToUpper/ToLower names to irctoupper/irctolower

8 years agoRename RATBOX_PROFILE to RB_PROFILE.
Elizabeth Myers [Tue, 8 Mar 2016 00:52:50 +0000 (18:52 -0600)] 
Rename RATBOX_PROFILE to RB_PROFILE.

8 years agoAdd ircd serials to AV2.
Elizabeth Myers [Tue, 8 Mar 2016 00:10:22 +0000 (18:10 -0600)] 
Add ircd serials to AV2.

8 years agoTry to fix stupid build error on Travis
Elizabeth Myers [Tue, 8 Mar 2016 00:00:13 +0000 (18:00 -0600)] 
Try to fix stupid build error on Travis

8 years agoUse Unix time for the date code.
Elizabeth Myers [Mon, 7 Mar 2016 23:40:50 +0000 (17:40 -0600)] 
Use Unix time for the date code.

This is easier to deal with than YYYYMMDD.

8 years agoFix generation of serno.h
Elizabeth Myers [Mon, 7 Mar 2016 23:14:28 +0000 (17:14 -0600)] 
Fix generation of serno.h

Due to reversed conditionals, it wasn't being generated properly.

This also actually fixes its generation in librb by just copying the
Charybdis version. Unbundlers will want to take note of this.

8 years agoMerge pull request #162 from maxteufel/umode_noctcp
William Pitcock [Mon, 7 Mar 2016 20:35:23 +0000 (14:35 -0600)] 
Merge pull request #162 from maxteufel/umode_noctcp

extensions: add umode_noctcp extension

8 years agoextensions: add umode_noctcp extension
Max Teufel [Mon, 7 Mar 2016 17:48:14 +0000 (18:48 +0100)] 
extensions: add umode_noctcp extension

8 years agoMakefile.am: make git serno generation a little nicer.
Elizabeth Myers [Mon, 7 Mar 2016 11:15:35 +0000 (05:15 -0600)] 
Makefile.am: make git serno generation a little nicer.

8 years agoChange some RATBOX_FOO defines to CHARYBDIS_FOO.
Elizabeth Myers [Mon, 7 Mar 2016 11:01:31 +0000 (05:01 -0600)] 
Change some RATBOX_FOO defines to CHARYBDIS_FOO.

8 years agoAV2 description: forgot this one too
Elizabeth Myers [Mon, 7 Mar 2016 10:13:01 +0000 (04:13 -0600)] 
AV2 description: forgot this one too

8 years agoAV2 descriptions: forgot these
Elizabeth Myers [Mon, 7 Mar 2016 10:11:51 +0000 (04:11 -0600)] 
AV2 descriptions: forgot these

8 years agoUpdate extensions/spy_* with AV2 descriptions.
Elizabeth Myers [Mon, 7 Mar 2016 10:09:14 +0000 (04:09 -0600)] 
Update extensions/spy_* with AV2 descriptions.

8 years agoAdd AV2 descriptions for extensions/sno_*
Elizabeth Myers [Mon, 7 Mar 2016 10:02:27 +0000 (04:02 -0600)] 
Add AV2 descriptions for extensions/sno_*

8 years agoPort some more extensions to AV2 and add descriptions
Elizabeth Myers [Mon, 7 Mar 2016 09:50:03 +0000 (03:50 -0600)] 
Port some more extensions to AV2 and add descriptions

8 years agoCompensate for my obviously diminished faculties.
Elizabeth Myers [Mon, 7 Mar 2016 09:42:43 +0000 (03:42 -0600)] 
Compensate for my obviously diminished faculties.

8 years agoGive all extensions/m_* modules AV2 descriptions
Elizabeth Myers [Mon, 7 Mar 2016 09:40:51 +0000 (03:40 -0600)] 
Give all extensions/m_* modules AV2 descriptions

8 years agom_starttls: fix fucked-up merge
Elizabeth Myers [Mon, 7 Mar 2016 09:15:50 +0000 (03:15 -0600)] 
m_starttls: fix fucked-up merge

8 years agom_starttls: port to AV2 caps stuff
Elizabeth Myers [Mon, 7 Mar 2016 09:14:02 +0000 (03:14 -0600)] 
m_starttls: port to AV2 caps stuff

8 years agoMerge pull request #161 from awilfox/av2desc
Elizabeth Myers [Mon, 7 Mar 2016 09:10:51 +0000 (03:10 -0600)] 
Merge pull request #161 from awilfox/av2desc

Add AV2 descriptions to all modules P-X

8 years agoBump some extensions to AV2 and add descriptions
Elizabeth Myers [Mon, 7 Mar 2016 09:08:40 +0000 (03:08 -0600)] 
Bump some extensions to AV2 and add descriptions

8 years agomodules: Add AV2 description to m_xline
Andrew Wilcox [Mon, 7 Mar 2016 08:54:54 +0000 (02:54 -0600)] 
modules: Add AV2 description to m_xline

8 years agomodules: Add AV2 descriptions for m_w* modules
Andrew Wilcox [Mon, 7 Mar 2016 08:53:27 +0000 (02:53 -0600)] 
modules: Add AV2 descriptions for m_w* modules

8 years agom_time and m_user: Fix small typo
Andrew Wilcox [Mon, 7 Mar 2016 08:53:16 +0000 (02:53 -0600)] 
m_time and m_user: Fix small typo

8 years agoAV2 descriptions for m_[no]*
Elizabeth Myers [Mon, 7 Mar 2016 08:45:37 +0000 (02:45 -0600)] 
AV2 descriptions for m_[no]*

8 years agomodules: Add AV2 description to m_version
Andrew Wilcox [Mon, 7 Mar 2016 08:45:00 +0000 (02:45 -0600)] 
modules: Add AV2 description to m_version

8 years agomodules: Add AV2 descriptions to all m_u* modules
Andrew Wilcox [Mon, 7 Mar 2016 08:43:11 +0000 (02:43 -0600)] 
modules: Add AV2 descriptions to all m_u* modules

8 years agom_map: oops...
Elizabeth Myers [Mon, 7 Mar 2016 08:37:33 +0000 (02:37 -0600)] 
m_map: oops...

8 years agoAdd AV2 descriptions to m_[l-m]*
Elizabeth Myers [Mon, 7 Mar 2016 08:34:00 +0000 (02:34 -0600)] 
Add AV2 descriptions to m_[l-m]*

8 years agomodules: Add AV2 descriptions to all m_t* modules
Andrew Wilcox [Mon, 7 Mar 2016 08:27:32 +0000 (02:27 -0600)] 
modules: Add AV2 descriptions to all m_t* modules

8 years agoDo AV2 descriptions for m_[i-k]*
Elizabeth Myers [Mon, 7 Mar 2016 08:11:50 +0000 (02:11 -0600)] 
Do AV2 descriptions for m_[i-k]*

8 years agom_invite: update for AV2
Elizabeth Myers [Mon, 7 Mar 2016 08:09:21 +0000 (02:09 -0600)] 
m_invite: update for AV2

8 years agomodules: Add AV2 descriptions to all m_s* modules
Andrew Wilcox [Mon, 7 Mar 2016 08:05:28 +0000 (02:05 -0600)] 
modules: Add AV2 descriptions to all m_s* modules

8 years agoDo AV2 strings for m_[d-h]*
Elizabeth Myers [Mon, 7 Mar 2016 07:59:08 +0000 (01:59 -0600)] 
Do AV2 strings for m_[d-h]*

8 years agomodules: Add AV2 descriptions to all m_r* modules
Andrew Wilcox [Mon, 7 Mar 2016 07:52:45 +0000 (01:52 -0600)] 
modules: Add AV2 descriptions to all m_r* modules

8 years agoAdd AV2 descriptions to all m_c* modules.
Elizabeth Myers [Mon, 7 Mar 2016 07:52:16 +0000 (01:52 -0600)] 
Add AV2 descriptions to all m_c* modules.

8 years agomodules: Add AV2 descriptions to all m_p* modules
Andrew Wilcox [Mon, 7 Mar 2016 07:47:40 +0000 (01:47 -0600)] 
modules: Add AV2 descriptions to all m_p* modules

8 years agoDo a few more AV2 descriptions in modules.
Elizabeth Myers [Mon, 7 Mar 2016 07:38:14 +0000 (01:38 -0600)] 
Do a few more AV2 descriptions in modules.

8 years agoexample_module: forgot a stupid semicolon.
Elizabeth Myers [Mon, 7 Mar 2016 07:35:35 +0000 (01:35 -0600)] 
example_module: forgot a stupid semicolon.

8 years agochm_noctcp: add AV2 string
Elizabeth Myers [Mon, 7 Mar 2016 07:32:19 +0000 (01:32 -0600)] 
chm_noctcp: add AV2 string

8 years agochm_nocolour: add AV2 docs
Elizabeth Myers [Mon, 7 Mar 2016 07:31:27 +0000 (01:31 -0600)] 
chm_nocolour: add AV2 docs

8 years agoexample_module: update for AV2.
Elizabeth Myers [Mon, 7 Mar 2016 07:27:57 +0000 (01:27 -0600)] 
example_module: update for AV2.

8 years agoMerge branch 'awilfox-av2desc'
Elizabeth Myers [Mon, 7 Mar 2016 07:21:11 +0000 (01:21 -0600)] 
Merge branch 'awilfox-av2desc'

8 years agoMerge branch 'av2desc' of https://github.com/awilfox/charybdis into awilfox-av2desc
Elizabeth Myers [Mon, 7 Mar 2016 07:20:49 +0000 (01:20 -0600)] 
Merge branch 'av2desc' of https://github.com/awilfox/charybdis into awilfox-av2desc

8 years agom_quit: add desc string
Elizabeth Myers [Mon, 7 Mar 2016 07:17:30 +0000 (01:17 -0600)] 
m_quit: add desc string

8 years agoAdd more core module descriptions
Elizabeth Myers [Mon, 7 Mar 2016 07:16:24 +0000 (01:16 -0600)] 
Add more core module descriptions

8 years agocore/m_squit: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:09:07 +0000 (01:09 -0600)] 
core/m_squit: Add AV2 description

8 years agocore/m_server: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:06:35 +0000 (01:06 -0600)] 
core/m_server: Add AV2 description

8 years agocore/m_quit: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:05:02 +0000 (01:05 -0600)] 
core/m_quit: Add AV2 description

8 years agocore/m_part: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:02:19 +0000 (01:02 -0600)] 
core/m_part: Add AV2 description

8 years agocap_server_time: update doodads for AV2
Elizabeth Myers [Mon, 7 Mar 2016 07:05:24 +0000 (01:05 -0600)] 
cap_server_time: update doodads for AV2

8 years agocap_account_tag: migrate CAP reg/desc to AV2
Elizabeth Myers [Mon, 7 Mar 2016 07:01:48 +0000 (01:01 -0600)] 
cap_account_tag: migrate CAP reg/desc to AV2