Giter Club home page Giter Club logo

redmine_issue_dynamic_edit's Introduction

✨ redmine_issue_dynamic_edit

Add new elements on detailed issue page to dynamically update issue's attributes and custom fields, directly in the details block of the issue without any page refresh (JIRA style).

🔴 What info you should provide when opening an issue

Please list your installed plugins and the Redmine version you use. Note that I can't fix every issue when you have conflict with an other plugin that also edit the page.

This plugin use JS a lot. Check your JS console from your web browser ( HowTo ) and try again to reproduce your issue. You'll see some information about what goes wrong.

Copy and paste the result that appears in your console in the Github issue and expand all possible object (error data for example). With this data, we can look if there's a problem with the ajax call the plugin performs to update the issue or if there's any JS error.

🔎 Example

Gif that represents dynamic edition of field from the detailled issue's view

📦 Installation

  • If you update the plugin, be sure to save your configuration modification (assets/javascripts/issue_dynamic_edit_configuration_file.js) in a safe place to set them back after the update
  • Clone repo into plugins directory : git clone https://github.com/Ilogeek/redmine_issue_dynamic_edit.git (be sure that the parent folder is called redmine_issue_dynamic_edit)
  • Restart your Redmine instance

⚙ Configuration (new since v 0.6.6)

You can set some settings by editing the file assets/javascripts/issue_dynamic_edit_configuration_file.js. Inside this file you'll find different variable :

  • _CONF_FORCE_HTTPS : Will force AJAX call performed by the plugin to be done with https protocol. Use this value if you encounter some difficulties with "Mixed content" issues
  • _CONF_DISPLAY_EDIT_ICON : Choose if hovering the details block will display all the pencil icons next to editable values or if the user has to hover every value to check if (s)he can edit it. Allowed value : single, block
  • _CONF_LISTENER_TYPE_VALUE : Choose which action will trigger the apparition of the edition block when fired from the current value. Allowed value : none, click, dblclick
  • _CONF_LISTENER_TYPE_ICON : Choose which action will trigger the apparition of the edition block when fired from the pencil icon (by default: same as _CONF_LISTENER_TYPE_VALUE). Allowed value : none, click, dblclick
  • _CONF_LISTENER_TARGET : Choose which area will trigger the apparition of the edition block
  • _CONF_EXCLUDED_FIELD_ID : Choose which fields to exclude. They won't have the edit block and pencil. Eg: TitleInput, DescriptionInput, statusListDropdown ...
  • _CONF_CHECK_ISSUE_UPDATE_CONFLICT : Choose if you allow current user to override all modifications performed by other users while editing the issue

🎨 Customization

Feel free to edit assets/stylesheets/issue_dynamic_edit.css to update the look of your fields depending on your current Redmine Theme.

🆕 Changelog

  • v 0.9.2 : JSToolbar fixed (#100)
  • v 0.9.1 : Check version improved (avoiding update conflicts) : using Redmine REST API and disabling check when tab is not focused (#97)
  • v 0.9.0 : JS rewritten to remove jQuery code
  • v 0.8.1 : fixed Github issue #89 : Issue version check (AJAX call) may give glitch while editing text + disable global event listener on ajaxSend
  • v 0.8.0 : Complete rework. Compatible with last Redmine version. New settings added : _CONF_CHECK_ISSUE_UPDATE_CONFLICT (#70 #88). Removed external lib (FontAwesome) (#74). Mobile style added (#87). Print style added (#84). Bug fix (#79, #85)
  • v 0.7.2 : New settings added into config file (_CONF_DISPLAY_EDIT_ICON and _CONF_LISTENER_TYPE_ICON) see Configuration part for more info ; new event none for _CONF_LISTENER_TYPE_VALUE disabling listener on value ; css fix
  • v 0.7.1 : Fixed incorrect DOM structure if user has read only access to the issue (#61 #64)
  • v 0.7.0 : Category filter by project added (#55) and prevent dialog closing when using fa-pencil selector (#59)
  • v 0.6.9 : Category field support (Github request #54)
  • v 0.6.8 : Checkboxes custom fields fixed (#53)
  • v 0.6.7 : fixed Github issue #46 : text field focus issue
  • v 0.6.6 : New configuration file + Multiple fixes (#30 #31 #35 #36 #37 #38 #41)
  • v 0.6.5 : Checklists plugin support (and all other plugins that compute fields when there's an issue update) (Github requests #26 and #28) + custom url support (Github request #29)
  • v 0.6.4 : version field with checkbox display is now supported, Target version and Assignee fields are also supported (Github request #24)
  • v 0.6.3 : fixed Github issue #22 : DatepickerFallback raised an error
  • v 0.6.2 : fixed Github issue #22 : long description is now supported (no more 414 errors)
  • v 0.6.1 : fixed Github issue #20
  • v 0.6.0 : NOW WITH CUSTOM FIELDS SUPPORT ! (Github #19)
  • v 0.5.0 : fixed Github issue #18 : textarea fixed (jstoolbar or ckeditor)
  • v 0.4.9 : fixed Github issue #17 : Datepicker fallback added for date fields
  • v 0.4.8 : fixed Github issues #15 and #16
  • v 0.4.7 : if error on dynamic update, put back old values in details block (fixed Github issue #8)
  • v 0.4.6 : description is now dynamically editable (edit field appears if there's already a description written) (Github request #14)
  • v 0.4.5 : fixed Github issue #13 : CSS display for custom attributes, added Title dynamic edition (Github request #14)
  • v 0.4.4 : fixed Github issues #6, #12 : User can't update status until all required field are filled for this step of the issue
  • v 0.4.3 : partially fixed Github issue #12 : Read only attributes can't be edited anymore. Dynamic refresh for read only attributes when status changes
  • v 0.4.2 : fixed Github issue #10 : History list updated after modification
  • v 0.4.1 : fixed Github issue #7 : update status list to follow Redmine workflow
  • v 0.4.0 : fixed Github issues #2, #4, #9. Edited dropdown display
  • v 0.3.0 : start date, due date, ratio and estimated time fields are now dynamically editable. Translation files added (en, fr). Log added in console when AJAX fails
  • v 0.2.0 : fixed "conflict" when trying to add a note after an update from dropdowns. New method used, REST API is not required anymore
  • v 0.1.0 : initial commit

redmine_issue_dynamic_edit's People

Contributors

dosyfier avatar ilogeek avatar koledas avatar pflaeging avatar utopism avatar vsc55 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  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

redmine_issue_dynamic_edit's Issues

custom fileds with fields permissions support

first of all, thank you so much for develop this useful plugin!
however, our work team force me to use fields permissions to behave our developers.
here is the screenshot of the problem.
屏幕快照 2019-04-10 上午11 37 31
屏幕快照 2019-04-10 上午11 44 57
Is there any possibilities to solve this problems?
Thank you again for reading this issue!

HTTPS request getting a Mixed Content error.

Hello,

I'm using Redmine 3.4 with jQuery 1.11.1 on a Bitnami instance, Windows Server 2019. I installed the plugin and set the _CONF_FORCE_HTTPS = true parameter on the configuration file, but accessing by https I still receive the error:

Mixed Content: The page at 'https://../issues/7501?issue_count=11&issue_position=1&next_issue_id=6028' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://../issues/7501?issue_count=11&issue_position=1&next_issue_id=6028'. This request has been blocked; the content must be served over HTTPS. -------- Error while updating the issue attribute dynamically -------- issue_dynamic_edit.js?1562175326:389 xhr data: [...]

I tried to print the LOCATION_HREF variable (it contains the correct https URL) and tweak the $.ajax calls like this:

	    type: 'POST',
	    url: 'https://' + (
			typeof custom_location_href !== 'undefined' 
			? custom_location_href.split('://')[1]  
			: window.location.href.split('://')[1] 
		) + '/',
	    data: formData,

But I still receive the same error, it's like the ajax calls are somehow being edited from https to http.
Could anyone help me and indicate how to fix this issue?

edit:

it appears that while the $.ajax() url is given correctly, the issue is caused by the response headers to the POST request, but i'm still unable to solve the issue:

Location | http://website…sue_id=4204&prev_issue_id=5667

Thanks in advance.

Redmine. Error 404 - No route matches [GET] "/issues/304/quoted"

After install this plugin, I can't use Quote (in Issue detail page), click but no response
I open link of Quote to new tab, it show that: Redmine. Error 404 - No route matches [GET] "/issues/304/quoted"
Please check this case, thanks !

Environment:
Redmine version 3.1.1.stable
Ruby version 2.0.0-p645 (2015-04-13) [i386-mingw32]
Rails version 4.2.4
Environment production
Database adapter Mysql2

При редактировании описания не подгружает в окно редактирования CKEditor plugin

При редактировании описания задачи не подгружает в окно редактирования CKEditor.

Т.е.

image

Если нажать предварительно редактировать что то изменить, а потом редактировать описание то окно будет таким
image

Хотелось чтобы второе окно срабатывало всегда и отрабатывала логика нажатия кнопок

Middle clicking field with scroll wheel opens new tab, but also the edit box

Description

When clicking with the scroll wheel on a field which is also a link the edit box opens (e.g. the user name).

Expected behaviour

This should only result in a new tab opening.

Actual behaviour

A new tab opens and the edit box opens.

Reproduce

  1. Create new issue
  2. Click with scroll wheel on user name

Console output

None

Client

  • Debian Buster
  • Firefox 63.0.3

Server

  • Ubuntu LTS 18_04
Environment:
  Redmine version                3.4.4.stable
  Ruby version                   2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
  Rails version                  4.2.10
  Environment                    production
  Database adapter               SQLite
SCM:
  Git                            2.17.1
  Filesystem                     
Redmine plugins:
  a_common_libs                  2.4.0
  collapsed_journals             0.0.3
  custom_menu                    1.8.3
  readme_at_repositories         0.3.0
  redmine_agile                  1.4.6
  redmine_base_deface            0.0.1
  redmine_base_stimulusjs        1.0.1
  redmine_checklists             3.1.11
  redmine_custom_css             0.1.7
  redmine_impersonate            1.0.0
  redmine_issue_dynamic_edit     0.6.3
  redmine_lightbox2              0.4.3
  redmine_messenger              1.0.2
  redmine_multiprojects_issue    3.4.5
  redmine_shady                  0.6.0
  usability                      2.3.3

When using "Default Assignee Plugin" Dynamic Editing that issue changes the assignee.

First, please allow me to thank you for the great work 💪.

I think this is a bug, with Dynamic Edit, if you use also the Default Assignee Plugin (https://github.com/ozguryazilimas/redmine_default_assignee) whenever you use dynamic edit to edit an issue then the assignee will be changed to the assignee from the default assignee.
Please find a screen recording reproducing that issue: https://vimeo.com/323090052

Cheers,
Dardan

broken description field

My Redmine version is 3.3.3

After installing this plugin, The description field was broken below the capture.

image

I guess this problem is this stylesheet. But I can't find a probrem point.

Thanks.

404 for /plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js

And the issue is same of no plugin installed.

Started GET "/plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js" for 192.168.1.34 at 2018-08-10 13:40:38 +0200

ActionController::RoutingError (No route matches [GET] "/plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js"):
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:38:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `block in tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:26:in `tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `tagged'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `call'
  /usr/lib/ruby/vendor_ruby/request_store/middleware.rb:9:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:22:in `call'
  /usr/lib/ruby/vendor_ruby/rack/runtime.rb:18:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/static.rb:120:in `call'
  /usr/lib/ruby/vendor_ruby/rack/content_length.rb:15:in `call'
  /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:113:in `call'
  /usr/lib/ruby/vendor_ruby/rails/engine.rb:518:in `call'
  /usr/lib/ruby/vendor_ruby/rails/application.rb:165:in `call'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `public_send'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `method_missing'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'

issuse Edit status get JSeror

in console:

jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js:4
issue_dynamic_edit.js:238 -------- Error while updating the issue attribute dynamically --------
issue_dynamic_edit.js:239 xhr data:
issue_dynamic_edit.js:240 Object
issue_dynamic_edit.js:241 msg data:
issue_dynamic_edit.js:242 error
issue_dynamic_edit.js:243 error data:
issue_dynamic_edit.js:244 DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://redmine.vilnius.lt/issues/bulk_update?back_url=%2Fissues%2F6735&ids%5B%5D=6735&issue%5Bstatus_id%5D=5'.
at Object.send (https://redmine.vilnius.lt/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js:4:25549)
at Function.ajax (https://redmine.vilnius.lt/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js:4:21302)
at issueDynamicUpdate (https://redmine.vilnius.lt/plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js:150:9)
at HTMLSelectElement. (https://redmine.vilnius.lt/plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js:259:3)
at HTMLSelectElement.dispatch (https://redmine.vilnius.lt/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js:3:8436)
at HTMLSelectElement.r.handle (https://redmine.vilnius.lt/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js:3:5139)
issue_dynamic_edit.js:245 ----------------------------------------------------------

Using this plug-in with "Checklists plugin (Light version)"

First of all, Thanks of all,,

When I use this plug-in with Checklists plugin (Light version),
It has the little issue for editing the description.
The 'enter' key mode can change to "p" or "br" mode in Checklists plugin (Light version).
But, this plug-in supports only "p" mode.
How can I change the mode to 'br" mode?

Thanks,

Issue Saving Edits

First let me say, great plugin. This is a super big help.

I am having an issue saving any inline edits. Per attached 001 image, I make my edits in the adjustable text field, but the "green check" will not save the work.

Now, if i am only editing one line, as in attached 002 image, i can hit "enter" and save the work.

This is an install on a CentOS7 VM, and I have attached my environment details below.

I'm all ears if anyone has any ideas.

Thanks again for the great plugin!

Redmine 4.0.4.stable

Environment:
Redmine version 4.0.4.stable
Ruby version 2.6.3-p62 (2019-04-16) [x86_64-linux]
Rails version 5.2.3
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 1.8.3.1
Filesystem
Redmine plugins:
easy_instant_messages 2016
easy_mindmup 1.0
easy_wbs 1.5
redhopper 2.0.0
redmine_agile 1.4.12
redmine_base_deface 1.3.2
redmine_base_stimulusjs 1.0.1
redmine_checklists 3.1.16
redmine_ckeditor 1.2.2
redmine_home_page_redirector 1.0.0
redmine_issue_badge 0.1.0
redmine_issue_dynamic_edit 0.6.7
redmine_issue_templates 0.3.5
redmine_issue_todo_lists 1.3
redmine_issue_view_columns 1.0.1
redmine_issues_hub 0.0.2
redmine_issues_tree 0.0.13
redmine_mapping_board 0.7.0
redmine_messenger 1.0.5
redmine_multiprojects_issue 4.0.0
redmine_percent_done 1.1.0
redmine_project_alias_2 1.1.1
redmine_smile_togglesidebar 1.0.6

Edit Not Saving 001
Edit Not Saving 002

Request - Integration with Quick View plugin

I'm sorry but I don't know how to open a request, so I'm submitting an issue.

I really enjoy and use your plugin a lot, and I have an improvement idea for it, that would improve Redmine's productivity a lot.

Is it possible to make it to work with Quick View plugin, allowing to edit fields directly in the pop up window provided by Quick View plugin?

Thank you

It could cause a bug, If I use dynamic edit change the status

Hi llogeek,

I use redmine docker image (redmine:3.4.6-passenger) to manage my ML project processes and also add your plugin to my redmine.
But I can reproduce this bug every time and that the rich text button area to disappear.
I record in below gif animation to show how to present this problem.
Hope it can help you to solve.

traindinorun

Issue with text fields

Hi,

first of all congratulations for a nice plugin.

The plugin (last version) is working properly in my Redmine except for the text fields (default and custom fields). It shows the pencil and you can access the pop-up but just aren't able to change the value. The cursor disappears from the popup and you can't modify the text.

This happens with any theme and any Redmine version with different plugins. Do you know what can be causing this?

Thanks in advance for your help!

dynamic category change does not work

Good afternoon, dynamic category change does not work.

Redmine version 3.4.12.stable
Ruby version 2.4.9-p362 (2019-10-02) [x86_64-linux]
Rails version 4.2.11.1
redmine_issue_dynamic_edit 0.6.8

Loading...

Just upgraded to newest version and found any time I make a dynamic change, the loading progress popup just goes and goes and goes and never goes away. I refresh and/or hit back and find that the change was made.

dynamic_edit_error
redmine_versions

Tested behavior in IE, Firefox and Chrome.

Page doesn't get refreshed and gets stuck in the Loading process.

Hi @Ilogeek,

My redmine version: 3.4.3

When I try to edit any field, the field updates only when the page is refreshed after edit. The page load event needs to be added after each update or there seems to be some bug because when I edit the field
the page shows

loading

and then doesn't display the updated page untill I refresh that page.

image

Please look into its solution.

configure field for no dynamic_edit

Hi, it would be a nice configuration feature if one could deselect some fields dynamic_edit ...
For example, no dynamic edit for the issue_description and comment text ...

thanks for your plugin ... I like it

Checkbox input not working correctly with List or Key/value list

When I have a custom field with a List type or "Key/value list" type, "Checkbox" input, and the input control that shows up is not correct. Instead of showing a list of values with checkboxes beside them, this plugin instead shows a single checkbox in the pop-up, with no values listed.

edit error, please help to check it.

@Ilogeek ,

edit error, please help to check it.

logs

An ActionView::Template::Error occurred in issues#show:
 
  undefined method `<<' for nil:NilClass
  plugins/redmine_issue_dynamic_edit/lib/details_issue_hooks.rb:129:in `view_issues_show_details_bottom'
 
 
-------------------------------
Request:
-------------------------------
 
* URL : http://192.168.1.41/issues/10329
  * HTTP Method: GET
  * IP address : 192.168.60.249
  * Parameters : {"controller"=>"issues", "action"=>"show", "id"=>"10329"}
  * Timestamp  : 2017-08-28 07:39:11 UTC
  * Server : jira
  * Rails root : /opt/redmine-3.3
  * Process: 17144
 
-------------------------------
Session:
-------------------------------
 
  * session id: nil
  * data: {}
 
-------------------------------
Environment:
-------------------------------
 
  * GATEWAY_INTERFACE                              : CGI/1.2
  * HTTP_ACCEPT                                    : text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  * HTTP_ACCEPT_ENCODING                           : gzip, deflate, sdch
  * HTTP_ACCEPT_LANGUAGE                           : zh-CN,zh;q=0.8
  * HTTP_CONNECTION                                : keep-alive
  * HTTP_HOST                                      : 192.168.1.41
  * HTTP_UPGRADE_INSECURE_REQUESTS                 : 1
  * HTTP_USER_AGENT                                : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
  * HTTP_VERSION                                   : HTTP/1.1
  * ORIGINAL_FULLPATH                              : /issues/10329
  * ORIGINAL_SCRIPT_NAME                           :
  * PATH_INFO                                      : /issues/10329
  * QUERY_STRING                                   :
  * REMOTE_ADDR                                    : 192.168.60.249
  * REQUEST_METHOD                                 : GET
  * REQUEST_PATH                                   : /issues/10329
  * REQUEST_URI                                    : /issues/10329
  * ROUTES_44094180_SCRIPT_NAME                    :
  * SCRIPT_NAME                                    :
  * SERVER_NAME                                    : 192.168.1.41
  * SERVER_PORT                                    : 80
  * SERVER_PROTOCOL                                : HTTP/1.1
  * SERVER_SOFTWARE                                : thin 1.7.0 codename Dunder Mifflin
  * action_controller.instance                     : #<IssuesController:0x007fde3d9f1f50>
  * action_dispatch.backtrace_cleaner              : #<Rails::BacktraceCleaner:0x00000001abff08>
  * action_dispatch.cookies                        : #<ActionDispatch::Cookies::CookieJar:0x007fde3dbaa220>
  * action_dispatch.cookies_digest                 :
  * action_dispatch.cookies_serializer             :
  * action_dispatch.encrypted_cookie_salt          : encrypted cookie
  * action_dispatch.encrypted_signed_cookie_salt   : signed encrypted cookie
  * action_dispatch.http_auth_salt                 : http authentication
  * action_dispatch.key_generator                  : #<ActiveSupport::CachingKeyGenerator:0x0000000a66e928>
  * action_dispatch.logger                         : #<ActiveSupport::Logger:0x000000053e73a8>
  * action_dispatch.parameter_filter               : [:password]
  * action_dispatch.redirect_filter                : []
  * action_dispatch.remote_ip                      : 192.168.60.249
  * action_dispatch.request.content_type           :
  * action_dispatch.request.formats                : [#<Mime::Type:0x00000004171f70 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=1358787599226879765>]
  * action_dispatch.request.parameters             : {"controller"=>"issues", "action"=>"show", "id"=>"10329"}
  * action_dispatch.request.path_parameters        : {:controller=>"issues", :action=>"show", :id=>"10329"}
  * action_dispatch.request.query_parameters       : {}
  * action_dispatch.request.request_parameters     : {}
  * action_dispatch.request.unsigned_session_cookie: {}
  * action_dispatch.request_id                     : c2a109bc-4317-4a40-a143-23418bb3df89
  * action_dispatch.routes                         : #<ActionDispatch::Routing::RouteSet:0x0000000541a5c8>
  * action_dispatch.secret_key_base                : 59dda17a42803617f96151518b9aeecb94e132c6f140123f1982e1c8ae15d0103ffa854c4d8b0019
  * action_dispatch.secret_token                   :
  * action_dispatch.show_detailed_exceptions       : false
  * action_dispatch.show_exceptions                : true
  * action_dispatch.signed_cookie_salt             : signed cookie
  * async.callback                                 : #<Method: Thin::Connection#post_process>
  * async.close                                    : #<EventMachine::DefaultDeferrable:0x007fde3dab08b0>
  * rack.errors                                    : #<IO:0x00000000c25588>
  * rack.input                                     : #<StringIO:0x007fde3dab13c8>
  * rack.multiprocess                              : false
  * rack.multithread                               : true
  * rack.request.cookie_hash                       : {}
  * rack.request.query_hash                        : {}
  * rack.request.query_string                      :
  * rack.run_once                                  : false
  * rack.session                                   : #<ActionDispatch::Request::Session:0x007fde3da3d4f0>
  * rack.session.options                           : #<ActionDispatch::Request::Session::Options:0x007fde3da3d4a0>
  * rack.url_scheme                                : http
  * rack.version                                   : [1, 0]
 
-------------------------------
Backtrace:
-------------------------------
 
  plugins/redmine_issue_dynamic_edit/lib/details_issue_hooks.rb:129:in `view_issues_show_details_bottom'
  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:96:in `call_hook'
  plugins/redmine_workflow_hidden_fields/app/views/issues/show.html.erb:122:in `_443f56b6486a06f248042bb6cccebbb3'
  plugins/redmine_spent_time_in_issue_description/lib/issues_controller_patch.rb:36:in `block (2 levels) in show_with_plugin'
  plugins/redmine_spent_time_in_issue_description/lib/issues_controller_patch.rb:33:in `show_with_plugin'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Available statuses are not reloaded after status change

'Workflow - Status transitions' configuration doesn't allow to change from status 'In Progress' to status 'Resolved'. Status 'Resolved' only available from status 'Testing'.

After status changed from 'In Progress' to 'Testing' status 'Resolved' still unavailable.
Refreshing page shows correct statuses for choice.

temporarily switch off

Hello,

is it possible to insert a switch, where users can switch off the dynamic edit.
Our users often use the copy/paste function. In this case dynamic edit is disturbing.

Thank you

i have dublicate button "assignet to"

hi @Ilogeek. thank you for great work

i have dublicate not clickable edit icon "assignet to". any idea why this is happening? http://supps.ru/temp/bug1.gif

Environment:
Redmine version 3.4.7.stable.17764
Ruby version 2.5.3-p105 (2018-10-18) [x86_64-linux]
Rails version 4.2.11
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.3
Git 2.7.4
Filesystem
Redmine plugins:
bestest_timer 1.2.0
redmine_banner 0.1.2
redmine_checklists 3.1.11
redmine_ckeditor 1.1.5
redmine_issue_badge 0.0.6
redmine_issue_dynamic_edit 0.6.5
redmine_lightbox2 0.4.3
redmine_recurring_tasks 0.2.3

bug: 414 Request-URI Too Long

Hello.
After editing a field (for example 'description') with a lot of text 414 error appear.

414 Request-URI Too Long
The requested URL's length exceeds the capacity
limit for this server.

Plugin last commit is e742866
Plugin version | 0.6.1
Server | Apache/2.4.18 (Ubuntu)
Redmine | 3.2.3.stable
Ruby | 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails | 4.2.8
Database adapter | SQLite
User-Agent | Mozilla/5.0 (X11; Ubuntu; Linu…) Gecko/20100101 Firefox/58.0

Redmine 3.4.1 - 500 error on version from 17/08/2017

Completed 500 Internal Server Error in 419ms (ActiveRecord: 72.7ms)

ActionView::Template::Error (undefined local variable or method userCanChangeStatus' for #<DetailsIssueHooks:0x8fbe738 @_routes=nil>): 72: end 73: end %> 74: <%= render_half_width_custom_fields_rows(@issue) %> 75: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %> 76: </div> 77: 78: <% if @issue.description? || @issue.attachments.any? -%> plugins/redmine_issue_dynamic_edit/lib/details_issue_hooks.rb:29:in view_issues_show_details_bottom'
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:96:in call_hook'
app/views/issues/show.html.erb:75:in _d2a7fe4a32eda7c9a191fa25c12bd6fb' plugins/advanced_roadmap/lib/advanced_roadmap/issues_controller_patch.rb:28:in render'
app/controllers/issues_controller.rb:106:in block (2 levels) in show' app/controllers/issues_controller.rb:99:in show'

Not following "Field permissions" in workflow

You can change a "read-only" field which after refresh returns to original value, but dynamic change is shown as accepted.

To reproduce:
Set "Read only" For "%Done" in "New" Status.
Create an issue (keep status as "New" for next steps)
If you edit it in classic way (via "Edit" link) there is no "%Done" field at all.
But if you view the issue page you can still edit "%Done" to any value dynamically and it shows OK for change, but if you refresh the page it goes back to 0%

Enhancement to edit custom fields

I like this plugin very much, however I am dealing with many custom fields in my issues.
Do you plan to add support for these, too?

all categories of redmine are shown

Dynamic category change includes all categories from all redmine. Most likely they will not check whether the categories belong to the project.

dynamic field
image
field when editing
image

JS Error on Redmine 3.4.7

This error occurs when you create a new issue or In-line Click Edit:
image
image
image

System Info:
Environment:
Redmine version 3.4.7.stable
Ruby version 2.4.5-p335 (2018-10-18) [x86_64-linux]
Rails version 4.2.11
Environment test
Database adapter PostgreSQL
SCM:
Subversion 1.7.14
Mercurial 2.6.2
Git 1.8.3.1
Filesystem

Mixed content - requests are blocked

I've installed the plugin but it seems it doesn't work under https:

Mixed Content: The page at 'https://redmine.org/issues/12284' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://redmine.org/issues/12284?issue_count=22&issue_position=1&next_issue_id=12245'. This request has been blocked; the content must be served over HTTPS.
issue_dynamic_edit.js:345  -------- Error while updating the issue attribute dynamically -------- 
issue_dynamic_edit.js:346  xhr data: 
issue_dynamic_edit.js:347 {readyState: 0, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}
issue_dynamic_edit.js:348  msg data: 
issue_dynamic_edit.js:349 error
issue_dynamic_edit.js:350  error data: 
issue_dynamic_edit.js:351 
issue_dynamic_edit.js:352  ---------------------------------------------------------- 

LOCATION_HREF

"https://redmine.org/issues/12284"

Hey there!

Hi

Nice plugin, I'm surprised that it didn't exist before: the only thing that I preferred in JIRA over Redmine!

just one comment about the style: I find it neater when the pencil is not displayed. I've overriden your CSS like this:

.value .dynamicEditSelect .selectedValue {
  display: none;
}
.value .dynamicEditSelect select {
  padding-right: 15px;
}

your choice of course, but it's neater

I noticed that it doesn't work on my installation for assignees, whereas I see it in your video demo

And do you think it would be hard to extend to all fields? Not only status, priority and assignee?

Thanks for the good work!

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.