summaryrefslogtreecommitdiff
path: root/src/nickcore.cpp
AgeCommit message (Collapse)Author
2025-05-17Fix some inconsistencies with account lookups.Sadie Powell
2025-05-17Rename one last use of time_registered.Sadie Powell
2025-05-16Rename id to uniqueid to avoid shadowing.Sadie Powell
2025-05-16Always store a unique identifier in the database.Sadie Powell
2025-05-16Serialize using mutable objects not immutable ones.Sadie Powell
2025-05-09Be more explicit about what versions compatibility code is for.Sadie Powell
2025-04-19Remove time from the name of some variables where its obvious.Sadie Powell
2025-03-19Use a set instead of a vector for storing memo ignores.Sadie Powell
2025-03-15Add NickCore::FindId for finding an account by its id.Sadie Powell
2025-03-12Add defines for the core serialisation type names.Sadie Powell
2025-03-12Move serialization from Serializable to a Serialize::Type child.Sadie Powell
2025-03-08Rework how nickname protection works.Sadie Powell
- Rename the command and module from kill to protect (this command hasn't actually killed users in a long time). - Replace QUICK/IMMED with a duration option.
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-11-15Make the account id map also use a checker.Sadie Powell
2024-11-07Simplify account identifier generation.Sadie Powell
2024-08-14Automatically determine SQL column type from the field.Sadie Powell
Also add more column types to ensure we are storing data in the best format in the database.
2024-06-03Avoid NickAlias lookups by storing a pointer in the NickCore.Sadie Powell
2024-05-11Store when the account name was registered in the NickCore.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-09Save the last email time for accounts.Sadie Powell
2024-03-09Modernize the initialisation of NickAlias and NickCore.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-29Rip out ns_access and related code.Sadie Powell
This is wildly insecure and has been disabled by default for at least a decade.
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-11Start migrating to range-based for loops.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-06Update the copyright headers for 2022.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-10-21Fix account identifiers conflicting with SQL row identifiers.Sadie Powell
2020-09-10Implement support for immutable account identifiers.Sadie Powell
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-10-12Call OnDelChan prior to unsetting extensiblesAdam
cs_set uses this to set -P on permanent channels if they are persistent. Also move similar event in nickcore/nickalias destruction
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-07-13Unset extensibles on larger objects when they destructAdam
Some complex extensibles require the full object to still be alive in their destructors to keep proper bookkeeping
2014-05-30Queue the grouped nicks to update when NickCore::SetDisplay is called, since ↵Adam
they serialize the display field
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-08-25Create persistent channels on startup, which used to work and got lost somewhereAdam
Fix some oddities with using persistent channels with no botserv Send list modes to uplink when bursting Fix issues with persist + keepmodes Fix /os modes clear all not clearing all status modes Fix operwall on ratbox/plexus Dont apply mlock in SetCorrectModes since that just recursively calls itself unncessarially Change command logging to show the command name and not the service name
2013-07-08Fix loading some older compat flags and showing noexpire on /ns infoAdam
2013-07-04Read most of the old common flags for compatAdam
2013-07-03Fix some warnings and errors reported by valgrindAdam
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.