Questions tagged [redmine-plugins]

Redmine is a flexible project management web application written using Ruby on Rails framework.

http://www.redmine.org/projects/redmine/wiki/Features

377 questions
0
votes
1 answer

ajax rendering from redmine view hook

I new in rails. I trying to write redmine plugin to extend sidebar with chat. Hook works with static data. How to pass data? generated by controller? I have simple controller and list.js.erb $('#chat-plugin-messages').empty().append("
    <%= j…
eri
  • 3,133
  • 1
  • 23
  • 35
0
votes
1 answer

How to access checkbox value through a Controller Hook of Redmine

I'm creating a controller hook of my issues_controller on Redmine. I followed this tutorial. The question is I couldn't access the checkbox (That I created through a hook on view page) value to set my controller variable. Follow my…
kamusett
  • 1,403
  • 1
  • 12
  • 22
0
votes
1 answer

How to call a controller function from javascript using ajax

Hello I'm trying to call a function that I wrote on my controller from my javascript as result of an action when I click on a button. I followed that thread but it's not worked at all. When I click on the button I get the error listed…
kamusett
  • 1,403
  • 1
  • 12
  • 22
0
votes
2 answers

How to use before_filter inside a core modification in Redmine

I've created a plugin on redmine which modifies the core of RepositoryControler. I've added a patch with new function inside this controller and I can call this function based on role permissions. But to set up correctly the permissions I need to…
kamusett
  • 1,403
  • 1
  • 12
  • 22
0
votes
1 answer

redmine adding subview to project page

I have created plugin for redmine that displays issues with some additional info. Plugin works ok. Now i want this information to be shown on project page under issues summary. ive read this article http://www.redmine.org/boards/3/topics/33949 and…
AlexS
  • 927
  • 4
  • 16
  • 29
0
votes
1 answer

What's the difference between sending :include to class and directly defining method in second class definition?

Recently I had to add a method to Redmine's core class. I was unable to use inheritance, so I've done something like this: require_dependency 'time_entry_query' class TimeEntryQuery < Query def my_new_method(foo, bar) end end and it works…
yeputons
  • 8,478
  • 34
  • 67
0
votes
1 answer

Redmine: extend controller action in plugin

Need some help in plugin development. I've created hook in user/edit form view, added ballance_amount to form and have "ballance_amount"=>"1". How can I extend default update action in user controller? In base.class_eval do I've added…
Oleg Pasko
  • 2,831
  • 5
  • 35
  • 44
0
votes
1 answer

Redmine - Project specific development

While modifying redmine, I stuck on that part: To hide the menu link "Activity" from a specific project. My first try was that: lib/redmine.rb - Line 239 menu.push :activity, { :controller => 'activities', :action => 'index' }, :if => Proc.new…
Peter
  • 394
  • 7
  • 20
0
votes
1 answer

redmine-my-widgets-plugin not working on redmine 2.3.0

The following is the repository for redmine. https://github.com/redmine/redmine And the following is the repository for redmine-my-widgets-plugin if we look at the file structure…
user2406618
  • 144
  • 1
  • 2
  • 12
0
votes
1 answer

Opening an existing class in Redmine Plugin file

I'm writing a plugin on Redmine. I want to add a new method inside a existing controller of Redmine. The controller name is Repositories. I wrote in repositories.rb the following code: class RepositoriesController < ApplicationController def…
kamusett
  • 1,403
  • 1
  • 12
  • 22
0
votes
1 answer

Implement plugin specific settings in Redmine

I'm developing a plugin for Redmine and encountered an issue of how to implement plugin specific settings in Redmine in the most neat way. Is it possible to have a plugin specific settings in {redmine_home}/plugin/{my_plugin}/config/settings.yml…
yaromir
  • 378
  • 7
  • 17
0
votes
1 answer

How to fetch additional information with REST api in redmine

I have two servers with redmine. One of them should be able to fetch information from the other one. I use REST API for it, but I can't get all information with it. I use it like this: addr = "https://www.redmine.com/issues/" + params[:my_id] +…
0
votes
1 answer

How to pass params using remote_to_function in rails

I'm writing a plugin for my redmine and I need to pass a param from my view to my controller. I'm trying to pass the param @repository.url which already exists on my erb.html file. Bellow are the code which I'm trying to work. Please, what am I…
kamusett
  • 1,403
  • 1
  • 12
  • 22
0
votes
1 answer

Redmine: Advanced Roadmap plugin Observe_field error

I have installed Advanced Roadmap plugin on redmine project. After Installation if I try to create a new milestone, following error is thrown: ActionView::Template::Error (undefined method `observe_field' for # The form partial is as follows…
user2406618
  • 144
  • 1
  • 2
  • 12
0
votes
1 answer

redmine example conf

ruby script/rails server webrick -e production with no error, all run but redmine>admin>plugins>redmine_git_plugins>configure 500 internal error apache > redmine.conf LoadModule passenger_module /usr/lib/ruby/gems/1.9.1/gems/passenger …
kypdk
  • 49
  • 6