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
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
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
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
Henrik Bohre
ced0e8f531
#300 : Added uncompleted_predecessors to Todo model.
2009-11-04 22:31:59 -05:00
Henrik Bohre
b136816ff1
#300 : Updated Project and User models to use the new Todo model
2009-11-04 22:31:54 -05:00
Henrik Bohre
e9de70ed95
#300 : Added pending state and predecessor/successor relations to Todo model
2009-11-04 22:31:50 -05:00
Eric Allen
cc033e2165
Conflicts:
...
db/tracks-17-blank.db
2009-11-04 22:31:17 -05:00
Henrik Bohre
947172f435
#300 : Added model for dependency relation
2009-11-04 22:30:49 -05:00
Eric Allen
acad0596be
WIP: contexts page mostly working
2009-10-02 19:45:49 -04:00
piglop
4e1e18da0f
fixed #781 :
...
* added a "show always" radio to the recurring todo forms
* added a show_always flag to recurring todos
* created a migration to convert existing recurring todos where show_from_delta==0
* recurring todos where show_from_delta is 0 are now shown the same day they're due
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-06-03 01:36:20 +08:00
Reinier Balt
2f8b454ac0
fix some failing tests
2009-04-19 00:18:12 +02: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
239b38cb15
fix for the two issues in #852
...
* the end date is prefilled with an incorrect formatted date
* if the radio for ends_on is not selected, but a date is entered, tracks incorrectly behaves as if ends_on was checked
2009-04-01 13:51:36 +02:00
Eric Allen
dbeb793214
Support dispatching emailed-in todos based on To: field as well as From: field. Setting configured in site.yml.
2009-03-29 19:44:43 -04:00
Reinier Balt
27715aa453
fix #856 where DateTimes supplied through the rest api was not converted to the users timezone
2009-03-24 23:05:23 +01:00
Reinier Balt
324838c1c4
fix some queries for mysql4 where NOT is interpreted more strict than in mysql5. Thanks Steven for finding this one out!
2009-02-08 20:38:27 +01:00
Reinier Balt
07426ebe54
a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832
2009-01-24 22:13:19 +01:00
Reinier Balt
8ff7afb88c
manual add fix of piglop to prevent todos from staying hidden forever
2009-01-21 13:36:26 +01:00
bsag
3554dd8dd0
Tidied formatting in app/model/preference.rb
2009-01-11 15:48:57 +00:00
Vitalie Lazu
5ee939ac47
Fixed exception in preference model when todo xml api is used with show_from attribute
...
Signed-off-by: bsag <butshesagirl@rousette.org.uk>
2009-01-11 23:37:14 +08:00
Reinier Balt
f79c28231b
remove unused and unneccesary user_id from taggings table.
...
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
2009-01-08 10:18:03 +01:00
Eric Allen
594ed4ca63
Don't re-generate remember token if we already have one. This should allow you to stay logged in on two devices at the same time. Closes #812 .
2009-01-01 17:13:00 -05:00
Reinier Balt
0e68ded56a
fix tags and fix tests
2008-12-22 23:26:38 +01:00
Reinier Balt
c618d35d3a
first pass at restoring tag functionality
2008-12-22 20:55:32 +01:00
Reinier Balt
7399edc2d6
fix two ruby warnings
2008-12-22 17:02:23 +01:00
Reinier Balt
65d3536599
update tagging model
2008-12-22 16:53:26 +01:00
Reinier Balt
c5598a94ee
fix small bug where a check was done on a wrong value
2008-12-18 10:17:16 +01:00
Eric Allen
611a53e668
No point in changing the name of the OpenID identity column in users table. Use the existing one.
2008-12-08 18:51:33 -05:00
Reinier Balt
c46e5a9e1d
show recurrence pattern in :title of a recurring todo. Needed slight refactoring to make it happen
2008-12-08 16:59:10 +01:00