Commit graph

788 commits

Author SHA1 Message Date
Simon Rozet
87444e7109 stop versionning schema.rb 2008-06-23 21:39:16 +02:00
Simon Rozet
e8d1ba2633 refactored context model spec to be a bit more 'rspec-ish' and to use skinny_spec and scenarios 2008-06-23 21:39:16 +02:00
Simon Rozet
d62cbf4592 make custom spec macro `it_should_validate_length_of' accepts a message argument 2008-06-23 21:38:41 +02:00
Simon Rozet
2672c1e2b7 crreate some basic scenarios 2008-06-23 21:38:04 +02:00
Simon Rozet
b13df20630 Install the `scenarios' plugin and require it in spec_helper
It is IMO a great alternative to fixtures.
See http://github.com/aiwilliams/scenarios/tree/master and further commits
for more information.
2008-06-23 21:34:21 +02:00
Simon Rozet
6d54923e2f Spec for `todo' model 2008-06-23 12:28:38 +02:00
Simon Rozet
44b7f56c23 Spec for user model 2008-06-23 12:28:03 +02:00
Simon Rozet
0376067cf4 Install the `skinny_spec' plugin.
It's basically a set of rspec macro allowing you to write thing such as
`it_should_find_and_assign :users'.
See <http://github.com/rsl/skinny_spec/tree/master> for more informations.
It's recommended to install the `ruby2ruby' gem to have nicer error messages, but
it is not required to work.

@@ update README_FOR_DEVELOPERS accordingly.
2008-06-23 10:03:56 +02:00
Simon Rozet
60b986a5b9 fix a failing spec for context model 2008-06-23 10:03:55 +02:00
bsag
eb53865ff9 Context model specs completed. Using fixtures for some examples currently, but might convert to mocks in future. Specs now offer same coverage as Test::Unit tests for Context model. 2008-06-23 10:02:17 +02:00
bsag
1dc03195d0 Initial work on specs for models - Context model spec started. 2008-06-23 10:02:17 +02:00
Reinier Balt
5f3cdf5ce8 changes api description to follow solution in #738 2008-06-23 10:02:17 +02:00
Reinier Balt
e4c302cedd update version information.
Small change to see if I can push to the main repository
2008-06-23 10:02:17 +02:00
Luke Melia
d7f05fbfd4 Started moving selenium on rails tests over to RSpec stories. See the updated README_DEVELOPERS for info on running the new tests. 2008-06-23 10:02:17 +02:00
Luke Melia
58974ec138 Removed SimplyHelpful plugin (functionality has been rolled into Rails) and modified ResourceFeeder as necessary. 2008-06-23 10:02:17 +02:00
Luke Melia
2c09db45c5 Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium. 2008-06-23 10:02:17 +02:00
bsag
7b432a74ed Schema update after Rails 2.1 update 2008-06-18 13:31:16 +01:00
Luke Melia
0600756bbf Added missing fixture to context API integration test. Previously caused a failure when run in isolation. 2008-06-17 12:35:36 -04:00
Luke Melia
901a58f8a3 Upgraded to Rails 2.1. This can have wide ranging consequences, so please help track down any issues introduced by the upgrade. Requires environment.rb modifications.
Changes you will need to make:

 * In your environment.rb, you will need to update references to a few files per environment.rb.tmpl
 * In your environment.rb, you will need to specify the local time zone of the computer that is running your Tracks install.

Other notes on my changes:

 * Modified our code to take advantage of Rails 2.1's slick time zone support.
 * Upgraded will_paginate for compatibility
 * Hacked the Selenium on Rails plugin, which has not been updated in some time and does not support Rails 2.1
 * Verified that all tests pass on my machine, including Selenium tests -- I'd like confirmation from others, too.
2008-06-17 01:13:25 -04:00
bsag
f3bae73868 Added TextMate *.tmproj files to .gitignore 2008-06-16 18:27:07 +01:00
bsag
d3649e6b25 Updated docs with the instructions for getting development versions from git. 2008-06-16 18:24:54 +01:00
Reinier Balt
c8d7466ca5 ignore proejct files from netbeans 2008-06-16 16:04:59 +02:00
Reinier Balt
8a3ba65bb7 somehow these files have been marked a changed after the pull 2008-06-16 15:24:02 +02:00
bsag
12b2c06b71 Added line to .gitignore to ignore db/*.sqlite3 files.
I suggest that users use the .sqlite3 suffix for their databases, and reserve .db for the example databases.
2008-06-15 10:43:48 +01:00
bsag
1b00a314ae Added patch by Eric to fix users_controller_test. Fixes #735.
<http://dev.rousette.org.uk/ticket/735>
2008-06-15 10:38:58 +01:00
bsag
c1109b3fb3 Merge branch 'svn-tracking'
Up to r881 of svn repository
* svn-tracking: (22 commits)
  Added .gitconfig
  Added yaml_db plugin: http://opensource.heroku.com/
  applied patch from Eric from #732
  fixes #730 restores ability to delete user from user management page
  fixes #724 where editing todos truncates the project name of the todo when the project name contains quotes (")
  Applied patch from Eric Pallen whcih automatically converts url's to links. Thanks Eric!
  explain that yaml cannot yet be used for backup as importing is not implemented yet. from mailinglist.
  hopefully fixes #727.Changes the check on running animation to finished animation
  regenerate compressed js and cleanup whitespace
  turns out that getElementsByClassName is removed from prototype and it therfore falls back to the function of the browser which has different semantics. Found here http://www.prototypejs.org/api/utility/getElementsByClassName
  forgot to create a new compressed js from the previous js changes
  in the stats page you can downdrill to see the active todos in a certain week from the running time charts. This patch adds the option to see all active todos from the selected week and older.
  fix #727. Adds a check to prevent expand/collapse while a previous expand/collaps is still animating
  fixed small problem where updating a todo from mobile resulted in an error becase source_view was nil
  fixes #726. Thanks Eric Pallen for the fix. The mobile view showed active todos from completed projects while the home page does not.
  merges changes from tracks1.6 to trunk
  prepares trunk for 1.6 release
  fixes #713. Adds behavior for edit/star/delete/check buttons of todo even if there is no todo to show. This makes sure that the behaviors are present when you add a new todo through AJAX.
  fixes #718. The link included the number of actions which resulted from last commit
  removed some more whitespace to reduce the download of the mobile view.
  ...
2008-06-15 09:59:22 +01:00
bsag
0380d1b15a Merge branch 'master' of /Users/jackie/Sites/tracks_svn into svn-tracking
Up to r881

* 'master' of /Users/jackie/Sites/tracks_svn: (22 commits)
  Added .gitconfig
  Added yaml_db plugin: http://opensource.heroku.com/
  applied patch from Eric from #732
  fixes #730 restores ability to delete user from user management page
  fixes #724 where editing todos truncates the project name of the todo when the project name contains quotes (")
  Applied patch from Eric Pallen whcih automatically converts url's to links. Thanks Eric!
  explain that yaml cannot yet be used for backup as importing is not implemented yet. from mailinglist.
  hopefully fixes #727.Changes the check on running animation to finished animation
  regenerate compressed js and cleanup whitespace
  turns out that getElementsByClassName is removed from prototype and it therfore falls back to the function of the browser which has different semantics. Found here http://www.prototypejs.org/api/utility/getElementsByClassName
  forgot to create a new compressed js from the previous js changes
  in the stats page you can downdrill to see the active todos in a certain week from the running time charts. This patch adds the option to see all active todos from the selected week and older.
  fix #727. Adds a check to prevent expand/collapse while a previous expand/collaps is still animating
  fixed small problem where updating a todo from mobile resulted in an error becase source_view was nil
  fixes #726. Thanks Eric Pallen for the fix. The mobile view showed active todos from completed projects while the home page does not.
  merges changes from tracks1.6 to trunk
  prepares trunk for 1.6 release
  fixes #713. Adds behavior for edit/star/delete/check buttons of todo even if there is no todo to show. This makes sure that the behaviors are present when you add a new todo through AJAX.
  fixes #718. The link included the number of actions which resulted from last commit
  removed some more whitespace to reduce the download of the mobile view.
  ...
2008-06-15 09:50:05 +01:00
bsag
010417b60c Added .gitconfig
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@881 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-14 17:07:24 +00:00
bsag
3cd8093014 Added yaml_db plugin: http://opensource.heroku.com/
Use from the commandline to dump or load your whole database and schema.
rake db:dump, then rake db:load
Useful for moving from one database adapter to another (e.g. MySQL to SQLite or vice-versa). NOTE: If you are using PostgreSQL, you need
to uncomment the lines near the end of yaml_db/lib/yaml_db.rb.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@880 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-14 17:07:15 +00:00
lrbalt
4b6cda0768 applied patch from Eric from #732
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@879 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-13 06:34:32 +00:00
lrbalt
4f4b883688 fixes #730 restores ability to delete user from user management page
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@878 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-13 06:27:36 +00:00
lrbalt
e75309edea fixes #724 where editing todos truncates the project name of the todo when the project name contains quotes (")
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@877 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-13 06:25:42 +00:00
lrbalt
7134482ec4 Applied patch from Eric Pallen whcih automatically converts url's to links. Thanks Eric!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@876 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-12 07:31:25 +00:00
lrbalt
53e57f1632 explain that yaml cannot yet be used for backup as importing is not implemented yet. from mailinglist.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@875 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-11 08:56:12 +00:00
lrbalt
6cb083b31f hopefully fixes #727.Changes the check on running animation to finished animation
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@874 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-06 20:06:23 +00:00
lrbalt
cfb69cd4cd regenerate compressed js and cleanup whitespace
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@873 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-06 19:37:07 +00:00
lrbalt
396008edc7 turns out that getElementsByClassName is removed from prototype and it therfore falls back to the function of the browser which has different semantics. Found here http://www.prototypejs.org/api/utility/getElementsByClassName
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@872 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-06 19:32:15 +00:00
lrbalt
520cf48da2 forgot to create a new compressed js from the previous js changes
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@871 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-06 15:37:22 +00:00
lrbalt
d875c5477d in the stats page you can downdrill to see the active todos in a certain week from the running time charts. This patch adds the option to see all active todos from the selected week and older.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@870 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-06 15:22:44 +00:00
lrbalt
32b54383ee fix #727. Adds a check to prevent expand/collapse while a previous expand/collaps is still animating
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@869 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-05 19:47:20 +00:00
lrbalt
549d5e7a97 fixed small problem where updating a todo from mobile resulted in an error becase source_view was nil
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@868 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-05 11:43:56 +00:00
lrbalt
b83a3b311c fixes #726. Thanks Eric Pallen for the fix. The mobile view showed active todos from completed projects while the home page does not.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@867 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-05 06:59:09 +00:00
lrbalt
d07d0c4f4d merges changes from tracks1.6 to trunk
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@866 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-03 18:20:42 +00:00
lrbalt
8edcabf25e prepares trunk for 1.6 release
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@862 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-02 08:21:03 +00:00
lrbalt
f66d1d8da4 fixes #713. Adds behavior for edit/star/delete/check buttons of todo even if there is no todo to show. This makes sure that the behaviors are present when you add a new todo through AJAX.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@861 a4c988fc-2ded-0310-b66e-134b36920a42
2008-06-01 18:43:44 +00:00
lrbalt
54841fd044 fixes #718. The link included the number of actions which resulted from last commit
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@860 a4c988fc-2ded-0310-b66e-134b36920a42
2008-05-28 15:04:26 +00:00
lrbalt
7936277455 removed some more whitespace to reduce the download of the mobile view.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@859 a4c988fc-2ded-0310-b66e-134b36920a42
2008-05-28 10:13:07 +00:00
lrbalt
e72d88585d removed some whitespace to reduce the download of the mobile view.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@858 a4c988fc-2ded-0310-b66e-134b36920a42
2008-05-28 09:29:46 +00:00
bsag
73c1627091 Merge branch 'svn-tracking'
* svn-tracking:
  lrbalt: removed search box from menu bar as discussed on mailinglist
2008-05-25 17:49:10 +01:00
bsag
27eeb9a1fc lrbalt: removed search box from menu bar as discussed on mailinglist 2008-05-25 17:48:32 +01:00