Permalink
Browse files

updated readme and minor changes

  • Loading branch information...
1 parent 46aa0c4 commit c66adce81daa0807abee372732743442baa43315 @dalyons committed Oct 1, 2009
View
@@ -3,10 +3,15 @@
A nested, easy to use project based todos plugin for Redmine. Allows easy creation and management of infinitely nestable todo lists on a per project basis, that can be organised into sprints(or releases).
Also provides global 'My Todos' for all projects. Todos can be allocated to uses, and tied to Redmine Issues.
-Currently has translations for Chinese, Spanish, Italian, French, German, Korean, Japanese and English, thanks to contributions from others.
+Currently has translations for Russian, Chinese, Spanish, Italian, French, German, Korean, Japanese and English, thanks to contributions from others.
Please check the issues page(thanks Mischa!) for current known bugs.
+== Release 0.0.3.9
+* Merging in of nowhereman's changes
+* Massive refactoring of the todo associations to make them simpler and more generic.
+* Russian translations added
+
== Release 0.0.3.8
* Issue page integration (Adding todos directly in the Issue page)
* You can edit the text of a todo
@@ -33,7 +33,7 @@ def index
protected
def parent_object
- todoable = User.current.becomes(User) #you can only ever view your own todos.
+ todoable = User.current #you can only ever view your own mytodos.
raise ActiveRecord::RecordNotFound, "TODO association not FOUND! " if !todoable
return todoable
@@ -83,7 +83,7 @@ def toggle_complete
if (request.xhr?)
@element_html = render_to_string :partial => 'todos/todo',
:locals => {:todo => @todo, :editable => true}
- render :action => "todo.rjs"
+ render :template => "todos/todo.rjs"
else
redirect_to :action => "index", :project_id => params[:project_id]
end
@@ -15,7 +15,7 @@
%>
-
+test
</div>
<div id=project-todos>
@@ -8,10 +8,10 @@ def self.up
#Turn personal todos(authored, no project) into proper User todos
Todo.find(:all,:conditions => 'project_id is null').each do |todo|
- todo.update_attributes!(:todoable_type => 'User', :todoable_id => todo.author_id)
+ todo.update_attributes!(:todoable => todo.author)
end
- #remove_column :todos, :project_id
+ remove_column :todos, :project_id
end

0 comments on commit c66adce

Please sign in to comment.