summaryrefslogtreecommitdiff
path: root/src/misc.cpp
AgeCommit message (Collapse)Author
2025-05-10Refactor Anope::strftime.Sadie Powell
2025-05-10Use UTC in timestamps shown to users.Sadie Powell
2025-04-27Fix broken handling of colour codes in LineWrapper.Sadie Powell
Closes #504.
2025-04-16Rename TextSplitter to LineWrapper.Sadie Powell
2025-04-16Automatically wrap the help output.Sadie Powell
2025-04-16Fix a compiler warning on Clang.Sadie Powell
2025-04-16Reduce the maximum line length from 120 to 100.Sadie Powell
This should fit on user screens a bit better.
2025-04-15Automatically line wrap messages sent by services.Sadie Powell
2025-04-14Add Anope::Templace and switch all template strings to use it.Sadie Powell
2025-04-02Replace NormalizeBuffer implementation with the one from InspIRCd.Sadie Powell
This is more robust and will handle more formatting code types.
2025-03-22Allow customising the length at which lines are wrapped after.Sadie Powell
Closes #485.
2025-03-06Move REPRODUCIBLE_BUILD to sysconf.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-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-11-25Simplify the duration string logic in Anope::Expires.Sadie Powell
This is just duplicating Anope::Duration there's no need to reimplement a worse version of that here.
2024-11-25Fix pluralising languages which use the same plural for 0 as 1.Sadie Powell
2024-11-22Convert some more strings to plural forms.Sadie Powell
2024-11-13Clean up Anope::Duration and switch to use plural form translation.Sadie Powell
2024-06-24Rework how CTCP messages are sent and received.Sadie Powell
2024-03-19Use paths relative to data/conf in the config file.Sadie Powell
This was done in some places already but not consistently. Closes #349.
2024-03-19Allow using absolute paths in more places.Sadie Powell
2024-03-18Use clock_gettime if it is available.Sadie Powell
2024-03-11Reject registrations and password changes if password encryption fails.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-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-02-29If a user runs an invalid command try to suggest a valid one.Sadie Powell
2024-02-27Remove redundant uses of const.Sadie Powell
2024-02-27Simplify several boolean expressions.Sadie Powell
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-10-12Use a more human readable datetime format.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-08-06Merge branch 2.0 into 2.1.Sadie Powell
2023-07-11Allow Anope to look up multiple DNS results.Sadie Powell
For fixing bug 1756.
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-13Document the sysconf header file.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-04Use C++11 header names instead of their deprecated equivalents.Sadie Powell
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2022-01-04Use C++11 default initializers and destructors where possible.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2021-08-01Merge branch '2.0' into 2.1.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
2021-02-18Merge branch '2.0' into 2.1.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-09-28Remove nickserv/getpass and Anope::Decrypt.Sadie Powell
There is no point having these now plain text passwords are deprecated.