Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 18:02:35 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415121 - in head/www: . redmine-knowledgebase redmine-knowledgebase/files
Message-ID:  <201605131802.u4DI2ZpY042963@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Fri May 13 18:02:35 2016
New Revision: 415121
URL: https://svnweb.freebsd.org/changeset/ports/415121

Log:
  This plugin adds professional knowledgebase functionality to the Redmine
  project management application.
  
  WWW: https://github.com/alexbevi/redmine_knowledgebase

Added:
  head/www/redmine-knowledgebase/
  head/www/redmine-knowledgebase/Makefile   (contents, props changed)
  head/www/redmine-knowledgebase/distinfo   (contents, props changed)
  head/www/redmine-knowledgebase/files/
  head/www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb   (contents, props changed)
  head/www/redmine-knowledgebase/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri May 13 18:01:43 2016	(r415120)
+++ head/www/Makefile	Fri May 13 18:02:35 2016	(r415121)
@@ -1834,6 +1834,7 @@
     SUBDIR += redmine-default_assign
     SUBDIR += redmine-graphs
     SUBDIR += redmine-http-auth
+    SUBDIR += redmine-knowledgebase
     SUBDIR += redmine-qa_contact
     SUBDIR += redmine-redcarpet_formatter
     SUBDIR += redmine-sidebar_hide

Added: head/www/redmine-knowledgebase/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/redmine-knowledgebase/Makefile	Fri May 13 18:02:35 2016	(r415121)
@@ -0,0 +1,27 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	knowledgebase
+PORTVERSION=	2.3.0
+DISTVERSIONPREFIX=v
+CATEGORIES=	www
+PKGNAMEPREFIX=	redmine-
+
+MAINTAINER=	feld@FreeBSD.org
+COMMENT=	Knowledgebase functionality for Redmine
+
+LICENSE=	MIT
+
+NO_ARCH=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	alexbevi
+GH_PROJECT=	redmine_knowledgebase
+
+REDMINE_PLUGIN_NAME=	redmine_${PORTNAME}
+
+RUN_DEPENDS+=	rubygem-redmine_acts_as_taggable_on>0:devel/rubygem-redmine_acts_as_taggable_on \
+		rubygem-ya2yaml>0:textproc/rubygem-ya2yaml \
+		rubygem-awesome_nested_set>0:databases/rubygem-awesome_nested_set
+
+.include "${.CURDIR}/../../www/redmine/bsd.redmine.mk"

Added: head/www/redmine-knowledgebase/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/redmine-knowledgebase/distinfo	Fri May 13 18:02:35 2016	(r415121)
@@ -0,0 +1,2 @@
+SHA256 (alexbevi-redmine_knowledgebase-v2.3.0_GH0.tar.gz) = 9d7e050d9851b313a838ded47e8d1bf386741389497c55710a93bea0a85ed320
+SIZE (alexbevi-redmine_knowledgebase-v2.3.0_GH0.tar.gz) = 71659

Added: head/www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb	Fri May 13 18:02:35 2016	(r415121)
@@ -0,0 +1,15 @@
+--- app/helpers/knowledgebase_helper.rb.orig	2013-06-25 12:40:55 UTC
++++ app/helpers/knowledgebase_helper.rb
+@@ -53,7 +53,11 @@ module KnowledgebaseHelper
+   def create_preview_link
+     v = Redmine::VERSION.to_a
+     if v[0] == 2 && v[1] <= 1
+-      link_to_remote(l(:label_preview), { :url => { :controller => 'articles', :action => 'preview' }, :method => 'post', :update => 'preview', :with => "Form.serialize('articles-form')")
++      link_to_remote l(:label_preview), 
++                     { :url => { :controller => 'articles', :action => 'preview' }, 
++                       :method => 'post', 
++                       :update => 'preview', 
++                       :with => "Form.serialize('articles-form')" }
+     else
+       preview_link({ :controller => 'articles', :action => 'preview' }, 'articles-form')
+     end

Added: head/www/redmine-knowledgebase/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/redmine-knowledgebase/pkg-descr	Fri May 13 18:02:35 2016	(r415121)
@@ -0,0 +1,4 @@
+This plugin adds professional knowledgebase functionality to the Redmine
+project management application.
+
+WWW: https://github.com/alexbevi/redmine_knowledgebase



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605131802.u4DI2ZpY042963>