Commit graph

128 commits

Author SHA1 Message Date
Henrik Bohre
c543eb3659 #300: Fixes changes that broke drag and drop 2009-11-10 22:07:13 -05:00
Henrik Bohre
cc9746371c #300: First shot at validation of dependencies
Implemented by deferring save of dependencies until after saving (and validating) the todo, as described by Andrew Timberlake on http://www.ruby-forum.com/topic/175552.
2009-11-10 22:07:08 -05:00
Henrik Bohre
00e063a0a2 #300: Implemented basic drag and drop dependency support.
Dragging an action onto another action creates a dependency to that action.
2009-11-10 22:06:42 -05:00
Henrik Bohre
fe066e3bcb #300: Added infrastructure for drag and drop dependency creation 2009-11-10 22:06:36 -05:00
Henrik Bohre
c8b442cc41 #300: Referential integrity maintained when deleting todos which are part in a dependency relationship 2009-11-10 22:06:29 -05:00
Eric Allen
1f556a4f0a Bug #300: Actions can be created with dependencies through the add_new_item_form
Still lacks error checking for circular dependencies and other validation.
Also, javascript for displaying the new item is broken.

Conflicts:

	app/views/layouts/standard.html.erb
2009-11-04 22:45:38 -05:00
Eric Allen
42cbe52224 Bug #300: First shot at dependency entry in edit form
Limitations:
* No javascript update of dependency changes.
* No resolution for duplicate descriptions.

Conflicts:

	app/views/todos/_edit_form.rhtml
2009-11-04 22:40:03 -05:00
Henrik Bohre
381db782a0 #300: Added pending items to tag view 2009-11-04 22:33:11 -05:00
Eric Allen
101df3fb6b Simple dependency handling working on project page.
The database contains actions with dependencies.
Please rename to tracks-17-blank.db or update database path accordingly.

Conflicts:

	app/views/todos/toggle_check.js.rjs
2009-11-04 22:32:44 -05:00
Henrik Bohre
cb4ed7ff7f #300: Updated projects and todos controllers to use Todo dependencies. 2009-11-04 22:32:04 -05:00
Eric Allen
45d9ab60bf Merge branch 'jquery' of epall/tracks
This concludes the transition from Prototype to
jQuery throughout Tracks. Closes #944.
2009-11-04 22:13:45 -05:00
Eric Allen
bfc6189611 Project default tags 2009-10-16 19:23:03 -04:00
Eric Allen
195a58174b auto-fill of default tags & contexts from project 2009-10-02 18:31:53 -04:00
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