Commit graph

52 commits

Author SHA1 Message Date
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
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
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
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
Reinier Balt
4a98ee5669 several fixes to recurring todos and adds some named_scopes
fixes case where unmarking a complete todo which belongs to a recurring pattern results in two todos that both keep on recurring. With this fix a new todo will only be created when there are no active todos left belonging to that recurring pattern

fixes tests that failed because of previous commits

adds some named_scopes, inspired by http://railscasts.com/episodes/108
2008-11-28 16:39:50 +01:00
Reinier Balt
f21908a2a0 Fixes corner case where checking a monthly recurring todo complete on
the same day the todo comes from tickler, a new todo is created and not
put in the tickler for next month, but for today
2008-10-29 16:40:45 +01:00
Reinier Balt
76d72b54bf Merge branch 'sort_projects_by_todos' of git://github.com/waltercruz/tracks 2008-10-28 20:59:07 +01:00
waltercruz
6d212cc21a Applying patch suggested by Reinier Balt and fixing the test 2008-10-28 17:44:49 -02:00
waltercruz
e82be2e522 Adding test to the sort by number of todos 2008-10-24 10:25:04 -02:00
Reinier Balt
a3f23c60e4 fixes #786 where timezone handling of RoR screwed the algorithm to find the last sunday of march in 2009
Fix is a bit of a hack, see #786 for futher explanation.
2008-10-22 10:16:31 +02:00
Reinier Balt
ce671f23f4 fix bug introduced by last commit and add test for it
also refactor check_for_next_todo a bit to depend less on globals
2008-10-14 22:49:17 +02:00
Reinier Balt
c64bbb9e60 fix corner case for yearly repeating todos
also adds test for this case
2008-10-14 10:57:12 +02:00
Eric Allen
c6b159b97e Updated Selenium test suite so that *all tests pass*. Found and fixed one bug in routes that a Selenium test caught. 2008-10-02 21:43:38 -04:00
Eric Allen
397029dfc1 Add Selenium test for bug #776 and bug #775 and resolve both. Also fixed an unreported issue where deferring a todo by editing its show_from wouldn't hide an empty context. 2008-10-02 21:15:05 -04:00
Reinier Balt
eae4d0f6f1 add test to check if a new recurring todo ends up in the tickler 2008-10-02 10:17:40 +02:00
Eric Allen
ba9a9370cc Merge branch 'timezones' of git://github.com/epall/tracks into master.
Re-wrote all Date-related code to use Datetimes, created a migration to get rid of all date columns in the database, and got rid of Time.now calls that were not time zone-aware. Lots of time zone goodness!
2008-09-21 18:24:12 -07:00
Eric Allen
3647d79587 Overhaul of Time.now stuff because Time.now is unaware of time zones. Need to use Time.zone.now (Time.now.utc works fine when dealing with the database, since it is *always* in UTC) 2008-09-21 18:13:21 -07:00
Eric Allen
f52a2eafa8 A few fixes after more thorough review. 2008-09-21 18:13:21 -07:00
Eric Allen
3a21739be9 Merge branch 'mailer' of git://github.com/epall/tracks into master 2008-09-21 09:46:31 -07:00
Eric Allen
6e4258cfbc Use Rich Todo API for Message Gateway 2008-09-21 09:40:01 -07:00
Eric Allen
ca4255332f Rename to MessageGateway since it's really not SMS-specific. 2008-09-20 19:15:12 -07:00
Eric Allen
f34d8a4787 Fix buggy test 2008-09-14 12:29:55 -07:00
Eric Allen
778427405a Changed all Date objects to Datetimes and migrated everything appropriately. Tests & specs pass, but this still needs a thorough review. 2008-09-13 13:33:48 -07:00
Eric Allen
c85c5fd957 Little fix to make test pass 2008-09-13 13:29:09 -07:00
Reinier Balt
8b5bbd83c4 fix error in test
somehow in running the test the image is rendered with an extra dot like blank.png.?123456789
this is not the case when you look at the rendered html in the webbrowser: blank.png?123456789
2008-09-09 22:22:42 +02:00
epall
98136d8ef2 Inconsistency in test. Why didn't I catch that? 2008-09-06 18:08:35 -07:00
epall
6210d3033d Modified sample_sms.txt to be subbed into in a sane way. Added ability to set context, due date, and show_from date from within an emailed message. 2008-09-06 18:08:35 -07:00
epall
dc0c5bffa4 MMS prepends a 1 that needs to get stripped 2008-09-06 18:08:35 -07:00
epall
920507441d Didn't handle case of no user found gracefully 2008-09-06 18:08:34 -07:00
epall
8783beb280 Added SMS and MMS gateway that can handle a variety of messages formats along with a set of testes for it.
NOTE: this is the first patch submitted on ticket
2008-09-06 18:08:34 -07:00
Reinier Balt
88ea02d29a fix case with future start_from for other recurrence periods too
this patch belongs to previous
2008-08-19 22:04:53 +02:00
Reinier Balt
f4378ffde1 fix case where future start_from was ignored for yearly recurrence patterns 2008-08-19 21:25:25 +02:00
Reinier Balt
666f524b16 add functional tests for recurring todos
includes a test for rec todos with due date in future and show_from in past
2008-08-19 14:58:45 +02:00
Reinier Balt
065f543a83 fix corner case where recurring todo with due in future and show_from in past did not create corresponding todo
you cannot add todos with show_from in the past
2008-08-19 14:33:09 +02:00
Reinier Balt
9acb01e9cb fix issue where deleting a recurring todo from tickler results in an error 2008-08-01 15:37:10 +02:00
Reinier Balt
8bc41e2cb0 add recurring todos to tracks 2008-07-19 20:27:45 +02:00
MHarris
ed76cf55d2 Changed UsersController#index to use will_paginate plugin instead of classic_pagination
Made corresponding change in view.
Added User.per_page method to provide number of users per page to User.paginate button.  I can remove and just pass the param to the method in the controller if that is more desirable.
Added 2 controller tests for pagination.  No view tests have been added.
2008-07-14 13:10:55 -04:00
Reinier Balt
4e890524f0 Merge branch 'master' of git://github.com/bsag/tracks 2008-06-19 10:13:14 +02:00
Luke Melia
d47e863dfc Started moving selenium on rails tests over to RSpec stories. See the updated README_DEVELOPERS for info on running the new tests. 2008-06-19 00:14:04 -04:00
Reinier Balt
952a73e39d Merge branch 'master' of git://github.com/bsag/tracks
Conflicts:

	config/routes.rb
2008-06-18 10:13:56 +02:00
Luke Melia
0f7d6f7a1d Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium. 2008-06-18 02:57:57 -04: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
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
2ac1a14c04 Merge branch 'svn-tracking' to svn rev 856
* svn-tracking:
  Removed outer tracks directory.
  regenerates compressed stylesheet
  adds a search textbox in the menu at top-right
  updates the compressed stylesheet because of changed of last commit
  adds search to tracks. you can search now on todos, projects and notes. This patch was contributed by Jeffrey Gipson. Thanks Jeffrey!

Conflicts:

	README
	README_FIRST
	app/controllers/todos_controller.rb
	app/helpers/todos_helper.rb
	app/models/todo.rb
	app/views/layouts/standard.html.erb
	app/views/notes/_notes.rhtml
	app/views/projects/_project.rhtml
	app/views/projects/_project_listing.rhtml
	app/views/todos/_todo.html.erb
	public/stylesheets/standard.css
	test/functional/todos_controller_test.rb
	tracks/README_FIRST
2008-05-24 16:53:10 +01:00