summaryrefslogtreecommitdiff
path: root/src/config.cpp
AgeCommit message (Collapse)Author
2025-05-10Consistently use realname instead of gecos.Sadie Powell
2025-05-10Add defaults for service:{user,host,gecos}.Sadie Powell
2025-04-27Show the reason why a config file failed to open.Sadie Powell
2025-04-24Fix skipping lone $ values within config values.Sadie Powell
2025-04-24Add support for hashing operator passwords in the config.Sadie Powell
Closes #327.
2025-04-19Get rid of the internal block wrapper.Sadie Powell
This only existed for compatibility with old 2.0 modules and 2.1 has already broken compatibility with them.
2025-03-09Make config variables a lot more useful.Sadie Powell
- Config variables now no longer conflict with regular values. - Config variables can now be read from the environment. (e.g. ${env.USER}). - Config variables can now be used as partial values (e.g. support@${network.domain})
2025-03-02Add a helper method for getting a description of an uplink.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-03-02Return EmptyBlock instead of NULL from GetModule.Sadie Powell
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-11-24Take a constant pointer in GetModule.Sadie Powell
2024-10-22Replace usestrictprivmsg with something actually useful.Sadie Powell
Every IRC server we support (other than Bahamut which is probably on the chopping bock) uses UIDs so this setting does nothing. Instead, allow configuring a server-side alias for each service and use that when servicealias is enabled.
2024-10-22Move nickserv/set/message to a new module, kill options:useprivmsg.Sadie Powell
2024-09-17Merge branch '2.0' into 2.1.Sadie Powell
2024-09-17Remove config option for options:warningtimeout.Sadie Powell
This hasn't done anything since the early 1.9 releases I'm not sure why it hasn't been removed already.
2024-04-02Fix erroring out when sendmailpath is empty.Sadie Powell
This has a default now.
2024-03-19Allow using absolute paths in more places.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-03-09Clean up the services.h includes.Sadie Powell
2024-03-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-02-26Allow using more than one fingerprint in an oper block.Sadie Powell
Closes #362.
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-22If the IRCd sends a field limit then use it over that of the config.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-06Use auto in places where the type is unambiguous.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-07-11Merge branch '2.0' into 2.1.Sadie Powell
2023-07-06Fix a crash when a module tries to get another module's config.Sadie Powell
2023-06-03Merge branch '2.0' into 2.1.Sadie Powell
2023-05-28config: remove dependency on no-delete-null-pointer-checksAdam
2023-05-04Avoid returning null when a config tag does not exist.Sadie Powell
This invokes undefined behaviour on modern compilers.
2023-02-19Merge branch '2.0' into 2.1.Sadie Powell
2023-02-06Fix crashing when encountering an unterminated commented block.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-12-27Fix getting the port on non-UNIX socket listeners.Sadie Powell
2022-12-18The fantasy:name field is allowed to contain spaces.Sadie Powell
2022-12-18Show the invalid config value in the rejection message.Sadie Powell
2022-12-17Add support for linking over UNIX sockets.Sadie Powell
2022-12-09Use emplace() instead of insert(std::make_pair()).Sadie Powell
2022-09-15Merge branch '2.0' into 2.1.Sadie Powell
2022-09-12Fix allowing spaces in some config fields that shouldn't contain them.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Update more IRCServices references to reflect the current project.Sadie Powell
- If referring to the specific piece of software use "Anope". - If referring to services in general use "services".
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell