- 08 Aug, 2017 1 commit
-
-
Carsten Rose authored
-
- 07 Aug, 2017 1 commit
-
-
Carsten Rose authored
modifiedRecord.pu: State Diagram Dirty.php: implement $recordHashMd5 to detect modified records. OnArray.php: new getMd5() AbstractBuildForm.php: implemented but not working update of hidden input 'recordHashMd5'. Add hidden input 'recordHashMd5'. BuildFormBootstrap: Add hidden input 'recordHashMd5'. formEditor.sql: Rename 'Dirty.recordModified' to 'Dirty.recordHashMd5'.
-
- 02 Aug, 2017 1 commit
-
-
Carsten Rose authored
Store.php: change function getNonSystemSipParam() from private to public AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: use of getNonSystemSipParam() in deriveNewRecordUrlFromExistingSip() and createDeleteUrl()..
-
- 10 Jul, 2017 1 commit
-
-
Carsten Rose authored
First version for save - not working now. Manual.rst: document config var SYSTEM_DIRTY_RECORD_TIMEOUT_SECONDS. QuickFormQuery.php, Dirty.php: extend to support QFQ/save(). Client.php: fixed broken PHP Unit test Config.php: set default for dirtyRecordTimeout. BuildFormBootstrap.php: No dirtyUrl if dirtyMode=none. formEditor.sql: extend definition to Form.dirtyMode, new table 'Dirty' Fixed several unit tests for new tables.
-
- 09 Jul, 2017 1 commit
-
-
Carsten Rose authored
First implementation on server side: only tag as dirty, no check during save(). dirty.php, Dirty.php, Client.php: new Store.php: refactored fillStoreClient() to use an dedicated class. BuildFormBootstrap.php: add hook for dirty.php
-
- 14 Jun, 2017 2 commits
-
-
Carsten Rose authored
After recode 'buildButtonCode()' the button text has been misplaced as tooltip and the class 'btn btn-default' was missing. Added. OK
-
Carsten Rose authored
Implemented by using a new class ''.required-field'. The class has to be applied to the label. Not implemented is the option, to render the asterix directly on/beside the input (not the label) - probably solved later. qfq-bs.css.les: New CSS class required-field AbstractBuildForm.php: extended buildLable() with new parameter $addClass. BuildFormBootstrap.php: Assign class 'required-field' to label for required fields.
-
- 12 Jun, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: various topics undocumented. DatabaseUpdate.php: New table Clipboard, New FE.type='paste', New Form.forwardMode='url-sip' - will be applied for 0.18.3. FormAction.php: New: doAllFormElementPaste(), prepareDuplicate(), checkNCopyFiles(), copyRecord() Store.php: New member in STORE_CLIENT 'CLIENT_COOKIE_QFQ' - might be used to identify current user. BuildFormBootstrap.php: New buildButtonCopyForm(). QuickFormQuery.php: Calculating the target page now happens after saving the current record and processing all after save actions. New: pasteClipboard() formEditor.sql: New form 'copyForm'. New table 'Clipboard'
-
- 10 Jun, 2017 4 commits
-
-
Carsten Rose authored
Current fix is just a workaround. Further implications might exist. E.g. 'text' and 'date' should be fine, but 'select' / 'checkbox' / 'radios' / ... are not tested and probably won't work. Support.php: set flags for 'row' / '/row'. AbstractBuildForm.php, BuildFormBootstrap.php: $flagRowUpdate switches logic between full 'row update' (only one FE in the row) and 'per element'. In 'per element'-Mode, not all input types are updated properly.
-
Carsten Rose authored
First implementation: Show / Hide via dynamicUpdate for a second element, wrapped in an own 'col-md' div.
-
Carsten Rose authored
-
Carsten Rose authored
Next result of migration FE.mode='hide' from 'form-update' to 'element-update'. Fixed BuildFormBootstrap: new function getRowOpenTag(). Preparation to support show/hide in single row on multiple elements.
-
- 05 Jun, 2017 1 commit
-
-
Carsten Rose authored
#3568 / Form: fuer alle Buttons (save, close, new, delete) eine optionale class & text konfigurierbar machen Manual.rst: new configuration options listed at config.qfq.ini and Form.paramtert. Config.php: Defaults configured for F_SAVE|CLOSE|DELETE|NEW_BUTTON_TEXT|TOOLTIP|CLASS|GLYPH_ICON. BuildFormBootstrap.php: Changed code to take values from config.qfq.ini or (if given) from form.parameter definitions. QuickFormQuery.php: Copy new setup values from config.qfq.ini to Form. StoreTest.php: update unit test for new global configuration values config.qfq.example.ini: fill with new commented key/value pairs.
-
- 03 Jun, 2017 1 commit
-
-
Carsten Rose authored
3612 / Konflikt typeAheadLdap mit dynamic modesql: the problematic HTML input element, added with typeahead functionality, is completely JS controlled by a Twitter library. For hiding / showing elements via dynamicUpdate, QFQ uses now API_ELEMENT_UPDATE on the outer row element. AbstractBuildForm.php: add function elementUpdateAttrClassOnRow(). BuildFormBootstrap.php: split the class definition in an extra var.
-
- 18 May, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst, AbstractException.php, SessionCookie.php, Downoad.php, Error.php, Link.php, Report.php, Store.php, AbstractBuildForm.php, BuildFormBootstrap.php, config.qfq.example.ini: replace all access to SHOW_DEBUG_INFO with respect to multiple values.
-
- 24 Apr, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: small abstract about implemented security enhancements in QFQ. Sanatize.php: New function urlDecodeArr(). Decode all _GET vars. AbstractBuildForm.php, BuildFormBootstrap.php: form head now contains the honeypot vars.
-
- 10 Apr, 2017 2 commits
-
-
Carsten Rose authored
Throw of a UserFormException with wrong parameter. Fixed.
-
Carsten Rose authored
Implemented.
-
- 30 Mar, 2017 1 commit
-
-
Carsten Rose authored
Neu: Form.parameter.saveButtonActive - if this attribute is set, the save button will be enabled directly on form load. Manual.rst: update doc BuildFormBootstrap.php:: Add new attribute to 'form'-tag
-
- 29 Mar, 2017 3 commits
-
-
Carsten Rose authored
Implemented the option to make a form `readonly`. this can be done statically or dynamically via variable (e.g. SIP). QuickFormQuery.php, AbstractBuildForm.php: Force 'readonly' by overwriting FormElement individual 'mode' setting. BuildFormBootstrap.php: Introduced new variable F_SHOW_BUTTON.
-
Carsten Rose authored
#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann. BuildFormBootstrap.php: Add ToolTip to checkbox.
-
Carsten Rose authored
#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann. AbstractBuildForm.php: Add checkbox left to the 'EditForm'-Button to toogle the 'FormElemnt'-Icons -as the regular 'Form Edit'-Pencil, the 'FormElement Checkbox' is only displayed if the user is logged in BE. BuildFormBootstrap.php: new function 'buildEditFormElementCheckbos()'
-
- 27 Mar, 2017 1 commit
-
-
Carsten Rose authored
#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: Function createFormEditorUrl extended to accept parameter, to make it more generic (best would be to use the 'Link' class). Build the FormElement Edit symbol as together with debug stack symbols
-
- 25 Mar, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
AbstractException.php: Changing 'getTraceToString()' to 'getTrace()' causes trouble if there is an exception during formLoad. Rendering error messages will be redesigned (#3424)
-
- 23 Mar, 2017 1 commit
-
-
Carsten Rose authored
BuildFormBootstrap.phpL #3413 Form ohne Pill hat kein padding am Rand. Fix: falls kein Pill vorhanden ist wird neun zusaetzlich ein col-md-12 geliefert.
-
- 16 Mar, 2017 2 commits
-
-
Carsten Rose authored
BuildFormBootstrap.php: wrapping of optional 'submitButtonText' now done with the configured form wrap setup qfq-bs.css.less: dislay characterCount inside of input/textarea element.
-
Carsten Rose authored
BuildFormBootstrap.php: Added class'clearfix' to every Bootstrap row 'form-group' - on request of BB: should solve problems which we don't see at the moment. qfq-bs.css.less: Typeahead - expand with of dropdown Box to 100% of current input element. Add hoover for the dropdown Box with a blue background
-
- 06 Mar, 2017 1 commit
-
-
Carsten Rose authored
BuildFormBootstrap.php: wrap note in class 'qfq-note'
-
- 05 Mar, 2017 2 commits
-
-
Carsten Rose authored
#3180=#2081 dynamicUpdate, rearrange 'input hidden' elements from checkboxes, radios to top of form. CODING.md: add some doc about STORE_ADDITIONAL_FORM_ELEMENTS. load.php (#2081): rearrange delivered JSON to fullfill client API. AbstractBuildForm.php: rename getJsonElementUpdate() to getFormElemenForJson(). Extend getFormElementForJson() to support changes for label and note. Fill store STORE_ADDITIONAL_FORM_ELEMENTS with 'hidden input' elments. QuickFormQuery.php: implement Client JOSN API update.
-
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
-