Sadie Powell
51c7a15c45
Bump for 2.1.15-git.
2025-05-02 09:52:40 +01:00
Sadie Powell
b51c6453ae
Release 2.1.14.
2025-05-02 09:52:40 +01:00
Sadie Powell
046fa5c848
Show the reason why a config file failed to open.
2025-04-27 14:16:10 +01:00
Sadie Powell
551f3504c8
Fix broken handling of colour codes in LineWrapper.
...
Closes #504 .
2025-04-27 13:01:29 +01:00
Sadie Powell
459c7947ce
Fix skipping lone $ values within config values.
2025-04-24 12:48:48 +01:00
Sadie Powell
fad0a4a0e8
Add support for hashing operator passwords in the config.
...
Closes #327 .
2025-04-24 12:46:58 +01:00
Sadie Powell
1630ccedb1
Remove some double lookups in User::BadPassword.
2025-04-24 11:59:21 +01:00
Sadie Powell
627b89ec7b
Fix a minor regression in serialising channel data.
2025-04-23 17:33:01 +01:00
Sadie Powell
f362959834
Fix splitting in the middle of some command names.
2025-04-22 18:16:31 +01:00
Sadie Powell
f5a85c69d2
Remove time from the name of some variables where its obvious.
2025-04-19 22:53:49 +01:00
Sadie Powell
70bf013ef0
Allow syntax messages to take a predicate.
2025-04-19 16:54:26 +01:00
Sadie Powell
d815906393
Get rid of the internal block wrapper.
...
This only existed for compatibility with old 2.0 modules and 2.1
has already broken compatibility with them.
2025-04-19 12:49:06 +01:00
Sadie Powell
fa7ed12aad
Use a duration string when telling people to wait before emailing.
2025-04-16 03:00:52 +01:00
Sadie Powell
ad0b4d1aa0
Rename TextSplitter to LineWrapper.
2025-04-16 01:53:50 +01:00
Sadie Powell
74e9a9d2fe
Automatically wrap the help output.
2025-04-16 01:50:59 +01:00
Sadie Powell
d2aee394ea
Fix a compiler warning on Clang.
2025-04-16 00:14:46 +01:00
Sadie Powell
3e696fae0f
Reduce the maximum line length from 120 to 100.
...
This should fit on user screens a bit better.
2025-04-16 00:07:33 +01:00
Sadie Powell
a883b616a1
Automatically line wrap messages sent by services.
2025-04-15 19:30:59 +01:00
Sadie Powell
d04a312d0d
Add Anope::Templace and switch all template strings to use it.
2025-04-14 11:31:19 +01:00
Sadie Powell
9351debd73
Expand GetQueryCommand to take a command name.
2025-04-10 13:34:25 +01:00
Sadie Powell
ddd33e65b4
Add a log message for when we receive a weirdly targeted message.
2025-04-05 07:11:54 +01:00
Sadie Powell
d019da673d
Replace NormalizeBuffer implementation with the one from InspIRCd.
...
This is more robust and will handle more formatting code types.
2025-04-02 17:04:47 +01:00
Sadie Powell
404bf77ef5
Add a message handler for messages that can be safely ignored.
2025-04-02 13:17:38 +01:00
Sadie Powell
698dd78ef8
Merge branch '2.0' into 2.1.
2025-04-02 10:09:58 +01:00
Sadie Powell
0b36ddfaf3
Fix building on old versions of RHEL.
2025-04-02 09:58:49 +01:00
Sadie Powell
947ddc9e1b
Fix building on CMake 4.
...
This is a partial backport from 2.1.
2025-04-02 09:53:10 +01:00
Sadie Powell
c21f6ac597
Bump for 2.1.14-git.
2025-04-01 11:06:38 +01:00
Sadie Powell
390d0482fc
Release 2.1.13.
2025-04-01 11:04:29 +01:00
Sadie Powell
a154532e98
Use insert_or_assign when creating ChannelInfo instances.
2025-03-30 12:42:18 +01:00
Sadie Powell
0802d9d3ff
Reference accounts in the database by their id not their nick.
2025-03-30 11:57:47 +01:00
Sadie Powell
8d3b8c08b3
Add NickAlias::FindId.
2025-03-30 11:04:46 +01:00
Sadie Powell
f3e5ccf353
Initialize ChannelInfo in the Modern C++ way.
2025-03-26 11:23:05 +00:00
Sadie Powell
b5213d5a81
Initialize Channel in the Modern C++ way.
2025-03-26 11:08:02 +00:00
Sadie Powell
ecbf53ba6c
Allow customising the length at which lines are wrapped after.
...
Closes #485 .
2025-03-22 07:33:02 +00:00
Sadie Powell
6d72fd67d8
Improve logging about the protocol module on startup.
2025-03-19 13:37:11 +00:00
Sadie Powell
e86fa67e38
Use a set instead of a vector for storing memo ignores.
2025-03-19 10:12:02 +00:00
Sadie Powell
4700d48b35
Import a slightly modified version of mkauthors from InspIRCd.
2025-03-16 12:16:02 +00:00
Sadie Powell
30593321f4
Fix getting the IP of a user in CommandSource.
2025-03-15 21:08:49 +00:00
Sadie Powell
3b35199a53
Add NickCore::FindId for finding an account by its id.
2025-03-15 21:08:26 +00:00
Sadie Powell
9f8525e3b2
Refactor the TIME handler.
2025-03-13 10:47:18 +00:00
Sadie Powell
9ec3f6abd6
Refactor and redocument Serialize::Type.
2025-03-12 16:52:46 +00:00
Sadie Powell
e7b18609f6
Add defines for the core serialisation type names.
2025-03-12 15:53:52 +00:00
Sadie Powell
cdcf0e2f9a
Move serialization from Serializable to a Serialize::Type child.
2025-03-12 15:53:52 +00:00
Sadie Powell
2276c62ff0
Move serialization data type logic from sql.h to the core.
2025-03-12 00:16:15 +00:00
Sadie Powell
fb0ee27df0
Save the databases on SIGUSR1.
2025-03-12 00:16:15 +00:00
Sadie Powell
b14befc77c
Fix an outdated comment.
2025-03-10 13:10:13 +00:00
Sadie Powell
6e90a8ea55
Don't tell users that services is shutting down when its restarting.
2025-03-09 18:56:27 +00:00
Sadie Powell
6d7fe69cdf
Add support for oper-only quit messages.
...
This currently only works on InspIRCd but I believe that other
servers also support this.
2025-03-09 18:51:03 +00:00
Sadie Powell
badcf31499
Make config variables a lot more useful.
...
- Config variables now no longer conflict with regular values.
- Config variables can now be read from the environment.
(e.g. ${env.USER}).
- Config variables can now be used as partial values
(e.g. support@${network.domain})
2025-03-09 14:20:34 +00:00
Sadie Powell
62bfa33464
Rework how nickname protection works.
...
- Rename the command and module from kill to protect (this command
hasn't actually killed users in a long time).
- Replace QUICK/IMMED with a duration option.
2025-03-08 14:07:15 +00:00