avbot 7.1 发布

Posted on August 1, 2013

对于不知道 avbot 是神码的同学,猛击这里

紧急更新, TX 于 8 月 1 日晚上修改了登录协议, 导致  avbot 全线瘫痪。所有的用户必须升级!必须升级!

7.1 新增了慧眼答题平台支持。urlpreview 功能可以定义黑名单, 不对指定的url进行响应. 用法就是在 qqlog 目录下建立 blockurls.txt 文件,写入不希望avbot解析的正则表达式。

avbot 的验证码识别功能详情请参考项目 wiki

下面是 Changelog —

7.1 * run as -D , log to syslog * 新增慧眼答题打码平台的支持 * urlpreview 功能可以定义黑名单, 不对指定的url进行响应.

7.0 * 添加了两家印度阿三的分布式人肉验证码识别API支持 * 添加了AVPLAYER.ORG社区提供的无偿验证码识别服务支持 * 添加了联众打码平台的支持

6.3 * httpagent.hpp merged to avhttp, use #include <avhttp/async_read_body.hpp> * 日志部分使用 boost.log 重写 * 此版本开始要求 boost >= 1.54

6.2 * 最后一个支持 boost <= 1.53 的版本. 下一个版本开始将要求 boost 1.54 * 重写了 http 处理代码 * fix joke segfault * fix mail bug * add back MSVC compiler support, only used to make jack happy. not intend to be production ready.

6.1 * fix cookie process, make it more stable * add stock price * urlpreview now prevent noticing user the same url if the url is typed too fast * urlpreview now parse the html escape character correctly

6.0 * fix random relogin * forward compatible with about to be released boost 1.54

5.1 * fix 100% cpu bug

5.0 * 支持白银黄金现货报价 * new icon set * webqq: fix webqq group chat picture * htmlog: distribute image files to sub dirs. * libwebqq: move cache file to cache/ sub directory

4.7 * bulletin: broadcast a bulletin message @ desired time * win32: settings dialog make irc optional * htmlog: log HTML correttly. * lua: add more lua example code.

4.6 * allow to -c to specify the location of the config file * automantically show url content then some one post an url * change .qqbot newbee command to .qqbot welcome * add experimental support for luascripting

4.5 * sync webqq protocol * clean cache file when startup * a bug that cause xmpp account accidently not used

4.4 * fix a bug that new group is not created automantically * 自动欢迎新人使用的是 $qqlogdir/$qqgroup/welcome.txt 的内容 * 新人加群自动欢迎新人 * try to re-fetch the joke page if decoding error occurs

4.3 * allow change joke interval * allow to switchoff joke

4.2 * 每十分钟冷场就讲一个笑话. * RPC 功能允许 POST

4.1 * 修正错误的 asio 用法,由 asio 爸爸的演讲视频指出的 * avbot will check for image file and redownload corrupted one, aka say, the checksum does not match * avbot 启动的时候会对 images 文件夹下的文件执行校验检查。发现文件检验和文件名不符合的时候重新从腾讯服务器下载。 * fix strange win32 qq message send error * fix XMPP not forward error

4.0 * avbot 重构,使用 libavbot 提供的 class avbot。 方便其他程序包含 avbot 功能 * url 记录方式重构。 * better support for windows platform - via mingw * 修复在 windows 控制台下输出乱码的问题

3.6 * add autotools build system in case cmake is not avaliable * fix a critical bug that will DOS the TX webqq server. * to make life easier , drop the support for VC , you can still compile avbot by mingw * avhttp now default to use HTTP 1.1 and avbot is using HTTP1.1 too * with the control of .qqbot, avbot can join qq groups by itself. * allow caching the qqgroup result so that if we have trouble fetching the group list, we won’t suffer * allow to fetch the group chat image to local storage

3.5 * fix VC2010 compilation, VC sucks, does it? * allow IRC/XMPP to use .qqbot command. that’s a long lacking feature * allow customize the message preamble * allow sending email via “.qqbot mail to XXX” command * SMTP supports STARTSTL, make it more secure

3.4 * Internet Mail Format parser re-write. * delete mail only if successfully sended to the channel. * fix VC2010 compilation * windows support for stdin * smtp support (libs/developers only, not avliable to avbot)

3.3 * pull in upstream avproxy that add http_proxy support. * allow to have signel -d command line option to run as daemon * disable stdin process when run in daemon mode * limit the IRC msg send rate * broadcast the .qqbot command result * –xmppnick to set the nick * auto rename the nick when nick conflict occurs * add new command .qqbot version

3.2.2 * fixed many bugs

3.2.1 * bug fix * XMPP async connect fix 3.2 * irc support multi line message support

3.1.1 * bug fix

3.1 * socks5_proxy support 3.0 * avbot 现在包含了一个POP3客户端,可以到指定(–mailaddr参数指定)的邮箱获取邮件,并将邮件贴到群聊天里。 * 改进的WebQQ协议处理,更稳定,更少下线时间 * 支持通过标准输入直接输入验证码,不再需要通过IRC频道输入验证码 * 大量的代码改进,使用协程优化了WebQQ登录过程的处理,使用协程优化了IRC连接处理

2.3 * bug fix 2.0 * add support for XMPP protocol

1.0 * qqbot works for WebQQ and IRC protocol 0.1 * tech-preview * many copy & paste from lwqq * only WebQQ supported. can log chat to html