ToDo lists plugin
Added by david lyons over 15 years ago
Hello people,
Ive developed a very usable little ToDo lists plugin for Redmine, sort of inspired by Basecamp. It allows you to create nestable per-project todo lists, as well as a general, personal ToDo list for stuff not related to a particular project.It supports:
- drag & drop reordering of lists
- Ability to tie a todo item to an Issue
- Ability to assign todos to other users
- Ability to assign a due date to Todo items
Intended use is for developers - We found that Issues(bug/feature request) are often too coarse and can represent too large a unit of work to use it to track your day-to-day work. For example - there might be a feature request to say 'add a new screen with the ability to search users by various fields, and calculate their blah blah blah'. We use the todo lists to keep track of all the things we have to do(design, implement each sub feature, etc) to implement that Feature.
I did intend to add some basic Scrumm-ish workflow management to the todo lists; however it seems now that there are other Scrumm plugins around now built by larger teams than me that are more sophisticated than I could probably achieve in my spare time.
Anyway, check it out at http://github.com/dalyons/redmine-todos-scrum-plugin/tree/master and see if it warrants inclusion on the Wiki plugins list :). Any feedback, suggestions etc, very welcome.
Replies (146)
RE: ToDo lists plugin - Added by Rodion S over 14 years ago
Rodrigo Rosenfeld Rosas wrote:
Follows a patch I've applied at my work.
This patch cause error on /issues?assigned_to_id=me&set_filter=1&sort=priority%3Adesc%2Cupdated_on%3Adesc
@Processing IssuesController#index (for 192.168.11.70 at 2010-05-03 22:48:30) [GET]
Parameters: {"set_filter"=>"1", "action"=>"index", "assigned_to_id"=>"me", "controller"=>"issues", "sort"=>"priority:desc,updated_on:desc"}
NoMethodError (undefined method `todos' for nil:NilClass):
passenger (2.2.11) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'@
But this works fine:
@ # def view_issues_show_description_bottom(context ={ })
# controller = context[:controller]
# controller.show_todos
# end
render_on :view_issues_show_description_bottom, :partial => 'todos', :locals => { :todos => todos }
Sorry for my english... )
RE: ToDo lists plugin - Added by Mike Bolser over 14 years ago
David, nice plugin!
I have everything working on Ruby 1.9.1 with Redmine 0.9.4. I did notice today that when installing another plugin and rerunning rake db:migrate_plugins, it appears the todo plugin is trying to recreate the schema that already exists. How can I fix this?
Thanks!
Mike
ERROR: Mysql::Error: Table 'todos' already exists: CREATE TABLE 'todos' ('id' ....
RE: ToDo lists plugin - Added by david lyons over 14 years ago
Rodrigo Rosenfeld Rosas wrote:
Follows a patch I've applied at my work.
Rodrigo, thanks a lot for your patch. I'll confess, I didn't really understand how the redmine hook system worked at all, and so the issues screen hooks were merged in from someone else's work.
I think your way is much cleaner, so ive adopted that. Anyone having problems with the "can only render or redirect once per action", please update now, and let me know if its still happening.
RE: ToDo lists plugin - Added by david lyons over 14 years ago
tz tz wrote:
Rodrigo Rosenfeld Rosas wrote:
Follows a patch I've applied at my work.
well done.
ps: zh.xml for missing label
[...]
Thanks! I have added this to the master on github. (see my other reply on Rodrigos patch)
RE: ToDo lists plugin - Added by Rodrigo Rosenfeld Rosas over 14 years ago
You're welcome David, I must thank you.
RE: ToDo lists plugin - Added by Roel vdwal over 14 years ago
i must be very stupid, but where do i run this "rake db:migrate_plugins RAILS_ENV=production" commando?
I get a "No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)" everywhere?
RE: ToDo lists plugin - Added by Alexander Kulemin over 14 years ago
Roel vdwal wrote:
i must be very stupid, but where do i run this "rake db:migrate_plugins RAILS_ENV=production" commando?
I get a "No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)" everywhere?
in redmine directory.. may be c:/program_files/redmine ;)
RE: ToDo lists plugin - Added by Roel vdwal over 14 years ago
I'm sorry i didn't post earlier. I forgot that i use jruby and had to "compile" the redmine source to a WAR again.
Things work already and i like it!!
thanks!
RE: ToDo lists plugin - Added by Nicolas Rubin about 14 years ago
Hi,
I'm unable to create the todos table !!
I copy the redmine_todos_plugin in /usr/share/redmine/vendor/plugins/
I made a sudo rake db:migrate RAILS_ENV=production
I see no errors in the bash, but in my phpmyadmin, in can't see the "todos" table
I have installed redmine 1.0 RC1 and redmine_todos_plugin 0.0.3.6 or 0.0.4.2, problem are the same...
It's an Ubuntu 10.04 VM
No problem if you would the trace !!
Where could help me ?
Many thanks in advance
Nicolas
RE: ToDo lists plugin - Added by david lyons about 14 years ago
Did you remember to migrate the plugins like it says in the install instructions? Try:
sudo rake db:migrate_plugins RAILS_ENV=production
-Dave
RE: ToDo lists plugin - Added by Jean-Baptiste Barth about 14 years ago
Nicolas: bad command, it's db:migrate_plugins or db:migrate:plugins for plugins. Db:migrate only runs migrations for the core. If you want both (core+plugins) in one command, try db:migrate:all
David: personally no pb with 1.0, but there's a little UI bug which throws calendar popups some 200px left from the mouse on Chrome/Ubuntu. Probably just CSS, I'll try to do a complete report soon. Anyway thank you very much for this plugin :)
RE: ToDo lists plugin - Added by Nicolas Rubin about 14 years ago
Hi,
Many thanks for your help, but it's always the same... I become a :
nicolas@ubuntu:/usr/share/redmine/vendor/plugins$ sudo rake db:migrate:all RAILS_ENV=production
(in /usr/share/redmine)
Migrating plugin redmine_todos_plugin ...
RemoveOldTodoAssociations: migrating ====================================
rake aborted!
An error has occurred, all later migrations canceled:
Mysql::Error: Table 'redmine_default.todos' doesn't exist: SELECT * FROM `todos` WHERE (project_id is not null)
So, it seems that the script that should create the table is not called... is it possible ??
Many thanks
Nicolas
RE: ToDo lists plugin - Added by Alexander Kulemin about 14 years ago
Nicolas Rubin wrote:
So, it seems that the script that should create the table is not called... is it possible ??
Yes, if it's name is in table schema_migration
then it will not be re-run.
RE: ToDo lists plugin - Added by Nicolas Rubin about 14 years ago
Sorry, it's always me...
It was right, now I have my todos table !!! ;-)
But I become always this error :
redMine 500 error Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance.
The rest of Redmine is working fine, and it's exactly the tools I would !!!
And now, I have no idea what can I do...
Many thanks in advance
Nicolas
RE: ToDo lists plugin - Added by Alexander Kulemin about 14 years ago
Nicolas Rubin wrote:
But I become always this error :
[...]
What is in production.log file?
RE: ToDo lists plugin - Added by Nicolas Rubin about 14 years ago
Hi,
I have nothing in the production log...
Just the line :
# Logfile created on Tue Jul 20 16:41:59 +0200 2010
After some command line, and cleaning in the DB, it's better I have no more error and I see the "create new todo"
But I can't create it, and I don't see anything in my todo list...
Maybe a version problem
Redmine is in ver. 1.0.0 RC 1
Todos plugin is in ver. 0.0.3.6
But don't worry, now I see more how it works...
Maybe tomorrow, i can spent some time on this...
Many thanks
Nicolas
RE: ToDo lists plugin - Added by Alexander Kulemin about 14 years ago
Nicolas Rubin wrote:
Hi,
I have nothing in the production log...
Hm.. You started redMine in development enviroment? But
nicolas@ubuntu:/usr/share/redmine/vendor/plugins$ sudo rake db:migrate:all RAILS_ENV=production
is for production env.. No problem, if production and development env. use one database (you can see it in database.yml). Otherwise, you run migration
and changed one DB, but work with other.
RE: ToDo lists plugin - Added by Nicolas Rubin about 14 years ago
Now it's working fine !
Thanks for all !!!
Redmine is a very nice tools !!!
Regards
Nicolas
RE: ToDo lists plugin - Added by Peter Horvath about 14 years ago
Hi,
I have Ubuntu 10.4 LTS and the ubuntu build redmine.
I've installed the 0.0.4.2 version of todos but all the images and styles missing with the following error:
ActionController::RoutingError (No route matches "/plugin_assets/redmine_todos_plugin/stylesheets/todos_print.css" with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:390:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:in `dispatch_unlocked'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:in `dispatch'
/usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
ActionController::RoutingError (No route matches "/plugin_assets/redmine_todos_plugin/images/printer.png" with {:method=>:get}):
/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:390:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:in `dispatch_unlocked'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:in `dispatch'
/usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Where do i have to change lines to solve this problem.
This folders and files located here at the moment:
/var/www/redmine/vendor/plugins/redmine_todos_plugin/assets/
but if i make the following path:
/var/www/redmine/vendor/plugins/redmine_todos_plugin/plugin_assets/redmine_todos_plugin
and i copy everything it is still the same.
Can you help me?
Thanks
Peter
RE: ToDo lists plugin - Added by Peter Horvath about 14 years ago
I solved the problem.
I created a the path inside redmine/public folder and it is working :)
Maybe it is documented somewhere but i am pretty new in redmine things.
RE: ToDo lists plugin - Added by Gregory Fox about 14 years ago
When I click on My ToDos, I get a 500 Error. I also get a 500 Error when I click on update to an issue.
Here is my log:
Processing MytodosController#index (for 68.0.233.139 at 2010-09-01 10:31:47) [GET]
Parameters: {"action"=>"index", "controller"=>"mytodos"}
ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'todos.todoable_type' in 'where clause': SELECT * FROM `todos` WHERE ((author_id = 1 OR assigned_to_id = 1) AND (`todos`.`todoable_type` = 'Project')) ):
vendor/plugins/redmine_todos_plugin/app/controllers/mytodos_controller.rb:23:in `index'
/dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/utils.rb:184:in `safe_fork'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:in `start'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Rendering /home/agilityis/agilityhq.com/public/500.html (500 Internal Server Error)
RE: ToDo lists plugin - Added by Alexander Kulemin about 14 years ago
May be you don't executed some migrations?
rake db:migrate_plugins
RE: ToDo lists plugin - Added by lion he about 14 years ago
I upgrade this plugin at redmine 1.0.1 stable, when I open a iuuse or my todo list, project todo list, I got a 500 internal error. So I drop the table "todos", and try to downgrade this plugin to 0.3.7.Now I don't get 500 error anymore, but I can't add todo...
Anybody could resolve this?
RE: ToDo lists plugin - Added by Alexander Kulemin about 14 years ago
lion he wrote:
I upgrade this plugin at redmine 1.0.1 stable, when I open a iuuse or my todo list, project todo list, I got a 500 internal error. So I drop the table "todos", and try to downgrade this plugin to 0.3.7.Now I don't get 500 error anymore, but I can't add todo...
Anybody could resolve this?
What is in log files?
RE: ToDo lists plugin - Added by Anonymous about 14 years ago
ru locale for your plugin. if you want