Knowledgebase Plugin

Added by Alex Bevilacqua almost 8 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 :)

ss01.png (30.1 KB)

ss02.png (66.8 KB)

ss03.png (22.7 KB)

Replies (123)

RE: Knowledgebase Plugin - Added by Sergey Belov over 7 years ago

Did you integrate permission settings? I want to give access to view/edit/add only to some people, not everyone

RE: Knowledgebase Plugin - Added by Francesco Trigger over 7 years ago

Yes, that would be perfect, a search function in the knowledge base and a permission option for users/groups.

Keep up the superb work!

RE: Knowledgebase Plugin - Added by Alex Bevilacqua over 7 years ago

Francesco Trigger wrote:

Yes, that would be perfect, a search function in the knowledge base and a permission option for users/groups.

Keep up the superb work!

I'm thinking I may have to roll my own permission workflow because I can't take advantage of the built-in permissions since kb items don't "belong_to" a project. I'm open to suggestions though if anyone has any ideas :)

RE: Knowledgebase Plugin - Added by Eraldo Girardi over 7 years ago

My 2cent: italian translation

it.yml Magnifier - italian localization for knowledgebase plugin (563 Bytes)

RE: Knowledgebase Plugin - Added by Razi Baluchi over 7 years ago

Very nice plugin. Lots of potential...

I must be doing something wrong. I don't seem to have textile support in the Knowledgebase. Just plain text.

RE: Knowledgebase Plugin - Added by Timothy High over 7 years ago

Alex Bevilacqua wrote:

I'm thinking I may have to roll my own permission workflow because I can't take advantage of the built-in permissions since kb items don't "belong_to" a project. I'm open to suggestions though if anyone has any ideas :)

You can still use "global permissions" - define a role that has the KB permissions you want, then assign users that role for some project. Then, if you check global permissions (authorize_globally, etc.), it should work.

But I think you're right that you'd still have to roll your own permissions scheme. KB-style permissions tend to be on the page (or hierarchy) level, not the global level.

RE: Knowledgebase Plugin - Added by Ulf Wiger over 7 years ago

Timothy High wrote:

You can still use "global permissions" - define a role that has the KB permissions you want, then assign users that role for some project. Then, if you check global permissions (authorize_globally, etc.), it should work.

But I think you're right that you'd still have to roll your own permissions scheme. KB-style permissions tend to be on the page (or hierarchy) level, not the global level.

I think even a global permissions scheme would be quite useful. We could use it for information that all internal staff is privy to, but as long as we can't keep it hidden from clients with guest accounts, we cannot use the knowledge base for much of anything.

RE: Knowledgebase Plugin - Added by Lukas Krahulec over 7 years ago

Czech translation

cs.yml Magnifier (561 Bytes)

RE: Knowledgebase Plugin - Added by Alexey Chepurnykh over 7 years ago

I would also use the implementation in my company if there were search and permissions features in the plugin. At leas two permissions - internal and external for customers. I hope in redmine there will be the universal search soon :-)

RE: Knowledgebase Plugin - Added by Dave Abrahams about 7 years ago

The system I've written isn't really there yet…

Does that still apply, or is this now a bit more than the Wiki provides? If so, maybe you could update the general description? The link to the demonstration site you give in your first reply to the description (http://projects.alexbevi.com/knowledgebase) doesn't seem to be live right now.

RE: Knowledgebase Plugin - Added by Alex Bevilacqua about 7 years ago

Dave Abrahams wrote:

The system I've written isn't really there yet…

Does that still apply, or is this now a bit more than the Wiki provides? If so, maybe you could update the general description? The link to the demonstration site you give in your first reply to the description (http://projects.alexbevi.com/knowledgebase) doesn't seem to be live right now.

I'm slowly getting back into development on this project. The link is dead, but the new one is at http://www.alexbevi.com/knowledgebase (nothing groundbreaking there yet though ...)

RE: Knowledgebase Plugin - Added by Dave Abrahams about 7 years ago

Alex Bevilacqua wrote:

The link is dead, but the new one is at http://www.alexbevi.com/knowledgebase (nothing groundbreaking there yet though ...)

I'll say! How about some dummy content, at least? I can't even get an idea of what comprises a KB article from that.

Thanks!

RE: Knowledgebase Plugin - Added by Radek Simcik about 7 years ago

hi Alex

can I have KB per project? I know that there is wiki for projects but I'd like to have KB per project.

Thank you

R.

RE: Knowledgebase Plugin - Added by Alex Bevilacqua about 7 years ago

Radek Simcik wrote:

hi Alex

can I have KB per project? I know that there is wiki for projects but I'd like to have KB per project.

Thank you

R.

Radek,

It wouldn't be overly difficult to implement, but this isn't the direction I had planned for this project. I'm trying to make the knowledgebase a utility that sits on top of Redmine but doesn't require any project dependencies.

RE: Knowledgebase Plugin - Added by Sergey Belov about 7 years ago

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

RE: Knowledgebase Plugin - Added by Alex Bevilacqua about 7 years ago

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.

RE: Knowledgebase Plugin - Added by Sergey Belov about 7 years ago

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 :)

RE: Knowledgebase Plugin - Added by Evgeniy Smyshlaev about 7 years ago

Insert Ukrainian Language

uk.yml Magnifier - Ukrainian Language for Knowledgebase Plugin (1.32 KB)

RE: Knowledgebase Plugin - Added by Peter Brauner almost 7 years ago

Hi there!

Here you have s Swedish translation for your plugin.

Cheers!

sv.yml Magnifier (1.17 KB)

RE: Knowledgebase Plugin - Added by Ivan Cenov almost 7 years ago

Bulgarian translation for redmine/vendor/plugins/redmine_knowledgebase/config/locales/bg.yml

bg.yml Magnifier (1.59 KB)

RE: Knowledgebase Plugin - Added by Chris Wiederkehr almost 7 years ago

Thank you for the work that you have done so far.

Would it be possible to create a view that allows to manage data rubbish in the knowledge base. I'm thinking of a list of articles that are either old, that have alow rating or hardly any views.

RE: Knowledgebase Plugin - Added by Adam E almost 7 years ago

I've hit a problem trying to install this plugin. Not knowing Ruby not to sure where what files to go into and fix this.

When I try to create an article I get the below:

ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'taggings.taggable_id' in 'where clause': SELECT `tags`.* FROM `tags`  INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id    WHERE ((`taggings`.taggable_id = 4) AND (`taggings`.taggable_type = 'Article')) ):

Looking it looks like I have previsously installed the "Contacts plugin" which has created a taggable table already with a different schema to knowledgebase. From the little knowledge I have and looking through '20100429152124_acts_as_taggable_migration.rb' it looks like knowledge base plugin would not of created a new 'taggable' table with the schema it expects as this already existed.

Again may be my lack of knowledge, but would it be simple enough for me to change the table name to say 'knowledge_base_taggable' in the plugin files which should solve the conflict?

RE: Knowledgebase Plugin - Added by Luca Vagnozzi almost 7 years ago

Hi,

while uninstalling I get:

== CreateArticles: reverting =================================================
-- drop_table(:articles)
rake aborted!
An error has occurred, all later migrations canceled:

Mysql::Error: Unknown table 'articles': DROP TABLE `articles`

I solved using the following in redmine_knowledgebase/db/migrate/20100211212704_create_articles.rb:

def self.down
  drop_table :kb_articles
end

RE: Knowledgebase Plugin - Added by Maria Leal almost 7 years ago

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!

RE: Knowledgebase Plugin - Added by Maria Leal almost 7 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!

Actually, my suggestion only disappears with the link. =(

I will search where is the real controll of the permissions. In the meantime, I'm still using this "solution".

1 2 3 4 5 (26-50/123)