LimeSurvey: master 9e4e944c

Author Committer Branch Timestamp Parent
K Foster GitHub master 2023-07-11 13:43 master 5b1e0d23
Changeset

Qe 250 survey update services (#3217)

  • epic/qe-rest-api: init commit (copied functionality from abandoned dev/lsc-434-remote-api-rest)

  • epic/qe-rest-api: refactor

  • Run composer update --no-dev

  • Dev: Missing space after arrow (PSR-12)

  • Dev: Remove base path check in rest controller class

  • epic/qe-rest-api: survey.groups relation should have together => true

  • epic/qe-rest-api: fix include_once

  • epic/qe-rest-api: add missing exception ExceptionInvalidUser

  • epic/qe-rest-api: update REST schema

  • epic/qe-rest-api: fix CHttpRequest exception during unit tests

  • epic/qe-rest-api: remove duplicate OpHandlerActiveRecordUpdate

  • LB06.1_qe-persist: init SurveyUpdate service

  • LB06.1_qe-persist: refactor SurveyUpdate service

  • LB06.1_qe-persist: Refactor service SurveyUpdate

  • LB06.1_qe-persist: Refactor SurveyLanguageSettingsUpdater

  • LB06.1_qe-persist: Add tests for SurveyLanguageSettingsUpdater

  • LB06.1_qe-persist: rename SurveyLanguageSettingsUpdater to SurveyUpdaterLanguageSettings

  • LB06.1_qe-persist: add initial SurveyUpdaterGeneralSettings

  • LB06.1_qe-persist: update SurveyUpdaterGeneralSettings

  • LB06.1_qe-persist: add UpdaterGeneralSettingsTest

  • LB06.1_qe-persist: add SurveyUpdater

  • LB06.1_qe-persist: add SurveyUpdaterUrlParams

  • epic/qe-rest-api: update question input/opuput transformers to include help text

  • LB06.1_qe-persist: remove SurveyURLParameter from SurveyUpdaterLanguageSettings

  • epic/qe-rest-api: update rest API to use PHP-DI

  • epic/qe-rest-api: update API patcher to use DI container

  • epic/qe-rest-api: replace CommandResponseTrait with ResponseFactory

  • epic/qe-rest-api: replace CommandResponseTrait with ResponseFactory

  • epic/qe-rest-api: replace CommandResponseTrait with ResponseFactory

  • epic/qe-rest-api: refactor ResponseFactory

  • epic/qe-rest-api: factory method should be named with the 'make' verb

  • epic/qe-rest-api: remove AuthSessionTrait

  • LB06.1_qe-persist: removed SurveyUpdaterLanguageSettings::setModelSurveyUrlParameter

  • epic/qe-rest-api: Di should inject static instance when type hinting Yii active record

  • epic/qe-rest-api: Di should inject static instance when type hinting Yii active record

  • LB06.1_qe-persist: replace setter injection with constructor injection via DI

  • LB06.1_qe-persist: init refactor of Database::actionUpdateSurveyLocaleSettings to use service SurveyUpdater

  • LB06.1_qe-persist: refactor Database::actionUpdateSurveyLocaleSettings()

  • LB06.1_qe-persist: refactor Database::actionUpdateSurveyLocaleSettings()

  • LB06.1_qe-persist: update service SurveyUpdater to use service ExpressionManager

  • LB06.1_qe-persist: update service SurveyUpdaterGeneralSettings, fix usecaptcha save handling

  • LB06.1_qe-persist: updsate SurveyUpdaterGeneralSettings

  • LB06.1_qe-persist: refactor service SurveyUpdater

  • LB06.1_qe-persist: refactor service SurveyUpdater

  • LB06.1_qe-persist: add services/SurveyUpdater/TemplateConfiguration

  • Dev: Apply PSR-12 with phpcbf

  • Dev: Remove empty line

  • LB06.1_qe-persist: fix service tests - constructor injection

  • LB06.1_qe-persist: refactor service tests

  • LB06.1_qe-persist: refactor SurveyUpdater/GeneralSettings

  • QE-250_survey_update_services: update Database::actionUpdateSurveyLocaleSettingsGeneralSettings()

  • QE-250_survey_update_services: update Database::actionUpdateSurveyLocaleSettingsGeneralSettings()

  • QE-250_survey_update_services: six survey id in services/SurveyUpdater/LanguageConsistency

  • QE-250_survey_update_services: fix sonar-cloud issues

  • QE-250_survey_update_services: fix sonar-cloud issues

  • QE-250_survey_update_services: fix sonar-cloud issues

  • QE-250_survey_update_services: add general settings tests

  • QE-250_survey_update_services: add general settings tests

  • QE-250_survey_update_services: add GeneralSettingsUpdateBooleanTest

  • QE-250_survey_update_services: refactor service SurveyUpdater unit tests

  • QE-250_survey_update_services: refactor services survey updater tests

  • QE-250_survey_update_services: refactor services survey updater tests

  • QE-250_survey_update_services: refactor

  • QE-250_survey_update_services: refactor GeneralSettingsMockFactory

  • QE-250_survey_update_services: refactor SurveyUpdater/GeneralSettings

  • QE-250_survey_update_services: supress PHPMD complexity warnings on SurveyUpdater/GeneralSettings

  • QE-250_survey_update_services: add temporary helper scripts in composer

  • QE-250_survey_update_services: psalm fixes

  • QE-250_survey_update_services: add unit tests

  • QE-250_survey_update_services: Refactor session data tests

  • QE-250_survey_update_services: fix language consistency check

  • QE-250_survey_update_services: fix unit tests

  • QE-250_survey_update_services: add GeneralSettingsUpdateYnFieldTypeTest

  • QE-250_survey_update_services: add GeneralSettingsUpdateYnFieldTypeTest

  • QE-250_survey_update_services: refactor unit tests

  • QE-250_survey_update_services: add unit tests

  • QE-250_survey_update_services: add unit tests

  • QE-250_survey_update_services: add unit tests

  • Dev: Add missing space before equality

  • QE-250_survey_update_services: move services/ExpressionManager to services/Proxy/ProxyExpressionManager to keep proxy classes seperate

  • Dev: phpcs did not like multiple use-statements in one :(

  • QE-250_survey_update_services: update test description

  • QE-250_survey_update_services: refactor

  • QE-250_survey_update_services: refactor

  • QE-250_survey_update_services: refactor

  • QE-250_survey_update_services: refactor

  • QE-250_survey_update_services: fix exception suffix

  • QE-250_survey_update_services: refactor Database::actionUpdateSurveyLocaleSettings()

  • QE-250_survey_update_services: refactor GeneralSettings to use injected CHttpSession


Co-authored-by: Olle Haerstedt olle.haerstedt@limesurvey.org

mod - application/controllers/admin/Database.php Diff File
add - application/libraries/Api/Command/Exception.php Diff File
add - application/libraries/Api/Exception.php Diff File
mod - application/libraries/DI.php Diff File
mod - application/models/Survey.php Diff File
add - application/models/services/Exception.php Diff File
add - application/models/services/Exception/NotFoundException.php Diff File
add - application/models/services/Exception/PermissionDeniedException.php Diff File
add - application/models/services/Exception/PersistErrorException.php Diff File
add - application/models/services/Proxy/ProxyExpressionManager.php Diff File
add - application/models/services/SurveyUpdater.php Diff File
add - application/models/services/SurveyUpdater/GeneralSettings.php Diff File
add - application/models/services/SurveyUpdater/LanguageConsistency.php Diff File
add - application/models/services/SurveyUpdater/LanguageSettings.php Diff File
add - application/models/services/SurveyUpdater/TemplateConfiguration.php Diff File
add - application/models/services/SurveyUpdater/UrlParams.php Diff File
mod - composer.json Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsBooleanTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsDatesTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsDispatchesEventsTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsExceptionsTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsFactory.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsMockSet.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsMockSetFactory.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsUpdateCaptchaTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsUpdateGoogleAnalyticsKeyTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsUpdateOwnerTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsUpdateReturnsMetaTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsUpdateSurveyActiveTest.php Diff File
add - tests/unit/services/SurveyUpdater/GeneralSettings/GeneralSettingsUpdateYnFieldTypeTest.php Diff File
add - tests/unit/services/SurveyUpdater/LanguageSettings/LanguageSettingsExceptionsTest.php Diff File