LimeSurvey: master e11d3cc3

Author Committer Branch Timestamp Parent
lajosarpad GitHub master 2024-05-13 21:42 master 7055674f
Changeset

QE-903: create service for activate and deactivate survey (#3831)

  • Dev: delete unused file surveybar_activation.php

  • WIP #QE-903: create service for activate and deactivate survey

  • WIP #QE-903: create service for activate and deactivate survey

  • QE-903: Fixed some issues

  • QE-903: Added a further fix

  • QE-903: Implemented the activation API support

  • QE-903: Added a safety check

  • QE-903: Improved upon validation

  • QE-903: Fixed a test

  • QE-903: Removed unused fields and local variables from SurveyActivate

  • QE-903: Fixed code styling issue

  • QE-903: Fixed styling

  • QE-903: Fixed code styling issue

  • QE-903: Added sample JSON

  • QE-903: Minor fix

  • QE-903: Applied changes I was instructed to do

  • QE-903: Adjusted sample patch structure

  • QE-903: Applied a DI change

  • QE-903: Implemented deactivation

  • QE-903: Fixed the feature related to token archive

  • QE-903: Refactored the code a bit

  • QE-903: Adjusted to code styling requirements

  • QE-903: Fix

  • QE-903: Fix

  • QE-903: Fix

  • QE-903: Fixed a bug that was caused by the nessesity to adhere to the
    nonsensical code styling rules imposed upon us

  • QE-903: Fix

  • QE-903 suppressed a warning

  • QE-903: Improved upon the suppression

  • Dev: archiveTable() expects an array of attributes

  • Dev: formatting fix - 138 | ERROR | [x] Only one argument is allowed per line in a multi-line


Co-authored-by: Patrick Teichmann patrick.teichmann@limesurvey.org
Co-authored-by: Lajos Arpad arpad@endpoint.com
Co-authored-by: Kevin Foster kevin.foster.uk@gmail.com
Co-authored-by: ramishenouda rami.zaki@limesurvey.org

mod - application/controllers/SurveyAdministrationController.php Diff File
add - application/libraries/Api/Command/V1/SurveyPatch/OpHandlerSurveyActivate.php Diff File
add - application/libraries/Api/Command/V1/SurveyPatch/OpHandlerSurveyDeactivate.php Diff File
mod - application/libraries/Api/Command/V1/SurveyPatch/PatcherSurvey.php Diff File
mod - application/libraries/ObjectPatch/OpType/OpType.php Diff File
mod - application/models/SurveyActivator.php Diff File
add - application/models/SurveyDeactivator.php Diff File
add - application/models/services/SurveyActivate.php Diff File
mod - application/models/services/SurveyAggregateService.php Diff File
add - application/models/services/SurveyDeactivate.php Diff File
rm - application/views/admin/survey/surveybar_activation.php Diff
mod - tests/TestHelper.php Diff File