Workflow shortcut and wiki enhancements

December 4, 2006

Today we’re announcing four, albeit minor, new features active immediately. Actually, a few of them have been active for a while, but weren’t tested enough to be announced.

Close tickets via commit message
Save a step in your workflow and close tickets when you actually close them, when you commit! You can now close tickets by saying, for example, “closed #49” or “closes ticket:103” anywhere in your commit message. Here’s the list of “close” keyword variants that can be used before either form of ticket Trac link:

close
closes
closed
fix
fixes
fixed

This will also automatically reference the changeset and ticket with each other via wiki links. You can also just get the referencing without closing the ticket by using these keywords before a ticket link:

addresses
re
references
refs
see

Put up a splash page for unauthorized users
For projects that don’t allow anonymous WIKI_VIEW, but want to show something to anonymous users besides a Forbidden error, you can now create a wiki page called WikiSplash that will be displayed in place of the Forbidden message.

You can use this to tell the unauthorized users what they’re missing, or to tell them how they can get permission to the project. It could also be used to simply redirect users to the login page for convenience (see below).

Redirect users from anything to anything
We’ve installed the TracRedirect macro, which will allow you to redirect Javascript-enabled users to just about anywhere else in Trac. You can use this to alias wiki pages that have been moved or renamed, or help ease the issue of ticket duplication. It includes backlinks so you can still get to the original page after being redirected.

Using the macro is as simple as this:

[[redirect(ticket:98)]]

The format is always a qualified Trac link in the type-colon-id format. The one exception is our login redirect that can be used in combination with the WikiSplash page. That would look like this:

[[redirect(login)]]

Display a table of contents
We’ve also installed the TocMacro, which you can use to make a TracGuide-style table of contents menu for your pages. It uses the page’s own heading structure, so there’s no configuration. Just throw this on your wiki page:

[[TOC]]

If you want to display more than what’s on the current page, you can pass it a list of other wiki pages to build a menu from.

[[TOC(WikiStart, AnotherWikiPage, ProjectGuide)]]

There’s a few more configuration options available that you can read about here.

More to come, including export
The next thing on the list is project export, which will get you a dump of your repository and a hotcopy of your Trac environment. I know this has got to be the most requested feature, and I’m sorry it’s taken so long. You should see a link for it in the Admin in about a week. : )

-Jeff

16 Responses to “Workflow shortcut and wiki enhancements”

  1. Michael Says:

    Cool, thanks!

  2. Victor Rodrigues Says:

    Would be nice a login page at devjavu.com

    I entered at my devjavu project, but i’m not logged into this computer, and because i’m not logged, i do not have privileges to login =s

  3. Jeff Lindsay Says:

    I’m emailing you about this, Victor.


  4. The WikiSplash page is a really nice feature! Is it a plugin, or did you hack this yourself?

  5. Jeff Lindsay Says:

    A lot of our features are plugins, but the WikiSplash was one of the custom patches we did. Glad you like it!


  6. It would be nice to release it as a plugin… ;)

  7. Jeff Lindsay Says:

    It would, though I’m not sure the plugin system exposes what I’d need to put it in a plugin. Eventually I’ll get around to submitting our patches to Trac and see if they’ll incorporate them into the project itself.


  8. I would also be interested by these patches.

  9. Alexwebmaster Says:

    Hello webmaster
    I would like to share with you a link to your site
    write me here preonrelt@mail.ru

  10. Annetta Says:

    Placement on the shelf of a health food store does not
    guarantee a pure, GMO-free or high quality product.

    In the world of organic shopping, is a food budget an oxymoron.
    The WHO definition of GMO’s should be the legal standard for food advertising and labeling.


  11. Overall, a smoothly operating digestive system is very healthy for the body.
    Initially, personal chemistry between the three helped propel the music.
    Its effectiveness against headaches has been documented.

  12. Dreamsharing Says:

    Hi there to all, the contents existing at this web page are genuinely amazing
    for people experience, well, keep up the nice work fellows.

  13. sky Says:

    I think that is one of the such a lot vital information for me.
    And i’m glad reading your article. However wanna statement on few common issues, The site taste is great, the articles is truly excellent : D. Good process, cheers

  14. Penelope Says:

    But if you buy what is in season, and use hints like I just shared with you,
    eating produce is very reasonable, dollar-wise. Moreover, calcium contained
    by milk helps the brain use tryptophan. With the
    proper treatment the wound in the belly button heals completely in 3-4 months but in some cases the
    healing process may even last up to 12 months.


  15. It’s amazing in favor of me to have a web page, which is helpful in support of my knowledge. thanks admin


  16. Hi there all, here every one is sharing these know-how, thus it’s nice to read this webpage, and I used to go to see this web site all the time.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: