Action Messenger 0.2.0

Posted by Trejkaz Fri, 23 Mar 2007 09:04:00 GMT

Today’s new version of Action Messenger makes things slightly easier to read when sending messages:

def prod(user)
  recipient user.jid
  subject   'Prod'
  body      'You told me to give you a prod when I updated...'
end

You can send to multiple recipients too, just add them like this:

def spam
  recipients User.find_all.map { |u| u.jid }
  subject    'Buy chunky bacon'
  body       'Do I have a deal for you!'
end

These changes have been in trunk for some time, however someone recently made me aware that the documentation doesn’t describe basic things like where the config file should be. This has been properly documented now, and hence the new version being pushed out.

Tags , , , ,  | no comments

Directions for Action Messenger

Posted by Trejkaz Mon, 22 May 2006 12:16:00 GMT

Well, the first highly experimental release of Action Messenger experienced a small amount of success, and a couple of people spotted some bugs which have been fixed in version 0.1.1.

So now that everything works for small apps, how does it grow? I do want to integrate into Typo, and the default deployment for Typo uses FastCGI. Whereas each FastCGI process is relatively long-lived, there are multiple instances, and they can’t all be logged in at once [with the same resource.]

Read more...

Tags , , , ,  | no comments

Jabbering with Action Messenger

Posted by Trejkaz Mon, 08 May 2006 13:24:00 GMT

Want to send instant messages from your Ruby on Rails app with the minimum amount of code and the maximum amount of testability?

Then say hello to… Action Messenger

Read more...

Tags , , , ,  | no comments

SnipSnap Plugins Version 0.1 Released

Posted by Trejkaz Thu, 18 Aug 2005 13:31:00 GMT

Version 0.1 of my SnipSnap Plugins is out.

Features:

  • {xmpp} macro which displays an XMPP address with optional status. Status indicator can now show the full status string, or the link, or both, using parameters to the macro.
  • JabberIDLabel label type, for adding Jabber IDs to Person-type snips. Uses the same rendering as XmppMacro, so status works here too.
  • Weblog posting via Ad-hoc Commands. The bot finds the user snip(s) whose JabberID labels match the sender’s bare JID. It then posts to every weblog specified in Weblog labels. Integration with the newer CommandBot, which is based on JSO instead of Smack. A better implementation would show a drop-down list of weblogs to post to, but I didn’t get that far.

This is the first and most likely the final release of this software, and bugs are likely to exist. Interested developers are encouraged to improve the code and release something better.

Me, I’m moving onto working a Jabber status indicator into Typo. :-)

Tags , ,

CommandBot Version 0.3 Released

Posted by Trejkaz Wed, 17 Aug 2005 09:25:00 GMT

The code has been cleaned up and CommandBot 0.3 is out.

The important changes are:

  • Implemented a basic conversation framework for interacting with the bot via chats;
  • Implemented a basic roster class for getting presence of contacts;
  • Improved reliability of automatic reconnection;
  • Added ability to specify the resource priority in the configuration.

This brings CommandBot up to the required functionality to use my SnipSnap plugins, so those will be cleaned up and released next.

Tags , ,

PHP-Mesh 1.3

Posted by Trejkaz Fri, 22 Jul 2005 06:07:00 GMT

PHP-Mesh 1.3 is out. The few of you watching this blog for such announcements can get it from the usual place.

The main improvement in 1.3 is that the .phpmeshrc file can be put anywhere, and thus now satisfies the “principle of least surprise” since it allows you to override settings more or less like the .htaccess file.

The demo has been cleaned up as well, to be a little easier to get running.

Tags , ,

PHP-Mesh 1.3 beta

Posted by Trejkaz Mon, 06 Jun 2005 01:06:00 GMT

For those few of you watching this page for software updates, I’ve released a beta of PHP-Mesh 1.3.

New in this version is the ability for the mesh to find .phpmeshrc file anywhere above the current file on the web path. If it’s rendering /mystuff/index.html it will try /mystuff/.phpmeshrc, and then /.phpmeshrc

Tags , ,

CommandBot Version 0.2 Released

Posted by Trejkaz Fri, 27 May 2005 12:00:00 GMT

As promised, the first public version of my CommandBot is released.

Next come the SnipSnap Extensions, which will need a little rewriting for some of the changes I’ve made in this version.

Update: Make that a lot of rewriting. Obviously if it were only a little rewriting, I would have finished ages ago. :-)

Tags , ,

RSS from HTML

Posted by Trejkaz Mon, 23 May 2005 00:00:00 GMT

From time to time I have a need to watch a bunch of links on a web page, where that page doesn’t have an RSS feed.

I use RSS to automate [Azureus][1], so this becomes a major problem for sites with a list of .torrent files but no feed

Read more...

Tags , , ,

CommandBot: Almost There

Posted by Trejkaz Tue, 17 May 2005 06:04:00 GMT

I’ve been wanting to release my Jabber integration code for SnipSnap for a while now. The only thing stopping me was that it depended upon a large slab of JSO integration code (tentatively named CommandBot) which was in really bad state.

I spent the past weekend (and an evening or two) tidying up the CommandBot code and getting it into presentable form for embedding in other people’s apps. Code-wise, it’s about ready, but I do need to slap the licencing crap into all the files, and then throw it into Subversion before I can think about releasing it.

The initial version will be 0.2, and I’ll mark it alpha just because it’s in a state of flux. As far as stability goes, I haven’t seen it play up yet, in many months of constant operation.

Tags , ,

Older posts: 1 2