Reinier Balt
f43447e33f
added workaround for strange timezone behaviour
2008-11-27 15:48:20 +01:00
Reinier Balt
e31b05a697
update query for Postgresql
...
exchanging double quote with single quote in sql. Thanks Walter
2008-10-28 22:39:50 +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
0b57b23b2d
html fixes and sort by number of todos logic
2008-10-28 16:40:28 -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
Walter Cruz
ee5c730f44
Ading a sort by number of tasks option
2008-09-23 17:06:14 -03: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
3353626016
Move Rich Todo API into Todo class and clean it up a bit
2008-09-21 09:35:34 -07:00
Eric Allen
3006f73cb7
Bugfix: active_contexts wasn't actually working.
2008-09-21 09:32:11 -07:00
Eric Allen
2fda252378
Sanitize all input to help with icky emails
2008-09-20 19:20:08 -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
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
2c3b3d9d69
Fixed bug where todos got pulled out of tickler too early if user's timezone was behind UTC.
2008-09-06 19:47:58 -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
4ac09ed3ae
hopefully fix time that a todo comes from tickler
...
assumes the datetime in db is in utc
2008-08-25 17:20:27 +02: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
9acb01e9cb
fix issue where deleting a recurring todo from tickler results in an error
2008-08-01 15:37:10 +02:00
Reinier Balt
6b0a235275
attempt to fix creation of new recurring todo where selector attributes are posted later than other attributes
...
also fixes some issues when editing an existing rec todo wich handling nil values
2008-07-28 14:06:39 +02:00
Reinier Balt
ed4ee1cc3f
fix several issues with recurring todos
...
* fix case where some fields were not saved
* fix several fields that were not filled with the saved value when editing
* hide storage details of recurring_todo by adding public getters and refactoring view to use them in stead of database fields
2008-07-27 22:13:54 +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
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
20940ff348
Removed outer tracks directory.
2008-05-24 15:57:18 +01:00