Commit graph

72 commits

Author SHA1 Message Date
Reinier Balt
07b05d01f7 fix #922. You can now mark a todo complete from the tickler. Also fixed some small aasm corner cases found by this change 2011-08-18 17:15:00 +02:00
Demian Gemperli
367476bd77 fixed tests for starred todos 2011-08-04 23:14:29 +02:00
Demian Gemperli
c45b11dc70 Have a Star option on task entry screens #928 2011-07-30 18:52:11 +02:00
Reinier Balt
6e97541ab3 make sure toggle_check and deleting of todos, recurring_todos and projects work in the new done views 2011-07-09 17:21:36 +02:00
Reinier Balt
f2d581d5a4 revert refactoring that created a big performance regression 2011-07-09 17:21:35 +02:00
Reinier Balt
a58e832945 get the done view on a context and a project 2011-07-09 17:21:34 +02:00
Reinier Balt
35fe362b93 fix #857 and further refactoring for better done view 2011-07-09 17:21:34 +02:00
Reinier Balt
8546ae5dfa fix test failures after the changes and refactorings 2011-07-09 17:19:12 +02:00
Reinier Balt
01057af684 start modifying done view and do some refactoring 2011-07-09 17:19:11 +02:00
Reinier Balt
d1212d6d27 fix aasm error. Fixes #1089 2011-06-12 00:11:29 +02:00
Reinier Balt
056dbf08a7 remove vendored gem and fix state model. Some old hacks did not work anymore on the newer aasm. reverted the hacks and fixed some tests 2011-06-10 23:17:22 +02:00
Stefan Richter
00819ce27b migrating to aasm - code part 2011-06-10 23:17:19 +02:00
Reinier Balt
7d5ca16044 fix #1164 and fix #1159 whre a localization was wrong and adding brackets at NOT sql statements for older MySQL versions 2011-05-03 11:43:02 +02:00
Reinier Balt
f018607049 fix tests
will fix cucumber tests after 2.0rc since it probably needs some magic to get them running using the jquery stuff
2011-02-25 15:24:43 +01:00
Reinier Balt
1643a93311 fix drag and drop for adding deps. after a todo was dragged, the predecessor was not draggable. replace ajax with generic one 2011-02-25 14:51:06 +01:00
Reinier Balt
1f67d2a603 get dependency add/remove from new_action_form running 2011-02-25 14:51:05 +01:00
Reinier Balt
76853cff2c fix for mongrel not getting the cookies right and change templates in the i18n locales 2011-02-04 20:11:42 +01:00
Reinier Balt
a02f1d2584 migrate dependencies
without functional changes
2011-02-03 18:19:29 +01:00
Reinier Balt
ab2e51a51a get selenium scenarios running again and add some scenarios for adding todos started 2011-02-03 18:19:19 +01:00
Reinier Balt
a832417c59 migrate toggle_check and destroy and defer and get the functional tests running again 2011-02-03 18:19:17 +01:00
Reinier Balt
7a893980c2 cleanup debug messages 2011-02-03 18:18:42 +01:00
Reinier Balt
f923a40a40 get tag view working for updating todos. Refactored update a lot 2011-02-03 18:18:41 +01:00
Reinier Balt
c64e1bcd80 migrate update for context, project, tickler and calendar 2011-02-03 18:18:40 +01:00
Reinier Balt
6b36d6eb8f fix failing tests 2010-11-09 10:47:09 +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
Reinier Balt
87bb15460e Added tests for #975. This helped to narrow the real cause of #975 but doest not solve it. 2010-08-12 14:39:58 +02:00
Reinier Balt
0a95d430d4 Merge branch 'vacation-work' 2010-05-05 15:27:39 +02:00
Reinier Balt
9d5503a91e fix #997. The chart with the visible actions now excludes pending actions. Also some cleanupt to use named_scope 2010-05-01 17:19:28 +02:00
Eric Allen
e1a92ced7c Don't substitute lt and gt symbols
Closes #824 (hopefully once and for all?)
2010-04-27 11:03:50 -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
6d3770c5fb Eliminated use of scenarios plugin
It doesn't work on Rails 2.3.5
2009-12-08 13:34:06 -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
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
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
375a132a1d #300: Updated todo fsm behavior to prioritize pending state over deferred 2009-11-10 22:15:34 -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
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
dc08cbe76f #923: Fix for crash when adding todo from mobile view. 2009-11-10 22:09:40 -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