]>
jfr.im git - solanum.git/log
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.
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
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 .
Elizabeth Myers [Thu, 10 Mar 2016 08:37:52 +0000 (02:37 -0600)]
[ci skip] remove useless bit in auth.h
Elizabeth Myers [Thu, 10 Mar 2016 07:59:37 +0000 (01:59 -0600)]
auth: minor changes
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.
Elizabeth Myers [Thu, 10 Mar 2016 00:53:08 +0000 (18:53 -0600)]
m_error: use strncasecmp, not strcmp
Elizabeth Myers [Wed, 9 Mar 2016 23:19:16 +0000 (17:19 -0600)]
m_stats: eliminate special casing of calling the stats L handler.
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.
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™.
Elizabeth Myers [Wed, 9 Mar 2016 08:19:31 +0000 (02:19 -0600)]
More bool conversions
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
Elizabeth Myers [Wed, 9 Mar 2016 08:10:23 +0000 (02:10 -0600)]
Fix m_xline [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:06:21 +0000 (02:06 -0600)]
More bool conversions [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 08:06:21 +0000 (02:06 -0600)]
More bool conversions [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]
Elizabeth Myers [Wed, 9 Mar 2016 08:00:40 +0000 (02:00 -0600)]
More bool conversions
Elizabeth Myers [Wed, 9 Mar 2016 07:44:45 +0000 (01:44 -0600)]
m_close: remove dangling return [ci skip]
Elizabeth Myers [Wed, 9 Mar 2016 07:44:05 +0000 (01:44 -0600)]
m_chghost: convert more stuff to bool [ci skip]
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
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.
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
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!
Andrew Wilcox [Wed, 9 Mar 2016 07:08:23 +0000 (01:08 -0600)]
core/m_error: Be consistent in strncmp usage
William Pitcock [Tue, 8 Mar 2016 19:52:48 +0000 (13:52 -0600)]
ircd: further cleanup of YES/NO
William Pitcock [Tue, 8 Mar 2016 19:47:41 +0000 (13:47 -0600)]
ircd: fix up some iwarn() calls which referred to L_MAIN
William Pitcock [Tue, 8 Mar 2016 19:46:19 +0000 (13:46 -0600)]
modules: using labs() for date math is unsafe
William Pitcock [Tue, 8 Mar 2016 19:45:29 +0000 (13:45 -0600)]
s_conf: remove YES/NO references
Elizabeth Myers [Tue, 8 Mar 2016 11:06:29 +0000 (05:06 -0600)]
s_user: clean up return types and can YES/NO.
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.
Elizabeth Myers [Tue, 8 Mar 2016 10:40:46 +0000 (04:40 -0600)]
Remove another silly outdated comment [ci skip]
Elizabeth Myers [Tue, 8 Mar 2016 10:40:19 +0000 (04:40 -0600)]
m_svinfo: remove outdated comment
Elizabeth Myers [Tue, 8 Mar 2016 10:38:42 +0000 (04:38 -0600)]
m_stats: kill O(n) lookup on stats.
Elizabeth Myers [Tue, 8 Mar 2016 09:59:30 +0000 (03:59 -0600)]
More mailmap entries
Elizabeth Myers [Tue, 8 Mar 2016 09:50:59 +0000 (03:50 -0600)]
Update mailmap for my emails past and present.
Elizabeth Myers [Tue, 8 Mar 2016 09:25:21 +0000 (03:25 -0600)]
dns: prune worthless function.
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.
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.
Elizabeth Myers [Tue, 8 Mar 2016 01:54:25 +0000 (19:54 -0600)]
blacklist: clean up some of my old code
Elizabeth Myers [Tue, 8 Mar 2016 01:04:24 +0000 (19:04 -0600)]
Convert 2.8 style ToUpper/ToLower names to irctoupper/irctolower
Elizabeth Myers [Tue, 8 Mar 2016 00:52:50 +0000 (18:52 -0600)]
Rename RATBOX_PROFILE to RB_PROFILE.
Elizabeth Myers [Tue, 8 Mar 2016 00:10:22 +0000 (18:10 -0600)]
Add ircd serials to AV2.
Elizabeth Myers [Tue, 8 Mar 2016 00:00:13 +0000 (18:00 -0600)]
Try to fix stupid build error on Travis
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.
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.
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
Max Teufel [Mon, 7 Mar 2016 17:48:14 +0000 (18:48 +0100)]
extensions: add umode_noctcp extension
Elizabeth Myers [Mon, 7 Mar 2016 11:15:35 +0000 (05:15 -0600)]
Makefile.am: make git serno generation a little nicer.
Elizabeth Myers [Mon, 7 Mar 2016 11:01:31 +0000 (05:01 -0600)]
Change some RATBOX_FOO defines to CHARYBDIS_FOO.
Elizabeth Myers [Mon, 7 Mar 2016 10:13:01 +0000 (04:13 -0600)]
AV2 description: forgot this one too
Elizabeth Myers [Mon, 7 Mar 2016 10:11:51 +0000 (04:11 -0600)]
AV2 descriptions: forgot these
Elizabeth Myers [Mon, 7 Mar 2016 10:09:14 +0000 (04:09 -0600)]
Update extensions/spy_* with AV2 descriptions.
Elizabeth Myers [Mon, 7 Mar 2016 10:02:27 +0000 (04:02 -0600)]
Add AV2 descriptions for extensions/sno_*
Elizabeth Myers [Mon, 7 Mar 2016 09:50:03 +0000 (03:50 -0600)]
Port some more extensions to AV2 and add descriptions
Elizabeth Myers [Mon, 7 Mar 2016 09:42:43 +0000 (03:42 -0600)]
Compensate for my obviously diminished faculties.
Elizabeth Myers [Mon, 7 Mar 2016 09:40:51 +0000 (03:40 -0600)]
Give all extensions/m_* modules AV2 descriptions
Elizabeth Myers [Mon, 7 Mar 2016 09:15:50 +0000 (03:15 -0600)]
m_starttls: fix fucked-up merge
Elizabeth Myers [Mon, 7 Mar 2016 09:14:02 +0000 (03:14 -0600)]
m_starttls: port to AV2 caps stuff
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
Elizabeth Myers [Mon, 7 Mar 2016 09:08:40 +0000 (03:08 -0600)]
Bump some extensions to AV2 and add descriptions
Andrew Wilcox [Mon, 7 Mar 2016 08:54:54 +0000 (02:54 -0600)]
modules: Add AV2 description to m_xline
Andrew Wilcox [Mon, 7 Mar 2016 08:53:27 +0000 (02:53 -0600)]
modules: Add AV2 descriptions for m_w* modules
Andrew Wilcox [Mon, 7 Mar 2016 08:53:16 +0000 (02:53 -0600)]
m_time and m_user: Fix small typo
Elizabeth Myers [Mon, 7 Mar 2016 08:45:37 +0000 (02:45 -0600)]
AV2 descriptions for m_[no]*
Andrew Wilcox [Mon, 7 Mar 2016 08:45:00 +0000 (02:45 -0600)]
modules: Add AV2 description to m_version
Andrew Wilcox [Mon, 7 Mar 2016 08:43:11 +0000 (02:43 -0600)]
modules: Add AV2 descriptions to all m_u* modules
Elizabeth Myers [Mon, 7 Mar 2016 08:37:33 +0000 (02:37 -0600)]
m_map: oops...
Elizabeth Myers [Mon, 7 Mar 2016 08:34:00 +0000 (02:34 -0600)]
Add AV2 descriptions to m_[l-m]*
Andrew Wilcox [Mon, 7 Mar 2016 08:27:32 +0000 (02:27 -0600)]
modules: Add AV2 descriptions to all m_t* modules
Elizabeth Myers [Mon, 7 Mar 2016 08:11:50 +0000 (02:11 -0600)]
Do AV2 descriptions for m_[i-k]*
Elizabeth Myers [Mon, 7 Mar 2016 08:09:21 +0000 (02:09 -0600)]
m_invite: update for AV2
Andrew Wilcox [Mon, 7 Mar 2016 08:05:28 +0000 (02:05 -0600)]
modules: Add AV2 descriptions to all m_s* modules
Elizabeth Myers [Mon, 7 Mar 2016 07:59:08 +0000 (01:59 -0600)]
Do AV2 strings for m_[d-h]*
Andrew Wilcox [Mon, 7 Mar 2016 07:52:45 +0000 (01:52 -0600)]
modules: Add AV2 descriptions to all m_r* modules
Elizabeth Myers [Mon, 7 Mar 2016 07:52:16 +0000 (01:52 -0600)]
Add AV2 descriptions to all m_c* modules.
Andrew Wilcox [Mon, 7 Mar 2016 07:47:40 +0000 (01:47 -0600)]
modules: Add AV2 descriptions to all m_p* modules
Elizabeth Myers [Mon, 7 Mar 2016 07:38:14 +0000 (01:38 -0600)]
Do a few more AV2 descriptions in modules.
Elizabeth Myers [Mon, 7 Mar 2016 07:35:35 +0000 (01:35 -0600)]
example_module: forgot a stupid semicolon.
Elizabeth Myers [Mon, 7 Mar 2016 07:32:19 +0000 (01:32 -0600)]
chm_noctcp: add AV2 string
Elizabeth Myers [Mon, 7 Mar 2016 07:31:27 +0000 (01:31 -0600)]
chm_nocolour: add AV2 docs
Elizabeth Myers [Mon, 7 Mar 2016 07:27:57 +0000 (01:27 -0600)]
example_module: update for AV2.
Elizabeth Myers [Mon, 7 Mar 2016 07:21:11 +0000 (01:21 -0600)]
Merge branch '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
Elizabeth Myers [Mon, 7 Mar 2016 07:17:30 +0000 (01:17 -0600)]
m_quit: add desc string
Elizabeth Myers [Mon, 7 Mar 2016 07:16:24 +0000 (01:16 -0600)]
Add more core module descriptions
Andrew Wilcox [Mon, 7 Mar 2016 07:09:07 +0000 (01:09 -0600)]
core/m_squit: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:06:35 +0000 (01:06 -0600)]
core/m_server: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:05:02 +0000 (01:05 -0600)]
core/m_quit: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 07:02:19 +0000 (01:02 -0600)]
core/m_part: Add AV2 description
Elizabeth Myers [Mon, 7 Mar 2016 07:05:24 +0000 (01:05 -0600)]
cap_server_time: update doodads for AV2
Elizabeth Myers [Mon, 7 Mar 2016 07:01:48 +0000 (01:01 -0600)]
cap_account_tag: migrate CAP reg/desc to AV2
William Pitcock [Mon, 7 Mar 2016 06:58:54 +0000 (00:58 -0600)]
Merge pull request #158 from awilfox/av2desc
Add AV2 descriptions to core modules
Andrew Wilcox [Mon, 7 Mar 2016 06:57:05 +0000 (00:57 -0600)]
core/m_message: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 06:56:08 +0000 (00:56 -0600)]
core/m_kill: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 06:55:36 +0000 (00:55 -0600)]
core/m_kick: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 06:52:50 +0000 (00:52 -0600)]
core/m_join: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 06:48:48 +0000 (00:48 -0600)]
core/m_die: Add AV2 description
Andrew Wilcox [Mon, 7 Mar 2016 06:46:56 +0000 (00:46 -0600)]
core/m_ban: Add AV2 description
William Pitcock [Mon, 7 Mar 2016 06:31:41 +0000 (00:31 -0600)]
extensions: add AV2 description strings to a few modules
Elizabeth Myers [Mon, 7 Mar 2016 06:23:30 +0000 (00:23 -0600)]
librb: it's pretty obvious this has been updated since 2008.
Add code to properly generate SERNO accordingly.