summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-04-01More first_par fixupsGiuseppe Bilotta
2007-04-01Stringlib/rbot/core/utils/extends.rbutfy_xml() method that tries to ↵Giuseppe Bilotta
transcode a webpage to UTF-8; HTTP headers are attached to bodies returned by HttpUtil methods to ease charset detection
2007-04-01httputil: reinstate partial_bodyGiuseppe Bilotta
2007-03-30*** (httputil) major rework, new caching implementation, unified requestDmitry Kim
processing + (httputil) post support, partial request support, other features - (httputil) removed partial_body() and get_cached() [merged into get()] * (plugins/, utils) minimal changes to accomodate for the new http_utils * (utils, ircbot) moved utils initialization into utils.rb * (tube.rb) (partially) accomodate for upstream site layout changes
2007-03-30Utils: the array returned by get_first_pars now contains nil for pages where ↵Giuseppe Bilotta
no first par was found. Also rearrange some code to keep relevant code together
2007-03-30* (utils.rb) reflect the api/semantics changes in commentsDmitry Kim
2007-03-30- (utils.rb) removed http_get, since it's obsoletedDmitry Kim
+ (utils.rb) added @@bot class variable * (utils.rb) get_first_pars should return a value * (plugins) no need to pass http_util to the Utils.get_first_pars
2007-03-26HttpUtils: inline rescue doesn't rescue LoadError, rewrite code to require ↵Giuseppe Bilotta
rubygems before retrying htmlentities
2007-03-26Utils: more first par enhancementsGiuseppe Bilotta
2007-03-25Utils: fix a stupid bug in rubygems require and add more first_html_par codeGiuseppe Bilotta
2007-03-25Utils: retry after requiring rubygems if htmlentities failed to load; when ↵Giuseppe Bilotta
grabbing first pars, try filtering out too short paragraphs
2007-03-25Utils: cleanup first html par codeGiuseppe Bilotta
2007-03-25Utils: convert unknown numering HTML entities to the corresponding UTF-8 ↵Giuseppe Bilotta
characters, when not using htmlentities
2007-03-25HttpUtil: fix partial_body when no body was given, and increase default ↵Giuseppe Bilotta
info_bytes to 8k
2007-03-25Utils: try non-paragraphs if no paragraphs was foundGiuseppe Bilotta
2007-03-25Utils: when looking for the first par in a web page, look after any header, ↵Giuseppe Bilotta
not just h1; also, be stricter on what's included in a paragraph
2007-03-25Utils: fix ircify_html (the final stripsvn diff ↵Giuseppe Bilotta
lib/rbot/core/utils/extends.rb could cause it to return nil) and improve whitespace handling
2007-03-25registry: allow plugins to provide a recovery proc in case data marshalling ↵Giuseppe Bilotta
fails
2007-03-25url plugin: customizable max amount of data to retrieve to look for a title. ↵Giuseppe Bilotta
return standard header info if no title found
2007-03-24httputil and url plugin improvements, see ChangeLogGiuseppe Bilotta
2007-03-20* tidying up 'help ignored plugins' outputDmitry Kim
2007-03-20* don't set @failures_shown on debug(status)Dmitry Kim
2007-03-19plugins: only show number of ignored and/or failed plugins only the first ↵Giuseppe Bilotta
time a user asks for help
2007-03-19* config value hook :on_change wasn't called from unset()Dmitry Kim
2007-03-19* duh, operator precedence error in serverlist patchDmitry Kim
2007-03-18+ lazy behavior for plugin registries (don't create a BDB file until the ↵Dmitry Kim
registry is accessed by plugin for the first time)
2007-03-17+ added support for multiple servers to try (round-robin) for unreliable ircnetsDmitry Kim
* changed server.name/port to server.list (with config upgrade automation, too)
2007-03-17Plugins: rename Plugins::pluginmanager to Plugins::managerGiuseppe Bilotta
2007-03-16Plugins: move games into their own directoryGiuseppe Bilotta
2007-03-16Use m.source instead of m.sourcenick whenever possible to ensure messages ↵Giuseppe Bilotta
from servers don't cause stupid backtraces
2007-03-16Server hostname was not being set properlyGiuseppe Bilotta
2007-03-15* fixed a regexp for "identify-msg" server capability ("^" was missing)Dmitry Kim
2007-03-15config was not being saved after unsetting a valueGiuseppe Bilotta
2007-03-14Socket IO filtering: rbot can now assume UTF-8 internally.Giuseppe Bilotta
2007-03-14Improved handling of server limitsGiuseppe Bilotta
2007-03-10Allow customization of the plugins load pathGiuseppe Bilotta
2007-03-10Option to change the bot IRC name, thanks to jsn-Giuseppe Bilotta
2007-03-08Previous attempt at cleaning up the prefix matcher were too restrictive, try ↵Giuseppe Bilotta
using a different approach
2007-03-05Previous commit wasn't that good, too restrictive. Relax, and differentiate ↵Giuseppe Bilotta
between user id and mask
2007-03-05Rework netmask/hostname detection code to work around non-RFC-compliant serversGiuseppe Bilotta
2007-02-24Try to give a meaningful quit message when quitting because of problemsGiuseppe Bilotta
2007-02-23Utils.secs_to_string now convert seconds to integers instead of displaying ↵Giuseppe Bilotta
ridiculously long floating values
2007-02-20Use ASCII KCODE to prevent problems like missing characters or matching ↵Giuseppe Bilotta
failures when clients send messages in something else than UTF-8
2007-02-20Minor message optimizationsGiuseppe Bilotta
2007-02-20New IRC Framework: bot now keeps track of his nick correctly across disconnectsGiuseppe Bilotta
2007-02-20Fix timer handling when Actions raise errorsGiuseppe Bilotta
2007-02-18Initial steps towards a namespace rationalizationGiuseppe Bilotta
2007-02-18Plugin header boilerplating.Giuseppe Bilotta
New plugin.header file provided, to be used as model for the header of new plugins. Many existing plugins have been adjusted to provide the same info the same way. I might have misplaced some information, so please let me know if this is the case. Also augmented a couple of copyright notices to include the 'rbot development team' alongside Tom Gilbert.
2007-02-18Minor optimization to Auth.random_passwordGiuseppe Bilotta
2007-02-18More fixes for nickname handling on connectionGiuseppe Bilotta