From 01e34d29dea22999e60d1c16abf0c4b3b6fd432a Mon Sep 17 00:00:00 2001 From: Flectra Community Bot Date: Thu, 27 May 2021 12:13:49 +0000 Subject: [PATCH] Automatic Update form OCA2FC Migrator --- .gitlab-ci.yml | 972 ++++++++++++++++---------------- README.md | 30 +- mass_editing/COPYRIGHT | 2 +- sequence_check_digit/COPYRIGHT | 1 + sequence_reset_period/COPYRIGHT | 1 + 5 files changed, 504 insertions(+), 502 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c438f0f..e73049d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,29 +44,29 @@ test_all_modules: --db_password flectra --database test_all --test-enable - --init base_cancel_confirm,base_search_custom_field_filter,filter_multi_user,sequence_reset_period,base_menu_visibility_restriction,multi_step_wizard,base_revision,document_quick_access,base_tier_validation_forward,base_technical_features,base_tier_validation_formula,mass_editing,date_range,base_export_manager,base_tier_validation_server_action,sequence_check_digit,base_tier_validation,default_multi_user,base_optional_quick_create,barcode_action + --init base_cancel_confirm,base_technical_features,base_menu_visibility_restriction,mass_editing,base_optional_quick_create,filter_multi_user,barcode_action,base_tier_validation_server_action,base_tier_validation,document_quick_access,base_export_manager,sequence_check_digit,base_tier_validation_formula,sequence_reset_period,base_search_custom_field_filter,date_range,base_tier_validation_forward,default_multi_user,base_revision,multi_step_wizard --stop-after-init --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST - --log-handler flectra.addons.base_search_custom_field_filter:TEST - --log-handler flectra.addons.filter_multi_user:TEST - --log-handler flectra.addons.sequence_reset_period:TEST - --log-handler flectra.addons.base_menu_visibility_restriction:TEST - --log-handler flectra.addons.multi_step_wizard:TEST - --log-handler flectra.addons.base_revision:TEST - --log-handler flectra.addons.document_quick_access:TEST - --log-handler flectra.addons.base_tier_validation_forward:TEST --log-handler flectra.addons.base_technical_features:TEST - --log-handler flectra.addons.base_tier_validation_formula:TEST + --log-handler flectra.addons.base_menu_visibility_restriction:TEST --log-handler flectra.addons.mass_editing:TEST - --log-handler flectra.addons.date_range:TEST - --log-handler flectra.addons.base_export_manager:TEST - --log-handler flectra.addons.base_tier_validation_server_action:TEST - --log-handler flectra.addons.sequence_check_digit:TEST - --log-handler flectra.addons.base_tier_validation:TEST - --log-handler flectra.addons.default_multi_user:TEST --log-handler flectra.addons.base_optional_quick_create:TEST + --log-handler flectra.addons.filter_multi_user:TEST --log-handler flectra.addons.barcode_action:TEST + --log-handler flectra.addons.base_tier_validation_server_action:TEST + --log-handler flectra.addons.base_tier_validation:TEST + --log-handler flectra.addons.document_quick_access:TEST + --log-handler flectra.addons.base_export_manager:TEST + --log-handler flectra.addons.sequence_check_digit:TEST + --log-handler flectra.addons.base_tier_validation_formula:TEST + --log-handler flectra.addons.sequence_reset_period:TEST + --log-handler flectra.addons.base_search_custom_field_filter:TEST + --log-handler flectra.addons.date_range:TEST + --log-handler flectra.addons.base_tier_validation_forward:TEST + --log-handler flectra.addons.default_multi_user:TEST + --log-handler flectra.addons.base_revision:TEST + --log-handler flectra.addons.multi_step_wizard:TEST " @@ -103,7 +103,7 @@ test_module_base_cancel_confirm: --log-level error --log-handler flectra.addons.base_cancel_confirm:TEST" -test_module_base_search_custom_field_filter: +test_module_base_technical_features: stage: testsingle when: on_failure image: @@ -119,88 +119,22 @@ test_module_base_search_custom_field_filter: - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_search_custom_field_filter - - psql -h psql -U flectra -d test_base_search_custom_field_filter -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - createdb -h psql -U flectra -O flectra -T template1 test_base_technical_features + - psql -h psql -U flectra -d test_base_technical_features -f ${CI_PROJECT_DIR}/ci_data/dump.sql - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - su - flectra -c "/opt/flectra/flectra-bin --addons-path ${CI_PROJECT_DIR} --db_host psql --db_port 5432 --db_user flectra --db_password flectra - --database test_base_search_custom_field_filter - --test-enable -i base_search_custom_field_filter + --database test_base_technical_features + --test-enable -i base_technical_features --stop-after-init --log-level error - --log-handler flectra.addons.base_search_custom_field_filter:TEST" - -test_module_filter_multi_user: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_filter_multi_user - - psql -h psql -U flectra -d test_filter_multi_user -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_filter_multi_user - --test-enable -i filter_multi_user - --stop-after-init - --log-level error - --log-handler flectra.addons.filter_multi_user:TEST" - -test_module_sequence_reset_period: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_sequence_reset_period - - psql -h psql -U flectra -d test_sequence_reset_period -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_sequence_reset_period - --test-enable -i sequence_reset_period - --stop-after-init - --log-level error - --log-handler flectra.addons.sequence_reset_period:TEST" + --log-handler flectra.addons.base_technical_features:TEST" test_module_base_menu_visibility_restriction: stage: testsingle @@ -235,204 +169,6 @@ test_module_base_menu_visibility_restriction: --log-level error --log-handler flectra.addons.base_menu_visibility_restriction:TEST" -test_module_multi_step_wizard: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_multi_step_wizard - - psql -h psql -U flectra -d test_multi_step_wizard -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_multi_step_wizard - --test-enable -i multi_step_wizard - --stop-after-init - --log-level error - --log-handler flectra.addons.multi_step_wizard:TEST" - -test_module_base_revision: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_revision - - psql -h psql -U flectra -d test_base_revision -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_revision - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_revision - --test-enable -i base_revision - --stop-after-init - --log-level error - --log-handler flectra.addons.base_revision:TEST" - -test_module_document_quick_access: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_document_quick_access - - psql -h psql -U flectra -d test_document_quick_access -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_document_quick_access - --test-enable -i document_quick_access - --stop-after-init - --log-level error - --log-handler flectra.addons.document_quick_access:TEST" - -test_module_base_tier_validation_forward: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_forward - - psql -h psql -U flectra -d test_base_tier_validation_forward -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation_forward - --test-enable -i base_tier_validation_forward - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation_forward:TEST" - -test_module_base_technical_features: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_technical_features - - psql -h psql -U flectra -d test_base_technical_features -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_technical_features - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_technical_features - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_technical_features - --test-enable -i base_technical_features - --stop-after-init - --log-level error - --log-handler flectra.addons.base_technical_features:TEST" - -test_module_base_tier_validation_formula: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_formula - - psql -h psql -U flectra -d test_base_tier_validation_formula -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation_formula - --test-enable -i base_tier_validation_formula - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation_formula:TEST" - test_module_mass_editing: stage: testsingle when: on_failure @@ -466,204 +202,6 @@ test_module_mass_editing: --log-level error --log-handler flectra.addons.mass_editing:TEST" -test_module_date_range: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_date_range - - psql -h psql -U flectra -d test_date_range -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_date_range - --test-enable -i date_range - --stop-after-init - --log-level error - --log-handler flectra.addons.date_range:TEST" - -test_module_base_export_manager: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_export_manager - - psql -h psql -U flectra -d test_base_export_manager -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_export_manager - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_export_manager - --test-enable -i base_export_manager - --stop-after-init - --log-level error - --log-handler flectra.addons.base_export_manager:TEST" - -test_module_base_tier_validation_server_action: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_server_action - - psql -h psql -U flectra -d test_base_tier_validation_server_action -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation_server_action - --test-enable -i base_tier_validation_server_action - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation_server_action:TEST" - -test_module_sequence_check_digit: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_sequence_check_digit - - psql -h psql -U flectra -d test_sequence_check_digit -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_sequence_check_digit - --test-enable -i sequence_check_digit - --stop-after-init - --log-level error - --log-handler flectra.addons.sequence_check_digit:TEST" - -test_module_base_tier_validation: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation - - psql -h psql -U flectra -d test_base_tier_validation -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_base_tier_validation - --test-enable -i base_tier_validation - --stop-after-init - --log-level error - --log-handler flectra.addons.base_tier_validation:TEST" - -test_module_default_multi_user: - stage: testsingle - when: on_failure - image: - name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest - entrypoint: ["/bin/sh", "-c"] - script: - - apt-get install -y p7zip-full - - apt install -y expect-dev - - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt - - su - flectra -c "mkdir ~/others" - - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 - - mkdir ${CI_PROJECT_DIR}/ci_data - - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip - - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip - - export PGPASSWORD="flectra" - - createdb -h psql -U flectra -O flectra -T template1 test_default_multi_user - - psql -h psql -U flectra -d test_default_multi_user -f ${CI_PROJECT_DIR}/ci_data/dump.sql - - su - flectra -c "mkdir -p ~/.local/share/filestore" - - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user - - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user - - su - flectra -c "/opt/flectra/flectra-bin - --addons-path ${CI_PROJECT_DIR} - --db_host psql - --db_port 5432 - --db_user flectra - --db_password flectra - --database test_default_multi_user - --test-enable -i default_multi_user - --stop-after-init - --log-level error - --log-handler flectra.addons.default_multi_user:TEST" - test_module_base_optional_quick_create: stage: testsingle when: on_failure @@ -697,6 +235,39 @@ test_module_base_optional_quick_create: --log-level error --log-handler flectra.addons.base_optional_quick_create:TEST" +test_module_filter_multi_user: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_filter_multi_user + - psql -h psql -U flectra -d test_filter_multi_user -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_filter_multi_user + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_filter_multi_user + --test-enable -i filter_multi_user + --stop-after-init + --log-level error + --log-handler flectra.addons.filter_multi_user:TEST" + test_module_barcode_action: stage: testsingle when: on_failure @@ -730,3 +301,432 @@ test_module_barcode_action: --log-level error --log-handler flectra.addons.barcode_action:TEST" +test_module_base_tier_validation_server_action: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_server_action + - psql -h psql -U flectra -d test_base_tier_validation_server_action -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_server_action + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_server_action + --test-enable -i base_tier_validation_server_action + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_server_action:TEST" + +test_module_base_tier_validation: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation + - psql -h psql -U flectra -d test_base_tier_validation -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation + --test-enable -i base_tier_validation + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation:TEST" + +test_module_document_quick_access: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_document_quick_access + - psql -h psql -U flectra -d test_document_quick_access -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_document_quick_access + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_document_quick_access + --test-enable -i document_quick_access + --stop-after-init + --log-level error + --log-handler flectra.addons.document_quick_access:TEST" + +test_module_base_export_manager: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_export_manager + - psql -h psql -U flectra -d test_base_export_manager -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_export_manager + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_export_manager + --test-enable -i base_export_manager + --stop-after-init + --log-level error + --log-handler flectra.addons.base_export_manager:TEST" + +test_module_sequence_check_digit: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_sequence_check_digit + - psql -h psql -U flectra -d test_sequence_check_digit -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_check_digit + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_sequence_check_digit + --test-enable -i sequence_check_digit + --stop-after-init + --log-level error + --log-handler flectra.addons.sequence_check_digit:TEST" + +test_module_base_tier_validation_formula: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_formula + - psql -h psql -U flectra -d test_base_tier_validation_formula -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_formula + --test-enable -i base_tier_validation_formula + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_formula:TEST" + +test_module_sequence_reset_period: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_sequence_reset_period + - psql -h psql -U flectra -d test_sequence_reset_period -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_sequence_reset_period + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_sequence_reset_period + --test-enable -i sequence_reset_period + --stop-after-init + --log-level error + --log-handler flectra.addons.sequence_reset_period:TEST" + +test_module_base_search_custom_field_filter: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_search_custom_field_filter + - psql -h psql -U flectra -d test_base_search_custom_field_filter -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_search_custom_field_filter + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_search_custom_field_filter + --test-enable -i base_search_custom_field_filter + --stop-after-init + --log-level error + --log-handler flectra.addons.base_search_custom_field_filter:TEST" + +test_module_date_range: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_date_range + - psql -h psql -U flectra -d test_date_range -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_date_range + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_date_range + --test-enable -i date_range + --stop-after-init + --log-level error + --log-handler flectra.addons.date_range:TEST" + +test_module_base_tier_validation_forward: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_forward + - psql -h psql -U flectra -d test_base_tier_validation_forward -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_forward + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_forward + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_tier_validation_forward + --test-enable -i base_tier_validation_forward + --stop-after-init + --log-level error + --log-handler flectra.addons.base_tier_validation_forward:TEST" + +test_module_default_multi_user: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_default_multi_user + - psql -h psql -U flectra -d test_default_multi_user -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_default_multi_user + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_default_multi_user + --test-enable -i default_multi_user + --stop-after-init + --log-level error + --log-handler flectra.addons.default_multi_user:TEST" + +test_module_base_revision: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_base_revision + - psql -h psql -U flectra -d test_base_revision -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_revision + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_revision + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_base_revision + --test-enable -i base_revision + --stop-after-init + --log-level error + --log-handler flectra.addons.base_revision:TEST" + +test_module_multi_step_wizard: + stage: testsingle + when: on_failure + image: + name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest + entrypoint: ["/bin/sh", "-c"] + script: + - apt-get install -y p7zip-full + - apt install -y expect-dev + - pip3 install -r ${CI_PROJECT_DIR}/requirements.txt + - su - flectra -c "mkdir ~/others" + - sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 + - mkdir ${CI_PROJECT_DIR}/ci_data + - wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip + - 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip + - export PGPASSWORD="flectra" + - createdb -h psql -U flectra -O flectra -T template1 test_multi_step_wizard + - psql -h psql -U flectra -d test_multi_step_wizard -f ${CI_PROJECT_DIR}/ci_data/dump.sql + - su - flectra -c "mkdir -p ~/.local/share/filestore" + - mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_multi_step_wizard + - chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_multi_step_wizard + - su - flectra -c "/opt/flectra/flectra-bin + --addons-path ${CI_PROJECT_DIR} + --db_host psql + --db_port 5432 + --db_user flectra + --db_password flectra + --database test_multi_step_wizard + --test-enable -i multi_step_wizard + --stop-after-init + --log-level error + --log-handler flectra.addons.multi_step_wizard:TEST" + diff --git a/README.md b/README.md index 14f8bb9..5b22d75 100644 --- a/README.md +++ b/README.md @@ -10,24 +10,24 @@ Available addons addon | version | summary --- | --- | --- [base_cancel_confirm](base_cancel_confirm/) | 2.0.1.0.1| Base Cancel Confirm -[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI -[filter_multi_user](filter_multi_user/) | 2.0.1.0.0| Allows to share user-defined filters filters among several users. -[sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges -[base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty -[multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards -[base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document -[document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access -[base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers [base_technical_features](base_technical_features/) | 2.0.1.1.0| Access to technical features without activating debug mode -[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation +[base_menu_visibility_restriction](base_menu_visibility_restriction/) | 2.0.1.0.0| Restrict (with groups) menu visibilty [mass_editing](mass_editing/) | 2.0.1.0.1| Mass Editing -[date_range](date_range/) | 2.0.2.0.2| Manage all kind of date range -[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles -[base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.0| Add option to call server action when a tier is validated -[sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences -[base_tier_validation](base_tier_validation/) | 2.0.2.3.0| Implement a validation process based on tiers. -[default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. [base_optional_quick_create](base_optional_quick_create/) | 2.0.1.0.0| Avoid "quick create" on m2o fields, on a "by model" basis +[filter_multi_user](filter_multi_user/) | 2.0.1.0.0| Allows to share user-defined filters filters among several users. [barcode_action](barcode_action/) | 2.0.1.0.0| Allows to use barcodes as a launcher +[base_tier_validation_server_action](base_tier_validation_server_action/) | 2.0.1.1.0| Add option to call server action when a tier is validated +[base_tier_validation](base_tier_validation/) | 2.0.2.3.0| Implement a validation process based on tiers. +[document_quick_access](document_quick_access/) | 2.0.1.0.0| Document quick access +[base_export_manager](base_export_manager/) | 2.0.1.0.1| Manage model export profiles +[sequence_check_digit](sequence_check_digit/) | 2.0.1.0.0| Adds a check digit on sequences +[base_tier_validation_formula](base_tier_validation_formula/) | 2.0.2.0.0| Formulas for Base tier validation +[sequence_reset_period](sequence_reset_period/) | 2.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges +[base_search_custom_field_filter](base_search_custom_field_filter/) | 2.0.1.0.0| Add custom filters for fields via UI +[date_range](date_range/) | 2.0.2.0.2| Manage all kind of date range +[base_tier_validation_forward](base_tier_validation_forward/) | 2.0.1.0.2| Forward option for base tiers +[default_multi_user](default_multi_user/) | 2.0.1.0.0| Allows to share user-defined defaults among several users. +[base_revision](base_revision/) | 2.0.1.0.1| Keep track of revised document +[multi_step_wizard](multi_step_wizard/) | 2.0.1.0.0| Multi-Steps Wizards diff --git a/mass_editing/COPYRIGHT b/mass_editing/COPYRIGHT index 2a17930..abcdd46 100644 --- a/mass_editing/COPYRIGHT +++ b/mass_editing/COPYRIGHT @@ -2,10 +2,10 @@ Most of the files are :Copyright: This stylesheet has been placed in the public domain. Copyright (C) 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) - Copyright (C) 2019 - Today: GRAP (http://www.grap.coop) Copyright (C) 2019-Today GRAP (http://www.grap.coop) Copyright (C) 2020 - Iván Todorovich (https://twitter.com/ivan.todorovich) Copyright (C) 2020 - Iván Todorovich + Copyright (C) 2020 Iván Todorovich (https://twitter.com/ivantodorovich) Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com) Copyright 2018 Aitor Bouzas Copyright 2018 Flectra Community diff --git a/sequence_reset_period/COPYRIGHT b/sequence_reset_period/COPYRIGHT index 2a242a7..0c21d41 100644 --- a/sequence_reset_period/COPYRIGHT +++ b/sequence_reset_period/COPYRIGHT @@ -1,6 +1,7 @@ Most of the files are :Copyright: This stylesheet has been placed in the public domain. + Copyright (C) 2017 Creu Blanca Copyright 2017 Creu Blanca Copyright 2018 Flectra Community