summaryrefslogtreecommitdiff
path: root/src/tools/db-convert.c
AgeCommit message (Collapse)Author
2010-06-27The next of a few "CBX OCDing over code style" commits, maybe the last.Naram Qashat
NOTES: I have been unable to compile the db_mysql_* functions on my system here, so those are untested. db-convert seems to be badly programmed and needs more work in my opinion.
2010-06-25Made db-convert handle old corrupted databases from 1.8 that used mysql with rdbAdam
2010-06-22Made db-convert really convert nickalias lastseen/lastused/lastquitAdam
2010-06-21Fixed some more problems with db-convertAdam
2010-06-19Made db-converter add all of the core clients when converting a 1.8 databaseAdam
2010-06-19Made db-converter only write mlock params if there really is one, fixes some ↵Adam
problems with converting mlock for certain databases
2010-06-18Burned slist, rewrote operservs XLine codeAdam
2010-06-12Made db-convert change old disabled levels to newer ACCESS_QOP, keeps people ↵Adam-
from being locked out of controlling their own XOP channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3002 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-20Fixed db-convert to properly convert mlocked mode names for the new databasesAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2970 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14Reversed the autoop flag to make it more logical. In 1.8, we set this flag ↵DukePyrolator
to DISABLE autoop. Now we set this flag to ENABLE autoop. Also updated the database converter. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2957 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-09fixed the database converter (streams dont like null pointers)dukepyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2874 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-31Added last used time to akick viewAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2846 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-06added a check for null pointersdukepyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2803 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-24Fixed db-convert and enc_old to work when converting databases using enc_oldAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2776 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-09changed all password fields to std::string and reworked the way how the enc ↵DukePyrolator
modules handle the passwords git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2740 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-03Fixed db-convert to really convert vhostsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2728 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-02Rewrote the vhost code, and moved it to be part of nickalias instead of in ↵Adam-
its own list. This also fixes being able to steal other users vhosts with /hs on git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2724 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31Added in new plaintext databases. Note: This currently has no automatic ↵Adam-
backup feature. Big thanks to Phil on this for mass scale testing git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14More work on db-convert, almost done. This also moves the bot section of the ↵Adam-
db above the chan section, so we can check if channel bot names are valid git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2703 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-14Did some more work on db-convertAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2701 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-07added a function to convert some mlock modesDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2692 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-04some code cleanupDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2682 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29the database converter can now convert the operserv databaseDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2678 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29the database converter can now handle a broken bot.db from 1.9.0DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2677 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29fixed some bugs in the database converterDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2676 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-29updated database converterDukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2675 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Fix a few warnings. Also move split_usermask into cs_akick, as this is the ↵rburchell
only place it is used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Some more Windows fixes, both in CMake and in the code itself. (I don't like ↵cyberbotx
the const casting for the latter, but it's only until we get rid of use of strchr) Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows. Some other minor CMake fixes. Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows. Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, mostly to handle both *nix and Windows builds.cyberbotx
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Remove (void) args, these just make things ugly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26Various fixes for compiling under Windows.cyberbotx
Also updated ms_* modules to use std::vector Memo struct from earlier commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Fix another issue with writing channels in db-convert.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Fix issue with writing channels in db-convert.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1790 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Various stuff for channels..rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1786 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Fix bug leading to only one core being correctly convertedrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1782 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Write aliases and memo data in new DB formatrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1776 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Save the number of channels the account has registered, alsorburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1775 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Save memos and access in new db.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1773 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Cleanup of some comments and includes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1772 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Convert numeric language IDs to string IDs ("en", "fr", etc) in db ↵rburchell
converter, this will allow for less fragility (and removing languages that no longer exist), and so on. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1771 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Commit WIP converter, by no means final, ugly, etc, please ignore this ↵rburchell
commit! :) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1761 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to ↵rburchell
migrate settings. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Remove merging side of things.. we just want to plonk data in from one set ↵rburchell
of dbs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1758 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Copy db-merger to db-convert.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1757 5417fbe8-f217-4b02-8779-1006273d7864