vendor/tiamo/spss/src/Sav/Reader.php 2

Type Line Description
TODO 124 refactory
TODO 140 refactory

vendor/tiamo/spss/src/Sav/Record/Variable.php 2

Type Line Description
TODO 157 test
TODO 220 refactory

vendor/tiamo/spss/src/Sav/Writer.php 3

Type Line Description
TODO 113 refactory - keep 7 positions so we can add after that for 100 very long string segments
TODO 131 refactory
TODO 193 refactory

vendor/mk-j/php_xlsxwriter/testbench/xlsxwriter.class.Test.php 3

Type Line Description
TODO 5 test double:writeSheetHeader
TODO 6 test invalid UTF8
TODO 7 test outoforder writeSheetRow('Sheet1',());

vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/Common.php 1

Type Line Description
TODO 343 Maybe at some point this could be moved to __toString() for each of the curves?

installer/create-database.php 1

Type Line Description
TODO 882 varchar(200) is too big for MySQL index, the index will be truncated to 191 chars.

application/datavalueobjects/FormElement.php 2

Type Line Description
TODO 9 Is this class needed, or can it be included in widget DVOs?
TODO 9 $name is always null, always === $id.

application/libraries/ExtensionInstaller/ExtensionUpdater.php 2

Type Line Description
TODO 192 Move to parent class?
TODO 31 Create interface ExtensionModelInterface that all extension model classes implement

application/libraries/ExtensionInstaller/PluginInstaller.php 1

Type Line Description
TODO 89

application/libraries/ExtensionInstaller/VersionFetcherServiceLocator.php 1

Type Line Description
TODO 49 Not implemented.

application/libraries/ExtensionInstaller/QuestionThemeInstaller.php 2

Type Line Description
TODO 18 Move to parent class?
TODO 114

application/libraries/ExtensionInstaller/FileFetcherUploadZip.php 3

Type Line Description
TODO 291 When should this return false?
TODO 188 Duplicate from themes.php.
TODO 265 Inject FileIO wrapper and add unit-test

application/libraries/ExtensionInstaller/ThemeUpdater.php 1

Type Line Description
TODO 22 Survey theme, question theme, admin theme...?

application/libraries/BigData.php 1

Type Line Description
TODO 233 No other types supported, ever?

application/libraries/PluginManager/PluginManager.php 4

Type Line Description
TODO 285 Factor out
TODO 361 Read config.xml instead.
TODO 595 Localization.
TODO 622 Localization.

application/libraries/PluginManager/PluginBase.php 7

Type Line Description
TODO 146 Handle decryption in storage class, as that would allow each storage to handle
TODO 299 Handle encryption in storage class, as that would allow each storage to handle
TODO 468 Create a config object for this? One object for each config field? Then loop through those fields.
TODO 494 Do we want to support automatically installed plugins?
TODO 89 Add proper type hint in 3.0
TODO 450 Could this be moved to plugin model?
TODO 64 Use ExtensionConfig

application/libraries/Save.php 2

Type Line Description
TODO 177 $this->aSaveErrors
TODO 204 $this->aSaveErrors

application/commands/ResetPasswordCommand.php 1

Type Line Description
TODO 40 a valid error process

application/commands/InstallFromConfigCommand.php 4

Type Line Description
TODO 126 a valid error process
TODO 195 Check if exists
TODO 199 Check if exists
TODO 203 Check if exists

application/commands/DemomodeCommand.php 1

Type Line Description
TODO 29 a valid error process

application/commands/WipeCommand.php 1

Type Line Description
TODO 168 a valid error process

application/commands/InstallCommand.php 1

Type Line Description
TODO 71 a valid error process

application/controllers/PluginsController.php 2

Type Line Description
TODO 7 Not used, copied to admin/pluginmanager.php. Delete this file?
TODO 7 Actually, it's used for action direct.

application/controllers/SurveyAdministrationController.php 2

Type Line Description
TODO 157 getGlobalSetting() DEPRECATED
TODO 160 getGlobalSetting() DEPRECATED

application/controllers/SurveysController.php 3

Type Line Description
TODO 86 Remove? It seems this can never happen because it's already caught by LSYii_Application::onException() (see commit c792c2e).
TODO 111 getGlobalSetting is DEPRECATED.
TODO 131 Remove comment code.

application/controllers/UserGroupController.php 1

Type Line Description
TODO 496 Show error message?

application/controllers/InstallerController.php 1

Type Line Description
TODO 712 Not used? Compare models/InstallerConfigForm::getHasMinimumRequirements

application/controllers/RegisterController.php 1

Type Line Description
TODO 339 : move xss filtering in model

application/controllers/QuestionAdministrationController.php 17

Type Line Description
TODO 173 No difference between true and false?
TODO 196
TODO 206 Problem with CSRF cookie when entering directly after login.
TODO 374 It's l10n, not i10n.
TODO 511 Double check
TODO 779 calcul correct value
TODO 782 Fix question type 'A'. Needed?
TODO 828 Fix question type 'A'. Needed?
TODO 994 Rename Variable for better readability.
TODO 1197 $questionMetaData should be $questionThemeSettings
TODO 1446 1591979134468: this should be get from the question model
TODO 1474 Better solution: Hard-code allowed CSS classes.
TODO 1543 Difference between create and update permissions?
TODO 1706
TODO 1731 Difference between create and update permissions?
TODO 1773 Difference between create and update permissions?
TODO 2651 Default value

application/controllers/UploaderController.php 2

Type Line Description
TODO 120 Split into two controller methods.
TODO 252 : unlink this file since this is just a preview. But we can do it only if it's not needed, and still needed to have the file content

application/controllers/QuestionGroupsAdministrationController.php 2

Type Line Description
TODO 782 Double check
TODO 886 unused variable $success

application/controllers/ThemeOptionsController.php 1

Type Line Description
TODO 792 While refactoring (at some point) this function should be removed and only one unique identifier should be used

application/controllers/AdminController.php 1

Type Line Description
TODO 246 check if it is the case for all controllers, if not normalize it, so 3rd party coder can easily extend any LS Core controller/action/view.

application/controllers/LimereplacementfieldsController.php 6

Type Line Description
TODO 25 : document me ...
TODO 112 : document me ..
TODO 171 : document me
TODO 199 : document me
TODO 448 document me ..
TODO 476 : document me

application/controllers/admin/Expressions.php 1

Type Line Description
TODO 73 Remove it - does nothing

application/controllers/admin/Quotas.php 1

Type Line Description
TODO 153 I dont think that is is needed anymore. Remove it.

application/controllers/admin/PluginHelper.php 2

Type Line Description
TODO 44 Assume this for all plugins?
TODO 6 Better name?

application/controllers/admin/ConditionsAction.php 3

Type Line Description
TODO 681 Better way than to extract $args
TODO 789 Code duplication
TODO 2259 Not used

application/controllers/admin/SurveysGroupsController.php 2

Type Line Description
TODO 249 : find where it shown
TODO 249 : fix $_POST call

application/controllers/admin/ParticipantsAction.php 4

Type Line Description
TODO 1912 What's the Difference between lang and langdata?
TODO 2522 This is a comma separated string of ids
TODO 2557 This code can't be reached
TODO 2626 Maybe do this with SQL instead?

application/controllers/admin/Themes.php 13

Type Line Description
TODO 287 Don't branch on $_POST, but on config.xml <type> tag.
TODO 300 Replace with extension installer factory.
TODO 316 If you want to do nice file upload summary, you need to define a
TODO 364 Always check if successful.
TODO 371 Move all this to new SurveyThemeInstaller class (same as done for QuestionThemeInstaller).
TODO 406 Always check if successful.
TODO 410 make proper import manifest for questiontheme in configuration class
TODO 420 Always check if successful.
TODO 1118 check if this aData is still used
TODO 1130 try if it can be removed
TODO 520 Used? Previous name: _strip_ext
TODO 1392 Move to service class
TODO 1392 Same logic for survey theme

application/controllers/admin/Tokens.php 6

Type Line Description
TODO 38 : check if it does something different than the model function
TODO 290 Why needed?
TODO 528 This part could be refactored into function like "insertToken()"
TODO 1362 Rename 'ok' to something meaningful.
TODO 259 separate this function in two: one for single delete and one for multiple delete
TODO 633 When is this function used without Ajax?

application/controllers/admin/Export.php 1

Type Line Description
TODO 1064 $aSurveyInfo is not used anymore. Remove it.

application/controllers/admin/Update.php 1

Type Line Description
TODO 577 : if no update available, set session about it...

application/controllers/admin/ExpressionValidate.php 1

Type Line Description
TODO 272 : Find error in class name, style etc ....

application/controllers/admin/Labels.php 5

Type Line Description
TODO 138 $sExtension is not used. Remove it.
TODO 479 Permission check
TODO 479 Move save logic into service class.
TODO 687 Not used?
TODO 705 Not used?

application/controllers/admin/Authentication.php 2

Type Line Description
TODO 93 Should not be possible to get here after LS4. See LsDefaultDataSets::getDefaultPluginsData().
TODO 162 for sake of clarity, the plugin function should be renamed to authenticate().

application/controllers/admin/PrintableSurvey.php 1

Type Line Description
TODO 320 Fallthru on purpose?

application/controllers/admin/PluginManagerController.php 6

Type Line Description
TODO 323 Break out to separate method.
TODO 23 Apply new permission 'extensions' instead of 'settings'.
TODO 209 Defensive programming
TODO 667 Might have different file fetcher.
TODO 683 Duplicate from themes.php.
TODO 713 Duplicate from themes.php.

application/controllers/admin/DataEntry.php 1

Type Line Description
TODO 1577 $surveytable is unused. Remove it.

application/controllers/admin/Database.php 1

Type Line Description
TODO 100 : use model (and validate if we do it in model rules)

application/controllers/admin/Saved.php 1

Type Line Description
TODO 70 write function

application/controllers/survey/index.php 1

Type Line Description
TODO 255 can this be moved to the top?

application/controllers/StatisticsUserController.php 1

Type Line Description
TODO 45 Not used?

application/models/User.php 7

Type Line Description
TODO 437 should be static
TODO 744 should be static
TODO 815 should be static
TODO 170 Not used?
TODO 276 document me
TODO 363 document me
TODO 423 document me

application/models/QuestionAttribute.php 9

Type Line Description
TODO 185 use an array like for a form submit, so we can parse it from the controller instead of using $_POST directly here
TODO 190 if (in_array($oQuestion->attributes, $sAttribute))
TODO 34 Should probably change question_attributes table to question_attribute_values
TODO 66 Remove?
TODO 104 A function should not both set and get something; split into two functions
TODO 136 A function should not both set and get something; split into two functions
TODO 172 Missign noun in function name - set multiple what?
TODO 366 Move to static property?
TODO 525 What's the opposite of a "general" attribute? How many types of attributes are there?

application/models/SurveyLanguageSetting.php 1

Type Line Description
TODO 272 : rename and fix this

application/models/services/PermissionManager.php 1

Type Line Description
TODO 270 Static methods cannot be mocked.

application/models/services/ParticipantBlacklistHandler.php 2

Type Line Description
TODO 62 Remove 'OptOut' status from all surveys if 'blacklistallsurveys' setting is true?
TODO 79 Should we also try to match by email?

application/models/services/CreateSurvey.php 1

Type Line Description
TODO 78 Localization?

application/models/services/PasswordManagement.php 1

Type Line Description
TODO 198 it's fine to use static functions, until it is used only in controllers ...

application/models/services/QuestionAttributeHelper.php 4

Type Line Description
TODO 55 Pure function - move outside class?
TODO 101 Pure function - move outside class?
TODO 139 Pure function - move outside class?
TODO 230 No state used, so no OOP needed, move to function at some point.

application/models/services/SurveysGroupCreator.php 1

Type Line Description
TODO 52 What happen if SurveysGroups saved but no SurveysGroupsettings? Transaction?

application/models/services/QuickTranslation.php 1

Type Line Description
TODO 20 All the swithc-statements could be remade using OOP instead.

application/models/UserInGroup.php 1

Type Line Description
TODO 61 should be singular

application/models/QuestionCreate.php 2

Type Line Description
TODO 11 This is a factory method, not a singleton. Rename to make() or create().
TODO 80 Why return both empty array and null?

application/models/QuestionTemplate.php 1

Type Line Description
TODO 384 Move to QuestionTheme?

application/models/TemplateConfiguration.php 5

Type Line Description
TODO 229 Move to SurveyGroup creation, right now the 'lazy loading' approach is ok.
TODO 277 Move to SurveyGroup creation, right now the 'lazy loading' approach is ok.
TODO 359 Move to SurveyGroup creation, right now the 'lazy loading' approach is ok.
TODO 1046 It's not clear which class prepareTemplateRendering() returns or should return.
TODO 1755 attribute system rather than specific fields for RTL

application/models/QuestionType.php 1

Type Line Description
TODO 77 make it boolean instead */

application/models/Permission.php 6

Type Line Description
TODO 522 in entry script, if CConsoleApplication, set user as superadmin
TODO 529 plugin should not be able to override the permission system (security issue),
TODO 547 see above about entry script and superadmin
TODO 553 should not be necessary
TODO 611 that should be the only way to get the permission,
TODO 772 Use data value object instead of array.

application/models/Plugin.php 2

Type Line Description
TODO 76 Works on all SQL systems?
TODO 284 : Don't use JS native confirm.

application/models/UpdateForm.php 5

Type Line Description
TODO 242 $downloadid not used locally
TODO 279 : RESTORE REPLACE NEWER !!
TODO 319 Deal with error here
TODO 497 : add postgresql
TODO 930 : Could test if curl is loaded, and if not, use httprequest2

application/models/TokenDynamic.php 1

Type Line Description
TODO 35 Describe me!

application/models/ParticipantAttributeName.php 1

Type Line Description
TODO 755 Doc

application/models/TemplateManifest.php 4

Type Line Description
TODO 637 load to DB
TODO 648 Installs Theme (maybe rename importManifest to install ?)
TODO 1041 create a method "setToDefault"
TODO 1430 Why not set?

application/models/ExtensionConfig.php 1

Type Line Description
TODO 38 Get detailed error message.

application/models/SurveyTimingDynamic.php 1

Type Line Description
TODO 168 $language is not used locally

application/models/LSActiveRecord.php 2

Type Line Description
TODO 475 Use OOP polymorphism instead of switching on class names.
TODO 200 This should also be moved to the behavior at some point. This method overrides the parent in order to raise PluginEvents for Bulk delete operations. Filter Criteria are wrapped into a CDBCriteria instance so we have a single instance responsible for holding the filter criteria to be passed to the PluginEvent, this also enables us to pass the fully configured CDBCriteria instead of the original Parameters. See {@link find()} for detailed explanation about $condition and $params.

application/models/TemplateConfig.php 7

Type Line Description
TODO 284 document me
TODO 306 document me
TODO 306 missing return value (php warning)
TODO 849 document me
TODO 868 document me
TODO 982 document me
TODO 1004 document me

application/models/Answer.php 1

Type Line Description
TODO 114 get via Question relations

application/models/ParticipantShare.php 1

Type Line Description
TODO 29 should be singular

application/models/Permissiontemplates.php 1

Type Line Description
TODO 244 should be static

application/models/Template.php 1

Type Line Description
TODO 502 this probably not use any more. Check and remove it.

application/models/Condition.php 1

Type Line Description
TODO 74 should be singular, not plural

application/models/QuestionTheme.php 12

Type Line Description
TODO 312 replace by manifest
TODO 514 Now that core question themes can't be deleted, the following check
TODO 664 should be moved into DB column (question_theme_settings table)
TODO 805 Make it always relative depending on question theme type (core, custom, user).
TODO 809 Check json_last_error.
TODO 253 Please never redirect at this level, only from controllers.
TODO 335 Move to service class
TODO 368 Replace assoc array with DTO
TODO 500 move actions to its controller and split between controller and model, related search for: 1573123789741
TODO 500 Move to QuestionThemeInstaller
TODO 723 Naming is wrong, it does not "get", it "convertTo"
TODO 723 Possibly make a DTO for question metadata instead, and implement the ArrayAccess interface or "toArray()"

application/models/Participant.php 5

Type Line Description
TODO 186 For some reason, the delete button is smaller than the others
TODO 1584 Always string??
TODO 1765 Weird...
TODO 1807 What is id here? Could it overwrite something?
TODO 1818 Why use two variables for this?

application/models/AdminTheme.php 1

Type Line Description
TODO 96 replace everywhere the call to Yii::app()->getConfig('adminstyleurl) by $oAdminTheme->sTemplateUrl;

application/models/Response.php 1

Type Line Description
TODO 203 Internal error - wrong filename saved?

application/models/Notification.php 6

Type Line Description
TODO 22 Bell animation
TODO 272 : via survey relations
TODO 285 this should be in Survey model (relations?)
TODO 301 this should be in Survey model
TODO 317 Check first_read = null instead?
TODO 361 read = null?

application/models/QuestionL10n.php 1

Type Line Description
FIXME 55 this conflicts with the attribute "question"

application/models/SurveyLink.php 1

Type Line Description
TODO 154 this should be in survey model

application/models/UserGroup.php 2

Type Line Description
TODO 94 seems to be unused, probably shouldn't be done like that
TODO 136 should use save() and afterSave() methods!!

application/models/Question.php 4

Type Line Description
TODO 609 move to QuestionType
TODO 1606 Assuming no collision.
TODO 471 Duplication from delete()
TODO 1176 : move other fix here ?

application/models/QuestionBaseRenderer.php 1

Type Line Description
TODO 225 When to use? Where defined?

application/models/SurveyDynamic.php 1

Type Line Description
TODO 688 This provide a first step to enable the old jQgrid selector system, and could be use for users and tokens

application/models/Survey.php 7

Type Line Description
TODO 871 : Cache this on a private attribute?
TODO 900 this function can go directly into Surveymenu, why implemted it here? ($this is used here ...) This will be made bigger in future releases, but right now it only collects the default menu-entries
TODO 1147 Document code, please.
TODO 1674 : move to PermissionInterface
TODO 1674 : create an event
TODO 1752 Should really be saved as three fields in the database!
TODO 2163 use it in surveyspermission

application/models/SurveyActivator.php 3

Type Line Description
FIXME 389 @ not good
FIXME 393 @ not good
TODO 7 Move to models/services/survey/ folder.

application/models/Token.php 1

Type Line Description
TODO 53 Describe me!

application/core/WrongTemplateVersionException.php 1

Type Line Description
TODO 9 Put in another folder?

application/core/LSYii_ClientScript.php 1

Type Line Description
TODO 292 check if tmp directory can be named differently via config

application/core/LsDefaultDataSets.php 1

Type Line Description
TODO 1496 This tutorial is broken when subquestions and answer options are on the same page.

application/core/LSYii_ImageValidator.php 1

Type Line Description
TODO 54 Why hard-coded?

application/core/plugins/ExportSTATAxml/STATAxmlWriter.php 1

Type Line Description
TODO 402 We could skip this loop if we had answer code

application/core/plugins/Authdb/Authdb.php 1

Type Line Description
TODO 175 Should we show the actual error? Taking a conservative approach of not revealing the actual cause for now.

application/core/plugins/TwoFactorAdminLogin/models/TFAUserKey.php 1

Type Line Description
TODO 95 should be static

application/core/plugins/TwoFactorAdminLogin/models/TFAUser.php 1

Type Line Description
TODO 107 should be static

application/core/SurveyCommonAction.php 7

Type Line Description
TODO 265 : while refactoring, we must replace the use of $aViewUrls by $aData[.. conditions ..],
TODO 294 : http://goo.gl/ABl5t5
TODO 374 Real fix: No database queries while doing database update, meaning
TODO 626 Don't call getAdvancedSettingsWithValues without a question object.
TODO 899 : create subfunctions
TODO 727 Needs to be removed later. Duplication in LayoutHelper.
TODO 959 Make quick-menu user configurable

application/core/LSYii_Application.php 2

Type Line Description
TODO 140 check the whole configuration process. It must be easier and clearer. Too many repitions
TODO 487 get the tags, filters, etc

application/core/LSETwigViewRenderer.php 6

Type Line Description
TODO 101 Panic or default to something else?
TODO 206 Panic or default to something else?
TODO 709 Same issue as commit 2972aea41c51c74db95bfe40c337ae839471152c
TODO 233 missing return statement (php warning)
TODO 401 missing return statement (php warning)
TODO 794 find a way to fix in beforeCloseHtml @see https://bugs.limesurvey.org/view.php?id=13889

application/core/QuestionTypes/MultipleChoice/RenderMultipleChoice.php 1

Type Line Description
TODO 139 : check if $sValueHidden === $sValue

application/core/QuestionTypes/MultipleChoiceWithComments/RenderMultipleChoiceWithComments.php 2

Type Line Description
TODO 134 : check if it should be the same than javavalue
TODO 194 : check if it should be the same than javavalue

application/core/QuestionTypes/LoadQuestionTypes.php 1

Type Line Description
TODO 8 Configure autoloader in composer.json instead of this

application/core/LSUserIdentity.php 1

Type Line Description
TODO 71 rename the plugin function authenticate()

application/helpers/frontend_helper.php 3

Type Line Description
TODO 18 Why needed?
TODO 1026 rewrite this THE YII WAY !!!! (application/vendor + internal config for namespace + aliases; etc)
TODO 2217 something unfinished here?

application/helpers/questionHelper.php 2

Type Line Description
TODO 1186 add these later? "1F",
TODO 1196 add these later? "1F",

application/helpers/viewHelper.php 1

Type Line Description
TODO 255 : filter inline javascript (onclick etc ..., but don't filter EM javascript) Maybe doing it directly in LEM->GetLastPrettyPrintExpression();

application/helpers/remotecontrol/remotecontrol_handle.php 2

Type Line Description
TODO 2836 Need to clean up return array, especially the case when response was added but file not uploaded.
TODO 2836 See discussion: https://bugs.limesurvey.org/view.php?id=13794

application/helpers/LayoutHelper.php 1

Type Line Description
TODO 351 : create subfunctions

application/helpers/expressions/em_manager_helper.php 43

Type Line Description
TODO 29 Fix autoloading of warnings.
TODO 267 - add example from survey using assessments
TODO 356 ??
TODO 406 - ??
TODO 410 ??
TODO 1262 - implement qcode naming for this
TODO 1458 generic validation as to dateformat[SGQA].value : BUT not same in PHP and JS
TODO 2639 - create equations for these?
TODO 2642 ? How does it work?
TODO 3046 - create em_num_files class so can sepately style num_files vs. num_answers
TODO 3285 - do I need to force refresh, or trust that createFieldMap will cache langauges properly?
TODO 3608 Internal error if this happens
TODO 4100 - in a running survey, only need to process the current Group. For Admin mode, do we need to process all prior questions or not?
TODO 4232 - cache results and generated JavaScript equations?
TODO 4579 default should eventually be false
TODO 4755 only important thing from StartProcessingGroup?
TODO 4969 only important thing from StartProcessingGroup?
TODO 5019 - now that using $this->updatedValues, may be able to remove local copies of it (unless needed by other sub-systems)
TODO 5071 - add SQL error?
TODO 5099 Internal error if this happens
TODO 5466 only important thing from StartProcessingGroup?
TODO 5610 - what is desired behavior?
TODO 5749 how used if random?
TODO 5804 is this needed?
TODO 5914 is this needed?
TODO 5950 is this needed?
TODO 5994 is this needed?
TODO 6029 is this needed?
TODO 6059 - check this
TODO 6064 - why is array_unique needed here?
TODO 6154 - what about 'other'?
TODO 6198 - what about 'other'?
TODO 6223 - what about 'other'?
TODO 6403 check for errors?
TODO 6408 - currently invalidates all - should only invalidate those that truly fail validation rules.
TODO 6763 - what if this is called using Survey or Data Entry format?
TODO 7268 Internal error if this happens
TODO 7627 - is different type needed for text? Or process value to striphtml?
TODO 8444 Make a wrapper class around date converter, which constructor takes to-lang and from-lang
TODO 8696 jsName_on will never be returned?
TODO 3274 Keep method as-is but factor out content to new class; add unit tests for class
TODO 6853 : add directly hidden input in page without return it.
TODO 9633 : validate if it work : unsure it was shown always to user (nojs ?)

application/helpers/expressions/warnings/EMWarningHTMLBaker.php 1

Type Line Description
TODO 28 Factor out in warning classes OOP

application/helpers/expressions/emcache/em_cache_helper.php 3

Type Line Description
TODO 118 Setting per survey.
TODO 118 Don't cache questions with expressions.
TODO 154 check ajaxmode

application/helpers/expressions/em_core_helper.php 4

Type Line Description
TODO 97 - change this back to false
TODO 562 try to determine datatype?
TODO 1955 - Since want to use <span> for dynamic substitution, what if there are recursive substititons?
TODO 2605 Unify errors and warnings with a EMErrorComparableInterface

application/helpers/common_helper.php 10

Type Line Description
FIXME 595 rename and/or document this
TODO 1698 SQrelevance for different scales? $fieldmap[$fieldname]['SQrelevance']=$abrow['relevance'];
TODO 2351 input Survey Object
TODO 2371 input Survey Object
TODO 2959 : Adding the onload/onhover etc ... or remove this false security function
TODO 4329 remove one of the Yii::app()->session see bug #5901
TODO 4573 RFC7239 full implementation (https://datatracker.ietf.org/doc/html/rfc7239#section-5.2)
TODO 846 Move to defaulttexts helper
TODO 2773 This should probably never be used, since it returns 0 from CLI and makes PHPUnit think all is fine :(
TODO 2985 Make the days configurable

application/helpers/Hash.php 1

Type Line Description
FIXME 106 !!!

application/helpers/update/updatedb_helper.php 3

Type Line Description
TODO 998 Inject user model instead. Polling for user will create a session, which breaks on command-line.
TODO 1534 Don't use models in updatedb_helper.
TODO 3279 Move to class?

application/helpers/qanda_helper.php 9

Type Line Description
TODO 113 This can be cached in some special cases.
TODO 908 : move to a dedicated function
TODO 1488 : check if $sValueHidden === $sValue
TODO 1647 : check if it should be the same than javavalue
TODO 1680 $value is not defined for some execution paths.
TODO 1692 : check if it should be the same than javavalue
TODO 1777 Regression here? Should use LEMval(minfiles) like above
TODO 2255 Slider and multiple-numeric input should really be two different question types
TODO 4610 What is this? What is happening here?

application/helpers/export_helper.php 1

Type Line Description
TODO 2537 refactor and simplify this code

application/helpers/sanitize_helper.php 3

Type Line Description
TODO 310 define the exact format of the username
TODO 323 define the exact format of the username
FIXME 421 undefined function sanitize_string

application/helpers/userstatistics_helper.php 1

Type Line Description
TODO 1798 Support three or more duplicates.

application/helpers/surveytranslator_helper.php 1

Type Line Description
TODO 1228 Should not give back different data types

application/helpers/SurveyRuntimeHelper.php 11

Type Line Description
TODO 166 To respect object oriented design, all those "states" should be move to Response model, or its related models via relations.
TODO 212 move somewhere else
TODO 278 - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now
TODO 742 set this to true if in admin mode but not if running a survey
TODO 861 twig
TODO 1210 check that line:
TODO 1561 find where they are defined before this call
TODO 1630 check with markus why $loadall, it's never ever defined, even in master branch
TODO 1723 check this:
TODO 1380 : find/get current qid for processing string
TODO 1458 : move to coreReplacements ? Can be good.

application/helpers/admin/label_helper.php 1

Type Line Description
FIXME 74 undefined function

application/helpers/admin/import_helper.php 2

Type Line Description
TODO 2789 set proper default
TODO 1238 Use transactions to prevent orphaned data and clean rollback on errors

application/helpers/admin/ajax_helper.php 1

Type Line Description
TODO 161 Check if user is logged in

application/helpers/admin/statistics_helper.php 3

Type Line Description
TODO 1705 Support three or more duplicates.
FIXME 2059 $MyCache is undefined
TODO 2592 Support three or more duplicates.

application/helpers/admin/activate_helper.php 1

Type Line Description
TODO 23 can call this function (no $_GET, but getParam) AND do it with Yii

application/config/fonts.php 1

Type Line Description
TODO 142 move this section to new fonts model once it become needed

application/config/packages.php 1

Type Line Description
TODO 55 Delete this? See #15108.