Samples Blog contact support
Wagn 1.8

Architecture of the Future


Refactored to use Rails 3 and other current tools, 1.8 prepares Wagn for long-term viability.



Wagn 1.0 was a pioneering web app.  Wagn 2.0 will be a pioneering web app and web platform.


The current release (Wagn 1.8) gets us considerably closer.  To name a few highlights:

  1. uses Rails 3 - the latest and greatest.
  2. supports Ruby 1.9 (1.8.7 still works)
  3. new file and image handling is more secure, flexible, and re-usable
  4. new settings editor is much crisper and easier to understand
  5. Almost 50 tickets resolved: new features, bug fixes, performance enhancements, etc.

This release includes more resolved tickets and more commits than any prior Wagn release, and yet the codebase is actually smaller than ever.


expand_more +upgrade notes
The (new-and-improved) standard upgrade procedure is described here:

Standard Upgrade

1. Backups

Always back up your database and uploaded files.




+tickets by status


in progress






expand_less +discussion

Migrations:*when_created+*right+*content*when_last_edited+*right+*content*right+*edit_help*account*account+*right+*content  ("item": "change")


Added "sort" to WQL:*attach+*right+*options*editing+*right+*content*editors+*right+*content*includers+*right+*content*inclusions+*right+*content*links+*right+*content*linkers+*right+*content*plus_cards+*right+*content*plus_parts+*right+*content*refers_to+*right+*content*referred_to_by+*right+*content*roles+*right+*content*watching+*right+*content


Changed to offer radio buttons of the options:*input+*right+*default





√ css references in *tinymce

√ local image references in *css


√ drop superfluous indexes on cards table.

√ drop unused tables: permissions, card_files, card_images, system, open_id stuff, db_files


√ edited to editor in WQL



√ new Layout cardtype.





These we want to do after we handle card parts when creating previously virtual cards (status:



I looked at several sites and couldn't find any issues with these cards.  I can believe there might be rules out there missing sets, or, more generally, plus cards missing parts.  If we find any of those, my inclination would be to try to build a smarter migration that's smart about the pattern and finds all the busted data it can.  -efm




TODO: ticket the following (and move over comments until double horizontal rule)

migrate old sites to hard-templated cardtypes*type+*content*self+*content*self+*content*self+*content



We can't migrate Cardtype+*type+*content, because it will override all kinds of custom Cardtype cards. Eg, on alone (which is not our biggest problem), it would break Ticket, Deck, Support Ticket and probably several others.

We could check each |cardtype| card, and if anyone beside WagnBot has edited it, add a |cardtype|+*self+*default card.

  --John Abbe.....Sun Mar 20 19:08:29 -0700 2011


So...most of the tickets in testing now can only be tested on the new server?

  --John Abbe.....Sun Dec 18 22:18:15 -0800 2011


Yes.  Would it be helpful if I made so that you could still somehow access the old site?  --efm

So far I've just been testing whatever seemed most interesting/fun/easiest to me. If you want to let me know what you think is most critical, or most in need of testing, I can throw your criteria into the mix as well...


hmm.  good question.  I guess if there are ones that look easy to close it would help improve the signal to noise ratio...

  --John Abbe.....Fri Dec 23 23:58:41 -0800 2011

What new Layout cardtype? (not seeing it on test or play)

  --John Abbe.....Mon Jan 02 15:56:01 -0800 2012


It's not there to migrate yet, but I need to create a new Layout cardtype for handling _main.  Discussed briefly in add reference syntax for main card of page -efm

Just ran all the migrations on test, play, and cp staging.

  --Ethan McCutchen.....Tue Jan 03 20:47:58 -0800 2012

guess we should prioritize the "_main" testing...

  --Ethan McCutchen.....Wed Jan 04 10:40:26 -0800 2012

Documentation to update:

_main in links, inclusions - contextual names, sidebar, custom layouts

views: new and edit (and editor), and (for code only) open_rule, closed_rule

WQL Syntax - _main, sorting by plus cards

.file - new file formats for downloading

  --John Abbe