- 12 Aug, 2017 1 commit
-
-
Carsten Rose authored
AbstractBuildForm.php: add variant to update md5 via form-update. Remove test 'span' wrap around 'recordHashMd5'. Introduce constants API_FORM_UPDATE_*.
-
- 07 Aug, 2017 2 commits
-
-
Carsten Rose authored
-
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
delete.php: process json answer of qfq-delete() Dirty.php: More specific error message. In case of locking problem during form delete - return json and not an exception. QuickFormDirty.php: Code cleanup. Interpret answer of dirty->checkDirtyAndRelease
-
- 02 Aug, 2017 1 commit
-
-
Carsten Rose authored
-
- 01 Aug, 2017 1 commit
-
-
Carsten Rose authored
Dirty.php: workaround for #4127
-
- 30 Jul, 2017 4 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
Carsten Rose authored
-
- 28 Jul, 2017 1 commit
-
-
Carsten Rose authored
Save.php: replace constant
-
- 26 Jul, 2017 1 commit
-
-
Carsten Rose authored
-
- 25 Jul, 2017 1 commit
-
-
Carsten Rose authored
-
- 24 Jul, 2017 2 commits
-
-
Carsten Rose authored
Dirty.php: save 'expire' value.
-
Carsten Rose authored
DatabaseUpdateData.php: Table Form: recordLockTimeoutSeconds - default changed from 0 to 900 secs. Existing forms get the default timeout timout interval. Dirty.php, QuickFormQuery.php: recordLockTimeoutSeconds will be retrieved from the Form.recordLockTimeoutSeconds definition (instead of parsing config.qfq.ini). Therefore a definition per form ist possible.
-
- 23 Jul, 2017 1 commit
-
-
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 6 commits
-
-
Carsten Rose authored
Dirty.php: record delete is handled - if lock exist, delete is not allowed.
-
Carsten Rose authored
Dirty.php, QuickFormQuery.php: Update user messages. Renamed releaseDirty() to checkDirtAndRelease()
-
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
Add Message if dirtRecord is missing.
-
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
-