Sadie Powell
8486962fef
Merge branch '2.0' into 2.1.
2025-02-11 13:52:53 +00:00
Sadie Powell
1f7aa241bb
Prioritise operserv/ignore above other modules.
...
Closes #471 .
2025-02-11 13:48:11 +00:00
Sadie Powell
e3abae44a7
Make email confirmation a bit smarter.
2025-02-11 11:57:34 +00:00
Sadie Powell
a8be208da1
Add some options to botserv/botlist to make admining easier.
2025-02-07 01:14:12 +00:00
Sadie Powell
abbb602463
Fix SASL on UnrealIRCd.
2025-02-06 19:01:10 +00:00
Sadie Powell
86805a6b3b
Add the bot real name to the botlist info.
...
This is actually shown by modern clients so its useful info.
2025-02-05 19:56:55 +00:00
Sadie Powell
5d9344b677
Fix the pluralisation of a message in bs_info.
2025-02-05 19:38:36 +00:00
Sadie Powell
8d3755af5b
Use fallback certs when doing SASL authentication.
2025-02-05 13:45:15 +00:00
Sadie Powell
115c9eb5a0
Merge the SASL data and ext parameters.
...
There might be more than this so its better to just store it in a
1+ parameter vector.
2025-02-05 13:45:15 +00:00
Sadie Powell
ee18083bb7
Make it easier to fail and delete SASL sessions.
2025-02-05 12:49:29 +00:00
Sadie Powell
3af8f35d3a
Import more data from Atheme.
2025-02-05 00:46:52 +00:00
Sadie Powell
d460b267e3
Reject passwords bigger than Bcrypt can handle.
2025-01-25 17:54:49 +00:00
Sadie Powell
9bab54af79
Qualify a use of auto.
2025-01-17 23:54:53 +00:00
Sadie Powell
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +00:00
Sadie Powell
da7f47c1c7
Update the copyright headers for 2025.
2025-01-14 13:30:07 +00:00
Sadie Powell
9d165f13e7
Allow skipping user modes in keepmodes.
2025-01-13 15:35:13 +00:00
Sadie Powell
3582bc0f58
Move keepmodes to its own module.
2025-01-13 15:10:31 +00:00
Sadie Powell
97589e5c62
Enable activate_on_set by default.
2025-01-13 14:38:15 +00:00
Sadie Powell
098074ba8b
Add an option to re-cloak opers on logout.
...
Closes : #421
2025-01-13 14:36:55 +00:00
Sadie Powell
c680cb6c58
Fix the build error introduced in the previous commit.
...
TODO: learn to spell `git add` correctly.
2025-01-10 14:42:16 +00:00
Sadie Powell
a603f39b4b
Warn users of the old InspIRCd protocol that support is deprecated.
...
We will drop this later in the year when that branch goes EOL.
2025-01-10 13:59:49 +00:00
Sadie Powell
78b548628c
Add example code for how to validate SHA2 passwords in PHP.
2024-12-15 13:23:31 +00:00
Sadie Powell
6ba0224f7b
Use a more useful setting example in os_config.
2024-12-12 17:11:41 +00:00
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