From e8f3bf6365f2cb8ffa52ad348cc0e98f32364e88 Mon Sep 17 00:00:00 2001 From: Joeri de Bruin Date: Tue, 24 Feb 2026 08:14:00 +0100 Subject: [PATCH] added custom module newsletter --- .gitmodules | 9 +++++++++ custom/customlib_honeypot | 1 + custom/webgui_newsletter | 1 + custom/webgui_specialstate | 1 + distribution/webgui/entrypoint | 10 ++++++++++ 5 files changed, 22 insertions(+) create mode 100644 .gitmodules create mode 160000 custom/customlib_honeypot create mode 160000 custom/webgui_newsletter create mode 160000 custom/webgui_specialstate diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..1dbac4569 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule "custom/webgui_newsletter"] + path = custom/webgui_newsletter + url = ssh://forgejo@git.oqapi.nl/UnitedKnowledge/webgui_newsletter.git +[submodule "custom/webgui_specialstate"] + path = custom/webgui_specialstate + url = ssh://forgejo@git.oqapi.nl/UnitedKnowledge/webgui_specialstate.git +[submodule "custom/customlib_honeypot"] + path = custom/customlib_honeypot + url = ssh://forgejo@git.oqapi.nl/UnitedKnowledge/customlib_honeypot.git diff --git a/custom/customlib_honeypot b/custom/customlib_honeypot new file mode 160000 index 000000000..e0eea4fe9 --- /dev/null +++ b/custom/customlib_honeypot @@ -0,0 +1 @@ +Subproject commit e0eea4fe9c80865a6bde24cae6ab33dcc8089daf diff --git a/custom/webgui_newsletter b/custom/webgui_newsletter new file mode 160000 index 000000000..abaa483aa --- /dev/null +++ b/custom/webgui_newsletter @@ -0,0 +1 @@ +Subproject commit abaa483aa34e10c1473968dc6f0373cfb7527a31 diff --git a/custom/webgui_specialstate b/custom/webgui_specialstate new file mode 160000 index 000000000..ade1aab77 --- /dev/null +++ b/custom/webgui_specialstate @@ -0,0 +1 @@ +Subproject commit ade1aab77063c56cf6ddcc7a69956179e7c3dbe5 diff --git a/distribution/webgui/entrypoint b/distribution/webgui/entrypoint index 53a05f677..5cafb3236 100644 --- a/distribution/webgui/entrypoint +++ b/distribution/webgui/entrypoint @@ -1,6 +1,8 @@ #!/bin/bash # script that runs when the docker container starts +echo "Starting WebGUI entrypoint script with:" + perl -Ilib sbin/wgd ls echo "Starting WebGUI entrypoint script..." for configfile in `perl -Ilib sbin/wgd for-each`;do @@ -21,6 +23,14 @@ for configfile in `perl -Ilib sbin/wgd for-each`;do #this table shoud have a defult value. Shoud be in upgrade.pl to new version `mysql -e 'alter table userSession MODIFY COLUMN userId char(22) NOT NULL DEFAULT "0";' $connection_info ` && break `mysql -e 'alter table assetVersionTag MODIFY COLUMN name char(255) NOT NULL DEFAULT "default";' $connection_info ` && break + `mysql -e 'alter table assetVersionTag MODIFY COLUMN createdBy char(22) NOT NULL DEFAULT "3";' $connection_info ` && break + `mysql -e 'alter table assetVersionTag MODIFY COLUMN committedBy char(22) NOT NULL DEFAULT "3";' $connection_info ` && break + `mysql -e 'alter table assetVersionTag MODIFY COLUMN lockedBy char(22) NOT NULL DEFAULT "3";' $connection_info ` && break + `mysql -e 'alter table assetVersionTag MODIFY COLUMN groupToUse char(22) NOT NULL DEFAULT "3";' $connection_info ` && break + `mysql -e 'alter table assetVersionTag MODIFY COLUMN workflowId char(22) NOT NULL DEFAULT "";' $connection_info ` && break + + `mysql -e 'alter table WorkflowInstance MODIFY COLUMN workflowId char(22) NOT NULL DEFAULT "";' $connection_info ` && break + `mysql -e 'alter table WorkflowInstance MODIFY COLUMN currentActivityId char(22) NOT NULL DEFAULT "";' $connection_info ` && break if [ "$db_version" != "$code_version" ];then perl -Ilib sbin/wgd reset --upgrade --verbose --config-file=$configfile --webgui-root=/data/WebGUI/ ### alter table userSession MODIFY COLUMN userId char(22) NOT NULL DEFAULT '0';