aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Move server restart logic to the core.•••- Properly clean up the process with Cleanup() instead of using - DieRestart. - Use close_range on modern Linux instead of the CLOEXEC hack. Gravatar Sadie Powell2026-06-191-1/+54
* Rework error reporting and shutting down.•••- 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. Gravatar Sadie Powell2026-06-191-49/+73
* Merge branch 'insp4' into master.Gravatar Sadie Powell2026-06-151-21/+32
|\
| * Improve the output printed when starting up.•••* 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. Gravatar Sadie Powell2026-06-141-20/+31
| * Fix an indentation issue when printing endpoints that couldn't bind.Gravatar Sadie Powell2026-06-141-1/+1
| * Update copyright headers.Gravatar InspIRCd Robot2026-06-051-1/+1
* | Fix a crash on shutdown.Gravatar Sadie Powell2026-06-111-3/+4
* | Update my email address.Gravatar Sadie Powell2026-06-061-1/+1
* | Move CommandLine from ServerConfig to InspIRCd.•••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. Gravatar Sadie Powell2026-04-301-17/+17
* | Add an easier way to get the local Server* object.Gravatar Sadie Powell2026-04-041-1/+3
* | Replace some C-style array usage with Modern C++.Gravatar Sadie Powell2026-03-291-9/+5
* | Move service types to their own namespace.•••- ServiceProvider is now Service::Provider - DataProvider is now Service::SimpleProvider (the old name does not really make sense now we don't have SERVICE_DATA and the only difference is automatic registration. - Some members of ModuleManager have been elevated to the Service namespace in case other code wants to use them. Gravatar Sadie Powell2026-03-291-1/+1
* | Move some functions from stdalgo to utility/pointer.Gravatar Sadie Powell2026-03-291-2/+2
* | Clean up the casemapping checking and comparison code.Gravatar Sadie Powell2026-03-131-8/+0
* | Move standard replies to the core and add remote reply support.Gravatar Sadie Powell2026-03-011-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-221-2/+2
|\|
| * Rename ToHuman to ToLongString.•••This name is used by functions in too many places already. Gravatar Sadie Powell2025-03-181-2/+2
* | Allow using signals to rehash any module instead of just TLS.Gravatar Sadie Powell2025-03-191-0/+4
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-101-2/+8
|\|
| * Improve the clock jumping message slightly.Gravatar Sadie Powell2025-03-101-2/+8
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-031-2/+6
|\|
| * Use Duration::ToHuman instead of seconds in various messages.Gravatar Sadie Powell2025-03-031-2/+3
| * Flush stderr and stdout after starting up if using --nofork.Gravatar Sadie Powell2025-03-021-0/+3
* | Merge branch 'insp4' into master.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-1/+1
|\|
| * Fix expanding paths on portable installations.•••Closes #2148. Gravatar Sadie Powell2025-02-151-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-01-171-1/+1
|\|
| * Merge branch 'insp3' into insp4.Gravatar Sadie Powell2025-01-171-1/+1
| |\
| | * Fix a typo in a help message.Gravatar Sadie Powell2025-01-171-1/+1
* | | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-01-171-1/+3
|\| |
| * | Write the pid file earlier to avoid a crash.•••{fmt} gets angry if we try to write to a closed stdout. Gravatar Sadie Powell2024-12-101-1/+3
* | | Use unique_ptr for InspIRCd::ConfigThread.Gravatar Sadie Powell2024-09-191-1/+1
* | | Use unique_ptr for InspIRCd::Config.Gravatar Sadie Powell2024-09-191-2/+2
* | | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-08-291-4/+4
|\| |
| * | Fix measuring the CPU load on Windows.Gravatar Sadie Powell2024-08-271-4/+4
* | | Fix the case of some InspIRCd class member variables.Gravatar Sadie Powell2024-08-271-4/+3
|/ /
* | Refactor the InspIRCd class to be actually readable.•••This has been long overdue as most of the comments were outdated and members were shoved into the class in no logical way. Gravatar Sadie Powell2024-08-271-18/+18
* | Update copyright headers.Gravatar InspIRCd Robot2024-06-211-1/+1
* | Remove a now unnecessary hack for Windows filenames.Gravatar Sadie Powell2024-06-171-21/+2
* | Update copyright headers.Gravatar InspIRCd Robot2024-06-071-7/+4
* | Make --(protocol)debug imply --nofork.Gravatar Sadie Powell2024-05-011-2/+2
* | Add --protocoldebug, make --debug default to DEBUG not RAWIO.Gravatar Sadie Powell2024-05-011-1/+6
* | Update vendored libraries.Gravatar Sadie Powell2024-01-091-1/+1
* | Fix a typo in TryBindPorts.Gravatar Sadie Powell2024-01-091-1/+1
* | QuickExit is obsolete again so we can remove it again.Gravatar Sadie Powell2023-10-171-7/+7
* | Fix exiting with a success when the child dies before the parent.•••I have no idea why I didn't see this before now. Closes #1369. Closes #2064. Gravatar Sadie Powell2023-10-171-1/+1
* | 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-8/+8
* | Replace rand/rand_s/random with the C++11 random number generator.Gravatar Sadie Powell2023-07-151-10/+0
* | 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-18/+17