- 16 Feb, 2017 1 commit
-
-
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.
-
- 15 Feb, 2017 1 commit
-
-
Carsten Rose authored
Support.php, AbstractBuildForm.php: new function falseemptyToZero(). Constants.php: New UPLOAD_MODE_* Evaluate.php: fixed bug in 'skip' logic of evaluate->parseArray() Save.php: doUpload() now returns $modeUpload, which are needed in doUploadSlave(), rewrote logic of doUploadSlave(),
-
- 14 Feb, 2017 1 commit
-
-
Carsten Rose authored
Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben. Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben. STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'. Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter' Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben. FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente. HelperFormElement.php: new class initActionFormElement(), initUploadFormElement(). FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load. Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD. Evaluate.php: moved 'decryptCurlyBraces()' up, in order to create better error messages. Save.php: new doUploadSlave(), implement 'Upload advanced mode'.
-
- 11 Feb, 2017 3 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Store.php: Update function name SanatizeTest.php: Update function name, extend tests to more situations.
-
Carsten Rose authored
Store.php, Sanatize.php: move function normalizeArray() from Store to Sanatize. Implemented Unittests
-
- 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()
-
- 08 Feb, 2017 1 commit
-
-
Carsten Rose authored
-
- 07 Feb, 2017 2 commits
-
-
Carsten Rose authored
Added validator.js attributes 'data-pattern-error', 'data-rquired-error', 'data-match-error', 'data-error' to be specified in config.qfq.ini, Form or FormElement. Detailed setting will overwrite generic setting. If none is specified, take validator.js defaults. HelperFormElement.php, AbstractBuildForm.php, Constants.php, QuickFormQuery.php.
-
Carsten Rose authored
HelperFormElement.php, AbstractBuildForm.php, Constants.php: 'Retype function' - default value will be copied to second element. Detection of secondary-'retype'-FormElement can be done by isset($fe[FE_RETYPE_SOURCE_NAME]) .
-
- 06 Feb, 2017 2 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: added new 'data-compare-element' for buildInput(). QuickFormQuery.php: Adjsut native FormElements in case some of them are 'retype=1'
-
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.
-
- 17 Dec, 2016 1 commit
-
-
Carsten Rose authored
-
- 29 Nov, 2016 1 commit
-
-
Carsten Rose authored
-
- 06 Oct, 2016 1 commit
-
-
Carsten Rose authored
Support.php: escapes double ticks with " instead of \" - needed for JSON encoded config strings for TinyMCE. AbstractBuildForm.php: customize default setup for TinyMCE.
-
- 04 Jun, 2016 1 commit
-
-
Carsten Rose authored
Support.php: Constant for double curly braces redefined from '#&@[[@_#', '#&@]]@_#' to '#/+open+/#', '#/+close+/#' - it's more secure not to use '[' or ']' for the substitution string, cause square braces are now allowed as nesting chars.
-
- 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
-
- 30 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 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()
-
- 23 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 20 May, 2016 1 commit
-
-
Carsten Rose authored
OnArray.php: new explodeWithoutEscaped() Link.php: new doQuestion() Report.php: Link class will be initialized during __construct().
-
- 18 May, 2016 2 commits
-
-
Carsten Rose authored
FillStoreForm.php, AbstractBuilForm.php, Support.php: replaced 'dateFormat' with 'FE_DATE_FORMAT' where appropriate. AbstractBuilForm.php: buildDateJQW in a first version.
-
Carsten Rose authored
-
- 17 May, 2016 1 commit
-
-
Carsten Rose authored
-
- 12 May, 2016 1 commit
-
-
Carsten Rose authored
Support.php: added ecapeDoubleTick()
-
- 10 May, 2016 1 commit
-
-
Carsten Rose authored
Fixed a bug that Input fields are not rendered correctly the columntype are 'set' or 'enum'. Support.php: doAttribute() - attributes with type 'size' or 'maxlenght' and no value or value=0 are skipped and not created. AbstractBuild.php: a maxLenght formelement parameter needs to be numeric and (new) >0 to have an impact. Added calculation of maxlength for columntypes 'set' and 'enum': maxLengthSetEnum().
-
- 09 May, 2016 2 commits
-
-
Carsten Rose authored
CheckBox Multi: checkboxes are now builded with uniq html names. This is necessary for the client, to assign values correctly to multiple checkboxes during form update by JSON data. HelperFormElement.php: new prependFormElementIdCheckBoxMulti() FillStoreForm.php: new collectCheckboxMultiValue(), process() recoded to collect checkBoxMulti values to one element. AbstractBuildForm.php: checkBoxMulti elements: a) no longer contains an '[]' at the end, b) get individual names
-
Carsten Rose authored
Support.php: If FE_MODE_SQL is given, overwrite the static option. FillStoreForm.php: Evaluate loaded elements to get FE_MODE_SQL evaluated.
-
- 02 May, 2016 1 commit
-
-
Carsten Rose authored
Support.php, FillStore.php, AbstractBuildFrom.php, BuildFormPlain.php, BuildFormTables.php, Constants.php, Save.php, BuildFormPlainTest.php
-
- 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 2 commits
-
-
Carsten Rose authored
Sanitize.php: new sanitize class ALLBUT. New function safeFilename(). Support.php: New function mkDirParent(). Store.php: new system config variable SYSTEM_SITE_PATH. QuickFormQuery.php: fills STORE_RECORD before saving the current record. Save.php: moving the file to the final destination.
-
Carsten Rose authored
-
- 26 Apr, 2016 2 commits
-
-
Carsten Rose authored
-
Carsten Rose authored
Sanitize.php, Constants.php: allbut implemented. Support.php: Date regexp corrected to accept years 0001-1000. AbstractBuildForm.php: Code reformatted
-
- 25 Apr, 2016 2 commits
-
-
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
-
Carsten Rose authored
AdministratorManual/index.rst, UsersManual/index.rst: Configuration & Documentation. Sanitize.php: code rewrote to use Support::dateTime2mysql(). Support.php: add dateTimeTegexp() FillStoreForm.php: use of Support::setFeDefaults($formElement). Format date/datetime/time values Store.php: redefined various functions to be 'static' AbstractBuildForm.php, Constants.php: added date/datetime/time to tables. Various new functions. Save.php: FE die nicht uebertragen wurden (typsicherweise weil leer) werden neu mit eimem leer String gesschrieben - sonst ist es nicht moeglich Eingaben wieder zu loeschen. formEditor.sql: Felder date/datetime/time neun implementiert.
-
- 18 Apr, 2016 3 commits
-
-
Carsten Rose authored
-
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()
-
Carsten Rose authored
Sanatize.php, FillStoreForm.php, Constants.php: Preparation to throw more detailed exception for misconfigured min|max values - code not enabled. Support.php: date format extended to accept yyyy-mm-dd too.
-
- 10 Apr, 2016 1 commit
-
-
Carsten Rose authored
Link.php: simplyfied Tooltip creation - might be broken now for non URL - there are no unit tests for these situation. New: if no tooltip is given, and a link of type [Pp]age? - take the glyph name as tooltip. Render all links, which use a hash and with showDebugInfo='yes' , with the decoded sip as tooltip. Sip.php: queryStringToSip() extend to return complete paramter array.
-