X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/9ceee393f4580a2e5d802dca7613733f3648e675..85e887034c5e46546309e4ec52b2dbc945c868f4:/ChangeLog diff --git a/ChangeLog b/ChangeLog index c2fde73..1ef66a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,560 @@ /*********************************************************************** X3 ChangeLog +2009-11-15 Matthew Beeching + + * src/hosthiding.c: Fix for crash bug in make_virthost() when host + name doesnt have a '.' in it. + +2009-11-15 Henrik Stuart + + * src/hash.c: fix variable set for registering nick change functions. + +2009-11-14 Matthew Beeching + + * src/nickserv.c: Fix for bug #2869968 (*NickServ.oregister allowing + invalid handles) + +2009-11-01 Henrik Stuart + + * src/hash.h src/hash.c: add extra parameter to new_channel_func_t and + reg_new_channel_func. + + * src/chanserv.c src/opserv.c: add extra NULL argument/parameter to + reflect change in hash. + +2009-11-01 Henrik Stuart + + * src/nickserv.h src/nickserv.c: add extra parameter to + handle_merge_func_t and reg_handle_merge_func. + + * src/mod-helpserv.c: add extra NULL argument/parameter to reflect change + in nickserv. + +2009-11-01 Henrik Stuart + + * src/nickserv.h src/nickserv.c: add extra parameter to allowauth_func_t + and reg_allowauth_func. + + * src/mod-helpserv.c: add extra NULL argument/parameter to reflect change + in nickserv. + +2009-11-01 Henrik Stuart + + * src/nickserv.h src/nickserv.c: add extra parameter to failpw_func_t and + reg_failpw_func. + + * src/mod-helpserv.c: add extra NULL argument/parameter to reflect change + in nickserv. + +2009-11-01 Henrik Stuart + + * src/hash.h src/hash.c: add extra parameter to topic_func_t and + reg_topic_func. + + * src/chanserv.c src/mod-python.c: add extra NULL argument/parameter to + reflect change in hash. + +2009-11-01 Henrik Stuart + + * src/proto.h src/proto-common.c: add extra parameter to chanmsg_func_t + and reg_chanmsg_func. + + * src/chanserv.c src/modcmd.c: add extra NULL argument/parameter to + reflect change in proto. + +2009-10-31 Henrik Stuart + + * src/nickserv.h src/nickserv.c: add extra parameter to + handle_rename_func_t and reg_handle_rename func. + + * src/chanserv.c src/mod-helpserv.c src/mod-memoserv.c: add extra NULL + argument/parameter to reflect change in nickserv. + +2009-10-30 Henrik Stuart + + * src/mod-snoop.c src/mod-helpserv.c src/mod-sockcheck.c src/mod-track.c: + fix missed NULL argument/parameter additions from earlier commits. + +2009-10-30 Henrik Stuart + + * src/hash.h src/hash.c: add extra parameter to join_func_t and + reg_join_func. + + * src/chanserv.c src/opserv.c src/mod-python.c src/spamserv.c: add extra + NULL argument/parameter to reflect change in hash. + +2009-10-30 Henrik Stuart + + * src/hash.h src/hash.c: add extra parameter to nick_change_func_t and + reg_nick_change_func. Also fix memory leaks from not freeing extras lists + for some callback routines. + + * src/chanserv.c src/opserv.c src/mod-python.c src/spamserv.c + src/nickserv.c src/modcmd.c: add extra NULL argument/parameter to reflect + change in hash. + + * src/proto-p10.c: fix logic for calling call_new_user_funcs. + +2009-10-30 Henrik Stuart + + * src/proto.h: add extra parameter to reg_oper_func and oper_func_t. + + * src/global.c: add extra NULL argument parameter to reflect changes. + + * src/proto-common.c: add extra parameter to implementation of + reg_oper_func and reflect the extra parameter in call_oper_funcs. + + * src/proto-p10.c: free storage for extra parameters. + +2009-10-28 Henrik Stuart + + * src/hash.h src/hash.c: add extra parameter to del_user_func_t, + reg_del_user_func, and unreg_del_user_func. Add new call_del_user_funcs + function to abstract hash internals from outside callers. + + * src/opserv.c src/mod-python.c src/spamserv.c src/nickserv.c: add extra + NULL argument(parameter to reflect change in hash. + + * src/proto-p10.c: use call_del_user_funcs instead of interfacing with + hash.c internals directly. Remove unused code due to this change. + + * src/proto-common.c: remove reference to hash internals. + +2009-10-28 Matthew Beeching + + * src/x3ldap.c: Added ldap_do_oslevel() to set OpServ access level in + LDAP. + + * src/x3ldap.h: Added ldap_do_oslevel() to set OpServ access level in + LDAP. + + * src/nickserv.c: Added configuration option for OpServ access level + LDAP attribute name and call to ldap_do_oslevel() on access level + change. + + * src/nickserv.h: Added configuration option for OpServ access level + LDAP attribute name. + + * x3.conf.example: Added configuration option for OpServ access level + LDAP attribute name. + +2009-10-27 Henrik Stuart + + * src/hash.h src/hash.c: add extra parameter to new_user_func_t and + reg_new_user_func. Add new call_new_user_funcs function to abstract hash + internals from outside callers. + + * src/proto-p10.c: use call_new_user_funcs instead of interfacing with + hash.c internals directly. Remove unused code due to this change. + + * src/global.c src/opserv.c src/mod-python.c src/spamserv.c + src/nickserv.c: add extra NULL argument/parameter to reflect change in + hash. + + * src/proto-common.c: remove reference to hash internals. + +2009-10-27 Henrik Stuart + + * src/hash.h: add extra parameter to server_link_func_t and + reg_server_link_func. Add new call_server_link_funcs function to abstract + hash internals from outside callers. + + * src/proto-p10.c: call call_server_link_funcs rather than interfacing + directly with hash.c internals. + + * src/chanserv.c: add extra NULL-argument/parameter to server link + handler. + + * src/hash.c: add extra parameter to reg_server_link_func and introduce + call_server_link_funcs to shield external callers from the functionality. + + * src/proto-common.c: remove extern definitions for the hash.c structures + for the server link callback structure. + + * src/mod-python.c: add extra NULL-argument/parameter to server link + handler. + +2009-10-27 Henrik Stuart + + * src/mod-python.c: remove unused code. + +2009-10-27 Henrik Stuart + + * src/nickserv.c: marked cmd possibly unused to silence warning. + +2009-10-27 Henrik Stuart + + * src/nickserv.h: make auto_oper_privs and auto_admin_privs const. + + * src/proto.h: make privs const in irc_raw_privs. + + * src/proto-p10.c: make privs const in irc_raw_privs. + +2009-10-27 Henrik Stuart + + * src/global.c: remove unused code. + +2009-10-19 Neil Spierling + + * src/nickserv.c: Send privs out when auto opering clients. These are + controlled for now via auto_oper_privs/auto_admin_privs in the nickserv + section within x3.conf. In the future we will look at account specific + privs. + + * src/proto.h: Added irc_raw_privs and client_modify_priv_by_name. + + * src/proto-p10.c: Added irc_raw_privs. + + * src/tools.c: Added R extended ban. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add python_handle_topic and refactor + emb_get_channel. + + * src/plugins/__init__.py: add empty topic handler function to + Plugin class. + + * src/modpython.py: add topic handler function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add python_handle_del_user. + + * src/plugins/__init__.py: add empty del_user handler function to + Plugin class. + + * src/modpython.py: add del_user handler function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: refactor python_handle_nick_change. + + * src/plugins/__init__.py: add empty nick_change handler function to + Plugin class. + + * src/modpython.py: refactor nick_change to use new plugin + system. + +2009-10-12 Henrik Stuart + + * src/plugins/__init__.py: refactor plugin instantiation logic. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: refactor python_handle_new_user. + + * src/modpython.py: refactor new_user handler to use new plugin + system. + + * src/plugins/__init__.py: add empty new_user handler function to + Plugin class. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: refactor python_handle_server_link to be more + Pythonic. + + * src/modpython.py: rename old plugins class to plugins_ and use a + more general plugin system. + + * src/plugins/__init__.py: extend with plugin base-class and + recursive plugin load logic. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_service_register function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_adduser function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_svsjoin function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_svsquit function. + + * src/proto.h: observe proper const-ness in irc_svsquit function. + + * src/proto-p10.c: observe proper const-ness in irc_svsquit function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_svsnick function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: refactor doc-strings for extension methods to separate + variables. Minor code changes that modify function return values/types to + be more uniform. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_fakehost function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_user_mode function. + +2009-10-12 Henrik Stuart + + * src/mod-python.c: add emb_channel_mode function. + +2009-10-11 Henrik Stuart + + * src/mod-python.c: remember to increase reference count of Py_None. + +2009-10-11 Henrik Stuart + + * src/mod-python.c: add emb_kick function. + +2009-10-11 Henrik Stuart + + * src/mod-python.c: add emb_get_config function. + +2009-10-09 Henrik Stuart + + * src/mod-python.c: add emb_timeq_del function. + +2009-10-09 Henrik Stuart + + * src/mod-python.c: add emb_timeq_add function. + +2009-10-07 Henrik Stuart + + * src/mod-python.c: refactor dict_t construction logic. + +2009-10-07 Henrik Stuart + + * src/mod-python.c: improve error logic for emb_get_channel. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: refactor modeList conversion into separate function. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: refactor out common error cleanup logic. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: add emb_get_accounts function and refactor some + common logic into a single routine. + + * src/nickserv.h src/nickserv.c: make nickserv_handle_dict externally + available. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: add emb_kill function. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: improve error logic for pyobj_from_usernode. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: improve error logic for emb_get_servers. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: improve error logic for emb_get_channels. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: improve error logic for emb_get_users. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: add emb_get_server function and require P10. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: add emb_get_servers function. + +2009-10-06 Henrik Stuart + + * src/mod-python.c: fix a bunch of typos + +2009-10-05 Henrik Stuart + + * src/mod-python.c: add emb_get_channels function. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: add emb_get_users function. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: raise exception on failure in emb_get_account. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: raise exception on unknown channel in emb_get_channel + +2009-10-05 Henrik Stuart + + * src/mod-python.c: make emb_send_target_notice more resilient toward + erroneous input and raise exceptions on failures. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: make emb_send_target_privmsg more resilient toward + erroneous input and raise exceptions on failures. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: make emb_dump raise exception on failure. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: set exception on error path in emb_get_user. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: extract userNode to Python dictionary conversion for + future use in handlers. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: do not leak handler objects + +2009-10-05 Henrik Stuart + + * src/mod-python.c: add support for specifying main module in x3.conf + +2009-10-05 Henrik Stuart + + * src/mod-python.c: Expose Python services module as _svc to follow normal + Python naming conventions for C extensions. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: Remove unused function. + +2009-10-05 Henrik Stuart + + * src/mod-python.c: Generalise cmd_run to handle arbitrary statements. + +2009-10-05 Henrik Stuart + + * src/main-common.c: Initialise opserv before other services. + +2009-09-22 Neil Spierling + + * Srvx sync. Author: Michael Poole. + + * src/recdb.c (explain_failure): When MAIN_LOG is NULL, report to stderr. + +2009-09-19 Neil Spierling + + * Srvx sync. Author: Michael Poole. + + * src/chanserv.c (handle_part): Allow the current user to be considered for + channels other than the channel being /part'ed. + + * src/modcmd.c (modcmd_saxdb_write): Write bot modes to the database. + (modcmd_load_bots): Read them out and use them. + + * src/opserv.c (cmd_whois): Use irc_user_mode_chars() here too. + + * src/opserv.help (INVITE): Document this command. + + * src/proto.h (irc_user_modes): Declare. + (irc_user_mode_chars): Likewise. + + * src/proto-common.c (irc_user_modes): Define. + + * src/proto-p10.c (irc_user_mode_chars): Define. + (irc_user): Use irc_user_mode_chars() instead of open-coding it. + +2009-08-21 Matthew Beeching + + * src/nickserv.c: Fix for a crash bug when using LOC with LDAP + where LDAP account exists and AuthServ account does not + +2009-08-20 Matthew Beeching + + * src/opserv.help: Fixed a typo in ROUTING EXAMPLE + +2009-08-17 Matthew Beeching + + * src/nickserv.c: Added NSMSG_RECLAIM_HOWTO describing how to + AUTH when warned that the nick being used is registered + +2009-08-11 Matthew Beeching + + * src/proto.h: Added declaration fo irc_privmsg_user + + * src/opserv.c: Added privmsg and notice trace actions + + * src/opserv.help: Added privmsg and notice trace actions + +2009-08-11 Matthew Beeching + + * src/proto-p10.c: ignore SPAMFILTER messages + +2009-08-11 Neil Spierling + + * Srvx sync. Author: Michael Poole. + + * configure.in: (HAVE_SOCKADDR_SA_LEN): Define to a non-empty value + (specifically, 1). + (HAVE_STRUCT_ADDRINFO): Likewise. + + * src/ioset-kevent.c (ioset_kevent_add): Never try to use EV_DELETE, because + that can make kevent() return -1/ENOENT. + (ioset_kevent_update): We need to try to EV_DELETE here instead. + (ioset_kevent_loop): Do not bail if kevent() just returns -1/EINTR. + + * src/Makefile.am (EXTRA_x3_SOURCES): Include mod-blacklist.c. + + * src/sar.c (ipv4_pton): Set the sockaddr length field when it exists. + (ipv6_pton): Likewise. + +2009-08-11 Matthew Beeching + + * src/proto-common.c: Fix to allow trigger (in channel) commands + to work in unregistered channels + +2009-07-30 Matthew Beeching + + * src/sar.c: Fix for typo in previous commit + +2009-07-30 Neil Spierling + + * src/sar.c: Commented out an warning message. + +2009-07-29 Matthew Beeching + + * src/nickserv.c: Fix for minor auth bug + +2009-07-23 Matthew Beeching + + * src/nickserv.help: Minor spelling correction + +2009-07-18 Matthew Beeching + + * src/nickserv.c: Fix for NickServ AUTH bug with only password + being supplied + +2009-07-16 Matthew Beeching + + * src/nickserv.c: Added support for NickServ with LDAP enabled + +2009-07-15 Neil Spierling + + * src/chanserv.c: Crash fix with the spin command for hosts with + a long length. + +2009-07-05 Matthew Beeching + + * src/chanserv.c: Fix for crash on ChanServ.UNSUSPEND + 2009-06-27 Matthew Beeching * src/modcmd.c: Fix for bug #2813183