- 05 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 01 Mar, 2017 2 commits
-
-
Carsten Rose authored
Support.php: new function insertAttribute(). AbstractBuildForm.php: added 'id' to all FormElements. BuildFormBootstrap: extended customWrap to insert 'id' in every wrap element. QuickFormQuery.php: Add 'id' to Form ToolTip.
-
Carsten Rose authored
FillStoreForm.php, HelperFormElement.php, BuildFormBootstap.php, BuildFormPlain.php, BuildFormTable.php, QuickFormQuery.php: Rename buildFormElementId() to buildFormElementname(). New Function buildFormElementId(). Rename variable $htmlFormElementId to $htmlFormElementName. Support.php: tooltips now contain an html id. Constants.php: Preparation for API 'element-update'.
-
- 27 Feb, 2017 2 commits
-
-
Carsten Rose authored
Implemented for Radios. Checkbox is still open. Index.rst, AbstractBuildForm.php, BuildFormBootstrap.php, Constants.php: split buildRadio() in constructRadioPlain() and constructRadioButton. After several tries to make a base function for both construct variants, CR decided that the code is much more easier to read with to complete separate layout functions. AbstractBuildForm.php: Notes of input elements as well as the text of a 'Note' FormElement are now wrapped in the class 'qfq-note' - this aligns the text to the label baseline.
-
Carsten Rose authored
-
- 23 Feb, 2017 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php: templateGroup / row with the 'add' button , will be wrapped with the bs*Columns as defined in the FormElement templateGroup.
-
- 17 Feb, 2017 1 commit
-
-
Carsten Rose authored
BuildFormBootstrap.php, Store.php: conig.qfq.ini extended to hold new parameter, save button will be build with new attribute.
-
- 16 Feb, 2017 3 commits
-
-
Carsten Rose authored
Wrap Row & Input Elements: specify 'row,/row' and bs*columns to 0 or bigger will enable/disable mutliple Elements per Row. FormElement.parameter.wrap* still have precedence over bs*Column settings. Support.php, AbstractBuildForm.php: Recode way of initializing FormElements. AbstractBuildForm.php: parameter to limit max number ob templateGrouup Elements. BuildFormBootstrap.php: Labels will be hided if FormElement.bsLabelColumns=0.
-
Carsten Rose authored
Coding.md: Beschreibung in Deutsch wie die Formularelemente , rekursiv, gerendert werden. AbstractBuildForm.php: new function buildTemplateGroup() BuildFormBootstrap.php, BuildFormPlain.php, BuildFormTable.php: Preparation for new optional TemplateGroup wrap. QuickFormQuery.php: update comments. formEditor.sql: column 'type' definition extended - new 'templateGroup' enum. FormElement 'type' updated to new container element 'templateGroup'
-
Carsten Rose authored
FormElement.rowLabelInputNote are not respected anymore. AbstractBuildForm.php: cleanup BuildFormBootsrap.php: new function customWrap() Constants.php: new wrapRow, wrapLabel, wrapInput, wrapNote
-
- 12 Feb, 2017 1 commit
-
-
Carsten Rose authored
AdminstratorManual/Index.rst: Update config.qfq.ini description to new parameter 'class'. Remove 'DB_NAME_TEST' cause that is only interesting to PHP Unit Tests and not to enduser. UserManual/Index.rst: Update STORE_SYSTEM description of known variables. Store.php, QuickFormQuery.php: Refactor building STORE_SYSTEM. Make it more generic if new parameters are introduced. Setting up new config.qfq.ini built in defaults and form defaults at one place. Renaming of parameter names in config.qfq.ini to STORE_SYSTEM at one place implemented with an extensible array. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: User constant F_CLASS in $this->formSpec['class'] config.qfq.example.ini: comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY, not UNDEFINED.
-
- 09 Feb, 2017 1 commit
-
-
Carsten Rose authored
Create function `Database->getNativeFormElements()` to unify all needed actions on fresh loaded FormElements like explodeParameterInArrayElements, duplicateRetypEelements, copyAttributesToFormElements. Native FormElements will be loaded on 4 different places in 3 classes. HelperFormElement.php: Moved copyAttributesToFormElements() from QuickFormQuery to HelperFormElement. AbstractBuildForm.php, BuildFormBootstrap.php, QuickFormQuery.php : Use of Database->getNativeFormElements() Database.php: HelperFormElement::copyAttributesToFormElements()
-
- 06 Feb, 2017 1 commit
-
-
Carsten Rose authored
Logger.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormTable.php, Constants.php, BuildFormPlainTest.php: Replace 'label' and 'note' for FormElements by FE_LABEL, FE_NOTE.
-
- 31 Jan, 2017 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Index.rst: Implemented Paramater 'extraDeleteForm' for 'forms' and 'subrecords'. Doku update.
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: Remove parameter 'table' from Delete SIP URLs. ToolTip updated.
-
- 26 Jan, 2017 1 commit
-
-
Carsten Rose authored
Link.php, Report.php, AbstractBuildForm.php, BuildFormBootstrap.php, Constants.php: on various points replaced native string against API_DIR and newly API_DELETE_PHP.
-
- 17 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 14 Jan, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
- 13 Jan, 2017 1 commit
-
-
Carsten Rose authored
FormEditor: 1) design update - new default background color: grey. 2) per form configureable background colors, 3) Optional right align of all form element labels. BuildFormBootstrap.php: added new class name 'qfq-label' to form labels - needed to assign 'qfq-form-right' class. Changed wrapping of formelements from 'col-md-8' (wrong) to 'col-md-12'. QuickFormQuery.php: Set default for new F_CLASS_PILL & F_CLASS_BODY. formEditor.sql: New default background color for formElements is blue. qfq-bs.css.less: add classes qfq-form-pill, qfq-form-body, form-group (center), qfq-color-*, qfq-form-right
-
- 12 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 09 Jan, 2017 1 commit
-
-
Carsten Rose authored
-
- 20 Oct, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php: Implemented alternative button at the bottom of the form.
-
- 09 Jun, 2016 1 commit
-
-
Carsten Rose authored
-
- 01 Jun, 2016 1 commit
-
-
Carsten Rose authored
Link.php, AbstractBuildForm.php, BuildFormBootstrap.php, Database.php: introduced constants for glyph. Code rearranged testtabbles.sql: extended to test Delete with filenames
-
- 29 May, 2016 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Save.php: Replace string 'tableName' through constant F_TABLE_NAME.
-
- 26 May, 2016 1 commit
-
-
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()
-
- 29 Apr, 2016 1 commit
-
-
Carsten Rose authored
Bootstrap grip columns are configurable. A default on the form and, if necessary, per formelement. The default is now changed from 2,6,4 to 2,9,1 UsersManual/index.rst: updated to the new behaviour. Support.php: setIfNotSet() has a new third parameter. AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormPlain.php, QuickFormQuery.php: New abstract function fillWrapLabelInputNote().
-
- 27 Apr, 2016 1 commit
-
-
Carsten Rose authored
Store.php: fills arrays direct in $_SESSION - not sure if this works. AbstractBuildForm.php: buildFile() extended to create hidden sipUplaod element. BuildFormBootstrap.php: support different actions on calling file.php File.php, Save.php: rewrote whole logic of uploading files. See CODING.md
-
- 26 Apr, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
file.php: created Store.php: New store 'STORE_EXTRA' implemented. BuildFormBootstrap: call to file.php implemented.
-
- 25 Apr, 2016 1 commit
-
-
Carsten Rose authored
Support.php: PhpDoc AbstractBuildForm.php: extended buildRow* with parameter htmlFormElementId. buildLabel rewritten to use Support::doAttribute, Support::wrapTag. buildInput/buildDateTim,buildSelect() now add's class 'form-control'. Input fields now offers a 'help-block'-div BuildFormBootstrap, BuildFormPlain.php, BuildFormTable.php: buildRowNative rewritten to support <label>. Signature of BuildRow* adjusted
-
- 18 Apr, 2016 1 commit
-
-
Carsten Rose authored
AbstractException.php: If exist, print Form And FormElement names. HelperFormElement.php, Logger.php, FillStoreForm.php, AbstractBuildForm.php: fomatting form element name. Support.php: add setIfNotSet()
-
- 14 Apr, 2016 1 commit
-
-
Carsten Rose authored
After creating a new record and still open form: a new sip is created and transfered to client. Attention: 'new + save + modify + save again' still create two records (error). AbstractBuildForm.php: buildNewSip() renamed to buildHiddenSip(). Call of buildHiddenSip() moved from tail() to process(). buildHiddenSip() returns JSON code too. BuildFormBootstrap.php, BuildFromPlain.php, BuildFormTable.php : removed call buildNewSip() QuickFormQuery.php: After save, reload current record and create new sip Save.php: process() returns id of affected record.
-
- 08 Apr, 2016 1 commit
-
-
Carsten Rose authored
BuildFormBootstrap.php, Constants.php, formEditor.sql: Buttons 'close' and 'save' are optinal now. buildButtons() refactored to be more generic. All (but 'close') buttons now show debug tooltips.
-
- 02 Apr, 2016 1 commit
-
-
Carsten Rose authored
UserReportException.php: Added field SYSTEM_REPORT_COLUMN_NAME to output. Array members renamed to SYSTEM_*. Various files adjusted to inlcude renamed file `UserFormException.php`. Link.php: Mamut switch() in parseItem() refactored to use $callTable. Report.php: refactoring started to use UserReportException() instead of SyntaxReportException. Startet removing all fr_error usages.
-
- 01 Apr, 2016 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Support.php, AbstractBuildForm.php, BuildFormBootstrap.hp, BuildFormTable.php: refactored doAtrribute() from AbstractBuildForm to Support.
-
Carsten Rose authored
Link.php, Report.php: starting with cleaning up class Link. Constructor purified, enhanced error reporting might be later implemented again. AbstractBuildForm.php, BuildFormBootsrrap.php, BuildFormTable.php: renamed getAttribute() to doAttribute() LinkTest.php: starting creation.
-
- 24 Mar, 2016 1 commit
-
-
Carsten Rose authored
load.php: implemented FillStoreForm.php: implemented Store.php: phpunit test complains about 'store already filled'. Option set to explicitly allow rewrite. AbstractBuildForm.php: Added new mode 'FORM_UPDATE'. Elements additionaly create json code. 'data-load' attribute will be added to form elements, if 'dynamicUpdate=yes' elements(): added call by reference parameter $json, to return the generated json code. BodyTextParse.php: added 'r =' as a new 'start new line' indicator. This was necessary at least for phpunit tests to run. BuildFormBootstrap.php: buildPill() passes json data structure. BuildFormPlain, BuildFormTable.php: doSubrecords() passes json data structure. Constants.php: New FORM_UPDATE, SQL_FORM_ELEMENT_SIMPLE_ALL_CONTAINER, ERROR_FORM_NOT_FOUND, API_FORM_UPDATE Evaluate.php: Exception text enhanced. QuickFormQuery.php: FillStoreForm.php included. Automatic detection of FORM_LOAD and FORM_SAVE removed. Instead the mode are given explicitly. mode=FORM_UPDATE implemented. Save.php: added TODOs in code. formEditor.sql: reformat code. Add 'FormElement.dynamicUpdate'. 'FormElemente.checkType': 'number' replaced by 'digit'. Added 'alnumx', 'digit'. Form 'form', 'formElement': output of 'title' replaced by 'name' - outputting 'title' confuses the user (tries to show records which do fit to the formEditor) and might produce recursion in evaluation (did not understand why, but happens). FormEditor: implemented 'dynamicUpdate', escpecially the 'type' select list will be adjusted dynamically.
-