summaryrefslogtreecommitdiff
path: root/src/nickcore.cpp
AgeCommit message (Collapse)Author
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-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.
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-02-14Switch Destroy methods to deleteAdam
2013-02-14Store what channels have references to accounts in NickCore to prevent ↵Adam
having to iterate over all channels and then all access entries when nicks expire or from nickserv/alist
2013-02-14Make NickCore::aliases a vectorAdam
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-13Optimize much of the database code and serialize code.Adam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-11-07Duplicate check some of these larger hashmaps on insert, just incaseAdam
2012-10-22Cleanup of last few commits/warning fixAdam
2012-10-21Base has to destruct before Extensible does because objects that destruct ↵DukePyrolator
due to Extensible destructing don't have their references to the already destroyed object for Base invalidated. (fixed for NickAlias and NickCore)
2012-10-01Allow modules to store data in their own databases.Adam
2012-04-25Fixed non-debug buildAdam
2012-04-23Reworked live SQL support yet againAdam
2012-02-14Clean up and reorganize our header filesAdam
2012-01-15Improve on db_sql_live_readAdam
2011-11-17Fixed storing mode locksAdam