summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-09-17Defer channel deletion until after i/o. There are some edge cases with ↵Adam
events kicking users mid-event that can delete them.
2015-09-14Don't update channel last used time from ns alist access checkAdam
2015-09-06Allow configuring modesAdam
2015-09-06Fix some service bot/botinfo mismatchesAdam
2015-09-06Merge pull request #126 from SaberUK/2.0+typosAdam
Fix a ton of typos.
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
2015-07-08Fix a ton of typos.Peter Powell
2015-07-07Fix various Clang compiler warnings.Peter Powell
include/modules/sql.h:103:10: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] modules/database/db_sql.cpp:273:15: warning: declaration shadows a local variable [-Wshadow] modules/pseudoclients/chanserv/chanserv.cpp:319:150: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] modules/pseudoclients/chanserv/chanserv.cpp:329:80: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
2015-07-07Fix <stack> not being included via a system header on libc++.Peter Powell
2015-03-22Change git version name back to what it was, which the core usesAdam
2015-03-12Update cmake version parsing code to deal with recent build version changesAdam
Update Config.cs to no longer hardcode VS generators, it seems no longer necessary. Fix new version system, cannot return C++ types from extern C functions
2015-03-12Show passlen in PASSWORD_TOO_LONGAdam
2015-03-11Allow cs clone to clone levels tooAdam
2015-03-11Redesign m_ldap to no longer rely on undefined behaviorAdam
Accessing the same LDAP* from multiple threads at once is always undefined, even if one thread is just polling ldap_result. Instead keep one thread per connection and issue blocking queries on the thread.
2015-02-23Move GIT_VERSION define to build.h, otherwise version.h is bumped per commit ↵Adam
which forces a rebuild
2015-02-03Make module version system workAdam
2015-01-28More properly track topic change sources and allow users with access to ↵Adam
change topics through topiclock
2015-01-26Check virtual mode bases betterAdam
2015-01-10Add networkinfo:nick_chars option to allow configuring additional characters ↵Adam
allowed in nicknames
2015-01-05Merge branch '2.0' into 2.1Adam
Conflicts: CMakeLists.txt include/modules.h include/serialize.h modules/commands/bs_assign.cpp modules/commands/bs_badwords.cpp modules/commands/bs_bot.cpp modules/commands/bs_control.cpp modules/commands/bs_kick.cpp modules/commands/cs_access.cpp modules/commands/cs_akick.cpp modules/commands/cs_drop.cpp modules/commands/cs_entrymsg.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_invite.cpp modules/commands/cs_kick.cpp modules/commands/cs_mode.cpp modules/commands/cs_register.cpp modules/commands/cs_seen.cpp modules/commands/cs_set.cpp modules/commands/cs_suspend.cpp modules/commands/cs_topic.cpp modules/commands/cs_unban.cpp modules/commands/cs_xop.cpp modules/commands/hs_del.cpp modules/commands/hs_list.cpp modules/commands/hs_request.cpp modules/commands/ms_ignore.cpp modules/commands/ms_send.cpp modules/commands/ns_recover.cpp modules/commands/ns_register.cpp modules/commands/ns_suspend.cpp modules/commands/os_dns.cpp modules/commands/os_noop.cpp modules/commands/os_oper.cpp modules/commands/os_session.cpp modules/database/db_sql_live.cpp modules/encryption/enc_bcrypt.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_ldap_oper.cpp modules/fantasy.cpp modules/m_dnsbl.cpp modules/m_sasl.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp modules/webcpanel/webcpanel.cpp modules/webcpanel/webcpanel.h src/command.cpp src/messages.cpp src/modulemanager.cpp src/regchannel.cpp src/serialize.cpp
2014-12-29Allow configuring casemapsAdam
2014-12-10Unconst these config Get<Anope::string> calls as it makes no senseAdam
2014-12-10Use a triat class for event names instead of having to manually give them ↵Adam
places, which is much less error prone
2014-12-05Change webpanel access add to just add via the commands, split Command::Run ↵Adam
into two so I can do this as I need to run named commands for it
2014-11-24Rewrite serializable to have field level granularityAdam
Represent serializable objects in a digraph, and as a result made most object relationships implicitly defined, and use the graph to trace references between objects to determine relationships. Edges may also be marked as having a dependency of the object they point to, which allows for automatic cleanup and deletion of most objects when no longer needed. Additionally, this allows not having to require in-memory copies of everything when using external databases. db_sql has been rewritten for this and now always requires a database to function. db_sql with MySQL now requires InnoDB to make use of transactions and foreign key constraints.
2014-10-14Fix module event prioritization which was broken with the newerAdam
auto-attach event stuff. Also remove logically dead code from os_defcon, and make os_defcon akill similar masks to os_session when enforcing session akills. Fixes #1618 which relies on os_session to be prioritized before os_defcon.
2014-10-12Move nick register event to make it easier for modules to determine if a ↵Adam
newly registered nick is confirmed or not. Add confirm event.
2014-08-24Change Channel::GetModeList to return a copy of the mode list, not aAdam
pair of lower/upper bound iterators. Sometimes when iterating the list, like in cs_mode, we can modify the contents of it, which combined with mlock always agressively trying to readd modes to it can do bad things.
2014-06-26Change NumberList to take std::function's and use lambda closuresAdam
instead of having to create full classes in order to process number lists.
2014-06-25Remove the rest of the 1.8 logic "let's write all of the command handler ↵Adam
with no return statement!" Fix if (something) else if (!something) tests Remove returns at the bottom of void functions
2014-06-23Hold a reference to the type in Serialize::Checker in the event it goes ↵Adam
away, and invalidate the type pointer of objects when the type goes away
2014-06-23Merge branch '2.0' into 2.1Adam
Conflicts: cmake/Anope.cmake cmake/FindGettext.cmake include/access.h include/messages.h include/modes.h include/modules.h include/users.h modules/CMakeLists.txt modules/commands/bs_bot.cpp modules/commands/cs_access.cpp modules/commands/cs_ban.cpp modules/commands/cs_clone.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_list.cpp modules/commands/cs_log.cpp modules/commands/cs_mode.cpp modules/commands/cs_status.cpp modules/commands/cs_suspend.cpp modules/commands/cs_updown.cpp modules/commands/cs_xop.cpp modules/commands/ms_check.cpp modules/commands/ns_access.cpp modules/commands/ns_cert.cpp modules/commands/ns_group.cpp modules/commands/ns_register.cpp modules/commands/ns_set.cpp modules/commands/ns_suspend.cpp modules/commands/os_session.cpp modules/commands/os_svs.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_regex_pcre.cpp modules/extra/m_sql_authentication.cpp modules/extra/stats/m_chanstats.cpp modules/protocol/bahamut.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd12.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/chanserv/channel.cpp modules/pseudoclients/nickserv/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp src/access.cpp src/bots.cpp src/channels.cpp src/language.cpp src/modes.cpp src/modulemanager.cpp src/process.cpp src/users.cpp src/version.sh
2014-06-23Mostly working language string rewrite with new format stringsAdam
2014-05-31Always log when the uplink socket errors, and give possibly helpful adviseAdam
2014-05-30Fix Windows build and update library names to the newer ones.Adam
Also fix crash on Windows when unloading a module because it threw an exception.
2014-05-28Mark pure virtual functions with anope_abstractAdam
2014-05-28Merge branch '2.0' into 2.1Adam
Conflicts: .travis.yml src/config.cpp src/version.sh
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-05-21Core prep for p10 stuffAdam
2014-05-20Speed up akill xline checksAdam
Cache xline nick, user, host, etc instead of rebuilding it everytime its requested. Store users ip in sockaddr form and not string form to prevent having to rebuild sockaddrs when checking xlines. Also do not try to convert empty config values in Config::Get as this can be rather common if a non string configuration value is not set, and the cost of the ConvertException is great.
2014-05-20Show account names in log messagesAdam
2014-05-14Fix access lists showing the wrong mask if the display nick for a groupAdam
expires but the group still exists. This can cause access entries for nicks to not be deleted whenever the nicks are deleted.
2014-05-13Sanitize nuh masks more to prevent the other side from rewriting them, which ↵Adam
screws with our internal tracking of them
2014-05-01Pass password to nick register event so modules like m_ldap_authentication ↵Adam
can create the respective account using the decrypted password which might not always be available
2014-04-26Accept non server sources for SQUITAdam
2014-04-25Add "virtual mode" supportAdam
This allows fully tracking extbans and other modes set by a different underlying mode, such as InspIRCd's namedmodes Add two configuration options to cs_ban to configure which mode is set and whether or not to kick banned users. Add default "mute" fantasy command to botserv.example.conf
2014-04-21Constify message source for OnChannelMode(Un)SetAdam
2014-04-20New event systemAdam
2014-04-18Remove unused event.Adam
Mark some oper only usermodes as oper only. Fix reading SID in TS6_SID_Retrieve
2014-04-07Do not clear all extension items tied to objects when unserializing.Adam
Instead, pass the old object to the unserialization functions and let them incrementally update the object.