Commit graph

65 commits

Author SHA1 Message Date
Eric Allen
f25ee06c49 Committing Ben's patch for #868.
Fixes #868.
I wish I could write a spec for it, but RSpec isn't behaving well with partials.
2009-09-19 19:53:35 -04:00
Reinier Balt
37a45313a0 fixes #929 where editing a newly added todo on the tag view would cause an error
because tag_name was not passed around
2009-08-04 13:54:19 +02:00
Reinier Balt
91c52cc89c fix #908 where the return path was set hard-coded which did not honor subdir settings 2009-06-02 22:04:17 +02:00
Reinier Balt
bdddac5020 fix #905 by applying the suggesting of Henrik Bohre. Thanks Henrik!
also fixed the non appearing empty message because the empty count was not recalculated for non-active todos
2009-05-22 14:41:42 +02:00
Reinier Balt
0938ffe044 small cleanups 2009-05-04 10:20:40 +02:00
Eric Allen
0fda4506eb Pre-populate default tags from project instead of adding them when a todo is created. Fixes #879. 2009-05-02 17:38:26 -04:00
Eric Allen
746066972c Asynchronous autocompleter for tags. Closes #462 2009-05-02 16:43:00 -04:00
Reinier Balt
77c9c3cd65 revert some changes that introduced new errors
we need more tests!
2009-04-20 11:26:45 +02:00
Reinier Balt
19f029fe89 fix some small introduced regressions 2009-04-19 14:29:21 +02:00
Reinier Balt
2f8b454ac0 fix some failing tests 2009-04-19 00:18:12 +02:00
Reinier Balt
b990f8a015 make project settings editable from the project page
We're using the edit form instead of several separate fields to edit settings
2009-04-18 23:50:12 +02:00
Eric Allen
42bea2490b Fix #592 be able to set default tags for a project. Default tags can now be specified when creating or editing a project, and they will be applied to any new todos created in that project. 2009-04-15 21:54:31 -04:00
Reinier Balt
136727fb3f fix #875. Make sure that in tag view when you mark the last deferred todo complete, the empty-message appears 2009-04-14 21:38:05 +02:00
Reinier Balt
aeb9a1fda6 fix #866 where some variables were not set in defer 2009-04-07 19:58:16 +02:00
Reinier Balt
718685b4b5 fix #867. deferring in tag view is now working 2009-04-07 17:20:06 +02:00
Reinier Balt
a4de0e62af fix #860. The calendar view does not have a form in the right column for a new todo. The js for updating todos expects this form to update the autocompleter in case a new project or context is created with the update of the todo
fixed with a hack
2009-03-24 22:25:50 +01:00
Reinier Balt
3a8ce12fe8 further integrate contact menu and add visual feedback of ajax actions 2009-03-24 16:14:33 +01:00
Reinier Balt
cf625be4b4 fix #841. New todos are now using at_midnight instead of the time of checking complete
please test to make sure it has the intended behavior
2009-02-16 20:48:27 +01:00
Eric Allen
e40b8ecbcf Need to save todo after updating state from project. Fixes #834. 2009-02-01 15:25:09 -05:00
Eric Allen
2ee84b8162 Move site-specific configuration out of environment.rb into a YAML file. This allows us to ship environment.rb with Tracks. Fixes #813. 2009-02-01 14:47:05 -05:00
Reinier Balt
07426ebe54 a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832 2009-01-24 22:13:19 +01:00
Reinier Balt
8ff7afb88c manual add fix of piglop to prevent todos from staying hidden forever 2009-01-21 13:36:26 +01:00
Reinier Balt
6017c5d2ed missed one taggings.user_id 2009-01-08 14:25:06 +01:00
Reinier Balt
037c04e72f restore bugfix of Luke that I removed in last commit by mistake. 2009-01-08 10:45:19 +01: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
Luke Melia
00eff7e877 Fixed bug where adding tag to Todo via Ajax inline edit didn't reflect tag changes immediately. 2009-01-06 01:00:06 -05:00
Reinier Balt
c618d35d3a first pass at restoring tag functionality 2008-12-22 20:55:32 +01:00
Reinier Balt
2101ed6cf8 fix failing tests
selenium, unit and functional all pass
2008-12-03 14:03:59 +01:00
Luke Melia
35ae5fc431 Next step in upgrading Tracks to Rails 2.2. Some highlights:
* Ran rake rails:update
* Added old actionwebservice framework
* Updated RSpec and RSpec-Rails
* Removed asset_packager plugin (not compatible, Scott no longer maintaining), and replaced with bundle_fu. See the bundle_fu README for more info.
* Hacks to UJS and ARTS plugins, which are no longer supported. Probably should move off both UJS and RJS.
* Hack to flashobject_helper plugin (upgrade to Rails 2.2-compatible version if/when it comes out.)
* Hack to skinny-spec plugin, for Rails 2.2 compatibility. Should check for official release.
* Hacks to resource_feeder plugin, for Rails 2.2 compatibility. Should check for official release (not likely) or move off it.
* Addressed some deprecation warnings. More to come.
* My mobile mime type hackery is no longer necessary with new Rails features. Yay!
* Updated environment.rb.tmpl with changes

TODO:
* Restore view specs marked pending
* Fix failing integration tests.
* Try selenium tests.
* Investigate OpenID support.
* Address deprecation warnings.
* Consider moving parts of environment.rb to initializers
* Address annoying config.gem warning about highline gem
2008-11-30 00:34:15 -05:00
Reinier Balt
ee30571855 fix #793 where the feed title is given more information about the content
also fixes project feed where the link in the feed points to the context of the todo instead of the project
2008-11-29 20:32:39 +01:00
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
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
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
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
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
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
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
Reinier Balt
fcaea3ce20 first pass at adding calendar view 2008-10-03 14:16:43 +02: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
Eric Allen
1324652726 Handle timezones properly in defer buttons 2008-09-07 06:38:00 -07:00
epall
539fda21dc Preliminary defer buttons 2008-09-06 18:25:24 -07: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
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