edit_html permission removed at 0.10
false
<-->
Home Recent
Request an Invitation Sign in
Page Release

Overview

Theme: search and queries

Date: 2007-12-03

 

Wagn 0.9 is a big one: the first release with all the core features of a true wiki database.  New features include a query language, search cards that perform those queries, pointer cards, a cleaner interface for new users, and significant improvements to the templating and transclusion systems.  The initial migration path has also been streamlined to ease installations.

 

Point releases:

 

New Features

  • Enhanced Search
    • Fulltext search: word variations/ relevance ranking
      (currently only in Postgres -- requires additional installation / configuration)
    • "Go to card" bar -- autocompletes with card name; goes directly to card
  • WQL -- Wagn Query Language
    •  World's first wiki query language?
      • can query cards based on type, name, connections, links, inclusions, etc.
      • JSON syntax
    • Can use "Search cards" to store and run queries
      • links to result cards in closed search card
      • includes result cards (closed) in open search card
    • Auto-generated Cards provide simple queries about all existing cards.
  • Card Views
    • clean printing css
    • new page layouts
      • noside: normal, sans sidebar
      • blank: no sidebar / no-header
      • none: no sidebar / no header / no background
    • content view allows access to bare content
  • Interface
    • related card section moved to tab  
    • new pointer cardtype with autocomplete
    • total result counts on all query results (eg 1 to 25 of 300) 
    • autocomplete on creating connection cards

 

Bug Fixes

  • √ installation migrations breaking on SQLite3 
  • √ search breaking on single quote (eg: Trader Joe's on Hooze)
  • √ Filter html on create as well as save
...

 

Tickets

Remaining (tickets here after release are targets for next point release.)

(0)

 

Completed

(0)

 

Upgrade Notes

  1. You will need to install json gem! 
    sudo gem install json
  2. for testing, you need flexmock gem
  3. memory_cache is giving us some grief, so add this to config/wagn.rb
    ActionController::Base.fragment_cache_store = :file_store
    (mem_cache also works, if you've got it installed)
  4. fulltext search is now supported in postgres (see below)


Installing postgres fulltext search


requires: postgres 8.2.x
  1. install tsearch2
    cd $PSQL_SRC_DIR/contrib/tsearch2/
    make
    sudo make install

    sudo -u postgres make installcheck

  2. configure wagn.rb
    System.enable_postgres_fulltext = true
    System.postgres_src_dir = "$PSQL_SRC_DIR"
  3. rake wagn:prepare_fulltext
    this step makes a number of assumptions- that you have sudo permissions,
    there is a user postgres with priveleges to add c-functions to the db. etc.
    if these cause trouble, edit lib/tasks/prepare_fulltext.rake


 

Discussion

Add +discussion