aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* Require maxhost to be at least 45 characters to fit IPv6 addresses.Gravatar Sadie Powell2026-01-201-1/+1
* Allow not setting the CA file in ssl_openssl.•••This matches the behaviour of ssl_gnutls. Gravatar Sadie Powell2025-11-021-1/+1
* Avoid the use of ConvToStr in string concatenation.•••This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually. Gravatar Sadie Powell2025-03-011-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
* Use INSP_FORMAT in ExpandPath.Gravatar Sadie Powell2025-02-161-3/+3
* Fix expanding paths on portable installations.•••Closes #2148. Gravatar Sadie Powell2025-02-151-1/+9
* Convert debug logging from string concatenation to format strings.•••When running in normal mode this will prevent a bunch of expensive string concatenation. Gravatar Sadie Powell2025-01-231-1/+1
* Merge branch 'insp3' into insp4.Gravatar Sadie Powell2024-10-101-0/+1
|\
| * When a server stops being ulined remove its users from the uline list.Gravatar Sadie Powell2024-10-101-0/+1
* | Add a formatting overload to {Membership,User}::Write(Remote)Notice.Gravatar Sadie Powell2024-08-181-1/+1
* | Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
* | Fix a minor print safety issue in configreader.Gravatar Sadie Powell2024-06-131-1/+1
* | Rename regex_pcre back to regex_pcre2.•••This rename happened before we had config compatibility and it doesn't make sense to keep it anymore. Gravatar Sadie Powell2024-06-071-2/+2
* | Update copyright headers.Gravatar InspIRCd Robot2024-06-071-7/+3
* | Make passwords for oper accounts optional.•••This allows restricting an oper account based on other data such as TLS fingerprint or services account but without logging them in automatically like autologin. Gravatar Sadie Powell2024-05-161-3/+6
* | Rename some of the Module member variables.Gravatar Sadie Powell2024-03-041-1/+1
* | Merge the topiclock module into the services module.Gravatar Sadie Powell2024-02-271-0/+2
* | Merge the mlock module into the services module.Gravatar Sadie Powell2024-02-271-0/+2
* | Add an option for including the setter's full mask in list modes.Gravatar Sadie Powell2023-09-211-0/+1
* | Rename <options:hostintopic> to <options:maskintopic>.•••This option stores the user *mask* not the user host so the old name is incorrect. Gravatar Sadie Powell2023-09-211-1/+1
* | Rename the namesx module to multiprefix.•••Now the module only implements the IRCv3 capability this is a more accurate name. If users want the protoctl method they can install the protoctl module from contrib as before. Gravatar Sadie Powell2023-08-141-0/+2
* | Rename the error log level to critical.•••"ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions. Gravatar Sadie Powell2023-08-111-2/+2
* | Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-9/+9
* | Move stdalgo::string::join to utility/string and templatise separator.Gravatar Sadie Powell2023-08-111-1/+2
* | Make config file cache invalidation more useful.Gravatar Sadie Powell2023-08-061-5/+5
* | Also allow suffixing with -line[d] if an X-line is two characters.•••This makes things easier for modules like require_auth in contrib which has a GA-line. Gravatar Sadie Powell2023-07-251-2/+2
* | Make the X-line quit message format a lot more flexible.Gravatar Sadie Powell2023-07-211-1/+2
* | Simplify the codes that InspIRCd can exit with.•••The custom codes that InspIRCd exits with are not very useful and can confuse init systems like systemd which assume that certain exit codes mean certain things. INSPIRCD_BINARY_EXIT was a workaround for this in v3 but considering thatsers have to check the logs anyway so we may as well just use EXIT_SUCCESS and EXIT_FAILURE. Gravatar Sadie Powell2023-07-131-2/+1
* | Fix some issues with ReadFile.•••- Fix invalidating invoking undefined behaviour when a file is not already cached. - Fix memory corruption caused by assigning a bool to a string. Gravatar Sadie Powell2023-07-121-4/+6
* | Remove rang and use fmtlib for printing coloured messages.•••This supports more platforms (e.g. Haiku) and is actually still maintained unlike the former. All of this code should really be cleaned up for release (maybe by adding something like Anope's LOG_CONSOLE) but for now I've just replaced it with the fmtlib equivalent. Gravatar Sadie Powell2023-07-121-2/+3
* | Replace FileReader with something more sensible.Gravatar Sadie Powell2023-07-031-0/+45
* | Make MaxTargets a size_t.Gravatar Sadie Powell2023-07-031-1/+1
* | Refactor the ServerConfig class.•••All fields are now ordered in the most memory efficient way and all public fields use the correct case. Every member has been redocumented to match the current documentation style. Gravatar Sadie Powell2023-07-031-2/+1
* | Move ServerLimits inside ServerConfig.Gravatar Sadie Powell2023-07-031-1/+1
* | Merge the svshold module into the services module.Gravatar Sadie Powell2023-07-011-0/+2
* | Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-1/+1
* | Fix "auto" not being a valid options for <options:defaultbind>.•••This fell back to the correct value but created a spurious message in the server log. Gravatar Sadie Powell2023-06-071-2/+4
* | Allow customising the message shown when hiding an X-line ban.Gravatar Sadie Powell2023-04-181-1/+1
* | Remove GetSID, rename sid to ServerId.Gravatar Sadie Powell2023-02-281-6/+6
* | Load both help and helpmode if a user has helpop in their config.Gravatar Sadie Powell2023-02-271-0/+5
* | Merge the servprotect module into the services module.Gravatar Sadie Powell2023-02-191-0/+2
* | Make reading the core config less of a mess.Gravatar Sadie Powell2023-01-271-60/+66
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-17/+17
* | Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-4/+4
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-6/+5
* | Move NotifyRawIO to the Log namespace.Gravatar Sadie Powell2023-01-221-1/+1
* | Convert various enums to strongly typed scoped enums.Gravatar Sadie Powell2023-01-221-1/+1
* | Allow creating a FailedPort without a bindspec.Gravatar Sadie Powell2023-01-171-2/+4
* | Store the actual error in FailedPort instead of an error code.Gravatar Sadie Powell2023-01-161-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-131-3/+3
|\|