1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 15:26:39 +02:00

Commit Graph

  • 0779326cce Off by one? rburchell 2008-11-24 21:49:11 +00:00
  • e6acd6dc96 Fix issue with writing channels in db-convert. cyberbotx 2008-11-23 22:49:32 +00:00
  • f73beeefa2 Added small document explaining C++-style casting. Includes links to web pages explaining them as well. cyberbotx 2008-11-23 19:12:29 +00:00
  • 8431ac369b Converted many C-style casts to C++-style casts. cyberbotx 2008-11-23 19:12:20 +00:00
  • 5950b11a0f Fix example id rburchell 2008-11-23 17:53:51 +00:00
  • 379983726b Various stuff for channels.. rburchell 2008-11-23 17:53:29 +00:00
  • bfedbe0370 Fixed a potential memory leak in the config parser. cyberbotx 2008-11-22 18:24:20 +00:00
  • fb5d7d1815 Properly initialized new objects when needed so they don't contain garbage data. Also, converted line endings in os_ignore_db from CR+LF to LF. cyberbotx 2008-11-22 02:31:23 +00:00
  • 16e667a2ce Replaced most uses of smalloc and scalloc with new, replaced most uses of free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. cyberbotx 2008-11-22 01:11:19 +00:00
  • 1532aa675f Fix bug leading to only one core being correctly converted rburchell 2008-11-21 19:39:06 +00:00
  • 9aadd803eb Finish a comment it seems I only ever half started rburchell 2008-11-21 18:11:05 +00:00
  • becf84ee20 Don't send OPERTYPE for Services pseudoclients, this should not cause problems as services are remote users, and should gain less spam on services connecting, and no need to fiddle with /lusers counts. rburchell 2008-11-21 17:58:09 +00:00
  • e6dfa9cf53 Don't allow registration of nicks beginning with a digit on Insp12 (disallows UID registration) rburchell 2008-11-21 17:33:10 +00:00
  • 36a896fba0 Remove unnecessary comment rburchell 2008-11-21 17:32:49 +00:00
  • a295adfb93 Retarget some more difficult things to post 1.9.0 rburchell 2008-11-21 16:36:11 +00:00
  • 30c1a1d3e4 Write aliases and memo data in new DB format rburchell 2008-11-21 16:35:57 +00:00
  • d0d05dc98e Save the number of channels the account has registered, also rburchell 2008-11-21 11:03:00 +00:00
  • fd152875a5 Remove unused data/tables.sql rburchell 2008-11-21 11:02:44 +00:00
  • 69ffec087f Save memos and access in new db. rburchell 2008-11-21 11:02:30 +00:00
  • 5a64d74e70 Cleanup of some comments and includes. rburchell 2008-11-21 11:02:15 +00:00
  • 4c76e49100 Convert numeric language IDs to string IDs ("en", "fr", etc) in db converter, this will allow for less fragility (and removing languages that no longer exist), and so on. rburchell 2008-11-21 10:16:45 +00:00
  • 6e54bbc507 Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove hard dependancy on m_globops by sending SNONOTICE A (notice to general oper snomask) if it is not loaded on the network. rburchell 2008-11-21 09:55:57 +00:00
  • ab85c3fe9b Fix ident changing being broken rburchell 2008-11-21 09:55:32 +00:00
  • 84d9048b21 Cleanup in example.conf. cyberbotx 2008-11-21 03:05:07 +00:00
  • e8d0d9fc4d Update TODO with regard to config. cyberbotx 2008-11-20 03:42:58 +00:00
  • 04c8b28ae7 Removed some signed/unsigned comparison warnings. cyberbotx 2008-11-20 03:35:16 +00:00
  • b62f8b67f5 Changed integer config values that were marked PARAM_POSINT in the old config to unsigned integers. cyberbotx 2008-11-20 02:06:30 +00:00
  • fa82184d9c Removed old example.conf and replaced with example_new.conf, services.conf will now be read by the new parser and not services_new.conf cyberbotx 2008-11-20 02:06:20 +00:00
  • 42fe52c078 Call find_byuid() if isdigit(*nick) and ircd->ts6 (most likely looking up a uid). Fixes insp12 stuff. rburchell 2008-11-20 00:11:45 +00:00
  • d1515210cf Moved include of configreader.h to stop undefined reference to strlcpy (needs testing). cyberbotx 2008-11-20 00:05:38 +00:00
  • 5e78b4dc56 Commit WIP converter, by no means final, ugly, etc, please ignore this commit! :) rburchell 2008-11-19 23:24:34 +00:00
  • d3b2d4c5a4 Remove duplicated copy of binary_to_hex() rburchell 2008-11-19 23:23:31 +00:00
  • ba20023fb4 Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to migrate settings. rburchell 2008-11-19 23:22:46 +00:00
  • 1a8633d81a Remove merging side of things.. we just want to plonk data in from one set of dbs. rburchell 2008-11-19 23:21:55 +00:00
  • 4506d0e05b Copy db-merger to db-convert. rburchell 2008-11-19 23:20:25 +00:00
  • 0f069f0e8b Converted modules to use ConfigReader to access new config parser. Added all module directives to new config. Removed references to old config parser (not sure if I got them all, though). cyberbotx 2008-11-19 00:48:29 +00:00
  • 1a2fdff0c6 Added ConfigReader class from InspIRCd to be used in modules to read config files using the new config parser. cyberbotx 2008-11-18 23:58:33 +00:00
  • 4cd33b4290 Fix various shadowed warnings in db-merger, db-merger is about to become the basis for db-convert, because I'm lazy. rburchell 2008-11-18 19:24:03 +00:00
  • 57b115363c Removed autokilldatabase directive from operserv block as it is no longer in use with the removal of legacy database support. cyberbotx 2008-11-18 17:06:20 +00:00
  • 8f66ecfe0d Mark done rburchell 2008-11-18 15:28:04 +00:00
  • 16321e7638 Remove an insane amount of backwards compatibility from database loading, this means that only latest DB versions will load, others will print an error. rburchell 2008-11-18 15:26:18 +00:00
  • a7e4a8e0fc Two items to TODO rburchell 2008-11-18 15:25:58 +00:00
  • dbcc42e932 Added localhost and localport directives to serverinfo block in new config. Removed some more MySQL references. Added proper check for uplink block to make sure there is at least one defined. cyberbotx 2008-11-18 03:24:48 +00:00
  • b41009db5f Refactor nick enforcement to make a bit more sense. rburchell 2008-11-16 21:06:46 +00:00
  • ffbcff1604 Added support for multiple uplink blocks in the new config. Moved the type and id directives from the uplink block to the serverinfo block. Small config fixes. cyberbotx 2008-11-16 19:31:31 +00:00
  • 72a4c7e6c7 Added module blocks for autoloading non-core modules. Modified buildStringList to take an std::string and use spacesepstream instead of strtok. cyberbotx 2008-11-16 17:44:35 +00:00
  • 0db67c7938 Fix a few lines added/changed earlier to be the way they should be. cyberbotx 2008-11-16 02:20:12 +00:00
  • cbb6c43c7e Mark perm channels (partly) fixed. Proper fix will wait for 1.9.1. rburchell 2008-11-16 02:03:51 +00:00
  • 92280e7a25 Mark removal of UseTS6 and other options done. rburchell 2008-11-16 01:33:15 +00:00
  • aee9590287 Correct logic: don't allow UID init if IRCd does not support TS6 rburchell 2008-11-16 01:27:07 +00:00
  • 1d45a53fa2 Remove UseTS6. This is now on or off at an ircd, not a config level. Move Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice.. rburchell 2008-11-16 01:26:47 +00:00
  • 61f2ce9a41 Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go away, as it is hacky, and no longer used with any of the ircds. rburchell 2008-11-16 00:56:47 +00:00
  • 01806ba861 Remove UnRestrictSAdmin. rburchell 2008-11-16 00:56:17 +00:00
  • 69d5982adb Remove the MySQL related directives from the old config as MySQL has been ripped out of 1.9 for the time being. cyberbotx 2008-11-15 21:49:16 +00:00
  • 8131ca2c98 Added ulineservers directive to options block in new config. cyberbotx 2008-11-15 21:49:07 +00:00
  • 77c47e06a8 Added newscount directive to options block in new config. cyberbotx 2008-11-15 21:48:55 +00:00
  • 561096f729 Added restrictopernicks directive to options block in new config. cyberbotx 2008-11-15 21:48:44 +00:00
  • a5ef72b9b4 Added nickregdelay directive to options block in new config. cyberbotx 2008-11-15 21:48:33 +00:00
  • 45e9c393df Added anonymousglobal directive to options block in new config. cyberbotx 2008-11-15 21:48:20 +00:00
  • b9656d2e63 Add a few items to TODO rburchell 2008-11-15 21:46:27 +00:00
  • c52f0e5cac Check for MOD_ERR_OK instead of any number - this will prevent getting an error message stright after a success message when a module was unloaded properly :) robbeh 2008-11-15 21:45:41 +00:00
  • 2d768eb325 Modules now delete themselves instead of letting the core do it (just incase one of them has used a custom delete operator) robbeh 2008-11-15 21:25:40 +00:00
  • f0fe5427ff Added globaloncycleup directive to options block in new config. cyberbotx 2008-11-15 21:20:13 +00:00
  • 3ae892c608 Added globaloncycledown directive to options block in new config. Added ValidateGlobalOnCycle function to validate the directives that control Global on cycle. cyberbotx 2008-11-15 21:20:00 +00:00
  • e696a843fc Added globaloncycle directive to options block in new config. cyberbotx 2008-11-15 21:19:50 +00:00
  • 78b1bc9b0a Added hidestatso directive to options block in new config. cyberbotx 2008-11-15 21:19:38 +00:00
  • dd4069b504 Added dumpcore and logusers directives to options block in new config. cyberbotx 2008-11-15 21:19:28 +00:00
  • dc2176560d Added usestrictprivmsg directive to options block in new config. cyberbotx 2008-11-15 20:39:49 +00:00
  • 2aff20acc0 Added useprivmsg directive to options block in new config. cyberbotx 2008-11-15 20:39:37 +00:00
  • db43487faf Added forceforbidreason directive to options block in new config. cyberbotx 2008-11-15 20:39:20 +00:00
  • c30ec33695 Added keepbackups directive to options block in new config. cyberbotx 2008-11-15 20:39:02 +00:00
  • f3bb3064d2 Added keeplogs directive to options block in new config. cyberbotx 2008-11-15 20:38:50 +00:00
  • 372c9add36 Add newline rburchell 2008-11-15 19:36:15 +00:00
  • 5e38abcccc Add forgotten new header. rburchell 2008-11-15 19:32:36 +00:00
  • e2645b91c3 Mark moduleGetData update as done. rburchell 2008-11-15 19:17:32 +00:00
  • 28a7779174 Added timeoutcheck directive to options block in new config. cyberbotx 2008-11-15 19:15:06 +00:00
  • 2e9f890978 Added warningtimeout directive to options block in new config. cyberbotx 2008-11-15 19:14:43 +00:00
  • 4ed52553b0 Added readtimeout directive to options block in new config. cyberbotx 2008-11-15 19:14:23 +00:00
  • 486097e27b Added expiretimeout directive to options block in new config. cyberbotx 2008-11-15 19:14:05 +00:00
  • 5fa7475f65 Added updatetimeout directive to options block in new config. cyberbotx 2008-11-15 19:13:44 +00:00
  • ec8fd88965 Added badpasstimeout directive to options block in new config. cyberbotx 2008-11-15 19:13:26 +00:00
  • 675c8dc34a Added badpasslimit directive to options block in new config. cyberbotx 2008-11-15 19:13:07 +00:00
  • ba15bdc174 Fixes to Insp1.2: - Send a SID prefix for ENDBURST - If we can't find the source of a modechange, hack it into sender (for server mode changes) - If the target doesn't exist, abort the modechange to avoid NULL ptr deref (can happen if the user got killed off) rburchell 2008-11-15 18:24:47 +00:00
  • 22f356846e Fix special characters in translations. Thanks, Szymek. rburchell 2008-11-15 18:24:28 +00:00
  • 8784fa995e Remove moduleAddData|GetData|DelData and all associated mess. Extensible base replaces all this in a much cleaner and more transparent fashion. rburchell 2008-11-15 17:56:39 +00:00
  • b2b0e1d235 Create and use constructors for NickInfo, NickAlias, ChannelInfo. Inherit all three from Extensible. Convert to use that instead of moduleData stuff. rburchell 2008-11-15 17:55:55 +00:00
  • 5384c97c14 Revert "Clarify some casts to stop warnings on some compilers" rburchell 2008-11-15 17:55:22 +00:00
  • 55e9bf5aea Added strictpasswords directive to options block in new config. cyberbotx 2008-11-15 17:52:45 +00:00
  • 12b60a78ff Added nobackupokay directive to options block in new config. cyberbotx 2008-11-15 17:52:36 +00:00
  • a5eb22efd8 Added userkey[123] directives to options block in new config. Added ValueContainerLUInt specialization of ValueContainer for the above directives. cyberbotx 2008-11-15 17:52:23 +00:00
  • 7fde7771aa Started options block in new config, added encryption directive to it. cyberbotx 2008-11-15 17:52:12 +00:00
  • 2da462ba97 Add Extensible class, which we will use for metadata, derive class User from it as a compile test. Thanks to Insp for this code. rburchell 2008-11-15 16:21:19 +00:00
  • c968d32ee2 applied 1.8.0s fix for the /ns resend issue robbeh 2008-11-15 16:11:40 +00:00
  • dde05e96cf Remove Message::mod_name, modules cannot own ircd messages any more (this means everything at protocol level is handled *at protocol level only*, which is good). Also merge callback stuff in with Module class, removing more mod_current_ usage. rburchell 2008-11-15 15:46:25 +00:00
  • 73f4cccf99 Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() into ModuleManager:: rburchell 2008-11-15 15:45:27 +00:00
  • 2145e97d70 Clarify some casts to stop warnings on some compilers rburchell 2008-11-15 15:07:38 +00:00
  • 1da6b93633 Nuke eventprintf() and EvtMessage from orbit rburchell 2008-11-15 12:51:03 +00:00
  • 3fce6d680d Remove src/modules/demos, we've sufficient (real world) demos now, and some of these are quite out of date. rburchell 2008-11-15 12:50:32 +00:00
  • 4ff3aaccd8 Fix an incorrect cast causing bans to appear to come from 1940. rburchell 2008-11-15 12:28:15 +00:00
  • 60a55fcf16 Fix crash-on-squit with insp12: problem is that an sid was passed in as source for do_server(), which apparantly wasn't much liked.. it also now throws an exception if a nonexistant (to anope) uplink is found, because that would cause weird problems later on. rburchell 2008-11-15 12:18:08 +00:00