Commit graph

1393 commits

Author SHA1 Message Date
Eric Allen
d0a5f6b731 Fix rendering of successors, drag and drop 2009-11-29 20:00:54 -05:00
Eric Allen
34aeb83891 Merge branch 'deps' 2009-11-26 02:04:54 -05:00
Eric Allen
7883145bdb Fixed recurring todo input form behavior
The form for new recurring todos has different id's, causing it to not
get the awesome JavaScript. Duplicated to make it work.
2009-11-26 02:04:39 -05:00
Eric Allen
1cf9373bfe Search within names for autocomplete
Closes #958
2009-11-26 02:04:39 -05:00
Eric Allen
868706646b Fix backwards logic
All tests passing now. Test::Unit, RSpec, and Selenium all green.
2009-11-25 16:13:52 -05:00
Eric Allen
c6249bad0c Fixed some failing Selenium selectors 2009-11-25 15:48:00 -05:00
Michaël Witrant
686bc5a7c4 added missing ending tags 2009-11-24 19:06:14 +08:00
Michaël Witrant
c679593d1e fixed url parsing when they contain a slash in query string 2009-11-24 19:06:13 +08:00
Henrik Bohre
6d7f10d912 #300: Fixed bug when project or context names included non word characters. Thanks Miguel for finding this!
Requires that project and context names don't include double quotes.
2009-11-10 22:17:07 -05:00
Eric Allen
d14d09559e Ticket #300: Improved ajax behavior
Conflicts:

	app/views/todos/create.js.rjs
	app/views/todos/update.js.rjs
2009-11-10 22:17:00 -05:00
Henrik Bohre
a91547265d #300: Removed project from join - fixes problem with null projects. 2009-11-10 22:16:20 -05:00
Henrik Bohre
358f1abba2 #300: Prevents " characters in action descriptions 2009-11-10 22:16:15 -05:00
Henrik Bohre
85127c8b11 #300: All characters except " allowed in descriptions 2009-11-10 22:16:09 -05:00
Henrik Bohre
db4c848512 #300: Fixed bug where description containing dots were not possible to add as predecessors. 2009-11-10 22:16:05 -05:00
Henrik Bohre
4ac3632fb9 #300: Renamed to todo_from_specification 2009-11-10 22:16:01 -05:00
Henrik Bohre
29cf633f05 #300: Switched order to <context, project> in specification. 2009-11-10 22:15:57 -05:00
Henrik Bohre
b0a18a4a2e #300: Updated add_predecessor to use specification instead of only description 2009-11-10 22:15:52 -05:00
Henrik Bohre
93a914fdb3 #300: Disambiguation of predecessors by using project and context names 2009-11-10 22:15:47 -05:00
Henrik Bohre
061e20bf7d #300: Ajax gui updates when removing dependency 2009-11-10 22:15:43 -05:00
Henrik Bohre
1eb6f0f8dd #300: Added tooltip and improved look on remove dependency button 2009-11-10 22:15:38 -05:00
Henrik Bohre
375a132a1d #300: Updated todo fsm behavior to prioritize pending state over deferred 2009-11-10 22:15:34 -05:00
Henrik Bohre
496321b209 #300: Improved visual feedback when pending actions are activated 2009-11-10 22:15:29 -05:00
Henrik Bohre
ad953fe80b #300: Updated todo fsm with guards that prevent activation if uncompleted predecessors exists 2009-11-10 22:15:25 -05:00
Eric Allen
0276dce8e2 Ticket #923: Added Reinier's patch for removing dependencies from successor block.
Conflicts:

	app/helpers/todos_helper.rb
2009-11-10 22:15:16 -05:00
Henrik Bohre
54dc1ad047 #923: Applied Reinier's patch for reducing DB access on predecessor autocomplete. 2009-11-10 22:13:57 -05:00
Henrik Bohre
1f9b77faf4 #300: Displays pending todos in tickler 2009-11-10 22:13:53 -05:00
Eric Allen
8e57b4670a Ticket #300: Improved GUI updates.
Conflicts:

	app/views/todos/create.js.rjs
	app/views/todos/update.js.rjs
2009-11-10 22:13:43 -05:00
Henrik Bohre
0664761a8f #300: Fixed bug that broke validation on create 2009-11-10 22:13:03 -05:00
Henrik Bohre
50a47c5874 Ticket #923: Fixed broken dependency information when completing todos. 2009-11-10 22:11:50 -05:00
Eric Allen
cb76ecd866 Ticket #300: Correctly activates/blocks dependent todos from mobile view also.
Conflicts:

	app/views/todos/toggle_check.js.rjs
2009-11-10 22:10:52 -05:00
Henrik Bohre
c5df6b66b1 #300: Improved display of tickler items after DnD action 2009-11-10 22:09:52 -05:00
Henrik Bohre
406ce7ff2c #923: Applied make-toggle-work-after-drag-and-drop.diff patch from Reinier. 2009-11-10 22:09:46 -05:00
Henrik Bohre
dc08cbe76f #923: Fix for crash when adding todo from mobile view. 2009-11-10 22:09:40 -05:00
Eric Allen
1f45497a52 Ticket #923: Filtering on active or pending todos in pred. auto completer.
Conflicts:

	app/controllers/todos_controller.rb
2009-11-10 22:08:28 -05:00
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