- 30 May, 2016 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Session.php: If QFQ called by api, there is no T3 environment. Therefore there is no logged in FE User. We should keep the found SIP cache and take them (no flush, due to unknown logged in user).
-
Carsten Rose authored
-
- 29 May, 2016 3 commits
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Save.php: Replace string 'tableName' through constant F_TABLE_NAME.
-
Carsten Rose authored
-
Carsten Rose authored
Report.php, Store.php, QuickFormQuery.php: configuration option 'SESSION_NAME' removed and hard coded to 'qfq'. Session.php, Sip.php: function checkFeUserUid() moved from Sip to Session. Will be called by using 'Session'. SIP's now stored one level deeper in $_SESSION['qfq'][...]. This makes it easier to destroy the SIP cachae in case of login/logout. Destroying the whole $_SESSION var is not a good idea.
-
- 27 May, 2016 1 commit
-
-
Carsten Rose authored
Constants.php,QuickFormQuery.php: Introduced new variables, Bodytext: no var 'form=' or empty var 'form' are now allowed. If given, no form will be load -nothing happens.
-
- 26 May, 2016 2 commits
-
-
Carsten Rose authored
Bug: SIP Parameter have been urlencoded before put, but not urldecoded after get. New: SIP Parameter will be URL decoded before put!. Before creating the SIP it's hard to determine if a parameter is a SIP or not. General: All 'href' attributes are not wrapped by Support::doAttribute(). Sip.php: urldecode. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: wrapped href in Support::doAttribute()
-
Carsten Rose authored
Database.php: Fixed bug that INSERT returns affected rows. Correct is last_insert_id. Moved 'REPLACE' to behave like 'INSERT' instead of 'UPDATE. Extended Tests
-
- 25 May, 2016 5 commits
-
-
Carsten Rose authored
Link.php: #2037 - Bei _link mit Grafik wird das Argument o: (tooltip) ignoriert - FIXED. 'title' are rendered now in '<a>' and '<img>'.
-
Carsten Rose authored
-
Carsten Rose authored
AbstractBuildForm.php: elements() generates no HTML for 'extra' anymore.
-
Carsten Rose authored
UsersManual/Index.rst: updated FillStoreManual.php, AbstractBuildForm.php: new constant FE_TYPE_EXTRA.
-
Carsten Rose authored
Store.php: typo. AbstractBuildForm.phhp: for all real form elements a fith't has been added: 'mode'.
-
- 23 May, 2016 4 commits
-
-
Carsten Rose authored
Report.php: refactored: TOKEN_* moved to Constants.php. New Alias TOKEN_VALID_LIST. $this->tokenList remplaced by TOKEN_VALID_LIST. Lines with less than 2 elements are ignored. Every token is checked if it is known. Exceptions got a error number. BodyTextParser.php: valid token checked against TOKEN_VALID_LIST.
-
Carsten Rose authored
Link.php: make error messsage more user friendly Report.php: introduced new constants DEFAULT_ICON, DEFAULT_QUESTION
-
Carsten Rose authored
Link.php: added parameter to JS alert code
-
Carsten Rose authored
-
- 20 May, 2016 2 commits
-
-
Carsten Rose authored
OnArray.php: new explodeWithoutEscaped() Link.php: new doQuestion() Report.php: Link class will be initialized during __construct().
-
Carsten Rose authored
Unittests fuer _page und _Page. Link.php: add checkEmptyValue(), checkValue() - code becomes cleaner. Report.php: diverse Stellen empty() entfernt und durch isset() && ==='' ersetzt. empty() nimmt auch '0' als leeren Wert.
-
- 18 May, 2016 5 commits
-
-
Carsten Rose authored
Link.php: fixed bug that '0' as parameter for a token was equal to 'take default'. Report.php: fixed two bugs with 'uninitialized variable' Sip.php: index.php replaced by a constant.
-
Carsten Rose authored
FillStoreForm.php, AbstractBuilForm.php, Support.php: replaced 'dateFormat' with 'FE_DATE_FORMAT' where appropriate. AbstractBuilForm.php: buildDateJQW in a first version.
-
Carsten Rose authored
FillStoreForm.php, AbstractBuilForm.php: rena,ed buildFormElementId() to buildFormElementName(), deleted: builddateJQW(), copied buildDateTime() to buildDateJQW - but not coded.
-
Carsten Rose authored
-
Carsten Rose authored
-
- 17 May, 2016 2 commits
-
-
Carsten Rose authored
Link.php: code refactored. New implementation should be position independent for the token string. Also some logic changed to be much cleaner. New: NAME_QUESTION_* (not implemented now), FINAL_*, $tokenMapping[], $tokenGiven[]. Removed: varsDefault - directly set in initVars().
-
Carsten Rose authored
-
- 14 May, 2016 1 commit
-
-
Carsten Rose authored
PHP Unit Tests: LinktTest.php, ReportTest.phh - more tests
-
- 13 May, 2016 6 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Report.php: replaced hard coded 'report' token against constants. Initialize all tokens per level. Initialize class to be reentrant. usort: dirty style - disabled E_NOTICE for a short moment.
-
Carsten Rose authored
Report.php: set default value for $t3data["uid"]. $bodyText now given to process() instead of the constructor - makes testing easier. QuickFormQuery.php: applied change of 'bodytext' from Report.php.
-
Carsten Rose authored
Report.php: changed various comparison from '==' to '==='. Use of Support::doAttribute() instead of manual concatenating. Use of empty() instead of ==''.
-
Carsten Rose authored
-
Carsten Rose authored
UsersManual/index.rst: cleanup of _link, _pagex, _PageX description. Link.php, Report.php: Hard coded token names replaced by constants. Name of token 'h' (HASH) changed to 's' (SIP). Report.php: Removed code for column '_F'.
-
- 12 May, 2016 1 commit
-
-
Carsten Rose authored
Support.php: added ecapeDoubleTick()
-
- 11 May, 2016 4 commits
-
-
Carsten Rose authored
Implemented form.requiredParameter - comma sepated list of SIP parameter. If at least one of them is missing in the SIP store, the form won't be loaded. Sip.php: set param 'r'=0 if missing. QuickFormQuery.php: if SIP param 'r' or any of defined in form.requiredParameter is missing, throws an exception.
-
Carsten Rose authored
config.example.ini: DB_INIT Database.php: fire a given DB_INIT string.
-
Carsten Rose authored
AbstractBuildForm.php: additional variable.
-
Carsten Rose authored
CODING.md: edited to be more clearly. AbstractBuildForm.php: doc Save.php: If there is no upload, do not save the filename again (which needs to be calculated instead of using the sip)
-
- 10 May, 2016 1 commit
-
-
Carsten Rose authored
save: Fixed not to save SIP values without corresponding FormElement or values from FormElements which are hidden or readonly. Save.php: removed code to get FormElement - no benefit of this information.
-