Commit graph

976 commits

Author SHA1 Message Date
Reinier Balt
9d246f70cd Fix #795.
Similar hack as f43447e33f
2008-11-29 15:55:16 +01:00
Reinier Balt
9147fb887c refactor conditional finds to use named_scopes
also use updated_at in calendar feed
2008-11-29 15:35:17 +01:00
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
764e41685b fix migration to fill the updated_at column. The rss feeds need a filled column. Fixes #794 2008-11-26 10:53:00 +01:00
Reinier Balt
49f9f33ac0 add updated_at column to todos table
This timestamp was missing. All other tables with timestamps have update_at. Could use this in statistics
2008-11-21 13:36:10 +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
841eb1cb76 update changelog 2008-10-28 21:09:54 +01:00
Reinier Balt
2f510e8a86 Remove old compressed js and css that I forgot to commit last time 2008-10-28 21:03:05 +01:00
Reinier Balt
c6f89aed85 update compressed js and css because of last merge 2008-10-28 21:00:30 +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
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
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
a9a02896a0 Another shot at fixing migration 42. Actually tested to work. 2008-10-09 10:14:26 -04:00
Eric Allen
b36ed96813 Wow I broke the migration. Oops. 2008-10-08 23:47:59 -04:00
Eric Allen
51b0a2bd9b Informative alt text for defer buttons 2008-10-08 11:26:06 -04:00
Eric Allen
24c2b57b4a Make migration 42 more resilient: don't freak out when user has no prefs object 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
b00b9282fd update CHANGELOG 2008-10-07 09:36:51 +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
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
Eric Allen
0a39e1ea7e Fix routes to re-enable Selenium tests 2008-10-02 20:25:58 -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
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