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
Sadie Powell
2f74513246
Change User::SetModesInternal to take a split mode change.
2024-10-02 23:54:36 +01:00
Sadie Powell
8232759a92
Change Channel::SetModesInternal to take a split mode change.
2024-10-02 11:12:24 +01:00
Sadie Powell
f9e4ca4d06
Raise the default nickname expiry time to one year.
2024-10-01 11:31:50 +01:00
Sadie Powell
66c9be8627
Respect nonicknameownership on InspIRCd v4.
2024-09-26 19:38:44 +01:00
Sadie Powell
9fcb022d5e
Allow sending an oper account on InspIRCd.
2024-09-26 12:51:54 +01:00
Sadie Powell
ade8db023e
Bump minimum UnrealIRCd version to 6.0.
2024-09-24 19:56:13 +01:00
Sadie Powell
101c68f786
Fix the Argon2 module not having test vectors.
2024-09-04 23:50:01 +01:00
Sadie Powell
4e3720b810
Merge branch '2.0' into 2.1.
2024-09-01 09:43:38 +01:00
Sadie Powell
d352718a39
Fix parsing named extbans on InspIRCd.
2024-08-30 14:49:39 +01:00
Sadie Powell
b4e673b2f4
Refactor ns_getemail slightly.
2024-08-29 13:21:18 +01:00
Sadie Powell
58a78e9aa5
Allow server admins to require that a display nick drops last.
...
Closes #348 .
2024-08-29 13:14:39 +01:00
Sadie Powell
6da4a148fa
Fix translating mail:memo_message.
2024-08-24 12:27:05 +01:00
Sadie Powell
a3edb09eda
Use CanClearBans/SendClearBans when enforcing smartjoin.
2024-08-22 00:29:30 +01:00
Sadie Powell
136680f917
Fix the grammar of some info messages.
2024-08-18 03:17:33 +01:00
Sadie Powell
378ae21ac7
Add account identifier to nickserv/info output.
2024-08-18 01:19:39 +01:00
Sadie Powell
528b5938ec
Automatically determine SQL column type from the field.
...
Also add more column types to ensure we are storing data in the
best format in the database.
2024-08-14 05:47:55 +01:00