Commit graph

4262 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
4f69683f9b #300: Added mockup remove successor icon after description 2009-11-10 22:07:04 -05:00
Henrik Bohre
0fbed3e00e #300: Displays successors recursively without folding icon 2009-11-10 22:06:59 -05:00
Henrik Bohre
90d77f37cb #300: Displays successors recursively 2009-11-10 22:06:54 -05:00
Henrik Bohre
08d24a1b8f #300: Added some visual feedback when hovering over drop target 2009-11-10 22:06:47 -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
Henrik Bohre
06e4bd4412 #300: Displays show_from correctly 2009-11-10 22:06:25 -05:00
Henrik Bohre
3d3b703dfd #300: Changed user.date to Time.zone.now 2009-11-10 22:06:19 -05:00
Henrik Bohre
4016c89cdf #300: Added pending_successors collection and enforces referential integrity for dependencies 2009-11-10 22:06:15 -05:00
Henrik Bohre
fc9ffeaa4b #300: Removing link tag from successor icon 2009-11-10 22:06:06 -05:00
Eric Allen
407689780d Ticket #300: Fixed broken create.js functionality
Conflicts:

	app/views/todos/create.js.rjs
2009-11-10 22:05:24 -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
6d97bca57f Bug #300: Displays pending state and successor information
Pending state is displayed in the date_span. Successor information is displayed in the tooltip of a successor icon placed after the action description.

Conflicts:

	app/helpers/todos_helper.rb
	public/javascripts/application.js
2009-11-04 22:45:02 -05:00
Eric Allen
2bf48a15cb Bug #300: Added infrastructure for collapsible dependency block, similar to todo notes.
Conflicts:

	app/views/layouts/standard.html.erb
	public/javascripts/application.js
2009-11-04 22:43:21 -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
Eric Allen
45dd524519 Bug #300: Disabled completion check box for pending items. 2009-11-04 22:38:40 -05:00
Eric Allen
74fcaf407c Bug #300: check_toggle.js working for Tag view
Conflicts:

	app/helpers/todos_helper.rb
2009-11-04 22:37:33 -05:00
Henrik Bohre
381db782a0 #300: Added pending items to tag view 2009-11-04 22:33:11 -05:00
Henrik Bohre
a02b2cc184 #300: Home view working when completing/undoing todos
Updated toggle_check.js.rjs to handle DOM manipulation for the Home page.
2009-11-04 22:33:06 -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
Henrik Bohre
ced0e8f531 #300: Added uncompleted_predecessors to Todo model. 2009-11-04 22:31:59 -05:00
Henrik Bohre
b136816ff1 #300: Updated Project and User models to use the new Todo model 2009-11-04 22:31:54 -05:00
Henrik Bohre
e9de70ed95 #300: Added pending state and predecessor/successor relations to Todo model 2009-11-04 22:31:50 -05:00
Eric Allen
cc033e2165 Conflicts:
db/tracks-17-blank.db
2009-11-04 22:31:17 -05:00
Henrik Bohre
5b1acce71e #300: Added pending items to deferred block in project view 2009-11-04 22:30:54 -05:00
Henrik Bohre
947172f435 #300: Added model for dependency relation 2009-11-04 22:30:49 -05:00
Henrik Bohre
9871755140 #300: Added migration for dependencies support 2009-11-04 22:30:20 -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
7ef91403f1 Eliminate all last traces of apply_behavior 2009-11-04 22:06:24 -05:00
Eric Allen
686086dcdf Initial attempt to resolve dateFormat issue
Translating from strftime format to jQuery UI's format on the fly on every
page render. That kind of sucks, but it works. I think I have enough
translations here to cover everybody, but possibly not.
2009-10-30 15:37:40 -04:00
Eric Allen
c1dfeaf0f2 Deleting the last todo should hide a context 2009-10-30 15:20:06 -04:00
Eric Allen
93c6151ca7 Focus on first text input to skip hidden inputs 2009-10-30 15:02:42 -04:00
Eric Allen
7eb29194c3 Update sidebar when project status is changed 2009-10-21 14:55:18 -04:00
Eric Allen
424d26a84c A bunch of code cleanup. 2009-10-18 18:40:48 -04:00
Eric Allen
a04d31677a Fix project name so edit works properly
Previously, the first in-place edit of a project name had a bunch of whitespace.
2009-10-18 18:40:36 -04:00
Eric Allen
2bfd6a9870 Fixed major bug with recurring todos 2009-10-18 18:23:42 -04:00
Eric Allen
bb0b602b6c Minor refactoring to fix login 2009-10-18 18:23:33 -04:00
Eric Allen
f9d37d1d90 Simplify some stuff thanks to live() 2009-10-17 00:03:12 -04:00
Eric Allen
290fa3351c Sped up a couple of tests 2009-10-16 23:54:50 -04:00
Eric Allen
67e88acacc Cleaning up Prototype remnants and refactoring
Moved some stuff, like Nifty Corners, into application.js to speed things up.
2009-10-16 23:52:52 -04:00
Eric Allen
01e4cdb178 Tag autocomplete 2009-10-16 19:23:11 -04:00
Eric Allen
bfc6189611 Project default tags 2009-10-16 19:23:03 -04:00
Eric Allen
e1079b4bc7 Spinner on todo update button 2009-10-16 18:58:38 -04:00
Eric Allen
94ec1d46bb Add note working again for Projects 2009-10-15 21:16:22 -04:00
Eric Allen
00da0b36aa Fixed a latent time zone bug in tests.
I created a new method accessible to all tests for forcing a user to the local time zone. The code was cribbed from Rails's rake tasks time:zones:local.
2009-10-13 23:39:36 -04:00
Eric Allen
fe52c0ab3c Fixed some failing tests and removed dead ones. 2009-10-13 23:38:25 -04:00