lukemelia
77bed1e80b
Remove default context of "Create a new context" when no contexts exist. i.e. a new user. Closes #511 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@555 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-08 04:57:09 +00:00
lukemelia
29d9403324
Restore hidden source_view field in new action form. Fixes #520 (project view not updated when adding an action). Thanks for the catch, lrbalt.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@554 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-08 04:38:44 +00:00
lukemelia
c93bd40515
Improve the presentation of the error messages when attempting to create a new action with invalid data. Thanks to James Kebinger for his patch. Fixes #522 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@553 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-08 04:17:37 +00:00
lukemelia
4160cf0ab3
Applied James Kebinger's patch to remove the password from the logs emitted by LoginController. Closes #521 . Thanks, James!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@552 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-08 04:01:11 +00:00
bsag
628958fc2d
Added styled submit and cancel buttons to the new action and edit action form, thanks to a great tutorial at Particletree:
...
http://particletree.com/features/rediscovering-the-button-element/
I'll style the other submit buttons like this in due course for consistency.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@551 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-04 18:59:56 +00:00
bsag
e16b013548
A tiny change to alter the tabindex of the submit button on the edit action form. The tab index on that form was working fine for me, but hopefully this should fix tab index problems that some others have been having with that form.
...
Hopefully fixes #519
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@550 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-03 15:20:31 +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
lukemelia
1fe9d808d0
Removed rails_rcov plugin to avoidforcing a dependency on the rcov gem for users of rake db:migrate. For developers, I recommend you install the plugin but don't commit it.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@547 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-29 03:59:50 +00:00
lukemelia
4650361c17
Tracks now looks at user-entered projects and sets the context if their is a default context for the project and if the context has not yet been edited. Closes #506 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@546 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-28 05:33:05 +00:00
lukemelia
f97af91cb2
This change eliminates an error in TodosHelperTest when running with sqlite3. I don't understand why, though. I made this change simply looking for a better error message, bit instead, the error went away.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@545 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-28 03:53:10 +00:00
lukemelia
1cce7f076c
This changeset is larger than I prefer, and may be unstable with databases besides mysql.
...
Also, for developers: two new gems are required for running tests: zentest and flexmock.
I applied James Kebinger's patch to add starred actions. These are implemented behind the scenes as a tag, so you can see all starred actions the way you would look at actions for any tag. Closes #387 . Thanks, James!
Tests now rely the ZenTest gem. Thanks Ryan Davis & Eric Hodel.
I improved test coverage of a few models and created a test for the new helper methods to support the stars. (Helper method tests are made possible by ZenTest. The helper tests use mock objects to isolate them, courtesy of flexmock. Thanks, Jim Weirich!)
Modified a few selenium tests to work properly with mysql.
Upgraded the has_many_polymorphs plugin.
Add rails_rcov plugin to get test coverage numbers more easily.
Convert toggle_check action to correspond to a PUT instead of a POST (follows CRUD<->HTTP mapping better).
I'm having some issues running tests with sqlite3 that I haven't been able to figure out. I'll work on it, but wanted to check in so I can check out and work from the beach this weekend.
Happy holiday weekend to those of you in the U.S.!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@544 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-25 19:01:08 +00:00
lukemelia
2ac8cd3324
Increase indent on preferences page. Closes #518 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@543 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-21 06:23:39 +00:00
lukemelia
bd51916561
Added an XML representation of an indvidual context and context.
...
Updated some HTTP error status codes to play better with ActiveResource.
Added date_field_tag helper method and make it format the date properly.
Used beginning_of_day() instead of to_date().to_time().
Verified all tests pass on Win32.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@542 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-21 06:12:55 +00:00
lukemelia
453fb34036
Revise layout of action editing form. Fixes #517 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@541 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-16 05:15:12 +00:00
lukemelia
f47c6f2324
Remove gradient from container headers.
...
Reduce overall font-size.
Refine sizing of form fields in new action form.
Fixes #512 and #513 .
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@540 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-16 02:55:26 +00:00
bsag
a5967a6413
Minor change made to the 'empty' message on the tag page to reflect the fact that the completed actions section is now filtered to show only actions with the selected tag.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@539 a4c988fc-2ded-0310-b66e-134b36920a42
2007-05-06 12:00:57 +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
22a9519bd7
I did some CSS work on the appearance of Tracks. Nothing major, just some subtle improvements, hopefully. Haven't checked it out outside of Firefox yet.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@537 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-18 06:45:09 +00:00
lukemelia
274cdba18c
Fixed #484 . There was a bug preventing validation errors from appearing when editing todos. In addition, todos now have their state updated before loading the tickler page.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@536 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-18 03:23:33 +00:00
lukemelia
ff28a733bd
Fixes #455 (cannot change due style in preferences). Thanks, lrbalt!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@535 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-16 10:00:38 +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
lukemelia
60dedb8992
A recent checkin was missing this file. Whoops!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@533 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-16 03:13:39 +00:00
lukemelia
e580372a76
Fixed #496 (drag-sort after Sort Alphabetically on projects page is broken).
...
However, the time it takes the browser to process the alphabetize Ajax response is unacceptably long. Not sure how to improve this yet.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@532 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-16 02:43:15 +00:00
lukemelia
14f2067a1e
Fix #498 (cannot login using mobile interface) by introducing a login page specialized for mobile devices. To support this, I added named routes for the login paths and pulled up the mobile content negotiation code to the ApplicationController.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@531 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-16 02:19:20 +00:00
lukemelia
fd5b871839
Fix #500 (when moving an action to an empy context , a wrong message is shown). Thanks, lrbalt!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@530 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-15 23:04:16 +00:00
lukemelia
2ff03c573e
Cleaned up some more unnecessary ActiveRecord calls in the ProjectsController and ContextsController.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@529 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-11 06:04:17 +00:00
lukemelia
472db2f586
Remove a couple of unnecessary queries that were slowing down rendering of the projects and contexts listing pages and eating up too much memory.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@528 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-11 05:04:31 +00:00
bsag
56215ec160
When a new project note is added (project pages), the notes text field is cleared after the note is submitted, so that it is empty ready for the next note.
...
Fixes #480
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@527 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-08 15:29:46 +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
419f97ae9f
Fix #497 (Project page "Sort Alphabetically" feature should sort case-insensitively)
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@525 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-08 04:26:13 +00:00
lukemelia
2d73602d98
Added ability to sort projects alphabetically on the project listing page. Closes #461 (Ability to alphabetically sort projects as an alternative to drag/drop)
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@524 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-06 05:45:21 +00:00
lukemelia
3946dbf0c1
Remove URL Friendly Name concept from Tracks. They were associated with projects and contexts. Both projects and contexts can now have a slash in the name if you so desire.
...
Also fixed #486 (Inline edit of project title (from individual project page) fails). Thanks to James Kebinger for reporting the issue and for the patch.
N.B. This check-in requires the REMOVAL of one line from your environment.rb file. The line to be removed reads "require 'url_friendly_name'"
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@523 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-06 03:30:20 +00:00
lukemelia
d9a194ab64
Add the version of Tracks to environment.rb and include it in the footer of the web UI. Thanks to lrbalt for
...
the idea in #374 .
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@522 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 05:48:09 +00:00
lukemelia
07f790a545
Implement #466 (It would be better if the form to create the new context/project is visible by default in the context/project section instead of having to click on the 'Create a new....' Will save one click and don't think it will clutter the page much!). Thanks to SK for the idea.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@521 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 05:39:11 +00:00
lukemelia
c89d8f0012
Fixed #491 (broken: Actions completed in the last 7 days). Thanks for the bug report, SK.
...
Also, removed some junk from the data_controller test output.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@520 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 05:09:07 +00:00
lukemelia
8f81f6d58a
Add additional keyboard shortcuts to date fields, per SK's suggestion in #470 .
...
Date field shortcuts:
(t) today
(-) or (<) previous day
(+) or (>) next day
([) previous week; (]) next week
({) previous month
(}) next month
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@519 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 04:55:04 +00:00
lukemelia
179d194fb2
Apply James Kebinger's patch to fix #492 (broken: csv export of notes). Thanks SK for
...
the bug report and James for the patch!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@518 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 04:29:48 +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
f3f881e47e
copy memory_test_fix plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@516 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:44:58 +00:00
lukemelia
ba58baa3b8
repair botched copy of memory_test_fix
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@515 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:44:46 +00:00
lukemelia
f98d034631
copy unobtrusive_javascript plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@514 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:35:10 +00:00
lukemelia
db65cf8927
copy simply_helpful plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@513 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:35:06 +00:00
lukemelia
de8975cc17
copy simple_ldap_authenticator plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@512 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:35:00 +00:00
lukemelia
0a745f2eab
copy selenium-on-rails plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@511 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:34:56 +00:00
lukemelia
f89cae635f
copy resource_feeder plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@510 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:34:53 +00:00
lukemelia
0d8a3fcf6d
copy memory_test_fix plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@509 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:34:49 +00:00
lukemelia
eba1f3346e
copy has_many_polymorphs plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@508 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:34:46 +00:00
lukemelia
feb46f687b
copy extra_validations plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@507 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:34:42 +00:00
lukemelia
85d8940e1b
copy arts plugin from branch
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@506 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 12:34:38 +00:00