summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-04-09auth: improve helpGiuseppe Bilotta
2007-04-09extends: pick_one and rand methods for RangeGiuseppe Bilotta
2007-04-09fix restarting when directory had changedGiuseppe Bilotta
2007-04-09More require cleanupsGiuseppe Bilotta
2007-04-08HttpUtil: require 'cgi' as it is now used in most querying pluginsGiuseppe Bilotta
2007-04-08HTML IRCification: support options. currently only option is :a_href which ↵Giuseppe Bilotta
can be either :link_out to show the actual link or any of Reverse, Bold, Underline to mark the link using the corresponding attribute
2007-04-08rss plugin: watching now relies on an ID built from title, link and ↵Giuseppe Bilotta
description to check if any item is new. Optionally, the description can be ignored (rss.show_updated = false). Use Set to store IDs, and require 'set' in Utils because other plugins might be optimized to use it
2007-04-08HTML IRCification: don't modify the receiver; provide an ircify_html! method ↵Giuseppe Bilotta
to modify in place
2007-04-08HttpUtil: inform servers that we accept gzipped dataGiuseppe Bilotta
2007-04-08HttpUtil: decode gzipped contentGiuseppe Bilotta
2007-04-08ircbot: do not use debug in sendmsg() because it breaks script. script ↵Giuseppe Bilotta
plugin: handle all Exceptions.
2007-04-06* (utils) fix stderr redirection in safe_exec()Dmitry Kim
2007-04-06New IRC Framework: topic setter should be a Netmask, not a User. Also ↵Giuseppe Bilotta
improve display of Netmasks with unknown (generic) user/host components
2007-04-06* (rfc2812) fixed 'Welcome' message parsingDmitry Kim
2007-04-06Default maximum lines to send per message is now 5Giuseppe Bilotta
2007-04-06Extend Numeric class with a clip() method to force a number to be in a given ↵Giuseppe Bilotta
range
2007-04-05+ (httputil) 'x-rbot-location' header in response object carries the uri ↵Dmitry Kim
from which the response was received (for redirect followers, etc)
2007-04-05HttpUtil: try all detected charsets when converting a webpage, until one ↵Giuseppe Bilotta
that works is found
2007-04-05Fix overconservative line splitting and bug in last line truncationGiuseppe Bilotta
2007-04-05Fix a bug introduced in [830]Giuseppe Bilotta
2007-04-05HTML IRCification: try to handle super and subscriptsGiuseppe Bilotta
2007-04-05Fix truncation placement for multi-line messagesGiuseppe Bilotta
2007-04-04HTML IRCification: match p and br tags case insensitiveGiuseppe Bilotta
2007-04-04New IRC Framework: use #reverse_each() instead of #each() when clearing the ↵Giuseppe Bilotta
list of users and channels on a server, otherwise only half of the items get deleted
2007-04-04minor typo fixTom Gilbert
2007-04-03Relocate help strings to proper locations, add help for 'mode' commandGiuseppe Bilotta
2007-04-02* (httputil) transparent charset support in HTTP::ResponseDmitry Kim
- (extends) encoding functionality moved into httputil
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-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