Git Product home page Git Product logo

redmine_issue_checklist's Introduction

Redmine Issue Checklist Plugin

Build Status Code Climate

This plugin enables you to add checklists to Redmine issues.

The initial author of the plugin is Kirill Bezrukov

Compatibility

This plugin version is compatible only with Redmine 3.0 and later.

Installation

  1. To install the plugin

    • Download the .ZIP archive, extract files and copy the plugin directory into #{REDMINE_ROOT}/plugins.

    Or

    • Change you current directory to your Redmine root directory:

        cd {REDMINE_ROOT}
      

      Copy the plugin from GitHub using the following commands:

        git clone https://github.com/Restream/redmine_issue_checklist.git plugins/redmine_issue_checklist
      
  2. Update the Gemfile.lock file by running the following commands:

     bundle install
    
  3. This plugin requires a migration. Run the following command to upgrade your database (make a database backup before):

     bundle exec rake redmine:plugins:migrate RAILS_ENV=production 
    
  4. Restart Redmine.

Now you should be able to see the plugin in Administration > Plugins.

Usage

The Redmine Issue Checklist plugin enables you to add checklists to Redmine issues.

You can configure the plugin to track the checklist changes in the issue log and change the issue done ratio based on the checklist progress. To do this, go to Administration > Plugins, clikConfigure and select the corresponding check boxes.
plugin settings

To add a checklist to an issue, enter the checklist item text into the the Checklist field in the issue description and click the + button.
checklist item

You can add as many checklist items as you need. To rearrange the checklist, drag and drop the items in the desired order. To delete an item, click the trash bin icon.
checklist item

To mark the completed checklist items, select the corresponding check boxes. The plugin will display the changes in the issue log and change the issue done ratio, if you have configured it accordingly.
progress

To manage checklist-related permissions, go to Administration > Roles and permissions, click the role name and select or clear the required check boxes.
permissions

Testing

Run tests using the following command:

rake redmine:plugins:test NAME=redmine_issue_checklist RAILS_ENV=test_sqlite3

Maintainers

Danil Tashkinov, github.com/nodecarter

License

Redmine Checklist plugin is open source and released under the terms of the GNU General Public License v2 (GPL).

redmine_issue_checklist's People

Contributors

adrianobr avatar aleksxor avatar atopcu avatar dr-itz avatar irina-l avatar nhatthm avatar nodecarter avatar willhbr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine_issue_checklist's Issues

Error by adding issues with checklist entries

Environment:
Redmine version 3.0.2.stable
Ruby version 2.2.1-p85 (2015-02-26) [armv6l-linux-eabihf]
Rails version 4.2.1
Environment production
Database adapter Mysql2
SCM:
Git 1.7.10.4
Filesystem
Redmine plugins:
redmine_issue_checklist 2.0.8

If I add an issue without checklist entries all is working great.
But if I add an issue with checklist entries I'll get the following error:

NoMethodError (undefined method strip' for nil:NilClass): plugins/redmine_issue_checklist/app/models/issue_checklist.rb:21:ininfo'
activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in collect' activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:incollect'
plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patches/issue_patch.rb:39:in update_checklist_items' plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patches/issues_controller_patch.rb:13:inbuild_new_issue_from_params_with_checklist'
activesupport (4.2.1) lib/active_support/callbacks.rb:432:in block in make_lambda' activesupport (4.2.1) lib/active_support/callbacks.rb:145:incall'
activesupport (4.2.1) lib/active_support/callbacks.rb:145:in block in halting_and_conditional' activesupport (4.2.1) lib/active_support/callbacks.rb:504:incall'
activesupport (4.2.1) lib/active_support/callbacks.rb:504:in block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:504:ineach'
activesupport (4.2.1) lib/active_support/callbacks.rb:504:in call' activesupport (4.2.1) lib/active_support/callbacks.rb:92:in_run_callbacks'
activesupport (4.2.1) lib/active_support/callbacks.rb:776:in _run_process_action_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in process_action' actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in block in process_action' activesupport (4.2.1) lib/active_support/notifications.rb:164:inblock in instrument'
activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (4.2.1) lib/active_support/notifications.rb:164:ininstrument'
actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in process_action' actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:inprocess_action'
activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (4.2.1) lib/abstract_controller/base.rb:137:inprocess'
actionview (4.2.1) lib/action_view/rendering.rb:30:in process' actionpack (4.2.1) lib/action_controller/metal.rb:196:indispatch'
actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in dispatch' actionpack (4.2.1) lib/action_controller/metal.rb:237:inblock in action'
actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in call' actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:indispatch'
actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in serve' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:inblock in serve'
actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in each' actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:inserve'
actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in call' rack-openid (1.4.2) lib/rack/openid.rb:98:incall'
request_store (1.0.5) lib/request_store/middleware.rb:9:in call' rack (1.6.1) lib/rack/etag.rb:24:incall'
rack (1.6.1) lib/rack/conditionalget.rb:38:in call' rack (1.6.1) lib/rack/head.rb:13:incall'
actionpack-xml_parser (1.0.2) lib/action_dispatch/xml_params_parser.rb:16:in call' actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in call' rack (1.6.1) lib/rack/session/abstract/id.rb:225:incontext'
rack (1.6.1) lib/rack/session/abstract/id.rb:220:in call' actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:incall'
activerecord (4.2.1) lib/active_record/query_cache.rb:36:in call' activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in block in call' activesupport (4.2.1) lib/active_support/callbacks.rb:88:incall'
activesupport (4.2.1) lib/active_support/callbacks.rb:88:in _run_callbacks' activesupport (4.2.1) lib/active_support/callbacks.rb:776:in_run_call_callbacks'
activesupport (4.2.1) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in call' actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:incall'
actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in call' railties (4.2.1) lib/rails/rack/logger.rb:38:incall_app'
railties (4.2.1) lib/rails/rack/logger.rb:20:in block in call' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:inblock in tagged'
activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in tagged' activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:intagged'
railties (4.2.1) lib/rails/rack/logger.rb:20:in call' actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:incall'
rack (1.6.1) lib/rack/methodoverride.rb:22:in call' rack (1.6.1) lib/rack/runtime.rb:18:incall'
activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call' actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:incall'
rack (1.6.1) lib/rack/sendfile.rb:113:in call' railties (4.2.1) lib/rails/engine.rb:518:incall'
railties (4.2.1) lib/rails/application.rb:164:in call' railties (4.2.1) lib/rails/railtie.rb:194:inpublic_send'
railties (4.2.1) lib/rails/railtie.rb:194:in method_missing' passenger (5.0.8) lib/phusion_passenger/rack/thread_handler_extension.rb:89:inprocess_request'
passenger (5.0.8) lib/phusion_passenger/request_handler/thread_handler.rb:155:in accept_and_process_next_request' passenger (5.0.8) lib/phusion_passenger/request_handler/thread_handler.rb:110:inmain_loop'
passenger (5.0.8) lib/phusion_passenger/request_handler.rb:414:in block (3 levels) in start_threads' passenger (5.0.8) lib/phusion_passenger/utils.rb:111:inblock in create_thread_and_abort_on_exception'

can not create issue

log file:

...
  plugins/redmine_checklists/lib/redmine_checklists/patches/issues_controller_patch.rb:43:in `build_new_issue_from_params_with_checklist'
  plugins/redmine_checklists/lib/redmine_checklists/patches/issues_controller_patch.rb:43:in `build_new_issue_from_params_with_checklist'
  plugins/redmine_checklists/lib/redmine_checklists/patches/issues_controller_patch.rb:43:in `build_new_issue_from_params_with_checklist'
  plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patches/issues_controller_patch.rb:11:in `build_new_issue_from_params_with_checklist'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

using redmine v 3.4 stable

gives Internal error

An error occurred on the page you were trying to access.

Enhance for permissions

Do you think it would be difficult to enhance this plugin in order to manage checklists as a global field and thus being able to manage workflow permissions ?

Ability to add multiple checklists

Trello/Zenkit provides the ability to add multiple checklists. Possible scenarios.

Requirements checklist

Dev checklist

DevOps checklist

Post-deployment checklist

Cannot create issue

Hi, I've got this error while creating an issue that has checklist. Please help to fix it

Started POST "/projects/[CENSORED]/issues" for 116.100.134.20 at 2015-06-09 01:12:57 +0700
Processing by IssuesController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[CENSORED]", "issue"=>{"is_private"=>"0", "tracker_id"=>"2", "subject"=>"Setup project structure", "description"=>"Setup project structure", "status_id"=>"1", "priority_id"=>"6", "assigned_to_id"=>"3", "category_id"=>"36", "fixed_version_id"=>"", "parent_issue_id"=>"", "start_date"=>"2015-06-09", "due_date"=>"2015-06-11", "estimated_hours"=>"", "done_ratio"=>"0", "custom_field_values"=>{"11"=>"", "12"=>""}}, "was_default_status"=>"1", "check_list_items"=>[{"subject"=>"Git Repository"}, {"subject"=>"Setup drupal project"}, {"subject"=>"Setup local server"}, {"subject"=>"Install contrib modules"}, {"subject"=>"Setup Elasticsearch server"}, {"subject"=>"Configure basic information"}], "new_checklist"=>"", "commit"=>"Create", "project_id"=>"[CENSORED]"}
  Current user: [CENSORED] (id=3)
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject

WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject

WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject

WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject

WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject

WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject

Completed 500 Internal Server Error in 164ms (ActiveRecord: 6.2ms)

NoMethodError (undefined method `strip' for nil:NilClass):
  plugins/redmine_issue_checklist/app/models/issue_checklist.rb:21:in `info'
  activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `collect'
  activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `collect'
  plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patches/issue_patch.rb:39:in `update_checklist_items'
  plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patches/issues_controller_patch.rb:13:in `build_new_issue_from_params_with_checklist'
  activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda'
  activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `call'
  activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional'
  activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
  activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call'
  activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each'
  activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
  activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
  activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
  activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
  actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
  activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
  actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
  activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
  actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
  actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
  actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
  actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
  actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
  actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
  actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
  actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
  actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
  actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
  rack-raw-upload (1.1.1) lib/rack/raw_upload.rb:18:in `call'
  rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'
  request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'
  rack (1.6.0) lib/rack/etag.rb:24:in `call'
  rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
  rack (1.6.0) lib/rack/head.rb:13:in `call'
  actionpack-xml_parser (1.0.2) lib/action_dispatch/xml_params_parser.rb:16:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
  rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
  activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
  activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
  activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
  activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
  activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.0) lib/rack/runtime.rb:18:in `call'
  activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
  rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.1) lib/rails/engine.rb:518:in `call'
  railties (4.2.1) lib/rails/application.rb:164:in `call'
  rack (1.6.0) lib/rack/lock.rb:17:in `call'
  rack (1.6.0) lib/rack/content_length.rb:15:in `call'
  rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
  /usr/share/ruby/webrick/httpserver.rb:138:in `service'
  /usr/share/ruby/webrick/httpserver.rb:94:in `run'
  /usr/share/ruby/webrick/server.rb:295:in `block in start_thread'

Cyrillic simbols

Если в названии пунктов чеклиста употребляются кириллические символы, то на странице выводится набор из '?'.
Скрин
checklist

HTML

<div id="issue_checklist">
  <p><strong>Чеклист</strong></p>

  <ul id="issue_checklist_items">
    <li id="checklist_item_30"  >
  <input id="checklist_item" name="checklist_item" onclick="checklist_item_done(this,&#x27;/checklist/done/30?is_done=false&#x27;,&#x27;30&#x27;)" type="checkbox" value="1" />
  check
</li>

    <li id="checklist_item_31"  >
  <input id="checklist_item" name="checklist_item" onclick="checklist_item_done(this,&#x27;/checklist/done/31?is_done=false&#x27;,&#x27;31&#x27;)" type="checkbox" value="1" />
  list
</li>

    <li id="checklist_item_32"  >
  <input id="checklist_item" name="checklist_item" onclick="checklist_item_done(this,&#x27;/checklist/done/32?is_done=false&#x27;,&#x27;32&#x27;)" type="checkbox" value="1" />
  ??<cite>? ?</cite>???? ??<cite>?? ?</cite> ??<cite>??</cite> ??<cite>??</cite>?? ??<cite>??</cite>?????? <cite>??</cite>
</li>

    <li id="checklist_item_33"  >
  <input id="checklist_item" name="checklist_item" onclick="checklist_item_done(this,&#x27;/checklist/done/33?is_done=false&#x27;,&#x27;33&#x27;)" type="checkbox" value="1" />
  ??<cite>??</cite>?
</li>

    <li id="checklist_item_34"  >
  <input id="checklist_item" name="checklist_item" onclick="checklist_item_done(this,&#x27;/checklist/done/34?is_done=false&#x27;,&#x27;34&#x27;)" type="checkbox" value="1" />
  1232345
</li>

    <li id="checklist_item_35"  >
  <input id="checklist_item" name="checklist_item" onclick="checklist_item_done(this,&#x27;/checklist/done/35?is_done=false&#x27;,&#x27;35&#x27;)" type="checkbox" value="1" />
  sdghjruj
</li>

  </ul>
</div>

Возможно, я что-то делаю не так?)

3.4.2.stable

/var/www/html/redmine/plugins/redmine_issue_checklist/init.rb:24: warning: key :issue_checklist is duplicated and overwritten on line 24

Checklists do not clone

In Redmine version 3.0.3.stable.14266 the checklists do not clone with a issue. My version of Checklists plugin is v3.1.1(Light). Please check this problem.

Redmine 3.4.3 cannot save changes to the issue log

I know there is a paid plugins called Check_list in redmineup.com, but does this plugins works well with Redmine 3.4.3?
Save changes to the issue log and Automatically change the issue done ratio cannot be added, when i
select the corresponding check boxes and apply, the box empty again! See pics below
2017-12-22 11 27 44
2017-12-22 11 27 36

Plugin installed but checklist not showing up in tickets

After updating a couple of redmine plugins, the checklist is not showing up in tickets anymore. It listed properly on the "Plugins" page in the admin account:

image

System Information:

Environment:
  Redmine version                4.1.3.stable
  Ruby version                   2.6.7-p197 (2021-04-05) [x86_64-linux]
  Rails version                  5.2.5
  Environment                    production
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.10.4
  Mercurial                      4.8.2
  Bazaar                         2.8.0
  Git                            2.20.1
  Filesystem                     
Redmine plugins:
  _query                         0.0.5
  a_common_libs                  2.5.7
  easy_mindmup                   1.0
  easy_wbs                       1.5
  external_links_in_new_window   0.9
  redmine_auto_resubmission      1.0.7
  redmine_checklists             3.1.21
  redmine_contacts               4.3.6
  redmine_issue_templates        1.1.0
  redmine_my_page_paginations    1.0.3
  sidebar_hide                   0.0.8
  unread_issues                  2.2.4

This is the output of rake redmine:plugins:test NAME=redmine_issue_checklist RAILS_ENV=test_sqlite3 :

rake aborted!
ActiveRecord::AdapterNotSpecified: 'test_sqlite3' database is not configured. Available: ["production"]
/usr/local/bundle/gems/activerecord-5.2.5/lib/active_record/connection_adapters/connection_specification.rb:260:in `resolve_symbol_connection'
/usr/local/bundle/gems/activerecord-5.2.5/lib/active_record/connection_adapters/connection_specification.rb:241:in `resolve_connection'
/usr/local/bundle/gems/activerecord-5.2.5/lib/active_record/connection_adapters/connection_specification.rb:143:in `resolve'
/usr/local/bundle/gems/activerecord-5.2.5/lib/active_record/connection_handling.rb:57:in `establish_connection'
/usr/local/bundle/gems/activerecord-5.2.5/lib/active_record/railtie.rb:136:in `block (2 levels) in <class:Railtie>'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:71:in `instance_eval'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:42:in `each'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/lazy_load_hooks.rb:42:in `on_load'
/usr/local/bundle/gems/activerecord-5.2.5/lib/active_record/railtie.rb:132:in `block in <class:Railtie>'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/initializable.rb:32:in `instance_exec'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/initializable.rb:32:in `run'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/initializable.rb:60:in `run_initializers'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/application.rb:361:in `initialize!'
/usr/src/redmine/config/environment.rb:16:in `<top (required)>'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:291:in `require'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:291:in `block in require'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:257:in `load_dependency'
/usr/local/bundle/gems/activesupport-5.2.5/lib/active_support/dependencies.rb:291:in `require'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/application.rb:337:in `require_environment!'
/usr/local/bundle/gems/railties-5.2.5/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/usr/src/redmine/lib/tasks/redmine.rake:161:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:plugins:test:units => db:test:prepare => db:load_config => environment
(See full trace by running task with --trace)

I've executed the install-commands (bundle install etc.) and restarted redmine after the plugin update.

EDIT: I also tried a complete reinstall using bundle exec rake redmine:plugins:migrate NAME=redmine_checklists VERSION=0 RAILS_ENV=production

Do you have suggestions on how to find the reason for this problem and fix it? Thanks a lot in advance.

Adding and moving new entries in existing checklists does not save position

if you add a new entry to an existing checklist and move it around, after saving it will be at the last position. You need to edit the checklist again afterwards and only starting then it will save the new position.

If you create an entirely new checklist and move entries around, the positions will be kept just fine. This issue only occurs with entries being added to existing checklists.

Feature request: make checklist entries editable

Currently, one has to remove and readd an entry when the checklist entry description needs to be changed. It would be cool, if you can change the checklist entry name/description when editing the ticket.
Thank you!

Feature request: Enable only specific projects

We have many projects(over 200) in Redmine.
Since the purpose and organization are different, I would like to start using the checklist with only specific projects.
It is wonderful to be able to control availability on the settings page of the project.
Thank you!

Can not delete last Checklist item.

Hi,

I am deleting all checklist items in issue edit mode. All checklist items come back after save the issue.
If I left one of them in same scenario, it is deleting all other, no problem.

Environment:
Redmine version 3.1.3.stable.15012
Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux]
Rails version 4.2.5
Environment production
Database adapter Mysql2

Have a nice day!

Additional file upload button

Why is there an additional file upload button? Can we disable it in the plugin options, if it is intended?

It seems one can only use it to upload "user defined files". While choosing "all files" is also possible, nothing is happening after selecting a file.

checklists-user-defined-upload

undefined local variable or method `rcrm_acts_as_list'

Hello,
Couldn't reproduce the issue but SOMETIMES(but pretty often) the server returns Internal Server Error.

  • Redmine version - 3.4.3.stable
  • Ruby version - 2.3.3-p222 (2016-11-21) [x86_64-linux]
  • Rails version - 4.2.8
  • Database adapter - Mysql2
  • Redmine checklists plugin(Light version) - 3.1.14

NameError (undefined local variable or method `rcrm_acts_as_list' for #<Class:0x007f0ac974d7b0>
Did you mean?  rcrm_acts_as_voter
               rcrm_acts_as_votable
               rcrm_acts_as_viewed):
  plugins/redmine_checklists/app/models/checklist.rb:53:in `<class:Checklist>'
  plugins/redmine_checklists/app/models/checklist.rb:20:in `<top (required)>'
  app/models/issue.rb:436:in `assign_attributes'
  app/models/issue.rb:588:in `safe_attributes='
  app/controllers/issues_controller.rb:473:in `update_issue_from_params'
  plugins/redmineup_tags/lib/redmine_tags/patches/issues_controller_patch.rb:35:in `update_issue_from_params_with_redmine_tags'
  app/controllers/issues_controller.rb:155:in `edit'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'```

Page doesn't refresh after checkbox ticking/unticking

When ticking or unticking a checkbox in a ticket, the page won't reload automatically for oneself. Therefore it won't show the new status directly. While this is not a big pain (one can always do a manual refresh of the page after ticking a checkbox) it would be an improvement to user experience.

Cannot close issue

Hi, I've got this error while closing an issue that has checklist. Please help to fix it

Started PATCH "/issues/214/edit.js" for IP.X.Y.Z at 2015-05-01 11:38:33 +0700
Processing by IssuesController#edit as JS
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"_TOKEN_", "issue"=>{"is_private"=>"0", "project_id"=>"20", "tracker_id"=>"4", "subject"=>"Prepare development environment", "description"=>"Prepare development environment to upgrade to v2.0", "status_id"=>"5", "priority_id"=>"4", "assigned_to_id"=>"3", "category_id"=>"32", "fixed_version_id"=>"11", "parent_issue_id"=>"", "start_date"=>"2014-09-24", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"100", "custom_field_values"=>{"11"=>"", "12"=>""}, "notes"=>"", "private_notes"=>"0", "lock_version"=>"1"}, "was_default_status"=>"1", "check_list_items"=>[{"subject"=>"Get source code from live server", "is_done"=>"1"}, {"subject"=>"Get database from live server", "is_done"=>"1"}, {"subject"=>"Create git repository", "is_done"=>"1"}, {"subject"=>"Upgrade Drupal core", "is_done"=>"1"}, {"subject"=>"Re-structure project", "is_done"=>"1"}, {"subject"=>"Upgrade contrib modules and themes", "is_done"=>"1"}, {"subject"=>"Upgrade database", "is_done"=>"1"}, {"subject"=>"Migrate data", "is_done"=>"1"}], "new_checklist"=>"", "time_entry"=>{"hours"=>"", "activity_id"=>"9", "comments"=>"", "custom_field_values"=>{"3"=>"Local"}}, "last_journal_id"=>"727", "id"=>"214"}
  Current user: root (id=1)
  Rendered issues/_form_custom_fields.html.erb (0.5ms)
  Rendered issues/_attributes.html.erb (113.5ms)
  Rendered plugins/redmine_issue_checklist/app/views/issues/_checklist_form.html.erb (2.0ms)
  Rendered issues/_form.html.erb (128.1ms)
  Rendered issues/edit.js.erb (129.1ms)
Completed 200 OK in 181ms (Views: 123.8ms | ActiveRecord: 14.9ms)
Started PATCH "/issues/214" for 116.100.132.149 at 2015-05-01 11:38:35 +0700
Processing by IssuesController#update as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"_TOKEN_", "issue"=>{"is_private"=>"0", "project_id"=>"20", "tracker_id"=>"4", "subject"=>"Prepare development environment", "description"=>"Prepare development environment to upgrade to v2.0", "status_id"=>"5", "priority_id"=>"4", "assigned_to_id"=>"3", "category_id"=>"32", "fixed_version_id"=>"11", "parent_issue_id"=>"", "start_date"=>"2014-09-24", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"100", "custom_field_values"=>{"11"=>"", "12"=>""}, "notes"=>"", "private_notes"=>"0", "lock_version"=>"1"}, "check_list_items"=>[{"subject"=>"Get source code from live server", "is_done"=>"1"}, {"subject"=>"Get database from live server", "is_done"=>"1"}, {"subject"=>"Create git repository", "is_done"=>"1"}, {"subject"=>"Upgrade Drupal core", "is_done"=>"1"}, {"subject"=>"Re-structure project", "is_done"=>"1"}, {"subject"=>"Upgrade contrib modules and themes", "is_done"=>"1"}, {"subject"=>"Upgrade database", "is_done"=>"1"}, {"subject"=>"Migrate data", "is_done"=>"1"}], "new_checklist"=>"", "time_entry"=>{"hours"=>"", "activity_id"=>"9", "comments"=>"", "custom_field_values"=>{"3"=>"Local"}}, "last_journal_id"=>"727", "commit"=>"Submit", "id"=>"214"}
  Current user: root (id=1)
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
WARNING: Can't mass-assign protected attributes for IssueChecklist: is_done, subject
    lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in `each'
    lib/redmine/hook.rb:61:in `block in call_hook'
    lib/redmine/hook.rb:58:in `tap'
    lib/redmine/hook.rb:58:in `call_hook'
    lib/redmine/hook.rb:162:in `call_hook'
    app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
    app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
    app/controllers/issues_controller.rb:180:in `update'
Completed 500 Internal Server Error in 83ms (ActiveRecord: 19.7ms)

NoMethodError (undefined method `strip' for nil:NilClass):
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:162:in `call_hook'
  app/controllers/issues_controller.rb:478:in `block in save_issue_with_child_records'
  app/controllers/issues_controller.rb:467:in `save_issue_with_child_records'
  app/controllers/issues_controller.rb:180:in `update'

Error copying

scenario:
if i copy two or more issues and one of them have checklist inside it, then after i submit ("copy" button) then i'm redirected to a blank page.
p.s.: although the blank page, the copy is made.

If i delete the checklist from the issue and repeat the operation then it suceeds without errors.

warning: key :issue_c hecklist is duplicated and overwritten on line 24

Bundle complete! 31 Gemfile dependencies, 82 gems now installed.
Use bundle info [gemname] to see where a bundled gem is installed.

bundle exec rake redmine:plugins:migrate RAILS_ENV=production
/home/www/bugs/plugins/redmine_issue_checklist/init.rb:24: warning: key :issue_c hecklist is duplicated and overwritten on line 24
rake aborted!
NoMethodError: undefined method alias_method_chain' for Issue (call 'Issue.conn ection' to establish a connection):Class Did you mean? alias_method /home/www/bugs/plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patch es/issue_patch.rb:11:in block in included'
/home/www/bugs/plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patch es/issue_patch.rb:10:in class_eval' /home/www/bugs/plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patch es/issue_patch.rb:10:in included'
/home/www/bugs/plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patch es/issue_patch.rb:58:in include' /home/www/bugs/plugins/redmine_issue_checklist/lib/redmine_issue_checklist/patch es/issue_patch.rb:58:in <top (required)>'
/home/www/bugs/plugins/redmine_issue_checklist/lib/redmine_issue_checklist/redmi ne_issue_checklist.rb:5:in block in <top (required)>' /home/www/bugs/config/environment.rb:16:in <top (required)>'
/usr/local/bin/bundle:23:in load' /usr/local/bin/bundle:23:in

'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

support redmine 3.4?

rake db with error,
please check it.

[root@jira redmine-3.4]# bundle exec rake redmine:plugins:migrate  RAILS_ENV=production
rspec failed.
yard not installed (gem install yard)
/opt/redmine-3.4/plugins/redmine_issue_checklist/init.rb:24: warning: duplicated key at line 24 ignored: :issue_checklist
rake aborted!
LoadError: cannot load such file -- redcloth3

Feature request: Setting to disable history entries

Our team is managing tickets with up to 100 checklist entries. Every changed entry creates an entry in the history, resulting in a gigantic list (s. screenshot).

A setting to disable these history entries would be great.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.