Commit graph

929 commits

Author SHA1 Message Date
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
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
a5f77976ad Bump migration to avoid conflict when merging to trunk 2008-09-21 18:21:35 -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
49194d59c4 Prettier red button 2008-09-21 11:56:42 -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
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
262b976c45 Merge branch 'timezones' of git://github.com/epall/tracks into timezones 2008-09-10 09:59:36 +02: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
Eric Allen
93b7b327fb Don't show hover background for defer links. 2008-09-07 07:04:05 -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
Eric Allen
8238e488a2 Bump migration to avoid conflict 2008-09-06 18:33:14 -07:00
epall
539fda21dc Preliminary defer buttons 2008-09-06 18:25:24 -07: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
1d64ca0f34 move nifty js calls to respective pages to reduce js execution a bit (on every page) 2008-09-05 18:01:22 +02:00
Reinier Balt
3a56d2bdd2 clean up export controller a bit. also some cleanups in the view 2008-09-05 17:53:18 +02:00
Reinier Balt
88159d3f6a add recurring todos to export to yml and xml 2008-09-05 17:41:30 +02:00
Reinier Balt
1239a2cd61 Merge branch 'master' of git://github.com/gorn/tracks 2008-09-05 17:07:53 +02:00
Jakub A.Tesinsky
229a114441 mport feature added. Everything gets imported except updated_at fields.
IDs of objects are not copied, but created as new so there could be no conflict with existing objects.
2008-09-05 03:25:56 +02:00
Hans de Graaff
ce3bed564a Remove spurious + at end of line. 2008-08-30 11:12:48 +02:00
Reinier Balt
18815769bb fix corner case for repeating todos without due date 2008-08-29 10:05:14 +02:00
Reinier Balt
abdac8855d restore page title in tag view 2008-08-28 10:25:58 +02:00
Reinier Balt
9d09a4d47a fix #763 where all tags were shown twice
thanks Marcin for the report
2008-08-27 20:54:56 +02:00
Reinier Balt
11f9114ad5 polish the clear date buttons in edit form
* placed them besides the text field
* replaces red x with grey x. the red x draws to much attention. also adds tool tip to x
2008-08-26 17:31:34 +02:00
Reinier Balt
4d11e156f4 fix moving todos from one context to another on tag view
also fix ordening on the collections on the tag view page
2008-08-26 16:07:35 +02: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
4e12cfafb2 Merge branch 'master' of git@github.com:bsag/tracks 2008-08-25 16:45:57 +02:00
root
0e70d27093 fix page to handle empty database without errors. Fixes #757
Thanks lburton for the report
2008-08-25 16:43:43 +02:00
Reinier Balt
955b751791 update template to remove warning about already initialized constant as reported in #758
Thanks Claus
2008-08-25 16:21:39 +02:00
Reinier Balt
73765c184d fix for #628. Up/down key arrows should work better in autocomplete
required a change in the control.js from rails / scipt.aculos.us so we need to check for regression on upgrade
found fix here: http://dev.rubyonrails.org/ticket/8148
2008-08-25 16:03:24 +02:00
Reinier Balt
fceb5a7503 also add # as access key to mobile form for new todo
forgot this when I added access key to mobile edit form
2008-08-25 15:43:05 +02:00
Reinier Balt
5605d9b546 Merge branch 'master' of git@github.com:bsag/tracks 2008-08-25 15:39:21 +02:00
Reinier Balt
c2624840e7 update Tracks RESTapi documentation page
when using xml as content type, you should send xml
2008-08-25 15:38:50 +02:00