- Jun 12, 2017
-
-
Carsten Rose authored
OnArray.php: typo in doc. doUpload: enhance type declaration.
-
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'
- Jun 11, 2017
-
-
Carsten Rose authored
-
Carsten Rose authored
QFQ complains that the given SIP parameter is already defined. Problem is the pre filling of Store SIP, which normally happens only during form load. But the new 'saving a new record (r=0) and redirecting the browser to the same page with the new record id', requires a new SIP. That SIP is calculated before form-load and causes the exception. Fix: defined parameter in a store, which will be redefined with the same value, wont' throw an exception anymore. Store.php: compare old and new value and only if they differ throw an exception.
-
- Jun 10, 2017
-
-
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
-
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.
-
Carsten Rose authored
-
Carsten Rose authored
Effekt tritt auf seit dem Status 'hidden' aus 'form-update' entfernt wurde und durch 'element-update' ersetzt wurde. Aktuell ist nicht klar warum es Zeile 2589/AbstractBuildForm.php gibt. Auskommentiert.
-
- Jun 08, 2017
-
-
Carsten Rose authored
-
- Jun 07, 2017
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
unit test fixed.
-
Carsten Rose authored
Introduce new config var 'DB_UPDATE' in config.qfq.ini. Update the handling, if there exist table 'form' and 'Form'. Manual.rst: document the new config option DB_UPDATE. Database.php: Typo fixed. DatabaseUpdate.php: Iterate over all found 'Form' tables, take the newest version number. Respect config option DB_UPDATE. Fixed a problem: if in the PHP DB updates a newer DB Version is configured than the PHP source itself is, such updates are now not played anymore. Config.php, QuickFormQuery.php, config.example.ini: handle config setting DB_UPDATE.
-
- Jun 05, 2017
-
-
Carsten Rose authored
Manual.rst: add 'hideZero' to doc. AbstractBuildForm.php, Support.php: implement to suppress '0' if showZero=1
-
Carsten Rose authored
-
Carsten Rose authored
formEditor.sql: most radio FEs changed from HTML standard to Bootstrap Design. FE 'subrecordOption' shown only for FE.type==subrecord. FE 'checkPattern' shown only for FE.checkType=='pattern|min%'.
-
Carsten Rose authored
Fix problem that also non-'note' FE's has been updated.
-
Carsten Rose authored
With API 'update-element' & 'content' also the 'input' column for FE.type='note' will be updated.
-
Carsten Rose authored
Pressing 'new' on a form skips pushing an entry in the browser history. E.g.: 'List > Edit > New > Close' redirects back to 'Edit'. Also 'List > Edit > New > New > ... > New > Close' redirects back to 'Edit'. QfqFrom.js: replace 'window.location = target' by window.location.replace(target);
-
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.
-
- Jun 04, 2017
-
-
Carsten Rose authored
AbstractBuildForm.php: added 'elseif()' to accept missing set/enum/sql1 definition for checkbox is 'checked' is given.
-
Carsten Rose authored
formEditor.sql: FE 'feIdContainer' will only be shown if there is at least one FE container element. The Radio 'forwardMode' are now rendered in Bootstrap style.
-
Carsten Rose authored
Manual.rst: update doc of 'url-skip-history'. DatabaseUpdateData.php: update data structure as well as update given data from 'page' to 'url'. QuickFormReport.php: remove temporarily fix page/url. formEditor.sql: update table 'Form.forwardMode' to ('client', 'no', 'url', 'url-skip-history'). FormEditor now uses dynamicUpdate to hide/show FE 'forwardPage'.
-
Carsten Rose authored
QfqForm.js: Preparation for client, to handle window.location.replace() by new API status 'url-skip-history'. Also changed "(data.redirect === "url" || data['redirect-url'])" to "(data.redirect === "url" && data['redirect-url'])" - CR did not understand the former logic ('or' instead of 'and'). #OPEN#: window.location.replace = 'index.php....' throws an JS exception that it the attribute 'replace' is readonly. Instead "window.location.replace('index.php....')" works as expected. PROTOCOL.md: add 'url-skip-history'. save.php: recode to become more readable. QuickFormQuery.php: getForwardMode() - temporarily fix to update status 'page' to 'url' (bug never caused a problem as long as '||' has been used on client side). Will change 'page' to 'url' asap.
-
Carsten Rose authored
Recode: new function buildNSetReloadUrl()
-
Carsten Rose authored
Partly remove unused code 'htmlNameIdZero'. Instead implement generation of a new SIP for the new record and reload the current page with the new SIP. QuickFormQuery.php: remove newRecordUpdateSip(). Set URL redirection if none specific is configured. Skip creation of json code if page will be reloaded.
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
- Jun 03, 2017
-
-
Carsten Rose authored
-
Carsten Rose authored
-
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.
-
- Jun 01, 2017
-
-
Carsten Rose authored
AbstractbuildFrom.php: an empty value leads to a missing atrribute 'value'. Now the attribute 'value' is always generated, even if the string is empty. For Bootstrap Radio Buttons, an empty value looks bad. To fix it, a ' ' is now rendered.
-
Carsten Rose authored
bulb.png: update image
-