Skip to content
Snippets Groups Projects
Commit dc23a620 authored by Marc Egger's avatar Marc Egger
Browse files

cleanup Todos

parent 723427bf
No related branches found
No related tags found
2 merge requests!302Develop,!296Marc: Form/Report As File, Path class, Config class, Typo3 v9 compatability
Pipeline #3856 failed
......@@ -12,53 +12,44 @@ use http\Exception;
use IMATHUZH\Qfq\Core\Helper\Path;
use IMATHUZH\Qfq\Core\QuickFormQuery;
// new Bootstrap / Config raus nehmen
// 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: MAKE SELENIUM
// 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: Datenbank einstellungen wieder separat abspeichern, sonst kann man config nicht commiten in git. Idee: in qfq.path.json speichern
// TODO: bootstrap: 1) Path setzen, 2) config file + T3 config laden, 3) DB init, 4) stores fuellen
// TODO: follow every SYSTEM variable an replace store call with Config getter
// QFQ without Typo3
// 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: add HTML header and body tags to echo
// TODO: Check if there are other javascript files which have to be included in qfq/Resources/Public/JavaScript
// TODO: Monitor.php 77: Wird path. I don't know relativ to what it should be
// TODO: ?CR/BB: In QFQ Config one can define "CSS class QFQ container", it says that this should be set to "container" if QFQ element is not yet in Bootstrap container. Why? Seems to work without it
// TODO: (?) move computation of SYSTEM_EXT_PATH_ABSOLUTE and SYSTEM_SITE_PATH_ABSOLUTE into Path.php. Currently Sotre->doSystemPath
// TODO: (?) replace all log path computations: SYSTEM_QFQ_LOG_ABSOLUTE, SYSTEM_SQL_LOG_ABSOLUTE,
// TODO: Test if qfq, sql and mail logs still work
// TODO: write docstrings for Path.php
// TODO: alle error codes raus schmeissen
// TODO: ?CR: AbstractException.php, surround log part with try/catch?
// TODO: Datenbank einstellungen wieder separat abspeichern, sonst kann man config nicht commiten in git. Idee: in qfq.path.json speichern
// TODO: bootstrap: 1) Path setzen, 2) config file + T3 config laden, 3) DB init, 4) stores fuellen
// Remove Error Codes from exception
// TODO: alle error codes raus schmeissen (Constants.php)
// PATH migration
// 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: Compare Support::joinPath with Path::join
// TODO: go through all variables/keywords that can be set by user in docs.qfq.io
// TODO: use PATH:: instead of gtCwd in ColumnScript.php
// Config out of store
// TODO: follow every SYSTEM variable an replace store call with Config getter
// ! TODO: use PATH:: instead of gtCwd in ColumnScript.php
// TODO: check all cwdToLog() uses. should it not be absolute paths?
// ! TODO: Monitor.php 77: Weird path. I don't know relativ to what it should be
// ! TODO: Test if qfq, sql and mail logs still work
// TODO: write docstrings for Path.php
// Testing
// TODO: Fix Unittests
// TODO: test if Logger::makePathAbsolute() actually still does what it should (I have changed it)
// ! TODO: Fix Unittests
// ! 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.
// TODO: TablesorterController.js: pass API url as data attribute instead of hardcode (this.tablesorterApiUrl = 'typo3conf/ext/qfq/Classes/Api/setting.php';)
// Before production
// TODO: switch qfq.debug.js with qfq.min.js
// TODO: DatabaseUpdateData.php move updates from '20.X.0' to newest
// ! TODO: switch qfq.debug.js with qfq.min.js
// ! TODO: DatabaseUpdateData.php move updates from '20.X.0' to newest
////
......
......@@ -7,7 +7,7 @@ export SELENIUM_URL="https://webwork16.math.uzh.ch/megger/qfq/typo3conf/ext/qfq/
export SELENIUM_BROWSER="chrome"
export SELENIUM_DRIVER_PATH="${PWD}/chromedriver"
export SELENIUM_HEADLESS="no"
export SELENIUM_SLOWDOWN=1
export SELENIUM_SLOWDOWN=0
# download chromedriver (Chrome)
if [ ! -f "chromedriver" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment