conflicts found solved
commit
72750e3cc5
11
UPDATING.md
11
UPDATING.md
|
@ -24,9 +24,9 @@ little to no impact.
|
||||||
|
|
||||||
## 2023
|
## 2023
|
||||||
|
|
||||||
### 2023-03 - Nextcloud 25.0.4 + NC Docker rework
|
### 2023-03 - Nextcloud 25.0.5 + NC Docker rework
|
||||||
|
|
||||||
Update version to 25.0.4 and rework its docker image.
|
Update version to 25.0.5 and rework its docker image.
|
||||||
|
|
||||||
The image now manages volumes and configuration in a better fashion,
|
The image now manages volumes and configuration in a better fashion,
|
||||||
thanks to that we achieve an image that is closer to the original one, but
|
thanks to that we achieve an image that is closer to the original one, but
|
||||||
|
@ -54,9 +54,10 @@ Upgrade from a commit that includes Nextcloud major version 24 (see previous
|
||||||
UPGRADE messages) with:
|
UPGRADE messages) with:
|
||||||
|
|
||||||
# Upgrade to NC version 24.0.10 (latest 24 minor on 2023-03-14)
|
# Upgrade to NC version 24.0.10 (latest 24 minor on 2023-03-14)
|
||||||
./dd-ctl update a27f44262b9e4d37b21265a20575e8aa2dd78cb0
|
# Note this commit already includes the reworked image
|
||||||
# Upgrade to NC version 25.0.4 (latest 25 minor on 2023-03-14)
|
./dd-ctl update 010a04bf37d75b39cf24bcc2b80c81023e037f78
|
||||||
./dd-ctl update 7e2c748f51674968719f5abbf442477678d614c7
|
# Upgrade to NC version 25.0.5 (latest 25 minor on 2023-03-31)
|
||||||
|
./dd-ctl update a4f51d102396ebc0883882dfbcebd9e08f60a7b8
|
||||||
|
|
||||||
### 2023-02 - Nextcloud 24.0.10
|
### 2023-02 - Nextcloud 24.0.10
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
# file license author source
|
# file license author source
|
||||||
nginx.conf AGPL-3.0-or-later https://github.com/nextcloud/ https://raw.githubusercontent.com/nextcloud/docker/04ab3157e4f1197a9f8f4b91cf2430586356dd9a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf
|
nginx.conf AGPL-3.0-or-later https://github.com/nextcloud/ https://raw.githubusercontent.com/nextcloud/docker/04ab3157e4f1197a9f8f4b91cf2430586356dd9a/.examples/docker-compose/with-nginx-proxy/postgres/fpm/web/nginx.conf
|
||||||
supervisord.conf AGPL-3.0-or-later https://github.com/nextcloud/ https://raw.githubusercontent.com/nextcloud/docker/04ab3157e4f1197a9f8f4b91cf2430586356dd9a/.examples/dockerfiles/cron/fpm-alpine/supervisord.conf
|
supervisord.conf AGPL-3.0-or-later https://github.com/nextcloud/ https://raw.githubusercontent.com/nextcloud/docker/04ab3157e4f1197a9f8f4b91cf2430586356dd9a/.examples/dockerfiles/cron/fpm-alpine/supervisord.conf
|
||||||
src/themes/dd/core/templates/layout.user.php AGPL-3.0-or-later https://github.com/nextcloud/ https://raw.githubusercontent.com/nextcloud/server/v25.0.4/core/templates/layout.user.php
|
src/themes/dd/core/templates/layout.user.php AGPL-3.0-or-later https://github.com/nextcloud/ https://raw.githubusercontent.com/nextcloud/server/v25.0.5/core/templates/layout.user.php
|
||||||
|
|
|
@ -47,7 +47,8 @@ cat > "${STATIC_CFG}" <<EOF
|
||||||
/** DD-customised static settings
|
/** DD-customised static settings
|
||||||
*/
|
*/
|
||||||
\$CONFIG = array(
|
\$CONFIG = array(
|
||||||
'default_language' => 'ca',
|
'default_language' => '${FORCED_LANGUAGE}',
|
||||||
|
'force_language' => '${FORCED_LANGUAGE}',
|
||||||
'skeletondirectory' => '',
|
'skeletondirectory' => '',
|
||||||
'theme' => 'dd',
|
'theme' => 'dd',
|
||||||
'allow_local_remote_servers' => true,
|
'allow_local_remote_servers' => true,
|
||||||
|
|
|
@ -26,7 +26,7 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
# Update dd.conf.sample when bumping this version in main
|
# Update dd.conf.sample when bumping this version in main
|
||||||
- IMG=${NEXTCLOUD_IMG_OVERRIDE-nextcloud:25.0.4-fpm-alpine}
|
- IMG=${NEXTCLOUD_IMG_OVERRIDE-nextcloud:25.0.5-fpm-alpine}
|
||||||
container_name: dd-apps-nextcloud-app
|
container_name: dd-apps-nextcloud-app
|
||||||
image: registry.dd-work.space/dd/apps-nextcloud:${DD_BUILD:-latest}
|
image: registry.dd-work.space/dd/apps-nextcloud:${DD_BUILD:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -79,6 +79,7 @@ services:
|
||||||
# Operator preferences
|
# Operator preferences
|
||||||
- EXTRA_PLUGINS_ENABLE=${NEXTCLOUD_PLUGINS_ENABLE:-}
|
- EXTRA_PLUGINS_ENABLE=${NEXTCLOUD_PLUGINS_ENABLE:-}
|
||||||
- EXTRA_PLUGINS_DISABLE=${NEXTCLOUD_PLUGINS_DISABLE:-}
|
- EXTRA_PLUGINS_DISABLE=${NEXTCLOUD_PLUGINS_DISABLE:-}
|
||||||
|
- FORCED_LANGUAGE=${FORCED_LANGUAGE:-ca}
|
||||||
networks:
|
networks:
|
||||||
- dd_net
|
- dd_net
|
||||||
|
|
||||||
|
|
10
dd-ctl
10
dd-ctl
|
@ -622,6 +622,16 @@ upgrade_plugins_moodle(){
|
||||||
#mkdir -p /tmp/moodle/local/tresipuntimportgc
|
#mkdir -p /tmp/moodle/local/tresipuntimportgc
|
||||||
#cp -R local_plugins/moodle/tresipuntimportgc/* /tmp/moodle/local/tresipuntimportgc/
|
#cp -R local_plugins/moodle/tresipuntimportgc/* /tmp/moodle/local/tresipuntimportgc/
|
||||||
|
|
||||||
|
curl --location https://github.com/danmarsden/moodle-mod_attendance/archive/refs/heads/MOODLE_311_STABLE.zip > mod_attendance.zip
|
||||||
|
unzip -q mod_attendance.zip -d /tmp/moodle/mod/
|
||||||
|
mv /tmp/moodle/mod/moodle-mod_attendance-MOODLE_311_STABLE /tmp/moodle/mod/attendance
|
||||||
|
rm mod_attendance.zip
|
||||||
|
|
||||||
|
curl --location https://github.com/projectestac/moodle-mod_geogebra/archive/refs/heads/MOODLE_39_STABLE.zip > mod_geogebra.zip
|
||||||
|
unzip -q mod_geogebra.zip -d /tmp/moodle/mod/
|
||||||
|
mv /tmp/moodle/mod/moodle-mod_geogebra-MOODLE_39_STABLE /tmp/moodle/mod/geogebra
|
||||||
|
rm mod_geogebra.zip
|
||||||
|
|
||||||
cp -R /tmp/moodle/* "$SRC_FOLDER/moodle/"
|
cp -R /tmp/moodle/* "$SRC_FOLDER/moodle/"
|
||||||
rm -rf /tmp/moodle
|
rm -rf /tmp/moodle
|
||||||
docker exec -i dd-apps-moodle php7 admin/cli/purge_caches.php
|
docker exec -i dd-apps-moodle php7 admin/cli/purge_caches.php
|
||||||
|
|
|
@ -122,7 +122,14 @@ NEXTCLOUD_POSTGRES_PASSWORD=N3xtcl0ud
|
||||||
### These should be available from https://apps.nextcloud.com/
|
### These should be available from https://apps.nextcloud.com/
|
||||||
### Example: NEXTCLOUD_PLUGINS_ENABLE=cospend,cookbook
|
### Example: NEXTCLOUD_PLUGINS_ENABLE=cospend,cookbook
|
||||||
#NEXTCLOUD_PLUGINS_ENABLE=
|
#NEXTCLOUD_PLUGINS_ENABLE=
|
||||||
|
<<<<<<< HEAD
|
||||||
#NEXTCLOUD_PLUGINS_DISABLE
|
#NEXTCLOUD_PLUGINS_DISABLE
|
||||||
|
=======
|
||||||
|
#NEXTCLOUD_PLUGINS_DISABLE=
|
||||||
|
#
|
||||||
|
### This language will be forced (currently only Nextcloud)
|
||||||
|
#FORCED_LANGUAGE=ca
|
||||||
|
>>>>>>> b61286cf97c4d84ffae9afc062549a70fb0ae62a
|
||||||
|
|
||||||
## WORDPRESS
|
## WORDPRESS
|
||||||
##=============================================================================
|
##=============================================================================
|
||||||
|
@ -169,7 +176,11 @@ MOODLE_MEMORY_LIMIT=128M
|
||||||
## NEXTCLOUD
|
## NEXTCLOUD
|
||||||
# If enabled overrides nextcloud.yaml default image.
|
# If enabled overrides nextcloud.yaml default image.
|
||||||
# You usually do not want to change this, but instead rely on DD's version.
|
# You usually do not want to change this, but instead rely on DD's version.
|
||||||
|
<<<<<<< HEAD
|
||||||
#NEXTCLOUD_IMG_OVERRIDE=nextcloud:25.0.4-fpm-alpine
|
#NEXTCLOUD_IMG_OVERRIDE=nextcloud:25.0.4-fpm-alpine
|
||||||
|
=======
|
||||||
|
#NEXTCLOUD_IMG_OVERRIDE=nextcloud:25.0.5-fpm-alpine
|
||||||
|
>>>>>>> b61286cf97c4d84ffae9afc062549a70fb0ae62a
|
||||||
|
|
||||||
## ONLYOFFICE
|
## ONLYOFFICE
|
||||||
ONLYOFFICE_IMG=alehoho/oo-ce-docker-license:6.3.1.32
|
ONLYOFFICE_IMG=alehoho/oo-ce-docker-license:6.3.1.32
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
</ConfigTestElement>
|
</ConfigTestElement>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="SAML Login Method" enabled="true">
|
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="SAML Login Method" enabled="true">
|
||||||
<stringProp name="ThreadGroup.on_sample_error">stopthread</stringProp>
|
<stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
|
||||||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
|
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
|
||||||
<boolProp name="LoopController.continue_forever">false</boolProp>
|
<boolProp name="LoopController.continue_forever">false</boolProp>
|
||||||
<intProp name="LoopController.loops">-1</intProp>
|
<intProp name="LoopController.loops">-1</intProp>
|
||||||
|
@ -192,8 +192,8 @@
|
||||||
<stringProp name="TestPlan.comments">Send response from login to SP for processing</stringProp>
|
<stringProp name="TestPlan.comments">Send response from login to SP for processing</stringProp>
|
||||||
</ModuleController>
|
</ModuleController>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report 20 users" enabled="true">
|
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report N users" enabled="true">
|
||||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
<boolProp name="ResultCollector.error_logging">true</boolProp>
|
||||||
<objProp>
|
<objProp>
|
||||||
<name>saveConfig</name>
|
<name>saveConfig</name>
|
||||||
<value class="SampleSaveConfiguration">
|
<value class="SampleSaveConfiguration">
|
||||||
|
@ -230,7 +230,7 @@
|
||||||
</ResultCollector>
|
</ResultCollector>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
<ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
|
<ResultCollector guiclass="RespTimeGraphVisualizer" testclass="ResultCollector" testname="Response Time Graph" enabled="true">
|
||||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
<boolProp name="ResultCollector.error_logging">true</boolProp>
|
||||||
<objProp>
|
<objProp>
|
||||||
<name>saveConfig</name>
|
<name>saveConfig</name>
|
||||||
<value class="SampleSaveConfiguration">
|
<value class="SampleSaveConfiguration">
|
||||||
|
|
|
@ -20,6 +20,9 @@ from selenium.webdriver.chrome.options import Options as ChromeOptions
|
||||||
from typing import Any, Dict, Iterable, List
|
from typing import Any, Dict, Iterable, List
|
||||||
|
|
||||||
|
|
||||||
|
STEP_TIMEOUT_SECONDS = 40
|
||||||
|
|
||||||
|
|
||||||
class DDSession:
|
class DDSession:
|
||||||
driver: webdriver.Chrome
|
driver: webdriver.Chrome
|
||||||
|
|
||||||
|
@ -28,7 +31,7 @@ class DDSession:
|
||||||
instance: str,
|
instance: str,
|
||||||
users_file: str,
|
users_file: str,
|
||||||
out_dir: pathlib.Path,
|
out_dir: pathlib.Path,
|
||||||
stepTimeoutSeconds: int = 20,
|
stepTimeoutSeconds: int = STEP_TIMEOUT_SECONDS,
|
||||||
):
|
):
|
||||||
self.instance = instance
|
self.instance = instance
|
||||||
self.users_file = [
|
self.users_file = [
|
||||||
|
@ -177,6 +180,7 @@ class DDSession:
|
||||||
lambda d: (
|
lambda d: (
|
||||||
d.find_elements(By.ID, "kc-form-login")
|
d.find_elements(By.ID, "kc-form-login")
|
||||||
+ d.find_elements(By.ID, "menu-apps-icon")
|
+ d.find_elements(By.ID, "menu-apps-icon")
|
||||||
|
+ d.find_elements(By.ID, "menu-apps-btn")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -213,7 +217,7 @@ class DDSession:
|
||||||
self.screenshot("OnlyOffice", "Opening")
|
self.screenshot("OnlyOffice", "Opening")
|
||||||
|
|
||||||
# Wait for OnlyOffice to start loading
|
# Wait for OnlyOffice to start loading
|
||||||
oofCSS = "div.app-onlyoffice #app iframe"
|
oofCSS = ".app-onlyoffice #app iframe"
|
||||||
WebDriverWait(self.driver, timeout=self.stepTimeoutSeconds).until(
|
WebDriverWait(self.driver, timeout=self.stepTimeoutSeconds).until(
|
||||||
lambda d: d.find_elements(By.CSS_SELECTOR, oofCSS)
|
lambda d: d.find_elements(By.CSS_SELECTOR, oofCSS)
|
||||||
)
|
)
|
||||||
|
@ -292,13 +296,13 @@ def main_test(
|
||||||
users_file: io.TextIOWrapper,
|
users_file: io.TextIOWrapper,
|
||||||
out_dir: pathlib.Path,
|
out_dir: pathlib.Path,
|
||||||
duration: int,
|
duration: int,
|
||||||
stepTimeoutSeconds: int = 20,
|
stepTimeoutSeconds: int = STEP_TIMEOUT_SECONDS,
|
||||||
) -> DDSession:
|
) -> DDSession:
|
||||||
session = DDSession(
|
session = DDSession(
|
||||||
instance=instance,
|
instance=instance,
|
||||||
users_file=users_file.read(),
|
users_file=users_file.read(),
|
||||||
out_dir=out_dir,
|
out_dir=out_dir,
|
||||||
stepTimeoutSeconds=20,
|
stepTimeoutSeconds=stepTimeoutSeconds,
|
||||||
)
|
)
|
||||||
|
|
||||||
first_run = True
|
first_run = True
|
||||||
|
|
Loading…
Reference in New Issue