Project

General

Profile

Knowledgebase Plugin

Added by Alex Bevilacqua about 14 years ago

Please don't report issues here; use https://github.com/alexbevi/redmine_knowledgebase

Where I work, there has been a need for a knowledgebase solution that was (a) robust, (b) integrated with our project management solution, and (c) ... free.

Since we use Redmine internally, it made sense to build this functionality on top of the existing platform. Most of what you can accomplish through a knowledgebase, you can accomplish through a wiki, but our users were looking for a hierarchical system that would track page views, rankings and be fully searchable.

The system I've written isn't really there yet, but it's a work in progress I'd like to present to the community on the off chance that someone else finds it useful.

There's still quite a bit to do, but open source development is more fun when done in the open :)


Replies (123)

RE: Knowledgebase Plugin - Added by Andrea Saccavini almost 13 years ago

Maria Leal wrote:

Sergey Belov wrote:

Alex Bevilacqua wrote:

Sergey Belov wrote:

Good news that you continue developing on this plugin.

Is it possible to integrate permissions ? I think you can make default permissions - like disable to everyone and then choose users who have access to this module.
I want to use this plugin but can't share some info with clients or other users

Permissions are the next feature I'm looking into (we need this at work too :P). I think I'm going to have to roll my own permissions module though as the core redmine permissions are too project-centric for what I'm trying to do.

Right, redmine permissions is project based so, you can just integrate simple permissions into your module.
Thanks for great plugin! Looking forward to use it :)

Hi,

I'm studying, using and evaluating Redmine and some plugins, like this one, for a short period. I have to say that I have never seem such a great management tool as this. I subscribed to Redmine project site to somehow help Redmine become better.

So, I came to share a little change in "init.rb" file of this Plugin - Knowledgedatabase. This little change work to limit non-members permissions to access this plugin. I don't know if this is the right way to do it, but it worked for me. I intend to improve and create a role to the Plugin, if I succeed I will be back and share with you.

All you have to do is to add this next text in the end of "menu" line in "init.rb" file:

",:if => Proc.new { User.current.logged? }"

The line will look like this:

menu :top_menu, :knowledgebase, { :controller => 'knowledgebase', :action => 'index'}, :caption => 'Knowledgedatabase', :if => Proc.new { User.current.logged? }

Thank you for the great Plugin!

Thanks for the patch!

RE: Knowledgebase Plugin - Added by Andrea Saccavini almost 13 years ago

Eraldo Girardi wrote:

My 2cent: italian translation

Updated ...

it.yml (1.16 KB) it.yml

RE: Knowledgebase Plugin - Added by Joshua Villagomez almost 13 years ago

Hi Luis, can you explain more about this fork? Did you build in the permissions for KB? We like the KB plugin, but would beneift in having permissions. I'd like to limit which users can create categories/articles. Thanks. - josh

RE: Knowledgebase Plugin - Added by Luis Serrano Aranda almost 13 years ago

The new permission configurable by role are:

View articles
Comment and rate articles
Create articles
Edit articles
Manage articles
Manage articles comments
Create article categories
Manage article categories

I think this option with the new version of the plugin redmine_xapian are a great solution to improve the redmine functionalities

RE: Knowledgebase Plugin - Added by Joshua Villagomez almost 13 years ago

This is exactly what we needed, thanks Luis. I'm going to try it. Permissions management for KBs makes it more enterprise capable. We've been enjoying the extended redmine_xapian search features with KBs too, so, very nice combo like you mention.

RE: Knowledgebase Plugin - Added by Alex Bevilacqua almost 13 years ago

Note that I've merged Martin's permissions branch into the main repo so everyone can enjoy his excellent contribution.

RE: Knowledgebase Plugin - Added by Terence Mill almost 13 years ago

A great feature for this plugin would be a WYSIWYG, like first steps are done on this thread. http://www.redmine.org/boards/3/topics/17852

As for many other plugins and for redmine core ittself the Redmine Start (Root) Page shows summaries of content and changes (like "new projects").
Here is the best place to show summary updates for newest Articles, Recently Updated Articles, most Popular Articles, and top Rated Articles.
Would be great also if one can configure which boxes to show there.

RE: Knowledgebase Plugin - Added by Terence Mill almost 13 years ago

Do you know if this generates redmine compatible textile and save it the same way as redmine does?
When stop using the plugin and switch back to redmine defaults editors, can i access and edit the ckeditors plugins text?
Will it relace the kb text editor as well?

RE: Knowledgebase Plugin - Added by Joshua Villagomez almost 13 years ago

Terrence, I tried ckeditor for a while. Though it was nice having a WYSIWYG editor, when I switched back, I had to re-edit all the wiki pages because it leaves behind all the html tags. It doesn't save it the way Redmine does. I toiled with the idea of giving our users a easy to use textile editor too, but concluded it was not worth the added effort of maintaining yet another plugin. The built-in textile is fine for us now, for simple wiki pages, issues, etc. However, I will be watching Peter's work (topic 17852) because it appears to be very promising. I feel though, it needs more developer attention.

RE: Knowledgebase Plugin - Added by Joshua Villagomez almost 13 years ago

Hi guys, I'm having trouble viewing the knowledgebase page. The assets are missing and formatting is terrible. Looking into it, found this in production.log:

ActionController::RoutingError (No route matches "/plugin_assets/redmine_knowledgebase/stylesheets/knowledgebase.css" with {:method=>:get}):
  /usr/lib/ruby/1.8/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
  /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:441:in `recognize'
  /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:436:in `call'
  /usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch'
  /usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call'
  /usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in `build_middleware_stack'
  /usr/lib/ruby/1.8/active_record/query_cache.rb:29:in `call'
  /usr/lib/ruby/1.8/active_record/query_cache.rb:29:in `call'
  /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
  /usr/lib/ruby/1.8/active_record/query_cache.rb:9:in `cache'
  /usr/lib/ruby/1.8/active_record/query_cache.rb:28:in `call'
  /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
  /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call'
  /usr/lib/ruby/1.8/rack/head.rb:9:in `call'
  /usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'
  /usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call'
  /usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:93:in `call'
  /usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call'
  /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
  /usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'
  /usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
  /usr/lib/ruby/1.8/action_controller/dispatcher.rb:106:in `call'
  /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:95: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

Rendering /usr/share/redmine/public/404.html (404 Not Found)

Also, the Apache2 log reports this

[11/May/2011:22:27:17 -0400] "GET /plugin_assets/redmine_knowledgebase/stylesheets/knowledgebase.css HTTP/1.1" 404 

So I think I'm having some kind of Apache issue here. 404 is file not found, but I know it's in the path.

I'm running Ubuntu LTS 10.04,MySQL,Apache with Passenger. Thanks.

RE: Knowledgebase Plugin - Added by Joshua Villagomez almost 13 years ago

Fixed it. My plugin_assets were missing from the /public directory. They were located at /var/cache/redmine/default/plugin_assets. i created a symbolic link, and that took care of it.

RE: Knowledgebase Plugin - Added by Alex Bevilacqua almost 13 years ago

Released v0.3.1 today. Mostly fixes and cleanup :)

RE: Knowledgebase Plugin - Added by Ken Chan almost 13 years ago

Hi Alex, I have some problem after installing knowledgebase into Redmine. My default page has become the log-on page. Can I change my default page back to my home page?

Permission are only to Admin - Added by sachin sharma almost 13 years ago

Hi in my case,
Only the Admin is allowed to add comments to the articles.
any Idea? what could have gone wrong.

RE: Knowledgebase Plugin - Added by sachin sharma almost 13 years ago

Hi in my case,
Only the Admin is allowed to add comments to the articles.
any Idea? what could have gone wrong.

Luis Serrano Aranda wrote:

The new permission configurable by role are:

View articles
Comment and rate articles
Create articles
Edit articles
Manage articles
Manage articles comments
Create article categories
Manage article categories

I think this option with the new version of the plugin redmine_xapian are a great solution to improve the redmine functionalities

RE: Knowledgebase Plugin - Added by Christian Eickhoff almost 13 years ago

Hi,

is it possible to link/include KB Articles into Project Wikis?

RE: Knowledgebase Plugin - Added by Francesco Filippi almost 13 years ago

Hi Alex,

I think it's a great project the integration with knowledbase. I'm starting to use this plugin in my MBS thesis in a company. My boss ask me if the search will come soon because he is very interested too.

Do you think you can add this function in the next release?

Thank you so much.

Francesco

RE: Knowledgebase Plugin - Added by Tuxzilla Tuxzilla over 12 years ago

I installed the knowledgebase plugin. But it seems only the administrator can see it, other users don't see a Knowledgebase header at all, and get unauthorized error when accessing the kb urls. What is the default permission setting, and where can I set the permissions? Thanks.

RE: Knowledgebase Plugin - Added by Joshua Villagomez over 12 years ago

Hi,

Just go to the admin page, under roles assign permissions to your users. You can set view rights to non members at least and it should work.

RE: Knowledgebase Plugin - Added by Erik Hetenyi over 12 years ago

I've tried to update my knowledgebase plugin but I get this error:

Processing KnowledgebaseController#index (for 10.97.12.202 at 2011-08-01 12:20:22) [GET]
Parameters: {"action"=>"index", "controller"=>"knowledgebase"}

NoMethodError (undefined method `count' for #<Array:0xb5457a30>):
vendor/plugins/redmine_knowledgebase/app/controllers/knowledgebase_controller.rb:24:in `index'
passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /var/www/redmine-1.2.1/public/500.html (500 Internal Server Error)

Any Idea what is the problem?

RE: Knowledgebase Plugin - Added by Tammo Tjarks over 12 years ago

Hello,
it is only a wild guess, but it could be that the knowledge base plugin is developed for/with ruby 1.9.2. There exist a methode
count for Array. In the Version 1.8.6 not.

RE: Knowledgebase Plugin - Added by Erik Hetenyi over 12 years ago

Tammo Tjarks wrote:

Hello,
it is only a wild guess, but it could be that the knowledge base plugin is developed for/with ruby 1.9.2. There exist a methode
count for Array. In the Version 1.8.6 not.

Hello

Yep, I've found the same solution for that.. an update was necessary to ruby 1.8.7

but, thanks for the answer!

Regards
Erik

RE: Knowledgebase Plugin - Added by Mario Luzeiro over 12 years ago

How do I link to "knowledgebase" article from a wiki page?

(76-100/123)