summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-04-01fix charset detectionGiuseppe Bilotta
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-04-01search plugin: let the user know when no body was found and no error was raisedGiuseppe Bilotta
2007-03-31+ reflect the httputil changes in ChangeLogDmitry Kim
2007-03-31rss plugin: code cleanup. add support for slashdot feeds, with RDF extension ↵Giuseppe Bilotta
and custom feed type
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-30* an ugly quickfix for sending non-unicode strings :/Dmitry Kim
(some http-aware plugins kill the bot without it)
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-29* (rss.rb) we didn't really mean to create a Mutex inner class, right?Dmitry Kim
2007-03-29+ support for non-iso-8859-1 languages (ru, zt, ja, ko, el)Dmitry Kim
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-26url plugins: when echoing first par, be more clear on what's being done and ↵Giuseppe Bilotta
don't spam with overlong messages
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-25url plugin: url.first_par option. when enabled, the url plugin will attempt ↵Giuseppe Bilotta
to retrieve the first paragraph of a linked web page
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-25rss plugin: attempt data recovery when marshalling failsGiuseppe Bilotta
2007-03-25registry: allow plugins to provide a recovery proc in case data marshalling ↵Giuseppe Bilotta
fails
2007-03-25rss plugin: nil the mutex when dumping, to prevent cross-version marshalling ↵Giuseppe Bilotta
problems
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-24url plugin: when reading body chunks, don't discard read materialGiuseppe Bilotta
2007-03-22keywords plugin: there is no rescan method for plugins. Remove leftover from ↵Giuseppe Bilotta
when keywords was part of the core
2007-03-21* french, german and russian lang files converted to utf-8Dmitry Kim
2007-03-21* apparently, synthetic privmsgs for remotectl are hard. may need some ↵Dmitry Kim
massive rework later.
2007-03-20shiritori plugin: only load rulesets on requestGiuseppe Bilotta
2007-03-20rss plugin: 0.9 feeds don't work, so we just patch them to pretend they are ↵Giuseppe Bilotta
actually 1.0 RDF feeds
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-20rss plugin: lock the mutex on more occasionsGiuseppe Bilotta
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-19chanserv plugin: currently only manages opping etc via chanservGiuseppe Bilotta
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-16remotectl: ensure that source and destination of synthetical message are ↵Giuseppe Bilotta
proper Irc classes. Use illegal '-remote.client-' nick for the remote user
2007-03-16Use m.source instead of m.sourcenick whenever possible to ensure messages ↵Giuseppe Bilotta
from servers don't cause stupid backtraces