summaryrefslogtreecommitdiff
path: root/lib/rbot
AgeCommit message (Collapse)Author
2007-10-21Suppress some warningsGiuseppe Bilotta
2007-10-11* (ircsocket) inconsistent socket state after ssl exceptions in connect(), fixedDmitry Kim
2007-10-11New Auth Framework: always allow the 'login' commandGiuseppe Bilotta
2007-10-11httputil: try to guess content-type from extension if it's not definedGiuseppe Bilotta
2007-10-11httputil: beware that content-type header may be absentGiuseppe Bilotta
2007-10-11first_html_par: detect fragment at the right placeGiuseppe Bilotta
2007-10-04Fix overzealous [1231]Giuseppe Bilotta
2007-10-01* (utils) should use partial_body() for non-text responses as wellDmitry Kim
2007-10-01core/config: fix helpGiuseppe Bilotta
2007-09-25message.rb: fix logmessage for CTCP ACTIONsGiuseppe Bilotta
2007-09-24message.rb: logmessage method to retrieve the message for logging purposesGiuseppe Bilotta
When logging messages, it is appropriate to remove color and identification prefixes (in networks that support it), but not the address prefix. Solve this by saving a copy of the message without the address prefix(es) removed, and use it in irclog*() methods.
2007-09-24core/userdata: store transient data too, keyed by (first-and-only) netmaskGiuseppe Bilotta
2007-09-24core/userdata: always store nick-based dataGiuseppe Bilotta
2007-09-24core/userdata: refactor set_data_hash methodGiuseppe Bilotta
2007-09-23core/auth: missing help for who isGiuseppe Bilotta
2007-09-23core/userdata: with_botdata methodGiuseppe Bilotta
2007-09-23core/userdata: bot_data -> botdataGiuseppe Bilotta
2007-09-23New Auth Framework: use Botuser#default? and owner? methodsGiuseppe 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-22registry.rb: don't create registry file unless accessing it for writingGiuseppe Bilotta
2007-09-22message.rb: fix "I'm Stupid(TM)" bug in [1100]Giuseppe Bilotta
2007-09-22* (botuser) generalize() netmasks on transient->permanentDmitry Kim
2007-09-22+ (irc) generalize() method for Netmask classDmitry 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-21* (core/auth) more debug logging on exceptionsDmitry Kim
2007-09-21New Auth Framework: auth core botmodule was missing an m.replyGiuseppe Bilotta
2007-09-21New Auth Framework: auth core botmodule was failing when someone asked ↵Giuseppe Bilotta
something about a nonexisting botuser
2007-09-21+ (core/auth) "!who is :user" syntaxDmitry Kim
2007-09-21Utils.decode_html_entities: get rid of commented table and implement latin-1 ↵Giuseppe Bilotta
(and then some) decoding
2007-09-21Utils: we are an UTF-8 aware bot now, no need to ASCIIfy HTML entitiesGiuseppe Bilotta
2007-09-21Utils.decode_html_entities: fix decoding of unknown symbolsGiuseppe Bilotta
2007-09-19core: only WHO on join if it's the bot itself joining a channelGiuseppe Bilotta
2007-09-18ircify_html: minimal support for li tagsGiuseppe Bilotta
2007-09-18first_html_par: after-paragraph matches should prefer divs and spans to ↵Giuseppe Bilotta
other elements
2007-09-18first_html_par: make Hpricot handling more robustGiuseppe Bilotta
2007-09-18first_html_par: constify the 'after par' searches with HpricotGiuseppe Bilotta
2007-09-18utils: require 'hpricot' the second time, not 'htmlentities' againGiuseppe Bilotta
2007-09-18first_html_par: it's doc.root.search, not doc.root.eachGiuseppe Bilotta
2007-09-18first_html_par: build lists 'manually' when using HpricotGiuseppe Bilotta
Hpricot selectors (like doc/"css path") don't return elements in their natural (depth-first) order. Use custom searches from the root of the document to achieve this.
2007-09-18HTML processing refactoring: remove obsolete commentGiuseppe Bilotta
2007-09-18extends: String#ircify_html now has an option to obey non-breakable spaces ↵Giuseppe Bilotta
or turn them into normal spaces This option is used e.g. by the dict plugin to reduce the excessive whitespace in oxford entries.
2007-09-18httputil: promote all Exceptions to RuntimeErrors so they can be caught with ↵Giuseppe Bilotta
inline rescue
2007-09-18Hpricot first par: it's el[:class], not el.classGiuseppe Bilotta
2007-09-18HTML processing refactoring: fix options passed by ↵Giuseppe Bilotta
Utils.get_string_html_info to ircify_first_html_par
2007-09-18HTML processing refactoring: Utils.get_first_pars now uses Utils.get_html_infoGiuseppe Bilotta
2007-09-18basics: it's @bot.myself, not just myselfGiuseppe Bilotta
2007-09-18HTML processing refactoring: Utils.get_html_info and related methods ↵Giuseppe Bilotta
factored out of the url plugin