summaryrefslogtreecommitdiff
path: root/lib/rbot/botuser.rb
AgeCommit message (Collapse)Author
2014-03-06[config] adds a new param store_defaultMatthias H
Creates a new option to store the default at first run. This fixes the problem that random auth passwords are not kept, it also allows us to always store the core.db config value.
2014-02-21[webservice] control bot through http interfaceMatthias H
2014-02-21[auth] randomized default passwordMatthias H
2011-01-12Ruby 1.9 cleanup: variables warningsGiuseppe Bilotta
Fix most ruby 1.9 warnings about shadowed variables (still one remaining in keywords.rb). The only significant changes are in the quiz game plugin. Also fix an issue in dictclient where the block parameter of a method was not correctly isolated from the previous parameter.
2009-02-19remove whitespaceRaine Virta
2008-07-16Revert "* use to_irc_netmask(:force => true) to unlink Netmasks from their ↵Giuseppe Bilotta
Server to prevent errors when dumping users" This reverts commit 9a1cf6a11b12c06cd925dd6a789ec98fe750c8ad, since it was a hack to work around the undumpable Channel (and consequently Server and Netmask) caused by 847a977b228b35f5ab281a31dd3724a4db887dff "#any? and #all? methods for Channel#mode to check if modes are set" and fixed by 8f8205310518e7b0626d657ba9667f7bfc745371 "Dumpable definition of #any? and #all? methods for Channel#mode"
2008-07-14* use to_irc_netmask(:force => true) to unlink Netmasks from their Server to ↵Giuseppe Bilotta
prevent errors when dumping users
2008-04-22Licensing uniformity: dual-license rbot core under MIT+acknowledgement and GPLv2Giuseppe Bilotta
2008-04-14+ temporary permissionsGiuseppe Bilotta
2008-03-04Unixify all line endings.Giuseppe Bilotta
Some files had DOS-style line endings. Change all of them to Unix-style.
2008-02-10botuser: add command to reset the netmasks listGiuseppe Bilotta
2007-12-06debug info to track hard-to-nail bug about disappearing hosts in botuser ↵Giuseppe Bilotta
netmasks
2007-12-03New Auth Framework: sanitize botusername ''before'' checking for existenceGiuseppe Bilotta
2007-12-03New Auth Framework: TypeError, not TypErrorGiuseppe Bilotta
2007-11-06Improved inspect methods all aroundGiuseppe Bilotta
2007-10-11New Auth Framework: always allow the 'login' commandGiuseppe Bilotta
2007-09-23New Auth Framework: BotUser#default? and owner? methodsGiuseppe Bilotta
2007-09-23UserData cote botmodule to handle user data storage/retrievalGiuseppe Bilotta
2007-09-22* (botuser) generalize() netmasks on transient->permanentDmitry Kim
2007-09-22New Auth Framework: add make_permanent() and related methods to make a ↵Giuseppe Bilotta
transient BotUser permanent
2007-09-22New Auth Framework: please document methodsGiuseppe Bilotta
2007-09-21+ (botuser + maskdb) fast netmask lookup + supplemental fixes for transient ↵Dmitry Kim
users
2007-09-15New Auth Framework: catch possible error when trying to create transient botuserGiuseppe Bilotta
2007-09-13namespaces: simplify Irc::Bot::Auth manager singleton name and accessorGiuseppe Bilotta
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-09-04New Irc Framework: Irc::User#bot_data(key) and #set_bot_data(key, value, ↵Giuseppe Bilotta
&block) to store bot-specific Irc::User data. Currently relies on the data structure in the associated BotUser
2007-09-04New Auth Framework: dream about auto-notifying hashes, and use #replace() ↵Giuseppe Bilotta
when loading data
2007-09-04New Auth Framework: BotUser data is now actually saved/restoredGiuseppe Bilotta
2007-09-04New Auth Framework, New Irc Framework: convenience methods for Irc::User to ↵Giuseppe Bilotta
retrieve the associated BotUser and its data
2007-09-04New Auth Framework: BotUser can now store generic dataGiuseppe Bilotta
2007-09-04New Auth Framework: BotUser transiency is now checked with #transient?Giuseppe Bilotta
2007-09-04New Auth Framework: transient netmask finetuningGiuseppe Bilotta
2007-09-04New Auth Framework: no need to have TransientBotUser as a separate classGiuseppe Bilotta
2007-09-04New Auth Framework: use #to_irc_netmask() instead of Netmask.new()Giuseppe Bilotta
2007-09-02New Auth Framework: TransientBotUser managementGiuseppe Bilotta
A TransientBotUser can only be created with an associated Irc::User or Irc::Netmask. If an Irc::User cannot be logged in as a normal BotUser, TransitentBotUsers are tried. Optionally, a TransientBotUser can be created automatically.
2007-09-02New Auth Framework: introducing transient botusersGiuseppe Bilotta
2007-09-02botuser.rb: fix typo in debug messageGiuseppe Bilotta
2007-08-26Use rbot's own warning() command instead of Ruby built-in warn()Giuseppe Bilotta
2007-08-23New Auth module: keep auth.password and botowner passwords in sync when ↵Giuseppe Bilotta
changing them
2007-07-31botuser.rb: don't fail when being passed nil instead of an array to loadGiuseppe Bilotta
2007-07-09integrated ruby-gettextYaohan Chen
modified a few files to allow translated messages created gettext template file initialized gettext files for Japanese and Simplified Chinese
2007-04-11use pretty printing with Logger (debug, info, warning and error messages)Giuseppe Bilotta
2007-02-18Minor optimization to Auth.random_passwordGiuseppe Bilotta
2007-02-15Allow all printable 7-bit ASCII characters in passwordsGiuseppe Bilotta
2007-02-15Stringify password when creating botuser. Useful when e.g. conf.yaml ↵Giuseppe Bilotta
contains a master password which is numeric and unquoted
2007-02-11Minor messagemapper optimizationsGiuseppe Bilotta
2006-08-17Stupid horrible typo in botuser.rb login methodGiuseppe Bilotta
2006-08-17Provide the InvalidPassword exceptionGiuseppe Bilotta
2006-08-11auth.allow? method now informs a user when they don't have permissionsGiuseppe Bilotta
2006-08-10BotUser wants username=, not name=Giuseppe Bilotta