Commit graph

83 commits

Author SHA1 Message Date
Reinier Balt
d66ed1282d remove dead code left over from jQuery upgrade. Related to #1060. 2010-08-11 09:52:06 +02:00
Reinier Balt
6e5057138d add cucumber scenarios for adding multiple next actions 2010-07-28 15:53:18 +02:00
Eric Allen
86d7724b75 Revert "Move dependency drop target into image"
We decided that the small drop target was harder to hit, and the
justifcation for the change wasn't worth it.

This reverts commit ec68e04f27.

Conflicts:

	app/helpers/todos_helper.rb
	public/javascripts/application.js
	public/stylesheets/standard.css
2010-05-09 18:57:56 -04:00
Eric Allen
67df223488 Drag todos between contexts
Closes #1020
2010-04-10 16:08:09 -04:00
Eric Allen
a022f449c1 Fixed failing tests
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed

Closes #1019
2010-04-09 09:34:57 -04:00
Eric Allen
68701adaca Sanitize output well, but entity-ize < and > in notes
Coming from a rich message or API call, notes can contain HTML and it
will render to the browser. Coming from a normal todo creation, though,
all < and > characters will be replaced with the corresponding entities.
This preserves HTML emails, but prevents users from breaking the layout
by entering broken HTML for todo notes.

Closes #765
2010-04-07 10:06:46 -04:00
Eric Allen
9ab69adb38 Dynamically load autocompletes
This cuts something like 100ms off of page load times!

Closes #1011
2010-04-02 13:24:21 -04:00
Eric Allen
8de74939ea Kill HTML tags in todo notes
We still want to preserve quotes for textile, but tags of any sort
shouldn't be able to mess up the output.

Fixes #765
2010-04-02 12:53:29 -04:00
Eric Allen
205c4e7ed4 Much smarter project note truncation
Fixes #780
2010-04-02 09:46:19 -04:00
Reinier Balt
3146fa6bd1 refactor dependency cucumber feature to use css. This saves us the extra id on the todo element that I added in the previous commit. 2010-03-25 16:34:01 +01:00
Reinier Balt
8dbf790810 fix cucumber story for drag and drop for dependencies. Was broken since last change of drop target to a hidden img that appears when dragging starts
not a trivial one to fix :-)
2010-03-24 17:58:15 +01:00
Eric Allen
42c4c199a9 Move edit button out of dropdown menu
Closes #976
2010-03-07 16:54:17 -05:00
Eric Allen
ec68e04f27 Move dependency drop target into image
In preparation for #937 and other potential uses of drag&drop
2010-03-07 16:21:52 -05:00
Eric Allen
f602ffc1a4 Icon for prommote to project button
Had to change the text to fit. I like this better, anyway.

Closes #64 (open a new ticket for changes)
2010-02-21 13:12:12 -05:00
Reinier Balt
07ef7ed7a8 this change belongs to previous commit... 2010-01-13 20:47:15 +01:00
Reinier Balt
24a37e217d fix notes page. The change to autolink Mail.app URLs was working only for todo views, not for the notes view. Moved link code to application_helper 2010-01-13 20:45:09 +01:00
Patrice Neff
5299490c83 Linkify message:// URLs in notes. Those links are used by Mail.app on
Mac OS X to link to a mail message by message id.
2010-01-10 08:34:10 +08:00
Eric Allen
bbbb3a1886 First whack at "promote to project" function
Progress on issue #64
2009-12-20 13:36:05 -05:00
Eric Allen
0eec884428 More options for date format
Fixes #966
2009-12-16 17:54:29 -05:00
Eric Allen
21de49c87a Show context on un-hidden successor. Fixes #964
Added another todo fixture, which broke some assertions that I had to fix
2009-12-16 17:42:42 -05:00
Eric Allen
18dfe4dbfb Missed some formatted_ helpers not covered by tests
Selenium tests now passing completely
2009-12-07 23:16:21 -05:00
Eric Allen
3e83d19299 Merge branch 'master' of github.com:epall/tracks 2009-12-05 11:10:35 -05:00
Erik Ordway
d24d44da13 fix quotes for postgresql. tested on sqlite but untested on mysql 2009-12-03 16:11:38 +08:00
Eric Allen
71b0e188c1 Autocompletion for predecessors working 2009-11-29 20:34:38 -05:00
Eric Allen
d0a5f6b731 Fix rendering of successors, drag and drop 2009-11-29 20:00:54 -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
93a914fdb3 #300: Disambiguation of predecessors by using project and context names 2009-11-10 22:15:47 -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
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
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
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
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
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
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
01e4cdb178 Tag autocomplete 2009-10-16 19:23:11 -04:00
Eric Allen
e1079b4bc7 Spinner on todo update button 2009-10-16 18:58:38 -04:00
Eric Allen
96f510abd4 ALL SELENIUM TESTS PASSING!!
Caught a couple of things that I had to fix plus a handful of broken tests. This is the first time in forever that we have a fully successful selenium suite.
2009-10-13 22:34:37 -04:00
Eric Allen
f86b6fceb6 Alt text on a couple of images to help out tests 2009-10-07 16:44:39 -04:00
Eric Allen
86de0a1290 A whole bunch more Selenium tests working 2009-10-07 16:32:34 -04:00
Eric Allen
195a58174b auto-fill of default tags & contexts from project 2009-10-02 18:31:53 -04:00
Eric Allen
8738481f31 Load newly-created todos into correct container 2009-10-02 15:19:44 -04:00
Eric Allen
8f21467b63 Basic autocomplete for projects and contexts 2009-10-01 22:32:12 -04:00
Eric Allen
a04976e9ac Show datepicker on todo edit fields 2009-10-01 22:23:16 -04:00
Eric Allen
e43a7945d5 Recurring todos mostly working now 2009-09-13 12:00:28 -04:00
Eric Allen
59b367a711 Todo editing and deletion working beautifully.
Removing UJS caused the home page to stop rendering due to references to
apply_behavior. I had to take care of that before I could proceed at all.

Some Autocomplete stuff has been yanked out and needs to go back in at some point.

Had to replace Protoload with jQuery.blockUI. It's a bit bigger, but oh well.
2009-09-07 16:58:26 -04:00
Eric Allen
ce979063c5 Replaced old calendar picker with jQuery UI. 2009-09-06 20:00:19 -04:00