]> jfr.im git - irc/evilnet/x3.git/blobdiff - ChangeLog
add extra parameter to auth_func
[irc/evilnet/x3.git] / ChangeLog
index 78dc6b96b60fbf7e7421615c89f17e71fbae927c..67cbeeae30126e5696e3a529986726c407c76831 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,596 @@
 /***********************************************************************
 X3 ChangeLog
 
-2009-09-11  Matthew Beeching  <jobe@mdbnet.co.uk>
+2009-11-24  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/nickserv.h src/nickserv.c: add extra parameter to reg_auth_func and
+       auth_func_t.
+
+       * src/chanserv.c src/mod-snoop.c src/global.c src/mod-helpserv.c
+       src/opserv.c src/mod-memoserv.c src/mod-track.c: collateral evolution
+       fixes due to auth_func change.
+
+2009-11-24  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/nickserv.h src/proto-common.c: add extra parameter to
+       reg_user_mode_func and user_mode_func_t.
+
+       * src/mod-snoop.c src/mod-track.c: collateral evolution fixes due to
+       user_mode_func change.
+
+2009-11-24  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/nickserv.h src/proto-common.c: add extra parameter to
+       reg_channel_mode_func and channel_mode_func_t.
+
+       * src/chanserv.c src/mod-snoop.c src/mod-track.c: collateral evolution
+       fixes due to channel_mode_func change.
+
+2009-11-24  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/hash.c src/hash.h: add extra parameter to reg_kick_func and
+       kick_func_t.
+
+       * src/chanserv.c src/mod-snoop.c src/mod-track.c: collateral evolution
+       fixes due to kick_func change.
+
+2009-11-24  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/hash.c src/hash.h: add extra parameter to reg_part_func,
+       unreg_part_func, and part_func_t.
+
+       * src/chanserv.c src/mod-snoop.c src/mod-helpserv.c src/spamserv.c
+       src/mod-track.c: collateral evolution fixes due to part_func change.
+
+2009-11-24  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/hash.c src/hash.h: add extra parameter to reg_del_channel_func and
+       del_channel_func_t.
+
+       * src/opserv.c src/proto-p10.c: collateral evolution fixes due to
+       del_channel_func change.
+
+2009-11-23  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Removed 2 nonsensical spaces in
+       *NickServ.accountinfo output for "Karma"
+
+2009-11-22  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Fix for bug allowing the use of odelcookie
+       to result in an account's password changing when it shouldn't.
+
+2009-11-22  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Added fix for LDAP password not being updated
+       on odelcookie where account password is changed anyway.
+
+2009-11-21  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/x3ldap.c: Updated OpServ level in LDAP feature to remove
+       the attribute when 0 instead of setting it to 0
+
+       * src/x3ldap.h: Updated OpServ level in LDAP feature to remove
+       the attribute when 0 instead of setting it to 0
+
+       * src/nickserv.c: Updated OpServ level in LDAP feature to remove
+       the attribute when 0 instead of setting it to 0
+
+2009-11-21  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/x3ldap.c: Fix for bug allowing accounts in LDAP to
+       authenticate to unactivated accounts.
+
+       * src/nickserv.c: Fix for bug allowing accounts in LDAP to
+       authenticate to unactivated accounts.
+
+2009-11-16  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/proto-p10.c: Added support for MARK SSLCLIFP.
+
+       * src/hash.h: Added support for MARK SSLCLIFP.
+
+       * src/opserv.c: Added SSLCLIFP mark to cmd_whois.
+
+2009-11-16  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Fix for crash in cmd_oregister due to incorrect
+       parameter counts.
+
+2009-11-15  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/hosthiding.c: Fix for crash bug in make_virthost() when host
+       name doesnt have a '.' in it.
+
+2009-11-15  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/hash.c: fix variable set for registering nick change functions.
+
+2009-11-14  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/nickserv.c: Fix for bug #2869968 (*NickServ.oregister allowing
+       invalid handles)
+
+2009-11-01  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <jobe@mdbnet.co.uk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * src/mod-python.c: remove unused code.
+
+2009-10-27  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * src/nickserv.c: marked cmd possibly unused to silence warning.
+
+2009-10-27  Henrik Stuart  <evilnet@hstuart.dk>
+
+       * 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  <evilnet@hstuart.dk>
+
+       * src/global.c: remove unused code.
+
+2009-10-19  Neil Spierling  <sirvulcan@sirvulcan.co.nz>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * src/plugins/__init__.py: refactor plugin instantiation logic.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_service_register function.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_adduser function.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_svsjoin function.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_svsnick function.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_fakehost function.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_user_mode function.
+
+2009-10-12  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_channel_mode function.
+
+2009-10-11  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: remember to increase reference count of Py_None.
+
+2009-10-11  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_kick function.
+
+2009-10-11  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_get_config function.
+
+2009-10-09  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_timeq_del function.
+
+2009-10-09  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_timeq_add function.
+
+2009-10-07  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: refactor dict_t construction logic.
+
+2009-10-07  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: improve error logic for emb_get_channel.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: refactor modeList conversion into separate function.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: refactor out common error cleanup logic.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * 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 <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_kill function.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: improve error logic for pyobj_from_usernode.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: improve error logic for emb_get_servers.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: improve error logic for emb_get_channels.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: improve error logic for emb_get_users.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_get_server function and require P10.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_get_servers function.
+
+2009-10-06  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: fix a bunch of typos
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_get_channels function.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add emb_get_users function.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: raise exception on failure in emb_get_account.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: raise exception on unknown channel in emb_get_channel
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: make emb_send_target_notice more resilient toward
+       erroneous input and raise exceptions on failures.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: make emb_send_target_privmsg more resilient toward
+       erroneous input and raise exceptions on failures.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: make emb_dump raise exception on failure.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: set exception on error path in emb_get_user.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: extract userNode to Python dictionary conversion for
+       future use in handlers.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: do not leak handler objects
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: add support for specifying main module in x3.conf
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: Expose Python services module as _svc to follow normal
+       Python naming conventions for C extensions.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: Remove unused function.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/mod-python.c: Generalise cmd_run to handle arbitrary statements.
+
+2009-10-05  Henrik Stuart <evilnet@hstuart.dk>
+
+       * src/main-common.c: Initialise opserv before other services.
+
+2009-09-22  Neil Spierling  <sirvulcan@sirvulcan.co.nz>
+
+       * Srvx sync. Author: Michael Poole.
+
+       * src/recdb.c (explain_failure): When MAIN_LOG is NULL, report to stderr.
+
+2009-09-19  Neil Spierling  <sirvulcan@sirvulcan.co.nz>
+
+       * 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  <jobe@mdbnet.co.uk>
+
+       * 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  <jobe@mdbnet.co.uk>
+
+       * src/opserv.help: Fixed a typo in ROUTING EXAMPLE
+
+2009-08-17  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * 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  <jobe@mdbnet.co.uk>
+
+       * 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  <jobe@mdbnet.co.uk>
 
        * src/proto-p10.c: ignore SPAMFILTER messages