Compare commits
4 Commits
master
...
restya-boa
Author | SHA1 | Date |
---|---|---|
nek0 | 1788aebccc | |
nek0 | e511b63579 | |
nek0 | 94e5deab05 | |
nek0 | 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>
|
||||||
|
|
|
@ -1,46 +1,53 @@
|
||||||
{ stdenv, fetchurl, unzip }:
|
{ stdenv, fetchurl, fetchFromGitHub }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
hide-card-id = fetchurl {
|
board-apps = fetchFromGitHub {
|
||||||
url = "https://github.com/RestyaPlatform/board-apps/releases/download/v2/r_hide_card_id-v0.1.2.zip";
|
owner = "RestyaPlatform";
|
||||||
sha256 = "1scm696rs8wx0z2y0g6r9vf01b0yay79azw8n785c6zdvrbqw7dp";
|
repo = "board-apps";
|
||||||
};
|
rev = "v1";
|
||||||
|
sha256 = "038qq0x547xzr9v1sa6cd3pagi2z4sfy80lcjn3qqgp5h39mb02x";
|
||||||
togetherjs = fetchurl {
|
|
||||||
url = "https://github.com/RestyaPlatform/board-apps/releases/download/v2/r_togetherjs-v0.1.2.zip";
|
|
||||||
sha256 = "1kms7z0ci15plwbs6nxvz15w0ym3in39msbncaj3cn0p72kvx5cm";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rstya-board";
|
pname = "restya-board";
|
||||||
version = "0.6";
|
version = "0.6.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/RestyaPlatform/board/releases/download/v${version}/board-v${version}.zip";
|
owner = "RestyaPlatform";
|
||||||
sha256 = "1js8c69qmga7bikp66fqhch3n2vw49918z32q88lz3havqzai8gd";
|
repo = "board";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0vba8qrg28a5g2ax7xzdp5j2wgl4v7cgasbzhhdji29qjfrldgbf";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip ];
|
nativeBuildInputs = [ ];
|
||||||
|
|
||||||
|
outputs = [ "out" ];
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
unzip -d $out $src
|
mkdir -p $out/client/apps
|
||||||
|
cp -r $src/* $out
|
||||||
|
|
||||||
cd $out
|
cd $out
|
||||||
patch -p1 < ${./fix_request-uri.patch}
|
|
||||||
|
|
||||||
chmod +x $out/server/php/shell/*.sh
|
chmod +x $out/server/php/shell/*.sh
|
||||||
|
|
||||||
mkdir $out/client/apps
|
cp -r ${board-apps}/r_hide_card_id $out/client/apps
|
||||||
unzip -d $out/client/apps ${hide-card-id}
|
cp -r ${board-apps}/r_togetherjs $out/client/apps
|
||||||
unzip -d $out/client/apps ${togetherjs}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
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 New Issue