Commit graph

295 commits

Author SHA1 Message Date
Reinier Balt
cafa774b4c refactor application.rb further and migrate recurring todos
next: get tests for recurring todos
2011-02-03 18:17:29 +01:00
Reinier Balt
484356fe07 small improvements
render :partial => filename, :object => @object can be written shorter since rails 2.0 like
render :partial => @object or render :partial => @collection
Also form_for is smart bout put and post for update and creation.

it helps watching older railcasts episodes :-)
2011-02-03 18:17:28 +01:00
Reinier Balt
2fa431ef54 finish migration of the feeds page 2011-02-03 18:17:27 +01:00
Reinier Balt
ea1ca130f1 refactor sidebar and finish migration of notes 2011-02-03 18:17:22 +01:00
Reinier Balt
145c9105dd migrate deleting a note from notes page to jqeury 2011-02-03 18:17:18 +01:00
Reinier Balt
fb39d841a7 migrate editing a context and refactor project with it 2011-02-03 18:17:08 +01:00
Reinier Balt
e52a8609c7 migrate deleting of contexts 2011-02-03 18:17:06 +01:00
Reinier Balt
7c9102453c refactor delete button on project list page into function, like the edit button 2011-02-03 18:16:56 +01:00
Reinier Balt
35453acd57 migrate edit update and destroy to jQuery and refactor it
test for changing state is wip, forgot to mark it with @wip
2011-02-03 18:16:55 +01:00
Reinier Balt
ee4ef4ad42 remove old flash rjs helper. This is replaced by pageNotify javascript function in application.js 2011-02-03 18:16:54 +01:00
Marcus Ilgner
fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
Ramón Cahenzli
4251766b3e Fixing nil error when exporting events to iCal that have no notes. 2010-10-17 20:12:23 +08:00
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