Commit graph

216 commits

Author SHA1 Message Date
bsag
42bc3d070e Added CSS patch for IE problems provided by checketts in #308.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@268 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-24 14:13:25 +00:00
bsag
0edb198e39 Fixed a display glitch that affected Opera: the contents of the page would display underneath the fixed navigation section at the top.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@267 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-24 13:57:31 +00:00
lukemelia
d6ac8086d6 Applied changes to context corresponding to yesterday's project changeset: tests, prohibit slashes, introduce RJS, relocate new context form.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@266 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-20 02:07:18 +00:00
lukemelia
2796e3a4eb Refactor the Ajax for project creation to use RJS. Introduce the ARTS plugin to test RJS. Move the New Project form to the right-hand side a la the new item form. (I much prefer this -- other input?) Introduce new validation in project model that fixes #306.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@265 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-19 06:36:00 +00:00
lukemelia
bb51ea9db5 Get all the tests passing again, in preparation to add another validation on the project and context models.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@264 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-19 04:04:20 +00:00
bsag
2ca153a771 Implemented a proper mobile view, designed for viewing on a mobile phone browser (so far only tested on 'small screen' view of Opera, which mimics Opera mini). To get the mobile view, enter the URL http://yoururl.com/mobile/
That will take you to the login page, and then to the mobile view. I've tried to make the interface as functional as possible, while still fitting neatly on a small screen, being very lightweight in terms of page size (those data plans are expensive!), and not requiring too much messing about with a phone keyboard. 

The main screen lists all uncompleted next actions, 6 per page. If you select the double right arrow link, you'll be taken to a detail view which doubles as a place to view all the details, or an editing page (hit the back button to get back if you're just viewing, update to commit your edits).

At the bottom of each page there are two select boxes which allow you to filter the view to a particular context or project.

It needs a little more work, but it's quite functional right now.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@263 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-18 17:17:34 +00:00
lukemelia
da22d34962 Enable user-specific, cookie-based storage of context collapse/expand settings on the homepage. Also, removed unused cookie get/set code from the toggle_notes.js file
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@262 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 17:09:16 +00:00
bsag
cf0d56e10b Changed all the created_at and updated_at fields back to a null default to fix #301. It seems that the problem with datetime fields and Postgresql was a Rails bug that was fixed in 1.1, so it should be OK now.
Unfortunately, I couldn't seem to create a migration to revert the fields, so I had to alter the older migration files. This means that if you're using the trunk you need to export your data, delete the database, create it again, run rake db:migrate and then reimport your data. Make sure you backup the whole database first, just in case!



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@261 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 13:57:59 +00:00
bsag
b78b0f4eca Fixed up viewing of notes on the 'Done' page. They can now be toggled just like on the main page.
Fixes #284.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@260 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 12:41:15 +00:00
lukemelia
7b984328e3 Exclude user_id from projects, contexts and notes xml. My rationale here is that if tracks is a multi-user application, user_id is always set by authenticated credentials and so there is no valid reason to expose it with the data.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@259 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 06:05:01 +00:00
lukemelia
abbed6b376 Make Tracks respond to request for xml to /todo/show/[action id]. Try it out using something like:
curl -H 'Accept: application/xml' --basic --user YOUR_TRACKS_USERNAME:YOUR_TRACKS_PASSWORD http://localhost:3000/todo/show/22



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@258 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 06:00:32 +00:00
lukemelia
0765c801a4 Web-service enable homepage actions by context listing using responds_to. Try it out using:
curl -H 'Accept: application/xml' --basic --user YOUR_TRACKS_USERNAME:YOUR_TRACKS_PASSWORD http://localhost:3000/



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@257 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-10 05:52:20 +00:00
lukemelia
c2fb93415c Add copyright attribution for some http_auth code. The code in question is published under an MIT license. See thread at http://blog.codahale.com/2006/05/11/basic-http-authentication-with-rails-simple_http_auth/ for more info.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@256 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-07 04:11:57 +00:00
bsag
e061dbbc23 Upgraded vendor/rails to Rails 1.1.2
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@255 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-04 18:46:26 +00:00
bsag
01ac255778 The login_controller functional tests failed because the logic for should_expire_sessions was back to front. Fixed and tests pass now.
Deleted vendor/rails in preparation to freeze to Rails 1.1.2



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@254 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-04 18:45:04 +00:00
bsag
edcc065659 Applied user preferences form patch by Janet Riley:
The 'week_starts' and 'due_style' preferences can now be selected with an options list rather than entered in a textfield. This makes much more sense without the user having to look at the help notes.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@253 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-04 14:20:32 +00:00
bsag
f395a37e63 Added the lightbox interface to the project and context pages too, but altered it so that it's activated by a hidden link (using the hotkey Ctrl/Alt Q). The actual link on the page opens the inline form as usual, and is activated by Ctrl/Alt N). So the lightbox is still available, but optional.
For some reason that I really can't figure out, adding an action to the context page results in the badge being incremented by two, but almost identical code on the project page gives the correct count. Baffling, but I'm sure I'm missing something that's staring me in the face.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@252 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-04 14:02:35 +00:00
lukemelia
463a61f514 This changeset introduces some integrated web service type features that take advantage
of the Rails 1.1 responds_to functionality. It also lays a foundation for future API
enhancements.

Basically, if you request the /projects, contexts/ or notes/ URLs with a client that specifies that it wants XML, Tracks will return XML. See DHH on the Accept header (http://www.loudthinking.com/arc/000572.html).

But there's a wrinkle. The controller actions mapped to these URLs are protected by an authentication filter. In normal use, Tracks redirects an unauthenticated user to the login screen for session-based authentication.

I've added a secondary authentication check that looks for a valid username and password coming from HTTP_BASIC authentication.

To test out the new functionality, try this:

curl -H 'Accept: application/xml' --basic --user YOUR_TRACKS_USERNAME:YOUR_TRACKS_PASSWORD http://localhost:3000/projects/

curl -H 'Accept: application/xml' --basic --user YOUR_TRACKS_USERNAME:YOUR_TRACKS_PASSWORD http://localhost:3000/contexts/

curl -H 'Accept: application/xml' --basic --user YOUR_TRACKS_USERNAME:YOUR_TRACKS_PASSWORD http://localhost:3000/notes/

HTTP_BASIC sends passwords in plain text, so the use of https is encouraged.

I haven't tested this on a shared host yet, but Coda Hale, whose simple_http_auth inspired this solution and provided some copy and paste code for it (thanks, Coda!), has some notes about how to make it work in his plugin readme (http://svn.codahale.com/simple_http_auth/README). To wit, putting the following in .htaccess:

  RewriteRule ^(.*)$ dispatch.fcgi [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]

My thinking on this architecture is as follows:

1) Follow the spirit of responds_to and DRY to leverage existing controller code for API functionality
2) Get away from using the user token for API interactions. Let's keep it for feeds, so it's basically a "lite" form of security for read-only feeds.
3) Keep Tracks in shape to adopt the simply_restful plugin being developed alongside Rails Edge

There's no real new functionality in this release that the existing API didn't provide (except for seeing your notes as XML, and somehow I don't think people are clamoring for that), but this work is an important step to being able to implement the types of API features people have been asking for.

While I was at it, I did some refactoring to the login_controller for readability and style.

Finally, I replaced the activity indicator graphic to work with the new navigation background color.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@251 a4c988fc-2ded-0310-b66e-134b36920a42
2006-06-04 07:07:42 +00:00
bsag
3da6fe2525 Tried out using a modal 'lightbox' style dialog for the new next action form on the home page (I'm using the scripts written by Bruno of [http://blog.feedmarker.com/2006/02/12/how-to-make-better-modal-windows-with-lightbox/ Feedmarker]).
Instead of opening up a form on the main page, clicking the 'Add new action' link (or hitting Alt/Ctrl N) opens up an overlay window, with a semi-transparent window underneath. You can add as many actions as you like by filling in the forms and hitting submit, then when you're done, click the close box or the shaded overlay area to dismiss the window.

It works very well on Safari, but for some reason, on my copy of Firefox, the cursor is invisible.

My plan is to also allow deferred actions to be added using this form, and eventually set up editing of existing actions to use the same format.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@250 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-29 11:02:28 +00:00
bsag
f10e5b102e Changes made to the default datestamp in the migrations to fix compatability with PostgreSQL (see #218) caused even new actions to be marked as stale (#257). This also affected SQLite3, as reported by Sjoerd Siebinga on the mailing list.
This changeset sets the default datestamp using Rails to set a db-appropriate format. It fixes SQLite3, and I hope also PostgreSQL though I can't test this.

Fixes #257.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@249 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-27 10:27:32 +00:00
lukemelia
d0784999c1 Projects marked as complete will no longer show up in the add new action form. I also cleaned up a little bit of ruby Array code in the sidebar. The reject{} method can be used a lot where we have been using collect{ ... }.compact. Fixes #297.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@248 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-26 19:46:10 +00:00
bsag
d7acb70ee3 Added a white-space: nowrap declaration to the #date id as provided by Tim Martens. Supplements the fix provided by Ryan Nielsen in the previous commit.
Thanks Tim!



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@247 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-17 16:18:08 +00:00
lukemelia
14c04a1c9d Applied Ryan Nielsen's css patch to fix rendering of new header in Safari. Fixes #292.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@246 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-17 12:49:16 +00:00
bsag
c63833401d Made some changes to the 'navigation bar' of all of the pages. Moved the 'toggle notes' link, add users (admin only) and logout links up to the top right corner, as they don't really fit with the other navigation links. The toggle notes link is now collapsed to one link which toggles, rather than a separate 'show' and 'hide' link (fixes #274).
Experimentally, I've made the whole top navigation section fixed so that it stays in place as the page scrolls, and it's black and slightly transparent to give it a different feel. I'm not sure if I like it or not, but it does make the links handily available.

I've also made the layout a bit more fluid to use the available width better. It's not quite right yet, but it works much better with wide displays (fixing #193) and also with narrow displays (fixing #262).



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@245 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-15 18:22:43 +00:00
bsag
6ba235d5cc Set the default charset to UTF-8 by default (if it hasn't been previously set). This is supposed to fix problems with UTF-8 on Firefox.
Fixes #279



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@244 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 15:02:59 +00:00
bsag
5cd580db6f Changed the Timzone setting in the iCal file from a hardcoded value to the value of ENV['TZ'] which is set in config/environment.rb. If no timezone is set, and default of GMT is used. Updated the comment in the file to make this clear.
Fixes #275



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@243 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 14:49:33 +00:00
bsag
c2967c452e My overzealous find-and-replace of the @response, @request etc. variables in [239] broke the iCal feeds. This is now fixed.
Changed the content-type of the iCal feeds to text/calendar which should fix problems with Mozilla Calendar. The feeds still work with iCal. Fixes #273.




git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@242 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 14:25:56 +00:00
bsag
1129cc8ca6 Changed shebang in all the scripts/* scripts to /usr/bin/env ruby
New 'All projects' feed was reporting all projects as 'Done' because of a missing questionmark to test for truth.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@241 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 13:58:14 +00:00
bsag
9e3169f286 Messed up the propedit on the root directory.
Added an ignore to *.tmproj files (TextMate project files).



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@240 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 13:40:20 +00:00
bsag
eefbb70660 Changed all instances of @response, @request, @session etc. to the new forms or response, request, session etc.
Fixes #266



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@239 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 13:32:39 +00:00
lukemelia
ca8a386dd7 Adds RSS and TEXT feeds for projects and contexts. fixes #282
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@238 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 05:58:29 +00:00
lukemelia
378800218a My last commit comment got cut off. Changeset [236] should have read as follows: Make id-based routes work properly. Fixes #287.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@237 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 04:06:35 +00:00
lukemelia
1517070f4f fixes certain routes that didnt
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@236 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 04:02:47 +00:00
lukemelia
07aade6882 Add two new API methods: ListContexts and ListProjects. See http://0.0.0.0:3000/backend/invoke to experiment.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@234 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-04 05:38:47 +00:00
bsag
6dc32aa83b Updated the migration files so that any updates to rows are done via ruby rather than raw SQL. With any luck at all, this might fix the various problems people encounter when trying to use rake migrate on different databases. At any rate, it should be a lot more portable between databases.
Also added some ruby code to the fixture files so that boolean columns will be set correctly depending on database adapter, and also the created_at and other date or datetime fields are set dynamically.

Finally, I also changed the names of the old migration files to match the new naming convention (001_filename.rb, 002_filename.rb etc.)

With the new rake syntax, you can run:

rake db:migrate

to create the tables (for MySQL create the db first, but with sqlite/sqlite3 you just have to list the name in database.yml, but you don't need to create the db itself). Then,

rake db:fixtures:load

if you want some example contents.

I'm HOPING that this fixes #261, #268 and even #205 which I closed because I gave up. I've tested rake db:migrate and rake db:fixtures:load by creating new mysql and sqlite3 databases, and that works fine on my system.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@233 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-02 21:47:30 +00:00
bsag
03ff56d703 Added the beginnings of a tickler to Tracks. It's fairly rudimentary at the moment, but it's designed to set the foundations for more kinds of deferred tasks.The current system works, but isn't very DRY: it will need refactoring for speed.
It has these features:

* The todos table and model has been altered (run rake migrate to update) to create two sub-classes of the todo model: Immediate and Deferred. Fairly obviously, Immediate actions are those shown immediately, and Deferred are those shown when certain conditions are fulfilled. At the moment, this is when the 'show_from' date arrives.
* Deferred actions are created on a separate page: /todo/tickler. You can view the show_from date here and delete or edit the actions. Deferred actions don't show on the home page (their handling on project and context pages is still to be fixed).
* A periodically called method (every 10 minutes) checks whether any of the deferred actions is due to be show, and if so, a warning message is shown on the home page to tell you how many deferred actions are to be shown. You need to refresh the page to see them (again, this is to be fixed).
* When deferred actions become due, their type is changed from "Deferred" to "Immediate". The handling of their staleness is still to be fixed.

There's a way to go before it's really smooth, but it's a start.

At least partially fixes #270 and #78, but will be improved with time too.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@232 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-02 17:11:46 +00:00
lukemelia
4de6537af8 Adds keyboard shortcuts to any field that has a calendar:
't'         input today's date
   '+' or '='  increment the date in the field by one day
   '-'         decrement the date in the field by one day

When the calendar is visible, the shortcuts play nicely with it. If the calendar is not visible they still work properly, which makes them useful for keyboard-only next action input. 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.

Closes #264



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@231 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-23 06:23:03 +00:00
bsag
c8602cf607 Updated README_FOR_APP for 1.041.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@229 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-17 12:19:20 +00:00
bsag
9332644cc1 Added new features and bug fixes in Tracks 1.041 to the CHANGELOG.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@228 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-17 11:07:33 +00:00
bsag
2ca0a5a000 WARNING! This changeset deletes environment.rb. Make sure that you copy your values for SALT and TimeZone before updating, then copy environment.rb.tmpl to environment.rb then copy your changes over.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@227 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-17 10:34:03 +00:00
bsag
4c7f3409a0 # Added time zone setting to environment.rb.tmpl. It's commented out by default, but if your server is set to a different time zone than the local machine on which you access Tracks, you can set your local time zone here to have all of the dates adjusted. This setting is global for all users, and is an interim measure until I can get per-user time zone settings working. Fixes #238.
# Added config/environment.rb.tmpl and set svn:ignore on environment.rb so that your personal setting for SALT and ENV['TZ'] isn't committed to the public repository if you have commit access. You need to copy the changes in environment.rb.tmpl to your environment.rb if you already have an installation, or copy environment.rb.tmpl to environment.rb if it's a new installation. Fixes #235.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@226 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-17 10:27:48 +00:00
bsag
330133ef03 The previous commit assigned the accesskey 'n' to the notes page, which was already assigned to create a new note. I've changed it to 'o'.
I also realised that I was making things much more difficult than they needed to be when checking whether the current page matched a particular link, so I altered the navigation_link method to simplify it.




git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@225 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-16 21:49:53 +00:00
bsag
959c2c2f53 The current page is now marked in the navigation bar at the top with a black bottom border and black text (as when the link is hovered over). I've also added accesskeys for the notes page (alt/ctrl n) and the preferences page (alt/ctrl u for user preferences).
Fixes #231



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@224 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-16 18:39:00 +00:00
bsag
7a9a19a563 Changed the completed box on the home, context and project pages so that it presents the same format as that on the 'done' page: the actions context and project (if it has one) is presented in brackets after the description.
Fixes #254.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@223 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-15 15:08:44 +00:00
bsag
5a331c0a66 Fixed a regression in the trunk in which a fresh installation (with no users) generated an error on visiting /signup, because @user was nil.
My changes to signup are a little verbose, but they work.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@222 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-15 14:50:13 +00:00
bsag
e1cb2b0f29 Added iCal subscription links.
The feeds page now lists iCal links alongside each RSS and TXT feed link. Copying your chosen link and pasting it in to the text box that appears in iCal when you choose Calendar > Subscribe.. Name your calendar as you wish, but make sure that you get it to refresh periodically and that the 'Remove Todo items' checkbox is UNCHECKED (obviously ;-) ). Then your Tracks next actions should appear as todo items in iCal, with proper due dates assigned, and notes in the notes field. The todos should update periodically in iCal as you add, delete or complete items in Tracks, but the subscription is read-only from iCal's end. However, it does allow you read access on the move if you sync iCal with your Palm or mobile phone.

I don't have Sunbird or any other iCal compatible calendar, but it should work with any of those too, as it follows the [http://www.ietf.org/rfc/rfc2445.txt iCalendar] standard format.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@221 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-14 17:07:29 +00:00
bsag
a2120f6ee1 Setting no_completed in the user preferences to zero now removes the completed items box completely from the home page and from the individual context and project pages.
Fixes #251.
 


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@220 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-11 17:19:30 +00:00
bsag
95e0fd3590 Added Luke's patch for moving an action between contexts when you edit the context. If you change the context of a next action by editing it, the action moves immediately between contexts when you hit update (by the magic of Ajax), rather than requiring you to refresh as happened previously.
Fixes #245.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@219 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-11 12:40:10 +00:00
bsag
51a490f2c7 test/fixtures/notes.yml didn't have all the required fields, so if rake load_fixtures was used to load the example contents, the notes page would generate errors.
Fixes #249.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@218 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-09 11:14:24 +00:00
bsag
edaacf3d4f Fixed the notes page so that it doesn't raise an error if there are no notes. It shows a message that there are no notes, and that you can add notes from the project pages.
Fixes #247.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@217 a4c988fc-2ded-0310-b66e-134b36920a42
2006-04-09 11:03:18 +00:00