Reinier Balt
0bc9b0397a
move tests to new directory
2013-05-11 23:13:16 +02:00
Reinier Balt
26a27e5cfe
increase test coverage of some models
2013-05-04 15:22:29 +02:00
Matt Rogers
c4bcc0996f
Remove extra whitespace
2013-04-26 16:30:40 -05:00
Matt Rogers
88e7798db6
Rename RecurringTodo#has_next_todo to continues_recurring?
...
This clarifies the intent of the method.
2013-04-26 16:30:12 -05:00
Matt Rogers
036c34f266
Rename RecurringTodo#inc_occurences to increment_occurrences
...
This clarifies the method name and fixes a typo.
2013-04-26 16:20:42 -05:00
Reinier Balt
fd4fb6df9e
get all unit tests running again. Seems we have some pretty old code in there :-)
2012-04-30 13:56:37 +02:00
Reinier Balt
056dbf08a7
remove vendored gem and fix state model. Some old hacks did not work anymore on the newer aasm. reverted the hacks and fixed some tests
2011-06-10 23:17:22 +02:00
Stefan Richter
00819ce27b
migrating to aasm - code part
2011-06-10 23:17:19 +02:00
Reinier Balt
91eeb0c6aa
update require statements to fix path issue
2011-06-09 14:49:36 +02:00
Reinier Balt
3faac2514d
fix failing test and finish all wip scenarios
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-05-08 22:09:27 +02:00
Reinier Balt
3d75cd2457
Fix #1045 . The tests broke because of this fix cfc6d117b8
. This exposed a new corner case that I fixed and created a test for. Also a small refactoring.
2010-07-29 16:37:22 +02:00
Reinier Balt
5c25e4569e
fix #1002 . every nth week was off by one week for recurring weekly todos. Thanks Thomas for spotting this.
...
Updated the wrong test too.
2010-05-02 18:16:29 +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
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
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
Reinier Balt
c618d35d3a
first pass at restoring tag functionality
2008-12-22 20:55:32 +01: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
c64bbb9e60
fix corner case for yearly repeating todos
...
also adds test for this case
2008-10-14 10:57:12 +02: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
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
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