aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
* | 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
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-3/+3
* | Deduplicate sending the raw I/O logging warning.Gravatar Sadie Powell2023-01-091-1/+1
* | Rework how users are assigned to connect classes.•••- Move core connect class checks and <performance:clonesonconnect> to the core_user module. - Add pre-change and post-change events for when a connect class changes. - Split explicit class changing out into its own method. - Remove the need to almost always call CheckClass after SetClass. - Add use counting to the connect class instead of relying on the shared_ptr use count. Gravatar Sadie Powell2023-01-081-4/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+0
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
* | Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-5/+6
* | Load regex_pcre instead of regex_pcre2 for compat with v3.Gravatar Sadie Powell2022-12-051-0/+2
* | Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-281-32/+34
* | More const correctness.Gravatar Sadie Powell2022-10-231-4/+4
* | Handle renamed modules when reading the modules to load.Gravatar Sadie Powell2022-10-181-10/+42
* | Inline the one use of ServerNoticeAll and rm the function.Gravatar Sadie Powell2022-10-011-1/+4
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-2/+2
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-2/+2
* | Rework the snotices sent when a rehash loads/unloads a module.•••- Fix sending a duplicate load/unload message when rehashed from the terminal. - Avoid formatting the log message twice. Gravatar Sadie Powell2022-09-131-15/+17
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-2/+2
* | Move config xline reading and rehashing to core_xline.Gravatar Sadie Powell2022-06-261-32/+0
* | Fix various bugs relating to platform-native module extensions.Gravatar Sadie Powell2022-06-261-4/+3
* | Move unistd out of the global compat header.Gravatar Sadie Powell2022-05-071-0/+4
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-5/+5
* | Rewrite the entire logging system.•••- Much cleaner API for writing to the log. - Adds support for stderr and stdout logging to the core. - Adds support for sql and syslog logging in modules. Gravatar Sadie Powell2022-05-011-2/+11
* | Enable getting the local server hostname on Windows.Gravatar Sadie Powell2022-04-301-2/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Only write to the pid file on boot.•••Being able to change this after first boot is error prone and does not work well on system-wide installs where the server needs root to write the file. Closes #566. Gravatar Sadie Powell2022-04-231-4/+0
* | Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-161-3/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-01-161-1/+1
|\|
| * Fix updating connect classes when <connect:{allow, deny}> is set.Gravatar Sadie Powell2022-01-161-1/+1
* | Replace uses of the FileSystem class with std::filesystem.Gravatar Sadie Powell2022-01-151-1/+20
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-111-1/+1
|\|
| * Fix the default server name on non-macOS.Gravatar Sadie Powell2021-11-261-1/+1
* | Add a snomask flag for rehash messages.Gravatar Sadie Powell2021-11-281-8/+8