- 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'.
-
- 04 Aug, 2017 1 commit
-
-
Carsten Rose authored
Implemented: New > Close (save) now closes correctly the current page. Addtional, #1930 has been solved implizit.
-
- 01 Aug, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: Doc update for periodId. DatabaseUpdateData.php, formEditor.sql: Table 'Period' and sample record. Store.php: Implement systemStoreUpdate() QuickFormQuery.php: call to store->systemStoreUpdate() - might solved in a better way..
-
- 30 Jul, 2017 1 commit
-
-
Carsten Rose authored
-
- 28 Jul, 2017 1 commit
-
-
Carsten Rose authored
Save.php: replace constant
-
- 23 Jul, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Dirty.php: add comments. Add timeout checking
-
- 22 Jul, 2017 1 commit
-
-
Carsten Rose authored
file.php, load.php, Html2Pdf.php: minor updates. Dirty.php, QuickFormQuery.php: optional $lockTimeout as parameter during instantiating. Return $lockTimeout where necessary. Otherwise read qfq.config.ini. Refactor process(), acquireDirty(), checkDirtyAndRelease().
-
- 16 Jul, 2017 1 commit
-
-
Carsten Rose authored
-
- 10 Jul, 2017 3 commits
-
-
Carsten Rose authored
Manual.rst: add documentation for record locking DatabaseUpdateData.php: Add new column 'dirtyMode' Dirty.php, Config.php, formEditor.sql: remove dirtyMode=readonly. Rename 'timeout' to 'exclusive' and 'overwrite' to 'advisory'.
-
Carsten Rose authored
Fixed some 'unknown index' issues - deny save in a first version works.
-
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 2 commits
-
-
Carsten Rose authored
-
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
-
- 07 Jul, 2017 1 commit
-
-
Carsten Rose authored
-
- 30 Jun, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Sanitize.php, FillStoreForm.php, Store.php, Manual.rst: Corrections. Replace 'sanatize' against 'sanitize'.
-
- 23 Jun, 2017 1 commit
-
-
Carsten Rose authored
For any 'SELECT .. AS _link' a new token 'G:<glyphname>' is available. Manual.rst: describe new token 'G:<glyphname>' Link.php: add buildGlyph(), fix some initialization.
-
- 19 Jun, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: describe new special column names. Report.php: implement new column types.
-
- 17 Jun, 2017 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Fixed by implementing an $correctDeleteIndex. FormAction.php: extended elements(), doSlave() from RC=bool to 3 states, it's now possible to detect a deletion and correct the index of any further array processing.
-
- 16 Jun, 2017 1 commit
-
-
Carsten Rose authored
FormAction.php: get templateGroup.maxLength (=maxCopies) via a generic function. HelperFormElement.php: new tgGetMaxLength() FillStoreForm.php: fixed a broken if statement. Use of new tgGetMaxLength() function.
-
- 14 Jun, 2017 3 commits
-
-
Carsten Rose authored
-
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.
-
Carsten Rose authored
New option 'translateIdColumn=feIdContainer' implemented to translate table self referencing ids. FormAction.php: collect translateMap during copying slave records. New function translateId(). formEditor.sql: Update to latest copyForm Version.
-
- 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 2 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
-
- 07 Jun, 2017 1 commit
-
-
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.
-
- 05 Jun, 2017 2 commits
-
-
Carsten Rose authored
Manual.rst: add 'hideZero' to doc. AbstractBuildForm.php, Support.php: implement to suppress '0' if showZero=1
-
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.
-
- 04 Jun, 2017 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: added 'elseif()' to accept missing set/enum/sql1 definition for checkbox is 'checked' is given.
-
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.
-
- 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.
-
- 29 May, 2017 1 commit
-
-
Carsten Rose authored
-
- 27 May, 2017 1 commit
-
-
Carsten Rose authored
Database.php, QuickFormQuery.php: Initializing of native FormElements: _tgIndex HelperFormElement.php: new function formElementSetDefault(). Add '%d' to id's of extraButtonInfo text elements. Manual.rst: minor typos fixed
-
- 25 May, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: added documentation for new config.qfq.ini variables GFX_EXTRA_BUTTON_INFO_INLINE, GFX_EXTRA_BUTTON_INFO_BELOW.
-
- 24 May, 2017 2 commits
-
-
Carsten Rose authored
Implemented: date,time,datetime,editor,radio,select,upload
-
Carsten Rose authored
Implemented Checkbox
-