lukemelia
abccc24f1f
Add "require 'digest/sha1'" to environment.rb.tmpl. I didn't have this problem but a user reported not being able to run "rake db:fixtures:load" without this. Fixes #557 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@592 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-15 21:55:31 +00:00
lukemelia
b450d1026d
Apply lrbalt's patch to cleanup a couple of stats issues. Fixes #558 and #559 . Thanks Rob and lrbalt!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@591 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-15 21:33:36 +00:00
lukemelia
6e0e02714f
Apply lrbalt's fix to address two small errors in the new stats page.
...
Fixes #556 .
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@590 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-15 04:56:08 +00:00
lukemelia
839feddb63
Tweaks to the new stats page to implement a workaround for a bug in the Flash add-in for Firefox/Mac. The workaround involves removing the opacity from the header navigation area for the stats page.
...
Also introduced FlashObject.js to handle Flash embedding, and removed some duplication in the views.
This changeset should also resolve problems with the stats page for people who don't run tracks from the root of their website.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@589 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-14 05:44:01 +00:00
lukemelia
054f6d6a77
Make context counts on the stats page a little more portable across databases.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@588 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-13 03:28:59 +00:00
lukemelia
8c26ea7cb5
Added the fantastic statistics work contributed by lrbalt! This is a work in progress. It's not rendering correctly for me in Firefox but is OK in Safari and there is at least one other minor error. Contribute bug reports and fixes to ticket #406 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@587 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-13 03:21:37 +00:00
lukemelia
4f3762a64c
Make the selenium tests more elegant.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@586 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-12 07:21:40 +00:00
lukemelia
5cb42946c1
Introduced user-extensions.js file for selenium to clean up a few selenium tests. This is a powerful concept and could be used to really help the clarity and maintainability of the selenium tests in the future.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@585 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 05:34:21 +00:00
lukemelia
c6b3e1c0b8
Introduced asset_packager plugin to reduce the number of external javascript and css files loaded by Tracks. It is effective in test and production (not development) environments.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@584 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 05:13:15 +00:00
lukemelia
0e53ea5890
Fixed #523 (updating context in tickler does not move todo on screen)
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@583 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 04:17:01 +00:00
lukemelia
c3ccae9f9e
Fixed a minor issue introduced by last changeset where default projects for contexts were not always behaving properly and resulted in javascript errors.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@582 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 02:53:08 +00:00
lukemelia
565a8a83be
Fix #553 (context/action does not appear via ajax when creating first action/context for a user). A couple of new selenium tests support this fix.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@581 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 00:55:11 +00:00
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
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