]> jfr.im git - irc/evilnet/x3.git/blobdiff - ChangeLog
adding email support to ldap logins
[irc/evilnet/x3.git] / ChangeLog
index a7b60672f78fd1253d364fb1c8e7a90e65eccd0f..f48228d92f70e8daf136012081ff622384606748 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,670 @@
 /***********************************************************************
- X3 ChangeLog
+X3 ChangeLog
+
+2007-02-09  Alex Schumann  <rubin@afternet.org>
+
+        * src/x3ldap.c: addid search function to get users email address from
+       ldap
+
+       * src/x3ldap.h: func defs for search
+
+       * src/nicserv.c: update local copy of email address when they log
+       in via ldap
+
+2007-02-08  Alex Schumann  <rubin@afternet.org>
+
+        * src/x3ldap.c: cleaning up and switching adduser to use the new
+       crypted password scheme.
+
+        * src/nickserv.c: testing with ldap_enabled set to 0, and/or WITH_LDAP
+       not defined, uncovered some warnings etc.
+
+2007-02-08  Alex Schumann  <rubin@afternet.org>
+
+        * src/nickserv.c: Filling in ldap support for all password related
+       operations: cmd_pass, loc_auth, etc.
+
+2007-02-09  Neil Spierling  <sirvulcan@gmail.com>
+
+       * tools/ldap/ldap_convert.php: Few tweaks.
+
+2007-02-08  Alex Schumann  <rubin@afternet.org>
+
+       * tools/ldap/inetorganon.schema: Scheme for ldap.
+
+       * tools/ldap/ldap_convert.php: Conversion script for converting
+       x3 users to the ldap server.
+
+2007-02-07  Alex Schumann  <rubin@afternet.org>
+
+       * configure.in: adding compile/configure support for ssl libs (not
+               yet needed)
+
+       * configure: updated from above.
+
+       * src/config.h.in: adding compile/configure support for ssl libs (not
+       yet needed)
+
+       * src/x3ldap.c: ldap crypted password pain. SUpport for object classes
+       in config file.
+
+       * src/x3ldap.h: ldap crypted password pain. Support for object classes
+       in config file.
+
+       * src/nickserv.c: change password in ldap when its changed in
+       nickserv. Support for object classes in config file.
+       
+       * src/nickserv.h: support for object classes in conf file
+
+2007-02-07  Alex Schumann  <rubin@afternet.org>
+
+       * src/x3ldap.c: improve error result feedback
+
+       * src/nickserv.c: improve error result feedback (oops, fix for if
+       ldap_enable is 0)
+
+2007-02-07  Alex Schumann  <rubin@afternet.org>
+
+       * src/x3ldap.c: ldap_add functionality
+
+       * src/x3ldap.h: ldap_add functionality
+
+       * src/nickserv.h: ldap_add functionality
+
+       * src/nickserv.c: ldap_add functionality
+
+       * x3.conf.example: ldap_add functionality
+
+2007-02-06  Alex Schumann  <rubin@afternet.org>
+
+       * src/x3ldap.c: fix compiling problem when non-ldap. Compile fixups
+       and sanity checks.
+
+        * configure.in: Better ldap library handling **oops ** helps to
+       actually have -lldap in LIBS...
+
+       * configure: regenerated from above ** **
+
+       * x3.conf.example: tweaked ldap settings
+
+       * src/nickserv.h: remove ldap config settings if not compiled in
+
+       * src/nickserv.c: automatiaclly add users who can auth to ldap and get
+       logins working.
+
+2007-02-06 Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/x3ldap.c: Added GPL header, also change the printf's to
+       log_module's as per one of the todo comments.
+
+       * src/x3ldap.h: Added GPL header.
+
+2007-02-05  Alex Schumann  <rubin@afternet.org>
+
+        * src/nickserv.c: fix non-compile without ldap problem 
+
+2007-02-05  Alex Schumann  <rubin@afternet.org>
+
+        * src/x3ldap.c: Beginnings of ldap authentication support
+
+       * src/x3ldap.h: Beginnings of ldap authentication support
+
+       * src/nickserv.h: Move config struct to .h so ldap.c can see it too
+
+       * src/nickserv.c: Beginnings of ldap authentication support
+
+       * x3.conf.example: ldap config settings
+
+       * src/md5.c: remove old debugging printf() code
+
+       * src/configure.in: add --enable-ldap support to configure
+
+       * configure: rebuilt from above
+
+       * src/Makefile.am: add --enable-ldap support to configure
+
+       * src/Makefile.in: rebuilt from above
+
+
+2007-02-04 Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/hash.c: Bug fix for bug #1651561.
+
+2007-02-01 Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/nickserv.c: Fixed bug #1649326.
+
+2007-01-28  Alex Schumann  <rubin@afternet.org>
+        
+       * src/mod-memoserv.c: if you bind memoserv commands to chanserv's
+       nick, and someone sends a memo, send them the memo from memoserv, if
+       there is a memoserv (not chanserv).  Also, make the mini-help prompts
+       more generic, for when they come from another bot besides memoserv.
+
+2007-01-15  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/proto-p10.c: RPING support.
+
+2007-01-15  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/proto-p10.c: This will hide annoying rping/rping error messages
+       from the o3 alert channel when denora is linked. Will write proper
+       functions when i figure out how rping n rpong works.
+
+2007-01-15  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: As kNode points to an entry in killed_users_dict,
+       we need to free kNode before removing the entry. Fixed a nasty
+       glibc core.
+
+2007-01-12  Alex Schumann   <rubin@afternet.org>
+
+        * src/mod-helpserv.c: This module is coded very poorly, with lots of
+       newby c mistakes with pointers and malloc and whatnot. This fixes some
+       small part of that so that user commands work again, and to reduce
+       confusion.  It needs a LOT more work to be what I would consider
+       safe..
+
+2007-01-12  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: Horrible but it will do, i need to rewrite
+       the flag system.
+
+       * src/spamserv.h: Oppsie, probably my fault. Fixed caps and
+       badreaction being linked up.
+
+       * src/proto-p10.c: Fixed handling of incoming SVSPART's.
+
+2007-01-10  Alex Schumann  <rubin@afternet.org>
+
+        * src/log.c: commented out impossible assertion which makes x3 core on
+       fatal errors instead of exit cleanly.
+
+2007-01-10  Alex Schumann  <rubin@afternet.org>
+
+        * src/mod-helpserv.c: fix strncpy problem
+
+2007-01-07  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: Fixed some bugs in trace_check_bans (Used with
+       checkrestrictions alerts.
+
+       * src/opserv.c: Fixed up how limits are check with checkrestrictions.
+
+2007-01-07  Neil Spierling  <sirvulcan@gmail.com>
+
+       * configure: Regenerated.
+
+       * configure.in: Added HAVE_HELPSERV.
+
+       * x3.conf.example: Seems theres been a hidden prefix option to
+       allow users to use helpserv commands (ones for users not helpers).
+
+       * src/config.h.in: Added HAVE_HELPSERV.
+
+       * src/mod-helpserv.c: Made helpserv more useable:
+
+       * Added CLOSEREQ for users to close their current request.
+
+       * Added SHOWREQ for users to show their current req (equiv of SHOW).
+
+       * Added JoinTotal, if ON then when a helper joins the channel they
+       will be sent a notice of the total UNASSIGNED requests. 
+
+       * Added AlertNew, if ON then when a user opens a new help request
+       all helpers will be alerted.
+
+       * Added SUSPEND/UNSUSPEND for suspending and unsuspending help 
+       bots.
+
+       * Added $i replacer for HelpServ SET's, changes $i to a valid
+       request id. If no iq exists for another bot uses $i then all
+       that is displayed is $i.
+
+       * Changed the USERCMD function type from void to int so that we
+       dont get a warning when trying to use REQUIRE_PARMS in a usercmd
+       function.
+
+       * Seeing as helpserv does its help slightly different i added in the
+       HEADER/DIVIDER/FOOTER help code from modcmd.c, so that the help
+       output looks the same.
+
+       * Addded usercmd_helpserv for to access USERINDEX.
+
+       * Allow users to use HELP even without an open request.
+
+       * src/mod-helpserv.help: Made the index a bit more like X3, O3 etc.
+       Also added a USERINDEX. Plus added help for the above things i
+       added to helpserv
+
+       * src/modcmd.c: Adjusted years.
+
+2007-01-03  Alex Schumann  <rubin@afternet.org>
+
+       * src/opserv.c: fix crash in ctcp version checkin
+
+2007-01-01  Alex Schumann  <rubin@afternet.org>
+
+       * x3.conf.example: Fixed set_shows which didnt get updated a while
+       back.
+
+2006-12-26  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: Try this, tho sizeof worked fine for me with
+       info sizes of 4 and 5 ("blss" and "blsss") i had no crashes.
+
+2006-12-26  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: Added CAPSSCAN for scanning caps, other related
+       options added, CAPSREACTION, CAPSMIN, and CAPSPERCENT.
+
+       * src/spamserv.h: Added caps scanning functionality.
+
+       * src/spamserv.help Added caps scanning help
+
+2006-12-26  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: Tweaked the SET output for the EXCEPT levels.
+
+2006-12-26  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: Removed scan voiced/halfops/ops SET options.
+       Added 4 new except levels, EXCEPTADVLEVEL, EXCEPTBADWORDLEVEL,
+       EXCEPTFLOODLEVEL, and EXCEPTSPAMLEVEL. Users equal or above to
+       the specified levels will be exempt. All levels default to
+       UL_OP (200) at first.
+
+       * src/spamserv.h: Added new except variables.
+
+       * src/spamserv.help: Added new sections for the new except SET
+       options, plus removed the level lines for now.
+
+2006-12-25  Neil Spierling  <sirvulcan@gmail.com>
+
+       * Merry Christmas! :)
+
+       * src/spamserv.c: Meh cant sleep damn people outside. Fixed a bug
+       with setting exceptlevel.
+
+2006-12-24  Alex Schumann  <rubin@afternet.org>
+
+       * src/chanserv.c: fixed incorrect message when .dellamer is used on a
+       nickname.
+
+2006-12-25  Neil Spierling  <sirvulcan@gmail.com>
+
+       * Merry Christmas! :)
+
+       * This completes RFE 1577823.
+
+       * src/spamserv.c: Added EXCEPTLEVEL, this replaces the code that
+       excepts all people who are opped etc. Only people above this level
+       will be immune now. Defaults to 300 for channels without the option
+
+       * src/spamserv.h: Added exceptlevel.
+
+       * src/spamserv.help: Added EXCEPTLEVEL.
+
+2006-12-25  Neil Spierling  <sirvulcan@gmail.com>
+
+       * Merry Christmas! :)
+
+       * src/spamserv.c: Added trusted accounts support (RFE 1577823).
+
+       * src/spamserv.help: ADDTRUST, DELTRUST, OADDTRUST, ODELTRUST,
+       and LISTTRUST added.
+
+2006-12-20  Alex Schumann   <rubin@afternet.org>
+
+       * src/Makefile.in: undo temp fix
+
+       * src/opserv.c: perm fix to HAVE_TRACK define problems
+
+       * src/configure.in: perm fix to HAVE_TRACK define problems
+
+       * src/config.h.in: perm fix to HAVE_TRACK define problems
+
+2006-12-21  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/Makefile.in: Temp fix.
+
+2006-12-20  Alex Schumann   <rubin@afternet.org>
+
+       * src/proto-p10.c: added full mark support including as a trace
+       criteria.
+
+       * src/opserv.c:  added full mark support including as a trace
+       criteria.
+
+       * src/hash.h:  added full mark support including as a trace
+       criteria.
+
+       * src/opserv.help: documented the 'marked' criteria in trace.
+
+2006-12-20  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: fixing a bug with unmatching userlevels and the del*
+       commands. (such as delpeon of a user with non-standard peon level)
+
+       * src/spamserv.c: fixing memory corruption problems with dicts. Fixed
+       crash with service rename, and probably many other problems.
+
+       * src/mod-track.c: fixing memory problems, and the broken set command.
+       Track may be stable now, needs large scale testing.
+
+2006-12-20  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.help: Opps that will teach me for cut n pasting.
+       Adjusted duration line for CLVL help. Users are not removed after
+       the duration they are reverted back to their previous access
+       level.
+
+2006-12-19  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: check the ircd side ban list too
+
+       * src/opserv.c: Fixed a small bug, woops.
+
+2006-12-19  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: Added trace_check_bans, cut down version of
+       check_bans for checkrestrictions
+
+       * src/chanserv.h: Declare trace_check_bans.
+
+       * src/opserv.c: Added addalert/trace option checkrestrictions. When
+       using SVSJOIN as an action this option will check the ban lists, invite
+       keys and limits of the target channel and if any match or exist (invite
+       etc) then the SVSJOIN wont go through
+
+       * src/opserv.help: Added information about checkrestrictions.
+
+2006-12-19  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: Timed CLVL's. This just works like my last commit.
+
+       * src/chanserv.h: tweaked expiry to accessexpiry and added clvlexpiry
+       and lastlevel.
+
+       * src/chanserv.help: Added information about timed clvls.
+
+2006-12-18  Alex Schumann   <rubin@afternet.org>
+
+       * src/mod-memoserv.c: add a 'privmsg' flag for being notified via pm
+       instead of notice, when you get new memos. Fixed a buffer overrun with
+       memo ids. 
+
+       * src/mod-memoserv.help: fix-up help for settings.
+
+2006-12-19  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: New feature, channel managers can now add people
+       with a duration. After the duration expires the person will be
+       automatically removed and deoped.
+
+       * src/chanserv.h: Added expiry.
+
+       * src/chanserv.help: Added information about timed accesses.
+
+       * src/modcmd.c: Tweaked addop, addhop etc so a duration can be
+       specified.
+
+2006-12-18  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/proto-p10.c: Reverted one of my line changes.
+
+2006-12-17  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/opserv.c: Fixed up a couple of $b errors.
+
+2006-12-17  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: Woops forgot to init the channel mode change.
+
+       * src/chanserv.h: Tweak to check_bans.
+
+       * src/proto-p10.c: Add some sanity checks plus moved the +x to
+       after the CMD_FAKEHOST otherwise if the person auths then gets
+       marked they will cause 2 Registered quits on the IRCd. Only one
+       will happen now.
+
+2006-12-17  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: Added function check_bans to check bans in a
+       specific channel when needed (see below).
+
+       * src/chanserv.h: check_bans deceleration.
+
+       * src/proto-p10.c: First of all we dont need a handle_info when
+       checking for IsHiddenHost, the IRCd takes care of this. Made it
+       so we copy the fakehost into user->fakehost so X3 can check
+       IsFakeHost properly. Lastly after we set a fakehost in irc_mark
+       we need to recheck the users bans just in case a person has
+       lamer'ed the marked hostname.
+
+2006-12-12  Alex Schumann   <rubin@afternet.org>
+
+       * configure.in: making google core lib optional
+
+       * configure: regenerated
+
+       * src/proto-p10.c: added support for sending nefarious marks
+
+       * src/proto.h: prototype for irc_mark
+
+       * src/opserv.help: documented new mark support. Also documented the
+       svsjoin and svspart commands as they were missing.
+
+       * src/hash.h: added MARKLEN define
+
+       * src/opserv.c: added mark command as well as mark support in trace
+       and addalert.
+       
+2006-12-12  Neil Spierling  <sirvulcan@gmail.com>
+
+       * configure: Regenerated.
+
+       * configure.in: Add support for google core dumper. Plus updated
+       tre to 0.7.5.
+
+       * Makefile.in: Regenerated.
+
+       * rx/Makefile.in: Regenerated.
+
+       * src/config.h.in: Regenerated.
+
+       * src/Makefile.in: Regenerated.
+
+       * tools/core_install.sh: Just like tre_install.sh. This installs
+       the core dumper.
+
+       * tools/coredumper.tar.gz: Google core dumper 0.2.
+       http://sourceforge.net/projects/goog-coredumper/
+
+       * tools/tre_install.sh: Updated version to 0.7.5
+
+       * tools/tre.tar.gz: Updated tre to 0.7.5.
+
+2006-12-10  Alex Schumann   <rubin@afternet.org>
+
+       * src/opserv.c: fix debug message left at wrong level ("checking
+       reroute()")
+
+2006-12-09  Alex Schumann   <rubin@afternet.org>
+
+       * src/opserv.c: bugfixes to autorouting timer code
+       improved stats routing to clean up & take an argument
+
+       * src/opserv.h: bugfixes to autorouting timer code
+
+       * src/opserv.help: document new stats routing syntax
+
+       * src/timeq.c: added some usefull (commented out) debugging code for
+       figuring out timer problems.
+
+       * src/timerq.h: added some usefull (commented out) debugging code for
+       figuring out timer problems.
+
+       * src/proto-p10.c: cleanup/improve eob autorouting init
+
+2006-12-08  Alex Schumann   <rubin@afternet.org>
+
+       * src/opserv.c: Moving some version reply housekeeping to proto-p10.c
+
+       * src/proto-p10.c: moving version reply storage here, adding webTV
+       no_notice support (automatiaclly dont send notices if version reply
+       says its a webtv user since they cant SEE notices. (other clients to
+       add?))  note, this needs a version query alert to get the version from
+       them.
+
+       * src/helpfile.c: honor the no_notices user bit
+
+       * src/hash.h: add no_notices user bit
+
+2006-12-07  Alex Schumann   <rubin@afternet.org>
+
+       * src/opserv.c: Add filter ability to stats alerts + fixup
+
+       * src/opserv.help: document filter feature of stats alerts + fixup
+
+2006-12-02  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: fix to levels command (- were missing)
+
+       * src/tools.c: fix warning
+
+       * src/common.h: fix warning
+
+       * src/chanserv.help: update online help url, changed help general to
+       use new $! command char replacement code.
+
+       * src/hash.c: fix warning when geoip is off
+
+       * src/helpfile.c: add new '$!' code for chanserv's current trigger
+       char in help files
+
+2006-12-01  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: Raisk pointed out that mdelop and friends dont work
+       on users of non-standard access level such as 201. Fixed this by
+       changing mdelop and friends to work on the range of access levels.
+       Added a LEVELS command.
+
+       * src/chanserv.h: corrected PEON access defines such that 1-150 is
+       peon instead of 100-150 with 1-99 being undefined.
+
+       * src/chanserv.help: help for new LEVELS command
+
+       * src/helpfile.c: Improved table functions so that it automatically
+       right-justifies numerical columns.
+
+       * src/tools.c: Added helper functions str_is_number and msnprintf (an
+       auto-mallocing printf function)
+
+       * src/common.h: defines and defines for msnprintf and str_is_number
+
+
+2006-11-30  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: Modified .myaccess such that if you give it your own
+       account when you are not a helper, it still works. (Requested by
+       Jigsy)
+
+       * src/nickserv.help: Corrected the help file to feed oregister based
+       on email_required instead of email_enabled
+
+       * src/nickserv.c: Fix & close sf bug 1584057 (hidden_host with no dots
+       causes crash in set if no title) thanks xanjunior
+
+2006-10-18  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/opserv.c: Minor cosmetic error noticed by Raisk. If doing an
+       opserv WHOIS from another service (when bound), the channels reply
+       would come from o3 instead of that service.
+
+2006-10-18  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/opserv.c: Added in SVSPART alert/traces.
+
+       * src/opserv.help: Added in bits for SVSJOIN, SVSPART, and VERSION.
+
+       * src/proto.h: Added in decleration for svspart.
+
+       * src/proto-p10.c: Extend current SVSPART functionality so that we
+       can send them with traces etc.
+
+2006-10-14  Alex Schumann   <rubin@afternet.org>
+
+       * src/opserv.c: fix crash Buttaknife noticed if you forget chantarget 
+       in svsjoin alerts. Cleanup old silent code fragments left over. Check
+       for missing chantarget in alerts also.
+
+2006-10-12  Alex Schumann   <rubin@afternet.org>
+       
+       * src/opserv.c: Added VERSION alert/trace reaction, so you can now
+       setup x3 to version only users matching a criteria, and then another
+       alert to do someting based on the version reply. This should be
+       usefull for finding bots etc. Or, for example, you can make all xchat
+       people join #xchat, or all mirc join #mirc etc.
+       Also, there is a fix in here for SVSJOIN which i hadn't gotten
+       everything working with.
+
+       * src/proto-p10.c: added privmsg_user and version_user functions
+
+       * src/proto.h: added privmsg_user and version_user function
+       declerations
+
+       * src/hash.h: added version_reply variable to users
+
+
+
+2006-10-12  Alex Schumann   <rubin@afternet.org>
+
+       * src/opserv.c: Added SVSJOIN command, to push a user into a channel,
+       and a TRACE REACTION of SVSJOIN for trace and alerts. Now you can do
+       something like 'trace SVSJOIN chantarget #dronebots nick bot[*'
+       or send all level3 users to a perticular channel on connection, etc.
+
+2006-10-12  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: Make lamers not affect users on the userlist above
+       inviteme level in the channel. (why kb users who can .uba and
+       .inviteme back in?)
+
+2006-10-10  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/spamserv.c: Ignore those with access (if the options are
+       disabled- scanchanops, scanhalfops, scanvoiced.
+
+2006-10-08  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: undid 9/16/06 change of 5 second delay before
+       autojoin. Not really a great solution. Instead, move auth_handler
+       funcs to be called after stamping etc. thx to Buttaknife for this
+       solution.
+
+       * src/nickserv.c: move auth_func calls to after stamping, and
+       commented up the cmd_auth source to make it more managable.
+
+2006-10-04  Alex Schumann   <rubin@afternet.org>
+
+       * src/chanserv.c: remove redundant 'none' from empty llists
+
+2006-10-04  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/nickserv.c: Fix for bug 1555621. Cookie data will be copied
+       over with odelcookie now.
+
+2006-10-04  Neil Spierling  <sirvulcan@gmail.com>
+
+       * src/chanserv.c: Fix for bug 1551717. If automode is set to 0
+       in a channel and a user auths in the channel, the user will not
+       receive autoop etc if they have it enabled in uset.
+
+2006-10-03  Alex Schumann  <rubin@afternet.org>
+
+       * src/opserv.c: Check for connect timer entries before adding new
+       ones, hopefully will fix bug 1570408 (pLaYa, let us know)
 
 2006-09-25  Neil Spierling  <sirvulcan@gmail.com>