// TODO: replace my own sanitize function with Sanitize::safeFilename
// TODO: define bootstrap function which sets paths and reads config
// TODO: set log + qfq,mail,sql log paths if they are set in config (use empty()) ATTENTION: input might be absolute or relatvie to app
// TODO: after adjusting log paths make sure that SYSTEM_QFQ_LOG_ABSOLUTE usw. are not used anywhere + SYSTEM_EXT_PATH_ABSOLUTE + SYSTEM_SEND_E_MAIL_ABSOLUTE
// TODO: read config before setting log path and read path vars from config when setting. SYSTEM_QFQ_LOG_ABSOLUTE usw.
// TODO: check all cwdToLog() uses. should it not be absolute paths?
// TODO: remove all config related code from Store
// TODO: set setAppRelToCwd() in every api file.
// TODO: set setAppRelToCwd() in every api file.
// TODO: Replace all calls to T3Handler::... and Store/T3Info.php with abstraction
// TODO: Replace all calls to T3Handler::... and Store/T3Info.php with abstraction
// TODO: AS _pagee macht link auf .../index.php . entweder datei umbenennen oder link klasse aendern
// TODO: AS _pagee macht link auf .../index.php . entweder datei umbenennen oder link klasse aendern
...
@@ -29,11 +36,18 @@ use IMATHUZH\Qfq\Core\QuickFormQuery;
...
@@ -29,11 +36,18 @@ use IMATHUZH\Qfq\Core\QuickFormQuery;
// TODO: create filePathToQfqConfig() and replace config references with this
// TODO: create filePathToQfqConfig() and replace config references with this
// TODO: replace all paths with typo3conf/ (usw.) and /../ and fileadmin/ with correct path computing function.
// TODO: replace all paths with typo3conf/ (usw.) and /../ and fileadmin/ with correct path computing function.
// TODO: Compare Support::joinPath with Path::join
// TODO: Compare Support::joinPath with Path::join
// TODO: go through all variables/keywords that can be set by user in docs.qfq.io
// Config out of store
// TODO: follow every SYSTEM variable an replace store call with Config getter
// Testing
// Testing
// TODO: Fix Unittests
// TODO: Fix Unittests
// TODO: test if Logger::makePathAbsolute() actually still does what it should (I have changed it)
// TODO: test if Logger::makePathAbsolute() actually still does what it should (I have changed it)
// Changenotes
// TODO: add breaking change: if sql/qfq/mail log paths were set in Typo3, this info will be lost.
// Misc.
// Misc.
// TODO: TablesorterController.js: pass API url as data attribute instead of hardcode (this.tablesorterApiUrl = 'typo3conf/ext/qfq/Classes/Api/setting.php';)
// TODO: TablesorterController.js: pass API url as data attribute instead of hardcode (this.tablesorterApiUrl = 'typo3conf/ext/qfq/Classes/Api/setting.php';)
# cat=debug/sql; type=string; label=SQL log mode for AutoCron:Default is 'error'. Modes see 'sqlLogMode'.
# cat=debug/sql; type=string; label=SQL log mode for AutoCron:Default is 'error'. Modes see 'sqlLogMode'.
sqlLogModeAutoCron = error
sqlLogModeAutoCron = error
# cat=debug/sql; type=string; label=SQL log file:Default is 'fileadmin/protected/log/sql.log'. A logfile of fired SQL statements. PathFile is absolute or relative to '<site path>'.
# cat=debug/sql; type=string; label=log directory:Default is '<qfq project path>/log'. Contains all log files. Path is absolute or relative to '<site path>'.
sqlLog = fileadmin/protected/log/sql.log
logPath =
# cat=debug/qfq; type=string; label=QFQ log file:Default is 'fileadmin/protected/log/qfq.log'. A logfile of fired SQL statements. PathFile is absolute or relative to '<site path>'.
# cat=debug/sql; type=string; label=SQL log file:By default in log directory. A logfile of fired SQL statements. PathFile is absolute or relative to '<site path>'.
qfqLog = fileadmin/protected/log/qfq.log
sqlLog =
# cat=debug/mail; type=string; label=Mail log file:Default is 'fileadmin/protected/log/mail.log'. A logfile of sent mail. PathFile is absolute or relative to '<site path>'.
# cat=debug/qfq; type=string; label=QFQ log file:By default in log directory. A logfile of fired SQL statements. PathFile is absolute or relative to '<site path>'.
mailLog = fileadmin/protected/log/mail.log
qfqLog =
# cat=debug/mail; type=string; label=Mail log file:By default in log directory. A logfile of sent mail. PathFile is absolute or relative to '<site path>'.
mailLog =
# cat=debug/info; type=string; label=Show debug info:Default is 'auto'. Possible values: [yes|no|auto][,download]. For 'auto': If a BE User is logged in, a debug information will be shown on the FE.
# cat=debug/info; type=string; label=Show debug info:Default is 'auto'. Possible values: [yes|no|auto][,download]. For 'auto': If a BE User is logged in, a debug information will be shown on the FE.