* On first user signup, the user no longer needs to login and after signing up. They are automatically logged in.
* The Projects page was showing the name of the last project listed in the new project form. It is now appropriately blank.
* When trying to create a new action, an error was occurring trying to update tags if the action failed to save. We now only try to update tags if the action saved. I wonder if we should be using some sort of ActiveRecord transaction here. If anyone knows about this, please contact me.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@481 a4c988fc-2ded-0310-b66e-134b36920a42
this context will be pre-populated when creating an action from the project's page.
When creating an action from the home page, the context will be auto-selected when
the project is selected if the context field has not yet been entered.
This implementation is a combination of the great patch submitted by James Kebinger
(thanks James!) and some of my modifications and additions.
Don't forget to rake db:migrate.
Fixes#162, originally suggested by Rolf one year ago!
Also in this commit:
* Tweaked selenium tags test
* Tweaked formatting of next/previous project HTML
* Implemented Null Object pattern for context to support
a Project having no default context
* Removed tickler.rhtml, no longer in use
* applying z-index values to project sortable list items (otherwise context
autocomplete was appearing below next list item)
* Swapped order of project and context in new action form (setting default context
makes more sense this way)
* Removed CSS width of for form elements, so form could be used in content area
without being too narrow
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@480 a4c988fc-2ded-0310-b66e-134b36920a42
One thing I forgot to mention in the last commit is that the changes break feed links. If people think it's important to maintain them, we can use routes to accomplish that...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@477 a4c988fc-2ded-0310-b66e-134b36920a42
I also ran rcov on unit tests and added tests to improve test coverage, uncovering a couple of bugs along the way.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@476 a4c988fc-2ded-0310-b66e-134b36920a42
"I kick off a lot of small projects, and I often want to add actions right when I create the project. This is a simple tweak that provides a check box that allows you to immediately go to the project page after creating a new project."
Thanks, Trevor. Sorry it took so long!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@474 a4c988fc-2ded-0310-b66e-134b36920a42
* Adds keyboard shortcuts to the passed in date field:
*
* 't' input today's date
* '+' or '=' increment the date in the field by one day
* '-' decrement the date in the field by one day
*
* If the calendar is visible, the shortcuts play nicely with it. If not,
* they still work properly. Pressing '+' when no date is entered in the
* field will set the date to tomorrow, and likewise '-' with no date
* entered will set the date to yesterday.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@473 a4c988fc-2ded-0310-b66e-134b36920a42
Also, we try to avoid calling store_location on expiry if the triggering url was an ajax request (like one of the periodically executing javascripts). Storing the location doesn't make sense in that case.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@457 a4c988fc-2ded-0310-b66e-134b36920a42
More adjustments to the time zone calculations. Fixes#450
Add context and project finders as Association Extensions on the User model to simplify controllers and address the feed bug identified by Ryan. Fixes#446 and #444
Replaced usages of "uncompleted" with "incomplete"
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@454 a4c988fc-2ded-0310-b66e-134b36920a42
Refactored ProjectsController#index and ContextsController#index to simplify them.
Tweak the taggings fixtures to fix broken tests.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@451 a4c988fc-2ded-0310-b66e-134b36920a42
Remember to rake migrate after you update.
Fixes#38.
Also, I added a display of the user's formatted date and current local time to the preferences page.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@445 a4c988fc-2ded-0310-b66e-134b36920a42
On a related note, a fair amount of javascript has changed, so please do try it out on your favorite browser and add any other cross-browser issues to the Trac.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@434 a4c988fc-2ded-0310-b66e-134b36920a42
* Cleaned up the _item partial, moving logic into todo_helper methods.
* Patched the unobtrusive_javascript plugin to avoid overflow of the session storage. I've submitted this patch by email to Luke Redpath, and hopefully, the plugin will incorporate this or similar functionality in the future.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@433 a4c988fc-2ded-0310-b66e-134b36920a42
Introduce unobtrusive_javascript plugin to start to beautify our html and reduce the size of our html pages. See http://www.ujs4rails.com/ for more info.
Implement unobtrusive_javascript for contexts listing page and project detail page.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@430 a4c988fc-2ded-0310-b66e-134b36920a42