Sadie Powell
ea8a692191
Add support for numerics associated with cs_set_misc entries.
...
This is mainly to allow the URL entry to use RPL_CHANNELURL.
2024-11-29 20:39:22 +00:00
Sadie Powell
3cbac4bcea
Update Send and Recv to use ssize_t instead of int.
2024-11-25 16:14:17 +00:00
Sadie Powell
e42b4c21b7
Use the Module * overload of GetModule() in the nickserv module.
2024-11-25 14:43:23 +00:00
Sadie Powell
ebea728957
Fix pluralising languages which use the same plural for 0 as 1.
2024-11-25 01:20:03 +00:00
Sadie Powell
233a5bf4cd
Add a missing override keyword.
2024-11-25 00:20:25 +00:00
Sadie Powell
7019b27e59
Rework how guest nicks work.
...
- Use the config setting as a string template instead of as a prefix.
- Allow users of IRCds that have UIDs to use that as the guest nick.
- Fall back to a UID before killing if a guest nick can not be found.
2024-11-25 00:08:30 +00:00
Sadie Powell
df7f0730dd
Fix the signon time of services pseudoclients on InspIRCd.
2024-11-23 20:24:08 +00:00
Sadie Powell
c3055e1cfa
Add a plural form overload of SendMessage.
2024-11-22 15:22:23 +00:00
Sadie Powell
a27be92e4b
Skip removed columns when migrating the database schema.
2024-11-22 14:09:26 +00:00
Sadie Powell
faf0ad5f35
Improve language selection.
...
- Allow selecting languages using an abbreviated language code
(e.g. en for en_US.UTF-8).
- Preprocess the language list on load as it never changes. This
allows us to stop special casing the English language.
2024-11-22 13:06:58 +00:00
Sadie Powell
687bcaa83f
Add a plural form overload of CommandSource::Reply.
2024-11-19 17:10:29 +00:00
Sadie Powell
1fb8a624f9
Make an untranslated string translatable.
2024-11-19 17:00:19 +00:00
Sadie Powell
b4b51d4828
Merge branch '2.0' into 2.1.
2024-11-19 00:40:24 +00:00
Sadie Powell
7083c424c2
Only process sockets after loading the db when using db_sql{_live}.
...
This avoids slow startups for the 95% of users who are using the
db_flatfile database backend.
2024-11-19 00:39:00 +00:00
Sadie Powell
c55d8450a4
Move the set option to its own module.
...
This is the first step of rewriting nickname protection.
2024-11-18 12:40:24 +00:00
Sadie Powell
240f8b9e50
Halt the column migration if any of the queries fail.
2024-11-16 12:13:17 +00:00
Sadie Powell
656ca80dd0
Migrate old SQL schemas to the current layout.
2024-11-16 03:45:03 +00:00
Sadie Powell
a7cbe2a139
Add default values to the MySQL tables and use when a column is null.
2024-11-14 13:00:03 +00:00
Sadie Powell
309c342b86
Use the remaining wait time in the registration delay message.
...
Closes #452 .
2024-11-13 11:56:50 +00:00
Sadie Powell
4de59d61d8
Use durations instead of seconds in waiting messages.
2024-11-13 11:56:11 +00:00
Sadie Powell
df1c6176b3
Merge branch '2.0' into 2.1.
2024-11-11 17:13:01 +00:00
Sadie Powell
96ccfe4cbe
Fix using User::Account where User::IsIdentified should be used.
...
The former causes a dereference which cause a database update. This
is not good for performance with db_sql_live on bigger networks.
2024-11-11 16:46:56 +00:00
Sadie Powell
613452acba
Remove an unnecessary function from db_sql_live.
2024-11-11 10:56:53 +00:00
Sadie Powell
9411dac991
Add a helper function to db_sql(_live) for getting a table name.
2024-11-11 10:44:20 +00:00
Sadie Powell
b6e4c7302e
Remove the integer width from chanstats and irc2sql columns.
...
These are ignored by MySQL so specifying them is meaningless.
2024-11-08 13:21:06 +00:00
Sadie Powell
b7590e20c1
Merge branch '2.0' into 2.1.
2024-11-08 13:10:16 +00:00
Sadie Powell
59647baff9
Avoid unnecessary string copies when calling IsFile.
2024-11-08 00:26:51 +00:00
Sadie Powell
98c840eb02
Expand the size of some chanstats columns.
...
Closes #444 .
2024-11-07 12:31:47 +00:00
Sadie Powell
8ee85efd70
Fix parsing mode changes from users on UnrealIRCd.
2024-10-25 14:50:04 +01:00
Sadie Powell
f1751dcb21
Replace usestrictprivmsg with something actually useful.
...
Every IRC server we support (other than Bahamut which is probably
on the chopping bock) uses UIDs so this setting does nothing.
Instead, allow configuring a server-side alias for each service
and use that when servicealias is enabled.
2024-10-22 16:29:22 +01:00
Sadie Powell
435ce51196
Move nickserv/set/message to a new module, kill options:useprivmsg.
2024-10-22 14:27:30 +01:00
Sadie Powell
8cb2b801e9
Use the target nick as the default desc for mask access entries.
2024-10-19 17:40:24 +01:00
Sadie Powell
66b45534a8
Deduplicate the access code in cs_statusupdate.
2024-10-19 12:17:33 +01:00
Sadie Powell
bc4d34ebd8
Merge branch '2.0' into 2.1
2024-10-18 11:50:54 +01:00
Sadie Powell
f40719787f
Fix a change that was missing from the previous commit.
2024-10-18 11:45:19 +01:00
Sadie Powell
934a13c21f
Merge branch '2.0' into 2.1.
2024-10-18 11:41:53 +01:00
Sadie Powell
e5602f956d
Fix marking channels as persistent on InspIRCd and UnrealIRCd.
2024-10-18 11:26:03 +01:00
Sadie Powell
de11a19e03
Updated the supported versions in the README.
2024-10-17 16:00:43 +01:00
Sadie Powell
b437468b84
Add support for name-only extbans on InspIRCd.
2024-10-16 13:06:47 +01:00
Sadie Powell
9a44b74186
Let the user know about their cert being auto-added to their account.
2024-10-11 18:55:22 +01:00
Sadie Powell
883935c3e0
Merge branch '2.0' into 2.1.
2024-10-11 16:55:36 +01:00
Sadie Powell
6d34054b78
Change the mode lock before removing/adding the PERM mode.
...
This fixes being unable to unset mlock on the first attempt.
2024-10-11 15:45:02 +01:00
Sadie Powell
3da9b6df0d
Fix matching stacked extbans.
2024-10-04 19:04:31 +01:00
Sadie Powell
0ab0e4737c
Remove some unnecessary debug logging.
2024-10-04 15:08:44 +01:00
Sadie Powell
cdf356ed33
Fix validating named extbans on UnrealIRCd.
2024-10-04 14:57:09 +01:00
Sadie Powell
7d268bb4ca
Implement NEXTBANS support on UnrealIRCd.
...
Closes #431 .
2024-10-04 13:25:44 +01:00
Sadie Powell
184350ff4a
Fix extracting the mode parameters from MODE on UnrealIRCd.
2024-10-04 13:25:10 +01:00
Sadie Powell
4cdbf560e1
Fix matching extended bans in services.
...
Extended bans are stored without their prefix. Therefore, we should
not try to strip their prefix before matching.
Closes #288 .
Co-authored-by: k4be <k4be@pirc.pl >
2024-10-04 13:01:29 +01:00
Sadie Powell
cbccc79d37
Fix parsing extbans on InspIRCd v4.
2024-10-04 11:40:40 +01:00
Sadie Powell
9b188a6c04
Respect EXTBANFORMAT on InspIRCd v4.
2024-10-04 11:20:19 +01:00