myneid / Redmine-Periodic-Task

A redmine plugin that lets you schedule an issue to fire every x days/weeks/months
25 stars 11 forks source link

Redmine 2.0.x update? #9

Open saintxseiya opened 12 years ago

saintxseiya commented 12 years ago

Hi,

is it possible to release an update for 2.0 ? :)

This plugin is awesome!

myneid commented 12 years ago

yes sorry, i just have been far too busy to update my own redmine let alone the periodic task plugin i hope to get time in the near future but someone else could look at it and fix it up

ruanpienaar commented 12 years ago

I would also like the 2.0.x update :)

Pretty please :)

tiurlumbangaol commented 12 years ago

me too :D

janschenck commented 12 years ago

i also really would like to have this plugin updated, i can also offer a small donation (10-20€)

ka7 commented 11 years ago

would welcome an 2.x compatible version

my Environment: Redmine version 2.1.2.stable Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.8 Database adapter MySQL

I also set a bounty of 10€ for a working solution.

Enkil commented 11 years ago

me too

Environment: Redmine version 2.2.1.stable Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.11 Environment production Database adapter Mysql2 Redmine plugins: redmine_contacts 3.1.0-pro-beta redmine_contacts_expenses 2.0.0-beta-2 redmine_contacts_helpdesk 2.0.2 redmine_contacts_invoices 2.0.1-pro-beta redmine_information 1.0.2 redmine_issue_checklist 2.0.3 redmine_people 0.1.1

cforce commented 11 years ago

Any news?

jperelli commented 11 years ago

Hello all!

I managed to get the plugin working.

The code is here https://github.com/jperelli/Redmine-Periodic-Task/tree/redmine2

Please test it and let me know if something is wrong.

In case it works ok, and if you are still thinking of donations, I'm open to receive them :), just let me know.

I tested the plugin using Environment: Redmine version 2.1.2.stable Ruby version 1.8.7 (i486-linux) Rails version 3.2.8 Environment production Database adapter MySQL

ka7 commented 11 years ago

yepy. I did try it out, but..

ActionController::RoutingError (No route matches {:project_id=>#<Project id: 16, name: "haus", description: "some description", homepage: "", is_public: false, parent_id: nil, created_on: "2010-12-22 09:17:09", updated_on: "2010-12-22 09:17:09", identifier: "haus", status: 1, lft: 19, rgt: 30>, :controller=>"periodictask"}): lib/redmine/menu_manager.rb:150:in render_single_menu_node' lib/redmine/menu_manager.rb:102:inrender_menu_node' lib/redmine/menu_manager.rb:91:in render_menu' lib/redmine/menu_manager.rb:168:inmenu_items_for' lib/redmine/menu_manager.rb:165:in each' lib/redmine/menu_manager.rb:165:inmenu_items_for' lib/redmine/menu_manager.rb:90:in render_menu' lib/redmine/menu_manager.rb:80:inrender_main_menu' app/views/layouts/base.html.erb:44:in _app_views_layouts_base_html_erb__1992289811_70110456737280' app/controllers/projects_controller.rb:168:inshow'

for the moment I uninstall again, and delete the ref to the module in DB, so it's up and running again. But I guess it's on the right track... ( running on a ubuntu 12.04 LTS )

jperelli commented 11 years ago

Thanks on Monday I'll see what could happen... It's awkward the ":project_id=>#" part... I'll let you know when i have something more, monday or tuesday for sure.

jperelli commented 11 years ago

@ka7 I can't reproduce your bug. This is how I recommend you to install it:

cd /usr/local/share/redmine
git clone -b redmine2 http://github.com:/perelli/Redmine-Periodic-Task.git plugins/periodictask
rake redmine:plugins:migrate NAME=periodictask RAILS_ENV=production
apache2ctl graceful

and to uninstall:

cd /usr/local/share/redmine
rake redmine:plugins:migrate NAME=periodictask VERSION=0 RAILS_ENV=production
rm -rf plugins/periodictask
apache2ctl graceful

Could you please tell me what other plugins are installed in your redmine? Maybe it's a conflict between this and other plugin

ka7 commented 11 years ago

success !

after a git clone -b redmine2 http://github.com/jperelli/Redmine-Periodic-Task.git plugins/periodictask and the rake xxx I can run the plugin again. ( plus I got a bunch of overdue tasks :) ) I had to manually enable the auth. for the plugin for e.g. the manager-rolle, re-assign the plugin to the projects according to my backed-up periodictask-table ( but I think i messed there around myself, so YMMV )

doze commented 11 years ago

@myneid Will you update your plugin according to jperelli's changes?

jperelli commented 11 years ago

@doze I didn't make any pull requests, and if he adds the modificacions for redmine 2, then the plugin is likely to be broken for redmine 1.x, so I think is better not to be merged. I recommend you to use the installation instructions posted before.

myneid commented 11 years ago

there is a way to make it for both which is what i was working on (and quite unsuccessfully) there is some documentation on it but most of it is spotty at best. so yea i would leave it as seperate for now.

doze commented 11 years ago

Okay, thanks for the responses. I will install the version from jperelli.