Sadie Powell
b763b1e69e
Merge branch 'insp3' into master.
2022-07-19 17:00:23 +01:00
Sadie Powell
42b1429b37
Also use binary exit codes in places that terminate abruptly.
...
This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
2022-07-19 16:47:02 +01:00
Sadie Powell
a0850bc53f
Add methods for extracting specific regex captures.
2022-06-28 14:00:14 +01:00
Sadie Powell
968bf77eb4
Make dynamic a non-default header.
2022-06-26 17:06:22 +01:00
Sadie Powell
68fd81b319
Make clientprotocol{msg,event} and numericbuilder non-default headers.
2022-06-26 16:34:21 +01:00
Sadie Powell
8c59961acc
Move numeric helper classes to their own header.
2022-06-26 15:56:55 +01:00
Sadie Powell
89712e2e84
Move numerics to the source files where they are actually used.
2022-06-26 15:29:29 +01:00
Sadie Powell
255742d311
Make getEnum use the default instead of throwing.
2022-06-25 21:08:58 +01:00
Sadie Powell
a764d29de4
Centralise the logging of malformed config values.
2022-06-25 17:05:35 +01:00
Sadie Powell
fe9107c992
Modernize the syntax of various templates.
2022-06-23 21:22:04 +01:00
Sadie Powell
87f036ddf9
Fix the modehandlers array being bigger than necessary
...
We now pack the positions within this array so we can shrink it.
2022-06-23 15:34:23 +01:00
Sadie Powell
429b973af6
Add a basic function for templating strings.
2022-06-15 12:30:24 +01:00
Sadie Powell
b89a91f2e3
Use size_t instead of unsigned int
in ModeParser.
2022-06-11 12:22:34 +01:00
Sadie Powell
73c72a51c9
Move TokenList to inspstring.
2022-06-07 20:26:38 +01:00
Sadie Powell
1991211a67
Convert irc::find to use string_view.
2022-06-07 20:26:38 +01:00
Sadie Powell
3be039e332
Get rid of GetVersionString.
...
TODO: split fullversion/version into individual fields.
2022-05-17 18:28:16 +01:00
Sadie Powell
08b7167d0f
Mark Membership::GetRank() as constant.
2022-05-17 14:16:42 +01:00
Sadie Powell
c31e4c6a97
Add a typedef for a mode rank.
2022-05-17 13:45:18 +01:00
Sadie Powell
ec217059c3
Store a set of list mode pointers in Membership instead of characters.
2022-05-17 13:02:58 +01:00
Sadie Powell
bc2098a492
Require specifying the repeat argument of the Timer class.
2022-05-17 12:06:26 +01:00
Sadie Powell
337b0bedc3
Only give timers a trigger time when they're actually registered.
2022-05-17 11:36:02 +01:00
Sadie Powell
986d587ea4
Add the new account system.
...
This still relies on the old extensibles for now but we can change
that later.
2022-05-14 14:47:56 +01:00
Sadie Powell
83b1afdfad
Remove the old account system.
2022-05-14 13:50:29 +01:00
Sadie Powell
1a5af295be
Move unistd out of the global compat header.
2022-05-07 20:18:15 +01:00
Sadie Powell
507887f001
Get rid of entrypoint, specify the main function name directly.
2022-05-07 20:18:15 +01:00
Sadie Powell
ed95dcf44a
Remove unnecessary arguments to On(Post)Oper.
...
These are already accessible from the user object.
2022-05-07 18:01:43 +01:00
Sadie Powell
f7c041f560
Implement support for regex capture groups.
2022-05-06 15:53:08 +01:00
Sadie Powell
2ac42d8017
Fix various Doxygen comment issues.
2022-05-02 17:36:37 +01:00
Sadie Powell
21ad77d9f2
Flush logs every 15 minutes to avoid losing data.
2022-05-02 17:21:19 +01:00
Sadie Powell
7b40edc9af
Add a log method for stringifying a logging method.
2022-05-02 12:43:30 +01:00
Sadie Powell
ab5f93999c
Mark fields that take a Log::Engine* as non-null.
2022-05-01 22:55:26 +01:00
Sadie Powell
e23ee3fde1
Rewrite logging calls to use the new APIs.
2022-05-01 22:07:14 +01:00
Sadie Powell
c382faf9c9
Rewrite the entire logging system.
...
- Much cleaner API for writing to the log.
- Adds support for stderr and stdout logging to the core.
- Adds support for sql and syslog logging in modules.
2022-05-01 22:07:04 +01:00
Sadie Powell
0df16f0144
Delete the old logging system.
2022-05-01 21:44:54 +01:00
Sadie Powell
af1d0f6a4b
Slim down the globally included files.
2022-04-30 17:48:12 +01:00
Sadie Powell
0e83e79974
Enable support for UNIX socket listeners on Windows.
2022-04-30 16:26:31 +01:00
Sadie Powell
0e7883dd96
Format enums with an underlying type like classes.
2022-04-30 14:47:39 +01:00
Sadie Powell
0e660314c3
Make the extban enums 8-bit.
2022-04-29 22:07:42 +01:00
Sadie Powell
d7912e6a3e
Merge branch 'insp3' into master.
2022-04-29 11:24:05 +01:00
Sadie Powell
b36bfce84f
Release v3.13.0.
2022-04-28 18:50:30 +01:00
InspIRCd Robot
346ec99c43
Update copyright headers.
2022-04-28 18:49:16 +01:00
Sadie Powell
4f58176bc2
Merge branch 'insp3' into master.
2022-04-26 17:09:31 +01:00
Sadie Powell
d682f3f2c9
Only write to the pid file on boot.
...
Being able to change this after first boot is error prone and does
not work well on system-wide installs where the server needs root
to write the file.
Closes #566 .
2022-04-23 09:57:52 +01:00
Sadie Powell
c886bc0395
Remove a forward declaration for a non-existent type.
2022-04-21 22:51:14 +01:00
Sadie Powell
9fbcb685e8
Merge branch 'insp3' into master.
2022-04-21 16:32:29 +01:00
Sadie Powell
5d90fa4c6e
Mark the main loop as noreturn.
2022-04-21 09:20:33 +01:00
Sadie Powell
b122c182cc
Fix an outdated comment.
2022-04-20 23:57:04 +01:00
Sadie Powell
47515ac269
Fix a now outdated documentation comment.
2022-04-18 18:04:59 +01:00
Sadie Powell
d45fe55f0e
Constify the parameter arguments in ListModeBase's Tell* methods.
2022-04-17 14:57:41 +01:00
Sadie Powell
d856205432
Fix doxygen to include the public module header files.
2022-04-17 14:16:05 +01:00