aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.Gravatar Sadie Powell2025-02-151-1/+9
| | | | Closes #2148.
* Convert debug logging from string concatenation to format strings.Gravatar Sadie Powell2025-01-231-1/+1
| | | | | When running in normal mode this will prevent a bunch of expensive string concatenation.
* 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.Gravatar Sadie Powell2024-06-071-2/+2
| | | | | | | | | | This rename happened before we had config compatibility and it doesn't make sense to keep it anymore.
* | Update copyright headers.Gravatar InspIRCd Robot2024-06-071-7/+3
| |
* | Make passwords for oper accounts optional.Gravatar Sadie Powell2024-05-161-3/+6
| | | | | | | | | | | | 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.
* | 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>.Gravatar Sadie Powell2023-09-211-1/+1
| | | | | | | | | | This option stores the user *mask* not the user host so the old name is incorrect.
* | Rename the namesx module to multiprefix.Gravatar Sadie Powell2023-08-141-0/+2
| | | | | | | | | | | | 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.
* | Rename the error log level to critical.Gravatar Sadie Powell2023-08-111-2/+2
| | | | | | | | | | "ERROR" is apparently defined by more than just Windows. Let's pick a different name which is less likely to cause collisions.
* | 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.Gravatar Sadie Powell2023-07-251-2/+2
| | | | | | | | | | This makes things easier for modules like require_auth in contrib which has a GA-line.
* | 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.Gravatar Sadie Powell2023-07-131-2/+1
| | | | | | | | | | | | | | 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.
* | Fix some issues with ReadFile.Gravatar Sadie Powell2023-07-121-4/+6
| | | | | | | | | | | | - Fix invalidating invoking undefined behaviour when a file is not already cached. - Fix memory corruption caused by assigning a bool to a string.
* | Remove rang and use fmtlib for printing coloured messages.Gravatar Sadie Powell2023-07-121-2/+3
| | | | | | | | | | | | | | | | | | 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.
* | 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.Gravatar Sadie Powell2023-07-031-2/+1
| | | | | | | | | | | | 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.
* | 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.Gravatar Sadie Powell2023-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix "auto" not being a valid options for <options:defaultbind>.Gravatar Sadie Powell2023-06-071-2/+4
| | | | | | | | | | This fell back to the correct value but created a spurious message in the server log.
* | 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
|\|
* | Convert the cloak_md5 module to the new cloak system.Gravatar Sadie Powell2023-01-131-0/+5
| |
* | Const correct various functions.Gravatar Sadie Powell2023-01-111-2/+2
| |
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-3/+3
| |