restya-board: update to 0.6.7 and remove obsolete patch
This commit is contained in:
parent
133a5c345c
commit
01d32e2b3b
|
@ -355,6 +355,17 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
|
||||||
now uses the short rather than full version string.
|
now uses the short rather than full version string.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Restya-Board has been upgraded from 6.0 to 6.7, improving security and
|
||||||
|
adding features but with potential incompatibilities.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Please note: When upgrading this software, you have to run the database
|
||||||
|
migration scripts manually. You can find them in the source repository
|
||||||
|
under /sql.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -15,12 +15,12 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rstya-board";
|
pname = "restya-board";
|
||||||
version = "0.6";
|
version = "0.6.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/RestyaPlatform/board/releases/download/v${version}/board-v${version}.zip";
|
url = "https://github.com/RestyaPlatform/board/releases/download/v${version}/board-v${version}.zip";
|
||||||
sha256 = "1js8c69qmga7bikp66fqhch3n2vw49918z32q88lz3havqzai8gd";
|
sha256 = "07xiakk8fljc79qi80n5945hy2rqrc8kn2i7d49rri2f440wv51i";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ unzip ];
|
||||||
|
@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
|
||||||
unzip -d $out $src
|
unzip -d $out $src
|
||||||
|
|
||||||
cd $out
|
cd $out
|
||||||
patch -p1 < ${./fix_request-uri.patch}
|
|
||||||
|
|
||||||
chmod +x $out/server/php/shell/*.sh
|
chmod +x $out/server/php/shell/*.sh
|
||||||
|
|
||||||
|
@ -41,6 +40,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Web-based kanban board";
|
description = "Web-based kanban board";
|
||||||
|
longDescription = ''
|
||||||
|
An open Source Trello-like Kanban-Board based on the Restya platform.
|
||||||
|
Please note: When updating this software, you have to run the database
|
||||||
|
migration scripts manually. You can find them at in the source repository
|
||||||
|
under /sql. More detailed instructions can be found at
|
||||||
|
https://github.com/RestyaPlatform/board/tree/v0.6.7#upgrade
|
||||||
|
'';
|
||||||
license = licenses.osl3;
|
license = licenses.osl3;
|
||||||
homepage = http://restya.com;
|
homepage = http://restya.com;
|
||||||
maintainers = with maintainers; [ tstrobel ];
|
maintainers = with maintainers; [ tstrobel ];
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/server/php/R/r.php b/server/php/R/r.php
|
|
||||||
--- a/server/php/R/r.php
|
|
||||||
+++ b/server/php/R/r.php
|
|
||||||
@@ -18,7 +18,7 @@ $r_debug = '';
|
|
||||||
$authUser = $client = $form = array();
|
|
||||||
$_server_protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') ? 'https' : 'http';
|
|
||||||
$_server_domain_url = $_server_protocol . '://' . $_SERVER['HTTP_HOST']; // http://localhost
|
|
||||||
-header('x-response-url:' . $_SERVER[REQUEST_URI]);
|
|
||||||
+header('x-response-url:' . $_SERVER['REQUEST_URI']);
|
|
||||||
header('Access-Control-Allow-Origin: *');
|
|
||||||
header('Access-Control-Allow-Methods: *');
|
|
||||||
require_once '../config.inc.php';
|
|
Loading…
Reference in a new issue