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
d29fb230f0
exclude the init filter from running for the toggle_check and toggle_star. Speeds up request as described by lrbalt in #546 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@577 a4c988fc-2ded-0310-b66e-134b36920a42
2007-08-19 04:22:36 +00:00
lukemelia
4775184403
Apply James Kebinger's patch to reduce the size of the projects listing HTML. Thanks, James. Closes #509
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@576 a4c988fc-2ded-0310-b66e-134b36920a42
2007-08-14 06:57:27 +00:00
lukemelia
30c23fc560
Introduce current_user and prefs accessors that replace the @user and @prefs variables that were being used in most places.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@575 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-30 05:29:18 +00:00
lukemelia
ad5fbc7147
Fix a bug where the limit parameter was not respected in the TodosController. This bug affected the Last 15 Actions feed.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@574 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-25 03:54:26 +00:00
lukemelia
6be1994d8c
Fix the autodiscovery RSS link in the standard layout to be a working RSS feed of all next actions
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@573 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-25 02:19:59 +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
2c64e64886
Normalize the Open ID URL before save and before looking it up. Minor variations, like leaving off the "http://", for example, should not prevent authentication.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@571 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-25 01:54:35 +00:00
lukemelia
89055145dd
Minor refactoring to User#generate_token
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@570 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-18 02:17:09 +00:00
lukemelia
64321f5c46
Create a named route for the preferences page and use it. Rename "crypt_token" to "generate_token".
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@569 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-17 04:47:35 +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
5d051181f2
Applied ffarid's patch to correctly indent numbered lists in notes. Closes #539 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@567 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-16 02:21:00 +00:00
lukemelia
e722fde0c8
Commit ffarid's patch to improve error messaging with authentication type issues. Closes #540 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@566 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-16 02:18:07 +00:00
lukemelia
530569351e
Minor css change to fix ugly gray background on Completed radio button on project page.
...
Also, changed the version in the footer to 1.50-trunk to reflect that the next release will be Tracks 1.5.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@565 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-13 04:27:49 +00:00
lukemelia
85e9c8350f
Fixes problem reported in #528 by lrbalt: "login succes message does not disappear". Thanks!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@564 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-10 04:43:15 +00:00
lukemelia
1280ab7665
Add selenium test case to test problem reported in #533 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@563 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-10 04:16:08 +00:00
lukemelia
33d7341b6d
Integrated protoload.js to facilitate easier ajax indicators.
...
Use it on the Add New Action form, and also prevent use of the form while an action is being added via Ajax. The latter aspect fixes #339 .
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@562 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-10 03:54:53 +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
lukemelia
ae9ecb398f
Additions to User unit tests, inspired by a review of the acts_as_authenticated generator
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@559 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-07 04:31:32 +00:00
lukemelia
a7e8a849e3
Fixed #529 (bullets of a note of an action is placed outside the box) by updating CSS. Thanks to Reinier Balt for the bug report.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@558 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-22 01:04:35 +00:00
bsag
6f8299d81e
Reduced the height of the update and submit buttons a bit to fit in better with other form elements. Tested in Safari (3.0) and Firefox 2.0.0.4 for Mac, but I don't have access to IE, so please let me know if the buttons look bad on IE. The most likely thing is that the update and cancel buttons on the edit action form will be different sizes or heights.
...
Fixes #525
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@557 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-17 11:43:58 +00:00
lukemelia
46df520dd6
Fixed context name autocomplete. Closes #524 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@556 a4c988fc-2ded-0310-b66e-134b36920a42
2007-06-10 04:40:41 +00:00
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