Commit graph

100 commits

Author SHA1 Message Date
lukemelia
fca5e5b88f Fixes #549 "on homepage the count of all actions is should update when moving an action to tickler". Thanks lrbalt!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@580 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-08 12:33:05 +00:00
lukemelia
c2ae4ab9b8 Updated migration 36 (checked in with the last changeset) to initialize existing completed projects with a reasonable completed_at date. If you've already migrated after updating to the last changeset, you can do the following:
rake db:migrate VERSION=35
 rake db:migrate
 
If not, you can just migrate normally. Thanks to lrbalt for the catch. Reclosing #550.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@579 a4c988fc-2ded-0310-b66e-134b36920a42
2007-08-29 02:05:17 +00:00
lukemelia
6805b22945 add completed_at to projects table per ticket #550. Note that this changeset includes a migration, so don't forget to rake db:migrate.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@578 a4c988fc-2ded-0310-b66e-134b36920a42
2007-08-28 12:38:16 +00:00
lukemelia
93e51d872d Add migration to normalize existing Open ID URLs. Remember to "rake db:migrate".
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@572 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-25 02:07:31 +00:00
lukemelia
08e5d6069d Rename the word field in the User model to token throughout the application and in the database. It fits better semantically with the way the field is used.
Note: this changeset requires a "rake db:migrate"



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@568 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-17 03:50:13 +00:00
lukemelia
16b9c2947b This changeset adds real "remember me" functionality. The checkbox on the login page "Stay logged in" previously prevented an inactive session from expiring. Now, it also functions to remember that a user is logged in across browser sessions (i.e. a user exits the browser, and reopens it).
I've also ensured that all tests (including selenium tests) are passing on my machine.

This changeset should be back to stable and usable.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@561 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-08 06:41:10 +00:00
lukemelia
855f6e0beb a bit more around user authentication. this checkin is nto in a good state, but i want to transfer work to my laptop to head to the beach. Use [557] for a stable build.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@560 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-07 23:00:40 +00:00
bsag
47abca3034 Modified the style of the new action form. Now uses Nifty Corners Cube [1] to round the corners of the box, which is styled the same as the navigation bar. This gives it a more distinctive appearance, and a more 'widgetty' feel.
[1] http://www.html.it/articoli/niftycube/index.html


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@549 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-03 15:09:16 +00:00
lukemelia
71db7bc25a Fixed a bug where tags were getting saved and displayed properly.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@548 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-29 04:56:02 +00:00
bsag
3175f8fc24 Tickler actions are now displayed in their context container, as on the home page. Accordingly, only the project link ([P]) is now shown after the action description, as on the home page.
Fixes #499.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@538 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-06 11:38:16 +00:00
lukemelia
bd9045c04f Fixed #490 (in mobile view make todos per page configurable via preference).
Don't forget to rake db:migrate for this!



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@534 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-16 03:15:24 +00:00
bsag
a4ed53f148 Added lrbalt's patch to display the deferred actions and completed actions with a particular tag on the /todo/tag/[tag_name] page. Only active, deferred and completed actions with the selected tag are shown on the page now.
Thanks lrbalt!

Fixes #447


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@526 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-08 15:13:24 +00:00
lukemelia
ba0b52ff1a Merged mobile_controller into the todos_controller. The lightweight mobile HTML is
arguably just another representation of the same resources, so it seems to fit
the RESTful Rails paradigm to use an extension (.m) to switch on in the
respond_to stanza.

I needed some hackery to make this work. See my note in todos_controller for
a full explanation.
 
I also added a route to get to the mobile view by using 'domain.com/m'

Created some selenium tests for the mobile view, too. 

In optimizing the data access for the mobile view, I ran into "a bug in rails
pagination":http://dev.rubyonrails.org/ticket/7885" and integrated a nice
pagination plugin from the Err the Blog guys
("will_paginate":http://errtheblog.com/post/929) to work around the issue.

NOTE that this changeset includes a new line in environment.rb.tmpl (at
the bottom). Be sure to copy this into your environment.rb file. 

These changes fix #489 (cannot edit action using mobile interface).
Thanks for the bug report, lrbalt!

In the name of consistency, I made the argument to the block for all
respond_to calls 'format' (instead of the formerly cool 'wants').

Lastly, I added a link to the project's new contribute page to the footer of
the main web UI. Help us join the Mac on Intel world. :-)



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@517 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 04:18:19 +00:00
lukemelia
06f14dd3b9 And here's the copy step.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@501 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 04:36:52 +00:00
lukemelia
c34d9faa38 Arg. Branching never seems to "just work". Going to delete and recopy. Here's the delete step.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@500 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 04:36:14 +00:00
lukemelia
3dcc0152a1 Apply James Kebinger's patch to fix #407. Thanks, James!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@483 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-25 02:20:10 +00:00
lukemelia
38b2e336a8 Implemented a feature that give a project and optional default context. When set,
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
2007-03-21 07:12:14 +00:00
bsag
1bf617f8f1 Actions on the /todos/tag page are now displayed by context, as on the home page. If you don't have any incomplete actions with the specified tag, you'll get a message, but at the moment I can't seem to handle the error that occurs when the tag itself does not exist, so you get kicked back to the index page with a generic server error.
Fixes #447.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@478 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-19 09:14:55 +00:00
lukemelia
106d5ee448 Made TodosController more RESTful and use it to fulfill all feeds, eliminating the need for the FeedController and it's helper and views. Also added an ATOM feed (not linked in the UI anywhere, just substitute .atom for .rss).
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
2007-03-18 00:38:05 +00:00
lukemelia
49296539ee Fixed a typo. Thanks to Colin Canfield for the catch.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@469 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-01 11:12:44 +00:00
lukemelia
1bada8f5a3 Introduced separation of projects by state (Active, Hidden, Completed) on the main Projects page. There are still some Ajax corner cases to work out, but it's perfectly usable. Closes #460.
I also refactored change password code.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@464 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-28 05:36:10 +00:00
lukemelia
569767b8c1 Added empty ActiveRecord classes to early migrations that were missing them.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@462 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-27 05:05:54 +00:00
lukemelia
0a01b138a0 The default values for Context#created_at and Project#created_at introduced in [440] were breaking rails' timestamp mixin and leaving created_at fields null. This changeset includes a migration to ensure that those columns contain no null values and backs out those changes. This fixes #454 but does risk reintroducing #438.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@461 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-27 04:07:22 +00:00
lukemelia
146c6a62f9 Added a preference for the date format of the big date at the top of each page. Fixes #348.
Remember to rake db:migrate.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@460 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-27 02:42:37 +00:00
lukemelia
0a28edb2d8 Remove transactions from migrations to support sqlite-3. Fixes #451.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@453 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-23 04:31:49 +00:00
lukemelia
4c7d27004d Test and fix issue preventing editing the same context twice on the context listing page. Fixes #442
Remove unused edit_context partial.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@448 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-21 05:31:43 +00:00
bsag
341e1fa603 Altered /todo/tag so that it only finds active actions, not completed ones.
Fixes #448

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@447 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-20 20:05:34 +00:00
lukemelia
439f955d32 Introduced a user preference for redirecting to an action's project page when you mark it complete. Defaults to false (no change from the current behavior of Tracks.) The idea of this feature is to go to the project detail page so you can see or create the next action. I'm interested in feedback from people who try this out.
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
2007-02-18 06:54:49 +00:00
lukemelia
468ad81122 Improve OpenId authentication in cases of delegated OpenID (see http://simonwillison.net/2006/Dec/19/openid/ for background on this).
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@437 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-13 05:28:51 +00:00
bsag
da7408387d Added to todo controller tests to test adding and removing tags from a todo, and also finding todos tagged with a tag.
Also added a Selenium test for finding todos tagged with a tag.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@436 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-10 19:11:22 +00:00
lukemelia
3070d280ea * Apply unobtrusive javascript principles to _item partial, and reduce the amount of inline javascript throughout the app by a lot.
* 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
2007-02-06 05:42:40 +00:00
bsag
d0666038f2 Removed acts_as_taggable because it is deprecated and replaced with has_many_polymorphs:
<http://blog.evanweaver.com/articles/2006/06/02/has_many_polymorphs>

Also removed chronic because it is not currently used.

  * Tags are entered separated by commas, so tags with spaces are allowed
  * When you edit an action, whatever is submitted in the tags text field replaces existing tags: if you submit an empty field, tags are removed from the action
  * Clicking on a tag shows a page listing all the actions with that tag (/todo/tag/tag+name)

Todo:
  
  * Tests
  * RESTful routes for Tags (if it makes sense for tags - I haven't decided)
  * If you remove tags for an action, it removes the entries from the Taggings table, but it can leave an orphan Tag if there are no more Taggings for that Tag. One problem is that another user might have an identically-named Tag, so we don't want to remove their Tag, just because we have finished with it. I'm not sure how to arrange this yet.
  
Don't forget to rake db:migrate. There is also a change in config/environment.rb.tmpl, so remember to copy the changes to your copy.
 


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@425 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-04 15:33:24 +00:00
lukemelia
fcab16a5c2 The contexts controller gets more RESTy. It now supports XML, RSS, ATOM, HTML and plain text views of the contexts list.
Changes include:

    * Update the URL on the Feeds page to use /contexts.rss or /contexts.txt instead of FeedController? link
    * Add created_at and updated_at timestamps to contexts table to support ATOM feeds

    Notes:

    * This will break previous context listing feed subscriptions.
    


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@423 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-04 05:12:19 +00:00
lukemelia
d9d5ff4d06 The projects controller gets more RESTy. It now supports XML, RSS, ATOM, HTML and plain text views of the projects list.
Changes include:

 * Add assert_xml_select method for testing RSS and ATOM results (Thanks, Jamis! http://weblog.jamisbuck.org/2007/1/4/assert_xml_select)
 * Add resource_feeder plugin for generating RSS and ATOM feeds
 * Update the URL on the Feeds page to use /projects.rss or /projects.txt instead of FeedController link
 * Add created_at and updated_at timestamps to project table to support ATOM feeds
 * Added new filter to login_system "login_or_feed_token_required" to allow RSS, ATOM or text requests with token-based authentication 
 
Notes:
 * This will break previous project listing feed subscriptions.
 * RSS, ATOM & text feeds are available via session or HTTP_BASIC authentication, or by passing the user's token on the url; HTML and XML results are only available via session or HTTP_BASIC authentication
 


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@415 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-01 05:32:05 +00:00
lukemelia
828ad592e2 Make the NotesController user RESTful routes.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@403 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-15 07:50:54 +00:00
lukemelia
bb4b726650 Resolve conflicting migrations
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@402 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-14 23:37:56 +00:00
bsag
36fcfe5c59 Support for tagging of actions!
Made a start on tagging support. You can add tags via the action forms (just single word tags, separated by a space so far), update tags via the edit form (same limitations), and also search for all actions with a particular tag:

/todo/tag/[tag_name]

Tests for tagging are a bit rudimentary at the moment, and you can't as yet use tags consisting of multiple words, or search for conjunctions of tags (e.g. foo+bar), but I'm hoping to add these. Also no validation, so don't try anything funny!

I'm also planning on letting the user create custom links to /todo/tag pages, so that you can use a tag for inbox, someday/maybe, today, a meta-project, priority, or whatever you like.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@400 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-14 19:29:01 +00:00
lukemelia
3fb15f81a5 Convert context_controller to use RESTful routes (required renaming contexts_controller -> contexts_controller per rails convention).
This change also changes context detail page URLs from /context/my_context to /contexts/my_context

    Add a database index on the projects and contexts tables, user_d + name, to speed the lookup used in urls
    Brought the URLs within various feeds up-to-date
    


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@399 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-14 19:18:07 +00:00
lukemelia
8b62e4c784 Convert project_controller to use RESTful routes (required renaming project_controller -> projects_controller per rails convention).
This change also changes project detail page URLs from /project/my_project to /projects/my_project
Benefits include
 * built-in enforcement of proper HTTP methods
 * simple named routes (e.g. project_url(project) instead of { :controller => "project", :action => "show", :url_friendly_name => project.url_friendly_name })
 * built-in routes for formats like .js and .xml
 
Also fixed a http basic authentication bug that I introduced a couple of days ago
Add a database index on the users table, login column, to speed authentication
Made more use of simply_helpful dom_id() method and simplified _project_listing.rhtml




git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@398 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-12 13:46:45 +00:00
lukemelia
d8ec265ca4 Added some database optimizations, mostly in the form of indices on commonly queried columns
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@396 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-11 05:29:29 +00:00
lukemelia
2329cb8e1e Introduced user preference for time zone (migration, model and prefs forms)
Made all dates and times stored in UTC in the database and presented according to the User's preferred time zone.
Cleaned up old unused preference methods in UserController
Restored keyboard shortcuts for date field interaction
Aliased preference in User model to prefs for brevity

Don't forget to rake db:migrate for this update!

All tests pass, but there were a lot of little changes involved in this feature. Please help me test it thoroughly if you're using the trunk. 
 
Fixes #349



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@392 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-06 10:06:33 +00:00
lukemelia
6e5b574406 First step in adding deferred section to the project detail page. Ajax needs a lot of work on this page.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@385 a4c988fc-2ded-0310-b66e-134b36920a42
2006-12-30 09:52:39 +00:00
lukemelia
aa41974d4c * Made links work for project and context links that contain an underscore('_') or a dot('.'). I removed urlize() and deurlize() in favor or methods on the models mixed in by the new UrlFriendlyName module.
* Removed tag_object() from application_helper as it was not being used.
* Introduced link_to_context() and link_to_project() helper methods.
* Fixed a javascript syntax error on the context page.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@373 a4c988fc-2ded-0310-b66e-134b36920a42
2006-12-11 04:48:56 +00:00
bsag
26c7a1e6f1 Created an admin controller that allows the admin user (only) to view the users on the system and destroy and signup new users. Destroying a user deletes all of their actions, contexts, projects and notes.
The link to the admin page only appears when an admin user is logged in, and the signup link is now on the admin page, rather than appearing in the mini-links at the top of the page.

The page also lists some statistics associated with each user (the number of actions, contexts, projects etc. each user has).

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@371 a4c988fc-2ded-0310-b66e-134b36920a42
2006-12-10 19:30:19 +00:00
lukemelia
d7bb7555a0 Upgraded to Rails version to 1-2-pre-release branch revision 5704. Lots of stuff is deprecated in Rails 1.2, so this changeset
also removes deprecated methods. All tests pass (at least on my machine!) and raise no deprecation warnings.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@365 a4c988fc-2ded-0310-b66e-134b36920a42
2006-12-08 07:41:20 +00:00
bsag
5d51ca84ba Rationalised and streamlined the flash and error notifications, using a method outlined here by Andreas Aderhold:
http://blog.andreasaderhold.com/2006/07/rails-notifications

All flash messages now show up as an overlay on the right hand side of the navigation header, and also fade automatically, so that you don't have to refresh the page. Errors (i.e. validation errors) are shown as close to the originating form as possible.

Two new notify methods (one for controllers, and one for RJS templates) help construct the flash of whatever type you like. e.g.

In controllers:

notify :warning, "This is the message"

In RJS:

notify :warning, "This is the message", 5.0



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@351 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-19 16:52:58 +00:00
lukemelia
fed0daa96d Complete the transition of acts_as_todo_container to todo_list, a simple module.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@350 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-18 06:18:17 +00:00
bsag
1d4c33e21d Tidied up the mobile view.
* Fixed a bug where pages other than the first page in filtered views would generate an error. It turns out to be difficult to paginate the filtered pages without increasing complexity quite a lot, so I'm leaving them unpaginated. By definition, viewing single contexts or projects should involve a much smaller subset than all the active todos.
* Edited actions were getting 'state' set to zero rather than active or completed. Fixed that and made sure that checking the 'done' box completes the action
* Changed some of the names of actions to bring them more in line with the todo_controller (i.e. list -> index, update_action -> update)
* Added functional tests for mobile actions

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@347 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-17 12:44:27 +00:00
lukemelia
c51587e422 * Converted Todo to acts_as_state_machine. It's states are active, deferred, completed, and project_hidden. This replaces the old single inheritance model of Immediate and Deferred. Also renamed todo.completed to todo.completed_at for clarity
* Consolidated toggle_check handling to todo_controller and rjs  
* Introduced user preference to show/hide hidden projects section in sidebar
* Fixed a bug in parse_date_per_user_prefs that was causing due dates to be set in the todo model as Times and not Dates
* Upgraded ARTS plugin
* This changeset includes migrations, so remember to db:migrate.
* Lots of code changes here, so bug reports will be gratefully accepted!



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@343 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-15 09:05:07 +00:00
bsag
a4963a9883 Tinkered a bit with the display of actions in hidden projects. It seems to me that hidden projects are ones that are in some sense 'on hold', so you probably don't want actions in those projects displayed on the home page, or on the context pages (though you still want to be able to view that project to evaluate whether it should be made active, and perhaps queue up more actions in it).
Now actions in hidden projects are hidden on the home page and context pages. Hidden projects are also listed separately in the sidebar (this should perhaps be included in the user preference for showing completed projects in the sidebar). The counts in the sidebar for projects and contexts *include* the hidden project actions, because I haven't fixed that yet. Also, excluding the hidden project actions is done in a really clunky way until I can get my head around the new acts_as_todo_container class.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@339 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-12 19:12:36 +00:00