installer/create-database.php 1

Type Line Description
TODO 876 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 81

application/libraries/ExtensionInstaller/VersionFetcherServiceLocator.php 1

Type Line Description
TODO 50 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 279 Factor out
TODO 354 Read config.xml instead.
TODO 603 Localization.
TODO 630 Localization.

application/libraries/PluginManager/PluginBase.php 5

Type Line Description
TODO 440 Create a config object for this? One object for each config field? Then loop through those fields.
TODO 466 Do we want to support automatically installed plugins?
TODO 81 Add proper type hint in 3.0
TODO 422 Could this be moved to plugin model?
TODO 62 Use ExtensionConfig

application/libraries/Save.php 2

Type Line Description
TODO 238 $this->aSaveErrors
TODO 265 $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/TwigCommand.php 1

Type Line Description
TODO 68 here add something more complex to create a file log on the server, something that can be return to the CU server at release creation, etc

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 13

Type Line Description
TODO 157 getGlobalSetting() DEPRECATED
TODO 160 getGlobalSetting() DEPRECATED
TODO 572 is this function used? the function editlocalsetting does not exists (also not in old controller surveyadmin)
TODO 878 this could go to the questiongroupAdministrationController ?
TODO 967 this could go into surveymenucontroller
TODO 1381 : this should go into tokens controller ...
TODO 2037 Add TypeDoc.
TODO 2077 this should be separated in two actions import and copy ...
TODO 2300 this function should be moved to another controller (?)
TODO 2374 While refactoring (at some point) this function should be removed and only one unique identifier should be used
TODO 2398 is this new implementation???
TODO 2435 Change function name to _showOrganizeGroupsAndQuestions?
TODO 2435 Does actually not show anything, but gets data. So getReorderFormData()?

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 484 Show error message?

application/controllers/RegisterController.php 1

Type Line Description
TODO 339 : move xss filtering in model

application/controllers/QuestionAdministrationController.php 22

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 369 It's l10n, not i10n.
TODO 509 Double check
TODO 607 this object doesn't seem to be needed here.
TODO 788 calcul correct value
TODO 791 Fix question type 'A'. Needed?
TODO 837 Fix question type 'A'. Needed?
TODO 1002 Rename Variable for better readability.
TODO 1205 $questionMetaData should be $questionThemeSettings
TODO 1455 1591979134468: this should be get from the question model
TODO 1483 Better solution: Hard-code allowed CSS classes.
TODO 1552 Difference between create and update permissions?
TODO 1727
TODO 1753 Difference between create and update permissions?
TODO 1795 Difference between create and update permissions?
TODO 1873 Always null
TODO 2434 Don't read request from private methods.
TODO 2680 Default value
TODO 3128 Per survey, not globally.
TODO 3141 Use validate().

application/controllers/UploaderController.php 2

Type Line Description
TODO 120 Split into two controller methods.
TODO 254 : 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 764 Double check
TODO 868 unused variable $success

application/controllers/ThemeOptionsController.php 1

Type Line Description
TODO 776 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 26 : document me ...
TODO 109 : document me ..
TODO 168 : document me
TODO 196 : document me
TODO 440 document me ..
TODO 468 : document me

application/controllers/admin/saved.php 1

Type Line Description
TODO 71 write function

application/controllers/admin/expressions.php 1

Type Line Description
TODO 74 Remove it - does nothing

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/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/PluginHelper.php 2

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

application/controllers/admin/responses.php 6

Type Line Description
TODO 750 : add it to response->delete and response->afterDelete
TODO 51 Don't use extract
TODO 425 document me
TODO 1021 missing return statement (php warning)
TODO 1076 Use user session?
TODO 1076 Used?

application/controllers/admin/SurveysGroupsController.php 2

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

application/controllers/admin/authentication.php 2

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

application/controllers/admin/dataentry.php 1

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

application/controllers/admin/tokens.php 6

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

application/controllers/admin/participantsaction.php 4

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

application/controllers/admin/labels.php 2

Type Line Description
TODO 475 Permission check
TODO 475 Move save logic into service class.

application/controllers/admin/useraction.php 3

Type Line Description
TODO 120 If error, we want to keep the form values. Can't do it nicely without CActiveForm?
TODO 287 Delete what final user?
TODO 900 to many arguments

application/controllers/admin/ExpressionValidate.php 1

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

application/controllers/admin/translate.php 2

Type Line Description
TODO 65 need to do some validation here on surveyid
TODO 604 not touched

application/controllers/admin/update.php 2

Type Line Description
TODO 390 : aData should contains information about each step
TODO 554 : if no update available, set session about it...

application/controllers/admin/themes.php 12

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 1114 check if this aData is still used
TODO 1126 try if it can be removed
TODO 1389 Move to service class
TODO 1389 Same logic for survey theme

application/controllers/admin/PluginManagerController.php 6

Type Line Description
TODO 310 Break out to separate method.
TODO 23 Apply new permission 'extensions' instead of 'settings'.
TODO 201 Defensive programming
TODO 638 Might have different file fetcher.
TODO 654 Duplicate from themes.php.
TODO 684 Duplicate from themes.php.

application/controllers/admin/conditionsaction.php 4

Type Line Description
TODO 1176 Check if $p_newscenarionum is null
TODO 671 Better way than to extract $args
TODO 779 Code duplication
TODO 2253 Not used

application/controllers/survey/index.php 1

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

application/models/User.php 8

Type Line Description
TODO 178 get this via $this instead of param
TODO 194 get this via $this instead of param
TODO 460 should be static
TODO 774 should be static
TODO 845 should be static
TODO 299 document me
TODO 386 document me
TODO 446 document me

application/models/QuestionAttribute.php 9

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

application/models/SurveyLanguageSetting.php 1

Type Line Description
TODO 265 : rename and fix this

application/models/services/PermissionManager.php 1

Type Line Description
TODO 257 Static methods cannot be mocked.

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 3

Type Line Description
TODO 55 Pure function - move outside class?
TODO 101 Pure function - move outside class?
TODO 139 Pure function - move outside class?

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 62 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 381 Move to QuestionTheme?

application/models/TemplateConfiguration.php 24

Type Line Description
TODO 228 Move to SurveyGroup creation, right now the 'lazy loading' approach is ok.
TODO 276 Move to SurveyGroup creation, right now the 'lazy loading' approach is ok.
TODO 358 Move to SurveyGroup creation, right now the 'lazy loading' approach is ok.
TODO 107 document me
TODO 116 document me
TODO 136 document me
TODO 154 document me
TODO 479 document me
TODO 605 document me
TODO 622 document me
TODO 643 document me
TODO 684 document me
TODO 839 document me
TODO 944 document me
TODO 988 document me
TODO 1024 document me
TODO 1185 document me
TODO 1253 document me
TODO 1272 document me
TODO 1287 document me
TODO 1304 document me
TODO 1329 document me
TODO 1406 document me
TODO 1507 document me

application/models/QuestionType.php 1

Type Line Description
TODO 62 make it boolean instead */

application/models/Permission.php 6

Type Line Description
TODO 532 in entry script, if CConsoleApplication, set user as superadmin
TODO 539 plugin should not be able to override the permission system (security issue),
TODO 557 see above about entry script and superadmin
TODO 563 should not be necessary
TODO 621 that should be the only way to get the permission,
TODO 782 Use data value object instead of array.

application/models/Plugin.php 2

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

application/models/UpdateForm.php 4

Type Line Description
TODO 243 $downloadid not used locally
TODO 281 : RESTORE REPLACE NEWER !!
TODO 508 : add postgresql
TODO 952 : 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 756 Doc

application/models/TemplateManifest.php 4

Type Line Description
TODO 637 load to DB
TODO 648 Installs Theme (maybe rename importManifest to install ?)
TODO 1040 create a method "setToDefault"
TODO 1427 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 156 $language is not used locally

application/models/LSActiveRecord.php 2

Type Line Description
TODO 446 Use OOP polymorphism instead of switching on class names.
TODO 197 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 11

Type Line Description
TODO 296 attribute system rather than specific fields for RTL
TODO 1248 try to refactore most of those methods in TemplateConfiguration and TemplateManifest so we can define their
TODO 1249 body here.
TODO 396 document me
TODO 422 document me
TODO 444 document me
TODO 444 missing return value (php warning)
TODO 986 document me
TODO 1005 document me
TODO 1119 document me
TODO 1141 document me

application/models/Answer.php 1

Type Line Description
TODO 99 get via Question relations

application/models/ParticipantShare.php 1

Type Line Description
TODO 29 should be singular

application/models/Permissiontemplates.php 2

Type Line Description
TODO 234 should be static
TODO 75 Apply what to user?

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 193 For some reason, the delete button is smaller than the others
TODO 1595 Always string??
TODO 1776 Weird...
TODO 1818 What is id here? Could it overwrite something?
TODO 1829 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 23 Bell animation
TODO 273 : via survey relations
TODO 286 this should be in Survey model (relations?)
TODO 302 this should be in Survey model
TODO 318 Check first_read = null instead?
TODO 362 read = null?

application/models/QuestionL10n.php 1

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

application/models/SurveyLink.php 1

Type Line Description
TODO 155 this should be in survey model

application/models/UserGroup.php 2

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

application/models/Question.php 4

Type Line Description
TODO 578 move to QuestionType
TODO 1474 Assuming no collision.
TODO 439 Duplication from delete()
TODO 1064 : move other fix here ?

application/models/QuestionBaseRenderer.php 1

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

application/models/SurveyDynamic.php 1

Type Line Description
TODO 685 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 852 : Cache this on a private attribute?
TODO 881 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 1128 Document code, please.
TODO 1652 : move to PermissionInterface
TODO 1652 : create an event
TODO 1730 Should really be saved as three fields in the database!
TODO 2145 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/Surveymenu.php 1

Type Line Description
FIXME 496 $sOldLanguage is undefined

application/models/Token.php 1

Type Line Description
TODO 53 Describe me!

application/models/Field.php 1

Type Line Description
TODO 62 for non-question columns

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 94 should be static

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

Type Line Description
TODO 107 should be static

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 492 get the tags, filters, etc

application/core/Survey_Common_Action.php 7

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

application/core/LSCGettextMessageSource.php 1

Type Line Description
TODO 23 Where is catalog set (except default value)?

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 106 : check if $sValueHidden === $sValue

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

Type Line Description
TODO 107 : check if it should be the same than javavalue
TODO 163 : check if it should be the same than javavalue

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 874 rewrite this THE YII WAY !!!! (application/third_party + internal config for namespace + aliases; etc)
TODO 1275 Rename
TODO 1275 Move HTML to view
TODO 1625 : Make 'fieldarray' obsolete by replacing with EM session info
TODO 1943 Deprecated - Question timers no longer use cookies

application/helpers/questionHelper.php 2

Type Line Description
TODO 1195 add these later? "1F",
TODO 1205 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 3121 $filename not defined!!!
TODO 2828 Need to clean up return array, especially the case when response was added but file not uploaded.
TODO 2828 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 260 - add example from survey using assessments
TODO 349 ??
TODO 399 - ??
TODO 403 ??
TODO 1255 - implement qcode naming for this
TODO 1451 generic validation as to dateformat[SGQA].value : BUT not same in PHP and JS
TODO 2641 - create equations for these?
TODO 2644 ? How does it work?
TODO 3048 - create em_num_files class so can sepately style num_files vs. num_answers
TODO 3291 - do I need to force refresh, or trust that createFieldMap will cache langauges properly?
TODO 3613 Internal error if this happens
TODO 4106 - 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 4246 - cache results and generated JavaScript equations?
TODO 4594 default should eventually be false
TODO 4770 only important thing from StartProcessingGroup?
TODO 4985 only important thing from StartProcessingGroup?
TODO 5036 - now that using $this->updatedValues, may be able to remove local copies of it (unless needed by other sub-systems)
TODO 5088 - add SQL error?
TODO 5116 Internal error if this happens
TODO 5464 only important thing from StartProcessingGroup?
TODO 5610 - what is desired behavior?
TODO 5749 how used if random?
TODO 5803 is this needed?
TODO 5913 is this needed?
TODO 5949 is this needed?
TODO 5993 is this needed?
TODO 6028 is this needed?
TODO 6058 - check this
TODO 6063 - why is array_unique needed here?
TODO 6153 - what about 'other'?
TODO 6197 - what about 'other'?
TODO 6222 - what about 'other'?
TODO 6402 check for errors?
TODO 6407 - 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 7261 Internal error if this happens
TODO 7593 - is different type needed for text? Or process value to striphtml?
TODO 8407 Make a wrapper class around date converter, which constructor takes to-lang and from-lang
TODO 8659 jsName_on will never be returned?
TODO 3276 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 9585 : 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 96 - change this back to false
TODO 561 try to determine datatype?
TODO 1947 - Since want to use <span> for dynamic substitution, what if there are recursive substititons?
TODO 2593 Unify errors and warnings with a EMErrorComparableInterface

application/helpers/common_helper.php 9

Type Line Description
FIXME 595 rename and/or document this
TODO 1680 SQrelevance for different scales? $fieldmap[$fieldname]['SQrelevance']=$abrow['relevance'];
TODO 2349 input Survey Object
TODO 2370 input Survey Object
TODO 2939 : Adding the onload/onhover etc ... or remove this false security function
TODO 4300 remove one of the Yii::app()->session see bug #5901
TODO 824 Move to defaulttexts helper
TODO 2757 This should probably never be used, since it returns 0 from CLI and makes PHPUnit think all is fine :(
TODO 2965 Make the days configurable

application/helpers/Hash.php 1

Type Line Description
FIXME 106 !!!

application/helpers/update/updatedb_helper.php 1

Type Line Description
TODO 6402 Don't use models in updatedb_helper.

application/helpers/qanda_helper.php 9

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

application/helpers/export_helper.php 1

Type Line Description
TODO 2531 refactor and simplify this code

application/helpers/sanitize_helper.php 3

Type Line Description
TODO 314 define the exact format of the username
TODO 327 define the exact format of the username
FIXME 425 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 1205 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 741 set this to true if in admin mode but not if running a survey
TODO 843 twig
TODO 1191 check that line:
TODO 1538 find where they are defined before this call
TODO 1607 check with markus why $loadall, it's never ever defined, even in master branch
TODO 1700 check this:
TODO 1361 : find/get current qid for processing string
TODO 1439 : 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 1

Type Line Description
TODO 2661 set proper default

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 1687 Support three or more duplicates.
FIXME 2040 $MyCache is undefined
TODO 2573 Support three or more duplicates.

application/helpers/admin/activate_helper.php 2

Type Line Description
FIXME 67 undefined function db_execute_assosc()
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.