Commit graph

95 commits

Author SHA1 Message Date
Eric Allen
94ec1d46bb Add note working again for Projects 2009-10-15 21:16:22 -04:00
Eric Allen
00da0b36aa Fixed a latent time zone bug in tests.
I created a new method accessible to all tests for forcing a user to the local time zone. The code was cribbed from Rails's rake tasks time:zones:local.
2009-10-13 23:39:36 -04:00
Eric Allen
fe52c0ab3c Fixed some failing tests and removed dead ones. 2009-10-13 23:38:25 -04:00
Eric Allen
96f510abd4 ALL SELENIUM TESTS PASSING!!
Caught a couple of things that I had to fix plus a handful of broken tests. This is the first time in forever that we have a fully successful selenium suite.
2009-10-13 22:34:37 -04:00
Eric Allen
e32b23c615 Fixed a bunch of tests 2009-10-09 21:27:27 -04:00
Eric Allen
86de0a1290 A whole bunch more Selenium tests working 2009-10-07 16:32:34 -04:00
Eric Allen
eac798d0bf Got one Selenium test working 2009-10-02 18:55:23 -04:00
Eric Allen
66de0f9fd8 Don't set time to UTC for midnight in test.
This was causing an intermittent test failure in GMT-4.
2009-09-02 09:59:16 -04:00
Eric Allen
5a148bc6db Gems should be specified in environment, not test_helper, in newer Rails 2009-08-31 19:42:16 -04:00
Reinier Balt
4ed5567885 get tests running again 2009-08-05 21:00:41 +02:00
Reinier Balt
7a7862221d get tests running again with zentest >= 4.0.0 2009-06-02 21:22:50 +02:00
piglop
4e1e18da0f fixed #781:
* added a "show always" radio to the recurring todo forms
* added a show_always flag to recurring todos
* created a migration to convert existing recurring todos where show_from_delta==0
* recurring todos where show_from_delta is 0 are now shown the same day they're due

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-06-03 01:36:20 +08:00
Reinier Balt
149d05e04f add partial feature for notes. needs to be finished 2009-05-25 20:30:20 +02:00
Eric Allen
26c94551cd Fix bug in tests introduced by dd5b479c5d 2009-05-03 23:19:25 -04:00
Reinier Balt
2f8b454ac0 fix some failing tests 2009-04-19 00:18:12 +02:00
Reinier Balt
239b38cb15 fix for the two issues in #852
* the end date is prefilled with an incorrect formatted date
* if the radio for ends_on is not selected, but a date is entered, tracks incorrectly behaves as if ends_on was checked
2009-04-01 13:51:36 +02:00
Eric Allen
dbeb793214 Support dispatching emailed-in todos based on To: field as well as From: field. Setting configured in site.yml. 2009-03-29 19:44:43 -04:00
Reinier Balt
5a10ebdfc4 Merge branch 'master' of git://github.com/bsag/tracks 2009-03-02 15:22:18 +01:00
Reinier Balt
6f82dd0fd3 fix failing test.
This was not due to a bug in tracks but a bug in the test
2009-03-02 15:01:50 +01:00
Reinier Balt
765d3440d7 Merge branch 'master' of git://github.com/bsag/tracks 2009-02-15 22:10:02 +01:00
Reinier Balt
949c746215 Fixes #835 where the yml_export failed to find the tags of a user. Thanks Peter for this report 2009-02-08 15:25:42 +01:00
Reinier Balt
494cb11903 fix selenium tests for handle the new confirmation on adding new contexts 2009-02-07 22:26:50 +01:00
Reinier Balt
932639ee6a selenium needs declaraions in recurring_todo.yml fixture 2009-02-07 22:02:58 +01:00
Reinier Balt
f69a8e361c Merge branch 'master' of git://github.com/bsag/tracks 2009-02-05 21:13:55 +01:00
Eric Allen
e40b8ecbcf Need to save todo after updating state from project. Fixes #834. 2009-02-01 15:25:09 -05:00
piglop
8790a9b06d Fixed a small error in tests
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-01-28 17:03:37 +08:00
Reinier Balt
07426ebe54 a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832 2009-01-24 22:13:19 +01:00
Eric Allen
8076f4fe72 Fixed #814. We need to include recurring todo fixtures in any test suites that include todo fixtures 2009-01-23 14:20:03 -05:00
Reinier Balt
01a011ee06 improve last path. Thanks Vitaliel! 2009-01-17 14:43:06 +01:00
Reinier Balt
1769c4b4f4 Merge branch 'master' of git://github.com/bsag/tracks 2009-01-15 22:40:13 +01:00
Reinier Balt
8cdae83014 fix case when there are no tags places on todos, the stats page would fail. Fixes #822.
Thanks Walter for finding this one
2009-01-15 22:13:22 +01:00
Vitalie Lazu
5ee939ac47 Fixed exception in preference model when todo xml api is used with show_from attribute
Signed-off-by: bsag <butshesagirl@rousette.org.uk>
2009-01-11 23:37:14 +08:00
Reinier Balt
f79c28231b remove unused and unneccesary user_id from taggings table.
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
2009-01-08 10:18:03 +01:00
bsag
198db7b0a5 Added a fix for a failing functional test which concerned the javascript popup window to warn when a new context added in new action form. 2008-12-26 19:47:13 +00:00
Reinier Balt
1d0ed34cea Merge branch 'master' of git://github.com/bsag/tracks 2008-12-23 12:11:40 +01:00
Reinier Balt
0e68ded56a fix tags and fix tests 2008-12-22 23:26:38 +01:00
Reinier Balt
c618d35d3a first pass at restoring tag functionality 2008-12-22 20:55:32 +01:00
Reinier Balt
155065d819 Merge branch 'master' of git://github.com/bsag/tracks 2008-12-12 15:39:22 +01:00
Eric Allen
611a53e668 No point in changing the name of the OpenID identity column in users table. Use the existing one. 2008-12-08 18:51:33 -05:00
Reinier Balt
cf4ea7c2cd Merge branch 'master' of git://github.com/bsag/tracks 2008-12-08 20:31:42 +01:00
Eric Allen
930999829b Re-write OpenID code to use new authentication plugin. Tested to work! 2008-12-08 00:52:57 -05:00
Reinier Balt
bd9b8c8f53 Merge branch 'master' of git://github.com/bsag/tracks 2008-12-05 14:43:43 +01:00
Reinier Balt
cc1c629018 adds test for changing context on a todo in tag view. Resolves #762 2008-12-03 22:16:34 +01:00
Reinier Balt
dce58f41f8 Add testcase where changing the name of a project should be reflected in the default project name. resolves #756 2008-12-03 21:05:16 +01:00
Reinier Balt
539b4f96a1 add testcase for deleting a user. Resolves #734 2008-12-03 20:53:50 +01:00
Reinier Balt
e743dd79c3 Merge branch 'master' of git://github.com/bsag/tracks 2008-12-03 14:07:33 +01:00
Reinier Balt
f3d7fac2a4 fix test where month+1 resulted in an error for december 2008-12-03 10:22:43 +01:00
Reinier Balt
09f0322d45 fix a lot of selenium tests to pass again 2008-12-02 20:58:54 +01:00
Reinier Balt
198f3240b8 fix several deprecation warnings
truncate wants explicit :length => number and :omission
calling a partial from a js requires to explicitly pass the variable i.e. :todo => @todo instead of rails doing it implicitly
2008-11-30 20:16:57 +01:00
Luke Melia
35ae5fc431 Next step in upgrading Tracks to Rails 2.2. Some highlights:
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes

TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00