added custom module newsletter
This commit is contained in:
parent
c73e252bb5
commit
e8f3bf6365
5 changed files with 22 additions and 0 deletions
9
.gitmodules
vendored
Normal file
9
.gitmodules
vendored
Normal file
|
|
@ -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
|
||||||
1
custom/customlib_honeypot
Submodule
1
custom/customlib_honeypot
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e0eea4fe9c80865a6bde24cae6ab33dcc8089daf
|
||||||
1
custom/webgui_newsletter
Submodule
1
custom/webgui_newsletter
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit abaa483aa34e10c1473968dc6f0373cfb7527a31
|
||||||
1
custom/webgui_specialstate
Submodule
1
custom/webgui_specialstate
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ade1aab77063c56cf6ddcc7a69956179e7c3dbe5
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# script that runs when the docker container starts
|
# script that runs when the docker container starts
|
||||||
|
echo "Starting WebGUI entrypoint script with:"
|
||||||
|
perl -Ilib sbin/wgd ls
|
||||||
echo "Starting WebGUI entrypoint script..."
|
echo "Starting WebGUI entrypoint script..."
|
||||||
for configfile in `perl -Ilib sbin/wgd for-each`;do
|
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
|
#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 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 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
|
if [ "$db_version" != "$code_version" ];then
|
||||||
perl -Ilib sbin/wgd reset --upgrade --verbose --config-file=$configfile --webgui-root=/data/WebGUI/
|
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';
|
### alter table userSession MODIFY COLUMN userId char(22) NOT NULL DEFAULT '0';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue