aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rework error reporting and shutting down.Gravatar Sadie Powell2026-06-191-12/+6
| | | | | | - Clean up InspIRCd::Cleanup and document it better. - Bring back QuickExit for error reporting during shutdown. - Deduplicate logging of error messages to stdout and files.
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-06-151-10/+24
|\
| * Improve the output printed when starting up.Gravatar Sadie Powell2026-06-141-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | * Use a better startup message with links to documentation and other useful pages. * Use a red "Error!" and a yellow "Warning!" prefix consistently for all errors and warnings respectively. * Don't mention loading core modules. This is an implementation detail that isn't really relevant for most users. * Avoid printing unnecessary whitespace around module errors.
| * Update copyright headers.Gravatar InspIRCd Robot2026-06-051-1/+1
| |
* | Rework how list mode limits are parsed and applied.Gravatar Sadie Powell2026-06-151-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Keep one list of all limits in ServerLimits instead of one in each list mode. This should reduce memory usage slightly and the lists are usually so small and are compared so infrequently that this won't cause any performnace issues. - Automatically look up the mode limit when the mode list is used instead of manually rehashing in each module. This should cause less footguns than the old API and doesn't require manually updating the limit on rehash. - Move code relating to variable and lower limits from the core to core_channel. This is only used by ISUPPORT.
* | Update my email address.Gravatar Sadie Powell2026-06-061-1/+1
| |
* | Remove the remaining function in utility/string to utility/container.Gravatar Sadie Powell2026-04-301-1/+1
| |
* | Switch ascii comparisons over to our own casemap functions.Gravatar Sadie Powell2026-04-301-19/+19
| |
* | Move CommandLine from ServerConfig to InspIRCd.Gravatar Sadie Powell2026-04-301-1/+0
| | | | | | | | | | | | There's no need for this to be in ServerConfig. Although it is configuration it applies more to the cli interface which is part of the InspIRCd class.
* | Add an easier way to get the local Server* object.Gravatar Sadie Powell2026-04-041-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-311-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2026-03-311-1/+1
| |
* | Switch typedefs to using statements.Gravatar Sadie Powell2026-03-261-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-03-191-0/+1
|\|
| * Expose the maximum channel key length to services.Gravatar Sadie Powell2026-03-191-0/+1
| |
* | Rewrite sepstream and move to stringutils.Gravatar Sadie Powell2026-03-141-2/+3
| |
* | Move <options:maskinlist> and <options:maskintopic> to <channels>.Gravatar Sadie Powell2026-03-121-2/+5
| |
* | Move <options:defaultmodes> to <channels> and rework.Gravatar Sadie Powell2026-03-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | - The default prefix modes are now separate from the default channel modes. This should result in less accidentally broken configs. - The privs are now pre-parsed to a list of mode references. This should improve performance slightly as the repeated mode lookups are gone. It also allows us to write warnings to the debug log when the default privs are invalid. - Channels can now have a default topic.
* | Fix some missing module compat entries.Gravatar Sadie Powell2026-03-121-1/+3
| |
* | Banish banredirect to contrib, always enable the redirect: extban.Gravatar Sadie Powell2026-03-091-0/+2
| |
* | Load the swhois module if a config contains the swhois_ext module.Gravatar Sadie Powell2026-03-021-0/+2
| |
* | Merge the chg* and set* modules.Gravatar Sadie Powell2026-03-011-0/+6
| |
* | Implement support for per-command maximum targets.Gravatar Sadie Powell2026-02-271-1/+1
| | | | | | | | Closes #2157.
* | Load the sacommands module if a config contains the split module names.Gravatar Sadie Powell2026-02-261-0/+14
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2026-01-231-1/+1
|\|
| * Require maxhost to be at least 45 characters to fit IPv6 addresses.Gravatar Sadie Powell2026-01-201-1/+1
| |
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-11-031-1/+1
|\|
| * Allow not setting the CA file in ssl_openssl.Gravatar Sadie Powell2025-11-021-1/+1
| | | | | | | | This matches the behaviour of ssl_gnutls.
* | Move customversion from <security> to <options>.Gravatar Sadie Powell2025-04-161-8/+7
| | | | | | | | | | This does not relate to security so it should not be in the <security> tag.
* | 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.Gravatar Sadie Powell2025-03-221-22/+21
| | | | | | | | This is a very slow header to have included by every source file.
* | 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.Gravatar Sadie Powell2025-03-011-1/+1
| | | | | | | | | | This function calls INSP_FORMAT in most cases nowadays so we may as well just call that manually.
| * 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.Gravatar Sadie Powell2025-02-151-1/+9
| | | | | | | | Closes #2148.
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-02-141-1/+1
|\|
| * 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 '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
| | |