September 3, 2010

Weewar Status Notifier for Adobe Air

Weewarify icon

I’m pleased to announce the release of my first Adobe AIR application. This is a simple little desktop (not browser) app which checks your status on Weewar to see if you have any games waiting for your attention.

Revision 2.2 feature list:

  • Checks your status using the Weewar API
  • User settable interval between checks
  • You can force an update by clicking on the “games waiting” message.
  • Semitransparent, draggable window
  • Built with HTML, not Flash.
  • (New in version 1.1) If you have waiting games and you click on the message, you’ll open a new browser window and go to your headquarters.
  • (New in version 1.2) Works on Windows.
  • (New in version 1.3) Turns red when you have games waiting. Resizes to fit contents.
  • (New in version 1.4) Lists the games waiting for your attention
  • (New in version 1.5) Added the option to have the window always stay on top
  • (New in version 1.5) Changed the last checked display to show “xx minutes ago”
  • (New in version 1.7) Compatible with AIR Beta 2
  • (New in version 1.7) The window floats to the top automatically if you have waiting games. That way it doesn’t get buried but you don’t have to have it always floating on top of the other windows.
  • (New in version 2.0) Updated for Adobe Air 1.1
  • (New in version 2.2) You can now click on the “checked x minutes ago” status line to do an immediate status check.

Installation

  • Install the AIR Runtime. It is very small and fast.
  • Download Weewarify 2.2
  • Install the app by double-clicking on the downloaded installer.
  • The first time you run it, it should detect that you haven’t configured, and show you the configuration window. Put in your username and your “token” from your Weewar account page.
  • Click the icon on the top right to save and flip back to the status page.
  • That’s it, the program will now check Weewar every few minutes for you.
  • Important! If you let the installer run the app after install (which is the default), it doesn’t work. I have no idea why. Just quit and restart it. It will work when launched normally.
  • WARNING: Doesn’t work on Windows at the moment. I’ll fix very soon.

Open Source

Feel free to contribute, browse the source, report bugs, or request enhancements at Weewarify’s home on Launchpad

Related posts

Technorati Tags: , , ,

How to send HTML Mail to a Mailing List

Many stores use GNU Mailman to maintain a mailing list for store sales and newsletters. Satchmo has this as a built-in option, for example. It isn’t too bad an option, after all. You can easily set options so that it is “push only” and therefore only the mailing list owner can send mail.

(Yes, it really isn’t a great idea. I heartily recommend a service such as Aweber to manage your list, which will lead to much better legal compliance and more professional results. But bear with me, not all store owners want to pay for additional services.)

However, what if you want to send nicely formatted HMTL newsletters? How do you get your mail client to send those so that they’ll look nice for your customers? Answer, you don’t. You send it manually from the commandline.

Here’s how…

[Read more...]

Technorati Tags: , , , ,

Why I didn't switch from jQuery to ExtJS after all

A while back, I wrote an article about why I was switching to ExtJS from jQuery. This remains one of the top ten pages on the site, despite the fact that I never really did switch. Checking it just now, I am certain that it is the most heavily commented article on the site.

The fact is that I started to switch, did a site or two, and then I quickly changed my mind.

There are four reasons I didn’t end up switching from trusty jQuery. Size, familiarity, purpose, and license.

[Read more...]

Technorati Tags: , , , ,

Updated Weewarify for Adobe AIR

Using the free AIR code signing certificates offered by Adobe AIR Marketplace I’ve signed Weewarify 2.1 so that it doesn’t give nasty “UNKNOWN PUBLISHER” warnings when one goes to install it. Evidently, I’ll now be able to publish updates as well, and have them be automatically offered as available, so long as I use the same cert.

I’ve got some big AIR plans, especially now that my Flash skills are growing exponentially. I think I’m going to make a store monitor app for Satchmo to allow admins to know when they’ve made sales or the site is down.

[tags]air,weewar,satchmo[/tags]

Technorati Tags: , ,

Fixing a category assigned with itself as parent in Satchmo

One annoying possibility in Satchmo is that administrators sometimes accidentally set a category as its own parent. This causes an infinite loop and hangs the site. So you can’t even use Django to fix the error.

Luckily, the solution is simple. At the commandline do like so:


/opt/webapps/mystore $ ./manage.py dbshell
mysql> update product_category set parent_id=null where id=parent_id;
mysql> quit

Problem solved.

[tags]satchmo,django[/tags]