Commit graph

103 commits

Author SHA1 Message Date
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
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
5b1acce71e #300: Added pending items to deferred block in project view 2009-11-04 22:30:54 -05:00
Eric Allen
7ef91403f1 Eliminate all last traces of apply_behavior 2009-11-04 22:06:24 -05: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
f9d37d1d90 Simplify some stuff thanks to live() 2009-10-17 00:03:12 -04:00
Eric Allen
bfc6189611 Project default tags 2009-10-16 19:23:03 -04:00
Eric Allen
e32b23c615 Fixed a bunch of tests 2009-10-09 21:27:27 -04:00
Eric Allen
13504a6474 Fix bug causing contexts to not hide after defer 2009-10-07 16:36:14 -04:00
Eric Allen
6126a6e9d7 Todo check/uncheck handles contexts properly 2009-10-07 11:54:42 -04:00
Eric Allen
af9b8824a4 Unused old autocompletion 2009-10-07 11:42:58 -04:00
Eric Allen
a09b55d6b6 New todo form working with Ajax 2009-09-21 22:59:46 -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
f9e6540ed2 Star toggling and todo checking working
Todo unchecking is still buggy, but needs a bunch more work to make it happen.

Also added some useful globals to the standard layout for later access by application.js.
2009-09-05 15:24:03 -04:00
Jason Penney
13306cfeee fix for calendar.ics when todo.updated_at is NULL 2009-08-25 14:26:50 +02:00
Reinier Balt
30eeb63475 fix #918. Thanks Claus for finding this.
regression from last commit
2009-06-29 13:10:53 +02:00
Reinier Balt
f5162ed8da deleting a recurring todo, the next todo was not placed in the ticker. This patch fixes #909 2009-06-26 16:53:24 +02:00
Reinier Balt
7197618cc8 new actions in project view are now shown in the view. This is a regression from fixing #905 2009-06-26 15:49:02 +02:00
Reinier Balt
87bf96f638 fix #904 by applying the patch from Henrik Bohre. Thanks Henrik 2009-05-17 21:02:18 +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
7c1b4c0a24 Add autocompletion for tags on todo edit form, too. Re #462. 2009-05-02 16:51:10 -04: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
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
dd5b479c5d fix #584 where the date at the top did not use the users timezone, but the servers timezone
also remove confusing user_time helper
2009-04-07 21:34:15 +02:00
Reinier Balt
718685b4b5 fix #867. deferring in tag view is now working 2009-04-07 17:20:06 +02:00
Reinier Balt
7f4929808c fix crlf issue 2009-03-31 22:11:37 +02:00
chris erway
f9ec5ca6c6 add a URL to iCal feed (for project or context, if no project)
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-04-01 03:59:13 +08:00
Reinier Balt
480af3a2ab make sure that new/updated todos also get the behavior enabled for toggling notes 2009-03-31 09:56:23 +02:00
Reinier Balt
33e96dd42e move js of template to the bottom of the page and migrate toggle js to jquery
yslow states that loading of page is faster when js is at the bottom
2009-03-30 23:01:17 +02:00
Reinier Balt
f0e5c3841d refactor js of new todo form: share projects and contexts array over all edit forms
this will hopefully decrease memory usage and also the get-form ajax should result in less data to be retrieved
2009-03-30 22:37:03 +02:00
Reinier Balt
ae30869f85 migrate ujs code for clearing due or show_from date to jquery 2009-03-30 22:07:05 +02:00
Reinier Balt
638a0402fe tidy up _todo for readability 2009-03-30 21:21:53 +02:00
Reinier Balt
c6d2ac8998 add icons to todo context menu 2009-03-30 20:15:24 +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
1dca4747f3 fix suppressing some edit actions on certain views that were enables incorrectly 2009-03-24 21:06:53 +01:00
Reinier Balt
fbc55b73b9 fix js error in ie 2009-03-24 16:48:21 +01:00
Reinier Balt
dfffbc78c3 further enhance the context menu and fix showing of context menu on ie 2009-03-24 16:14:35 +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
06c4ea8a8c first pass at adding context menu for todos 2009-03-24 16:14:31 +01:00
Vitalie Lazu
496741c972 Fixed sidebar rendering, was not working on some pages after rails 2.2 upgrade
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-01-17 15:17:16 +01:00
bsag
278c7310c1 Fixed a repeated regression which I accidentally re-committed. I should pay more attention to the commits... Fixes #740. Again. 2009-01-11 18:58:36 +00:00
Hans de Graaff
b95e02e726 Don't run double sanitation on a string.
This messes up legitimate markup returned by sanitize, such as &lt; when
a description contains '<'.

Signed-off-by: bsag <butshesagirl@rousette.org.uk>
2009-01-11 23:02:10 +08:00
Luke Melia
c7d1881472 Restore automatic focus of first todo form field after clicking edit icon to edit. 2009-01-06 00:49:40 -05:00
Reinier Balt
cf212fefce Merge branch '1.7_branch' 2008-12-22 16:43:22 +01:00