aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* Move customversion from <security> to <options>.•••This does not relate to security so it should not be in the <security> tag. Gravatar Sadie Powell2025-04-161-8/+7
* Add <security:banrealmask>.Gravatar Sadie Powell2025-04-161-0/+1
* Delete the old hashing interface and modules.Gravatar Sadie Powell2025-04-061-1/+11
* Migrate configparser/configreader away from stringstream.•••This is a very slow header to have included by every source file. Gravatar Sadie Powell2025-03-221-22/+21
* Allow using signals to rehash any module instead of just TLS.Gravatar Sadie Powell2025-03-191-0/+3
* Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-011-2/+2
|\
| * 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
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-02-261-4/+12
|\|
| * 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
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-02-141-1/+1
|\|
| * 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 'insp4' into master.Gravatar Sadie Powell2024-11-011-0/+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
* | | Use unique_ptr for InspIRCd::Config.Gravatar Sadie Powell2024-09-191-10/+8
* | | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-4/+6
* | | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-08-181-1/+2
|\| |
| * | Add a formatting overload to {Membership,User}::Write(Remote)Notice.Gravatar Sadie Powell2024-08-181-1/+1
* | | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-06-231-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
* | | Always use fmtlib directly.Gravatar Sadie Powell2024-06-071-6/+6
* | | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-06-071-7/+3
|\| |
| * | Update copyright headers.Gravatar InspIRCd Robot2024-06-071-7/+3
* | | Remove v3 config compatibility code.Gravatar Sadie Powell2024-06-071-37/+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