installer/create-database.php 1

Type Line Description
TODO 881 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/PluginManager/PluginManager.php 4

Type Line Description
TODO 285 Factor out
TODO 361 Read config.xml instead.
TODO 594 Localization.
TODO 621 Localization.

application/libraries/PluginManager/PluginBase.php 5

Type Line Description
TODO 437 Create a config object for this? One object for each config field? Then loop through those fields.
TODO 463 Do we want to support automatically installed plugins?
TODO 81 Add proper type hint in 3.0
TODO 419 Could this be moved to plugin model?
TODO 62 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 170 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 2

Type Line Description
TODO 110 getGlobalSetting is DEPRECATED.
TODO 130 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 338 : move xss filtering in model

application/controllers/QuestionAdministrationController.php 21

Type Line Description
TODO 176 No difference between true and false?
TODO 199
TODO 209 Problem with CSRF cookie when entering directly after login.
TODO 374 It's l10n, not i10n.
TODO 510 Double check
TODO 608 this object doesn't seem to be needed here.
TODO 789 calcul correct value
TODO 792 Fix question type 'A'. Needed?
TODO 838 Fix question type 'A'. Needed?
TODO 1004 Rename Variable for better readability.
TODO 1207 $questionMetaData should be $questionThemeSettings
TODO 1456 1591979134468: this should be get from the question model
TODO 1484 Better solution: Hard-code allowed CSS classes.
TODO 1553 Difference between create and update permissions?
TODO 1728
TODO 1754 Difference between create and update permissions?
TODO 1796 Difference between create and update permissions?
TODO 1874 Always null
TODO 2680 Default value
TODO 3058 Per survey, not globally.
TODO 3071 Use validate().

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 779 Double check
TODO 883 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 easely extend any LS Core controller/action/view.

application/controllers/LimereplacementfieldsController.php 6

Type Line Description
TODO 25 : document me ...
TODO 108 : document me ..
TODO 167 : document me
TODO 195 : document me
TODO 441 document me ..
TODO 469 : 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/SurveyPermission.php 4

Type Line Description
FIXME 56 this HTML stuff MUST BE IN VIEWS!!
TODO 85 Filter this in SQL query.
TODO 111 Commented by lemeur
TODO 34 Export HTML to view

application/controllers/admin/ConditionsAction.php 4

Type Line Description
TODO 1186 Check if $p_newscenarionum is null
TODO 681 Better way than to extract $args
TODO 789 Code duplication
TODO 2258 Not used

application/controllers/admin/SurveysGroupsController.php 2

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

application/controllers/admin/ParticipantsAction.php 4

Type Line Description
TODO 1892 What's the Difference between lang and langdata?
TODO 2502 This is a comma separated string of ids
TODO 2537 This code can't be reached
TODO 2606 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 1393 Move to service class
TODO 1393 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 1357 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 1041 $aSurveyInfo is not used anymore. Remove it.

application/controllers/admin/Translate.php 3

Type Line Description
TODO 64 need to do some validation here on surveyid
TODO 538 not touched
TODO 774 Fallthru on purpose or not?

application/controllers/admin/UserAction.php 7

Type Line Description
TODO 121 If error, we want to keep the form values. Can't do it nicely without CActiveForm?
TODO 95 Not used?
TODO 288 Delete what final user?
TODO 812 Not used?
TODO 864 Not used?
TODO 887 Not used?
TODO 919 to many arguments

application/controllers/admin/Update.php 1

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

application/controllers/admin/ExpressionValidate.php 1

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

application/controllers/admin/Labels.php 5

Type Line Description
TODO 137 $sExtension is not used. Remove it.
TODO 478 Permission check
TODO 478 Move save logic into service class.
TODO 690 Not used?
TODO 708 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 331 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 1557 $surveytable is unused. Remove it.

application/controllers/admin/Database.php 1

Type Line Description
TODO 101 : 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 254 can this be moved to the top?

application/controllers/StatisticsUserController.php 1

Type Line Description
TODO 45 Not used?

application/models/User.php 8

Type Line Description
TODO 433 should be static
TODO 749 should be static
TODO 820 should be static
TODO 168 Not used?
TODO 272 document me
TODO 359 document me
TODO 419 document me
TODO 729 Not used?

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 264 : 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/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 26

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 1042 It's not clear which class prepareTemplateRendering() returns or should return.
TODO 1751 attribute system rather than specific fields for RTL
TODO 107 document me
TODO 116 document me
TODO 137 document me
TODO 155 document me
TODO 480 document me
TODO 607 document me
TODO 624 document me
TODO 645 document me
TODO 686 document me
TODO 842 document me
TODO 947 document me
TODO 992 document me
TODO 1036 document me
TODO 1269 document me
TODO 1288 document me
TODO 1303 document me
TODO 1320 document me
TODO 1345 document me
TODO 1422 document me
TODO 1523 document me
TODO 1636 document me

application/models/QuestionType.php 1

Type Line Description
TODO 77 make it boolean instead */

application/models/Permission.php 6

Type Line Description
TODO 531 in entry script, if CConsoleApplication, set user as superadmin
TODO 538 plugin should not be able to override the permission system (security issue),
TODO 556 see above about entry script and superadmin
TODO 562 should not be necessary
TODO 620 that should be the only way to get the permission,
TODO 781 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 280 : RESTORE REPLACE NEWER !!
TODO 319 Deal with error here
TODO 510 : add postgresql
TODO 945 : 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 158 $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 107 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 500 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 510 Now that core question themes can't be deleted, the following check
TODO 660 should be moved into DB column (question_theme_settings table)
TODO 797 Make it always relative depending on question theme type (core, custom, user).
TODO 801 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 496 move actions to its controller and split between controller and model, related search for: 1573123789741
TODO 496 Move to QuestionThemeInstaller
TODO 715 Naming is wrong, it does not "get", it "convertTo"
TODO 715 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 1583 Always string??
TODO 1764 Weird...
TODO 1806 What is id here? Could it overwrite something?
TODO 1817 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 576 move to QuestionType
TODO 1473 Assuming no collision.
TODO 439 Duplication from delete()
TODO 1068 : move other fix here ?

application/models/QuestionBaseRenderer.php 1

Type Line Description
TODO 224 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 851 : Cache this on a private attribute?
TODO 880 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 1127 Document code, please.
TODO 1649 : move to PermissionInterface
TODO 1649 : create an event
TODO 1727 Should really be saved as three fields in the database!
TODO 2135 use it in surveyspermission

application/models/SurveyActivator.php 3

Type Line Description
FIXME 378 @ not good
FIXME 382 @ 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 1468 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/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 137 check the whole configuration process. It must be easier and clearer. Too many repitions
TODO 491 get the tags, filters, etc

application/core/LSETwigViewRenderer.php 6

Type Line Description
TODO 83 Panic or default to something else?
TODO 188 Panic or default to something else?
TODO 688 Same issue as commit 2972aea41c51c74db95bfe40c337ae839471152c
TODO 215 missing return statement (php warning)
TODO 380 missing return statement (php warning)
TODO 773 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 135 : 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 6

Type Line Description
TODO 18 Why needed?
TODO 880 rewrite this THE YII WAY !!!! (application/third_party + internal config for namespace + aliases; etc)
TODO 1281 Rename
TODO 1281 Move HTML to view
TODO 1631 : Make 'fieldarray' obsolete by replacing with EM session info
TODO 1948 Deprecated - Question timers no longer use cookies

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 3

Type Line Description
FIXME 3134 $filename not defined!!!
TODO 2844 Need to clean up return array, especially the case when response was added but file not uploaded.
TODO 2844 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 258 - add example from survey using assessments
TODO 347 ??
TODO 397 - ??
TODO 401 ??
TODO 1253 - implement qcode naming for this
TODO 1449 generic validation as to dateformat[SGQA].value : BUT not same in PHP and JS
TODO 2630 - create equations for these?
TODO 2633 ? How does it work?
TODO 3037 - create em_num_files class so can sepately style num_files vs. num_answers
TODO 3276 - do I need to force refresh, or trust that createFieldMap will cache langauges properly?
TODO 3599 Internal error if this happens
TODO 4094 - 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 4226 - cache results and generated JavaScript equations?
TODO 4574 default should eventually be false
TODO 4750 only important thing from StartProcessingGroup?
TODO 4965 only important thing from StartProcessingGroup?
TODO 5016 - now that using $this->updatedValues, may be able to remove local copies of it (unless needed by other sub-systems)
TODO 5068 - add SQL error?
TODO 5096 Internal error if this happens
TODO 5463 only important thing from StartProcessingGroup?
TODO 5608 - what is desired behavior?
TODO 5747 how used if random?
TODO 5802 is this needed?
TODO 5912 is this needed?
TODO 5948 is this needed?
TODO 5992 is this needed?
TODO 6027 is this needed?
TODO 6057 - check this
TODO 6062 - why is array_unique needed here?
TODO 6152 - what about 'other'?
TODO 6196 - what about 'other'?
TODO 6221 - what about 'other'?
TODO 6401 check for errors?
TODO 6406 - currently invalidates all - should only invalidate those that truly fail validation rules.
TODO 6790 - what if this is called using Survey or Data Entry format?
TODO 7288 Internal error if this happens
TODO 7623 - is different type needed for text? Or process value to striphtml?
TODO 8437 Make a wrapper class around date converter, which constructor takes to-lang and from-lang
TODO 8690 jsName_on will never be returned?
TODO 3265 Keep method as-is but factor out content to new class; add unit tests for class
TODO 6880 : add directly hidden input in page without return it.
TODO 9627 : 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 2601 Unify errors and warnings with a EMErrorComparableInterface

application/helpers/common_helper.php 10

Type Line Description
FIXME 595 rename and/or document this
TODO 1682 SQrelevance for different scales? $fieldmap[$fieldname]['SQrelevance']=$abrow['relevance'];
TODO 2341 input Survey Object
TODO 2362 input Survey Object
TODO 2931 : Adding the onload/onhover etc ... or remove this false security function
TODO 4295 remove one of the Yii::app()->session see bug #5901
TODO 4650 RFC7239 full implementation (https://datatracker.ietf.org/doc/html/rfc7239#section-5.2)
TODO 824 Move to defaulttexts helper
TODO 2749 This should probably never be used, since it returns 0 from CLI and makes PHPUnit think all is fine :(
TODO 2957 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 1810 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 854 twig
TODO 1202 check that line:
TODO 1553 find where they are defined before this call
TODO 1622 check with markus why $loadall, it's never ever defined, even in master branch
TODO 1715 check this:
TODO 1372 : find/get current qid for processing string
TODO 1450 : 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 2673 set proper default
TODO 1166 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 1671 Support three or more duplicates.
FIXME 2025 $MyCache is undefined
TODO 2558 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 108 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.