1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 15:44:46 +02:00

1810 Commits

Author SHA1 Message Date
Sadie Powell ca8fcbe119 Allow protocol modules to apply tags to sent messages.
This is useful because for some IRCv3 specifications we need to
apply tags to all messages and its annoying to have to do this
inline when sending each message.
2026-06-10 09:14:09 +01:00
Sadie Powell b9d0762f2b Add a function for building an ISO 8601 timestamp. 2026-06-10 09:14:09 +01:00
Sadie Powell a861a059f6 Fix the config parser using int for values that can not be negative. 2026-06-08 15:41:00 +01:00
Sadie Powell 90da25f84f Add Block::GetBlocks which returns an iterable list of blocks. 2026-06-08 15:39:28 +01:00
Sadie Powell ab362c9828 Pascalize some typedefs in Configuration::Block. 2026-06-08 14:17:30 +01:00
Kufat d1f6da1817 Allow specifying the order of ns_set_misc entries. 2026-06-08 09:36:18 +01:00
Sadie Powell 82b6da3763 Merge branch '2.0' into 2.1. 2026-05-26 10:48:07 +01:00
Sadie Powell 449cfa6503 Add EscapeDN and EscapeSF to the LDAP API. 2026-05-26 09:29:57 +01:00
Sadie Powell 59c60849b6 Remove hard coded references to default access levels. 2026-05-21 11:52:32 +01:00
Sadie Powell a856e80b1e Move migration messages to cs_flags, split non-migratable and non-migrated. 2026-05-15 09:06:02 +01:00
Sadie Powell 55746e1098 Fix users getting extra privileges when migrating to flags. 2026-05-15 08:43:03 +01:00
Sadie Powell f12b590a6d Change Timer::Tick to return bool, get rid of the repeating field. 2026-05-02 15:40:19 +01:00
Sadie Powell fd5e10c54c Fix an inverted default for should_commit. 2026-04-27 20:10:53 +01:00
Sadie Powell e2dc77641a Add some helper methods to CommandSource for translation. 2026-04-26 18:07:56 +01:00
Sadie Powell 040cd99027 Add more debug logging to db_json. 2026-04-23 19:08:55 +01:00
Sadie Powell 6c7977f239 Remove duplicate objects from corrupt databases on database write. 2026-04-23 19:08:55 +01:00
Sadie Powell 9b8570a2ee Banish Redis support to the shadow realm.
Nobody actually uses this and it hasn't been tested in years so it
a massive pain to maintain. It may be replaced with an alternate
NoSQL database such as MongoDB in the future.
2026-04-23 17:42:42 +01:00
Sadie Powell eaa24d3b0a Fix the location of &* on types. 2026-03-26 16:32:56 +00:00
Sadie Powell 5355b53008 Remove the remaining istream use in Data. 2026-03-26 16:32:56 +00:00
Sadie Powell 85a32077b5 Add Data::Load, make the istream operator private. 2026-03-26 14:35:31 +00:00
Sadie Powell 5006993d0a Make the hops parameter to Server optional. 2026-03-26 12:25:09 +00:00
Sadie Powell b199d74088 Fix the message counts in RPL_STATSLINKINFO. 2026-03-26 11:57:13 +00:00
Sadie Powell 7e2ef3774b Move NET_BUFSIZE to socket_transport. 2026-03-24 20:18:15 +00:00
Sadie Powell e002f39509 Abolish the few remaining uses of BUFSIZE. 2026-03-23 02:14:51 +00:00
Sadie Powell 074ad6556c Allow migrating access entries to the flags access system. 2026-03-16 19:18:59 +00:00
Sadie Powell a657cb5edf Move access entries for other access systems under an ALL option.
This should hopefully make it clearer that the access systems are
separate.
2026-03-16 19:18:35 +00:00
Sadie Powell 22a1924bfd Allow Command::FindCommandFromService to skip hidden commands. 2026-03-11 05:44:48 +00:00
Sadie Powell 9409560597 Tweak the layout and ergonomics the ExampleWrapper class. 2026-02-25 15:38:11 +00:00
Sadie Powell d0c2baeed4 Add a type for wrapping examples instead of using manual linewraps.
At a later date we should revise the examples for all commands for
consistency.
2026-02-24 18:21:44 +00:00
Sadie Powell f380b27ed3 Move fingerprints to their own table. 2026-02-22 17:03:32 +00:00
Sadie Powell 45496780f8 Add more configuration options to {cs,ns}_set_misc.
* Add titles which are separate from the command name.
* Add support for sending data entries as swhois.
* Add validation of data using regexps.
2026-02-19 16:36:29 +00:00
Sadie Powell 7242c740c8 Fix matching stacked extended bans. 2026-02-18 17:39:13 +00:00
Sadie Powell d43acc2381 Store modes as their object form in ModeStatus.
This has the side effect of preventing users from putting nonsense
modes in {botserv}:botmodes and other related fields.
2026-02-16 23:24:04 +00:00
Sadie Powell 5aeb078391 Revamp support for swhois. 2026-02-14 15:09:22 +00:00
Sadie Powell 7d7ca934b3 Fix some places that weren't updated for the new nbsp character. 2026-02-10 21:58:04 +00:00
Sadie Powell aef1925b1d Fix finding gettext on Windows.
Unfortunately we need to move our escape character from 0x1A to 0x1B
because newer versions of gettext treat the former as an EOF character.
2026-02-08 00:23:41 +00:00
Sadie Powell c3e62d3772 Improve the usability of adding hostmasks to access lists.
* When adding a user by their nickname check for their account
  instead of just adding their hostmask.

* Allow opting out of cleaning up of malformed hostmasks.
2026-01-28 19:47:56 +00:00
Sadie Powell 48bb6089fa Swap the mode and mask params to Entry and make the mode optional. 2026-01-26 18:57:29 +00:00
Sadie Powell 6e18030285 Improve the ban mask parsing in Entry. 2026-01-20 12:34:55 +00:00
Sadie Powell 172f443421 Improve the error messages when an access list is full. 2026-01-19 11:53:54 +00:00
Sadie Powell 792308ed5d Rename ChanUserContainer to Membership. 2026-01-14 17:17:37 +00:00
Sadie Powell bfb47ab5a6 Rework the interface for service references. 2026-01-10 21:23:23 +00:00
Sadie Powell 81aa37543e Merge branch '2.0' into 2.1. 2026-01-01 18:07:12 +00:00
Sadie Powell 4ac5cf89e3 Update the copyright headers for 2025. 2026-01-01 18:04:37 +00:00
Sadie Powell 05002301cc Fix a crash when clearing the entry message list. 2025-12-27 10:47:58 +00:00
Sadie Powell 1d18ba3358 Fix RequireVersion to use an unsigned integer. 2025-12-20 00:13:35 +00:00
Sadie Powell 0ae67cb371 Rename Serializable::id to object_id to avoid conflicts. 2025-12-20 00:13:35 +00:00
Sadie Powell 93e5b871e1 Version numbers should be unsigned. 2025-12-17 14:30:45 +00:00
Sadie Powell 0f433ebe9c Remove or fix various useless uses of const. 2025-12-17 14:10:42 +00:00
Sadie Powell 20a8fcc574 Stop inconsistently apologising in error messages. 2025-11-25 00:48:41 +00:00