Commit graph

128 commits

Author SHA1 Message Date
Reinier Balt
4a78b9f97a fix case where deleting a completed todo which belongs to a recurring todo resulted in multiple todos belonging to the recurring pattern or no todo at all 2008-11-28 16:52:54 +01: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
bd2b410c7b change titles on calendar page to show the name of the month instead of This Month and Next Month 2008-11-27 16:45:47 +01:00
Reinier Balt
f43447e33f added workaround for strange timezone behaviour 2008-11-27 15:48:20 +01:00
Reinier Balt
f40c35276f fix the sort order for tag view. It is now the same as on the home page 2008-11-14 11:40:10 +01:00
Reinier Balt
33eba10e88 fix small timezone issue (#786) with the date that is shown for a todo 2008-11-11 15:24:16 +01:00
Reinier Balt
793f43ef07 fix #789 by setting tab order for all elements in mobile edit form
I do not have an iPhone to test so I cannot check the report. Please report if the fix is wrong
2008-11-09 11:15:49 +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
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
waltercruz
385f34d071 Taking care of css 2008-10-25 17:43:52 -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
c5cff97f3f fixes #785 2008-10-21 09:11:21 +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
1a2cdc7585 Merge branch 'master' of git@github.com:bsag/tracks 2008-10-14 10:57:57 +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
51b0a2bd9b Informative alt text for defer buttons 2008-10-08 11:26:06 -04:00
Reinier Balt
1118a582d7 add check for actions that should move from tickler to home page to the index page for todos 2008-10-07 20:20:47 +02:00
Reinier Balt
ddfc0e5e90 fix for actions that are due today were marked overdue in the ical calendar feed 2008-10-07 09:11:29 +02:00
Reinier Balt
f5c50d367e move overdue actions to today in the ics calendar and mark them as overdue
as suggested by Hans de Graaff on the mailing list
2008-10-06 17:13:38 +02:00
Reinier Balt
7b90c00d84 fix corner case where checking repeating todos complete that are due todo today will create a new todo that is also due today
with the intriduction of datetime for due and show_from, the time part needed to be discarded in a compare
also adding some comments to be able to understand the code better
2008-10-06 11:11:56 +02:00
Reinier Balt
89043af7ff fix editing of todos (also delete and check complete)
bug was introduced in calendar code
2008-10-04 20:41:12 +02:00
Reinier Balt
4c89133561 Merge branch 'calendar' 2008-10-04 15:59:40 +02:00
Reinier Balt
5d30512e97 add message when there are no actions in a container and handle state changes 2008-10-04 15:56:22 +02:00
Reinier Balt
541d6f5b69 add calendar to menu and implement ical
tested ical with outlook 2007
2008-10-03 22:44:58 +02:00
Eric Allen
05f21ebba2 Spec and fix bug #776 by using auto_link instead of my dumb regex 2008-10-03 10:19:41 -04:00
Reinier Balt
fcaea3ce20 first pass at adding calendar view 2008-10-03 14:16:43 +02:00
Eric Allen
01c7fd1296 Tweak preference name a bit and add documentation to Integrations controller 2008-10-03 00:35:03 -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
0f4a80d839 fix recurring todos where new todos were not placed in tickler
there was a Date.now in the code that was not migrated to the new timezone handling
2008-10-02 09:49:51 +02:00
Walter Cruz
ee5c730f44 Ading a sort by number of tasks option 2008-09-23 17:06:14 -03:00
Walter Cruz
0673d67b62 Adding sort by number of open tasks on each project 2008-09-23 11:53:11 -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
383328fab6 Merge branch 'defer_buttons' of git://github.com/epall/tracks into master 2008-09-21 11:59:35 -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
1b179e10c6 Only show defer buttons for uncompleted todos. 2008-09-07 06:58:08 -07:00
Eric Allen
ab28b22cbf Much prettier defer buttons and sane CSS that doesn't have issues with note divs. 2008-09-07 06:55:17 -07:00
Eric Allen
1324652726 Handle timezones properly in defer buttons 2008-09-07 06:38:00 -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
539fda21dc Preliminary defer buttons 2008-09-06 18:25:24 -07:00