- 20 Apr, 2017 1 commit
-
-
Carsten Rose authored
Implemented download.php to offer SIP protected downloads for single files (any filetype) as well as concatenated PDF files and converted HTML pages. download.php: API Interface DownloadException.php: New exception class for downloads - might be extended for better error handling. OnArray.php: new function getArrayItemKeyNameStartWith() to filter for specific elements in an array. New function arrayEscapeshellarg() to escape args Download.php: Main class. Link.php, Report.php: implemented new link type 'd' (=download)
-
- 17 Apr, 2017 1 commit
-
-
Carsten Rose authored
-
- 13 Apr, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: Prefetch doc enhanced. Ldap.php: replacement of '?' in LDAP search not processed with MODE_LDAP_PREFETCH - fixed. FE_TYPEAHEAD_LDAP_KEY_PRINTF renamed to FE_TYPEAHEAD_LDAP_ID_PRINTF AbstractBuildForm.php: copy 'FE_TYPEAHEAD_LDAP_ID_PRINTF' to SIP seems never be done - fixed
-
- 12 Apr, 2017 1 commit
-
-
Carsten Rose authored
#3552 / typeAheadLdapSearchPerToken - webpass kann nicht gleichzeitig nach Vornamen und Nachnamen suchen Neuen Modus 'typeAheadLdapSearchPerToken' implementiert. Manual.rst: neues Feature dokumentiert. Ldap.php: Neue Funktion 'explodePermutSearch()'.
-
- 11 Apr, 2017 1 commit
-
-
Carsten Rose authored
During expanding of templateGroups, existing FE with no meaning for save (like note, subrecord, ...) has been created, filled with empty values and saved. Fixed for FEs with type 'subrecord' and 'note' - needs more investigation to check for further sideeffects.
-
- 10 Apr, 2017 2 commits
-
-
Carsten Rose authored
Action elements, assigned to a container which are not a templategroup, threw an exception. In general, it makes no sense (at the time of writing this) to assign an action element to a pill or fieldset, but it should not throw an exception. Fixed - just ignore such assignment.
-
Carsten Rose authored
Implemented.
-
- 08 Apr, 2017 1 commit
-
-
Carsten Rose authored
Exception: rewrote getting T3 parameter without using Store(). Always report pages.uid, tt_content.uid. T3Info.php: new class Sip.php: penalty time for broken sip. Store.php: moved T3 code to T3Info.php
-
- 04 Apr, 2017 1 commit
-
-
Carsten Rose authored
#3502 / TemplateGroups: Checkboxen werden beim ersten Speichern (insert) nicht geschrieben - ein anschliessendes Update ist ok Das Problem tritt nur auf bei MultiCheckboxen. Neu werden im Store STORE_ADDITIONAL_FORM_ELEMENTS (ist bereits frueher, extra fuer Checkboxen, eingefuehrt worden) fuer alle TemplateGroup FEs (type=checkbox) die Fake Elemente angelegt. Dazu wird neu NAME_TG_COPIES in dem FEs gefuellt mit dem 'TG max copies'-Wert.
-
- 02 Apr, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: update doc how to insert/update/delete non primary templateGroup records. FormAction.php: removed $templateGroupIndex - solved implicit by defining a LIMIT on 'slaveId' . Implemented '%D' (one below %d). Implemented FE_SQL_HONOR_FORM_ELEMENTS - reduces unecassary SQL queries. HelperFormElement.php: moved function 'explodeTemplateGroupElements()' to 'QuickFormQuery.php' Database.php: remove call to explodeTemplateGroupElements() - not necessary at that place. QuickFormQuery.php: fill STORE_RECORD during Formload - to read templateGroup records very early. Local copy of `getNativeFormElements()`, new `explodeTemplateGroupElements()`
-
- 30 Mar, 2017 3 commits
-
-
Carsten Rose authored
Mode: typeAheadPedantic TypeAhead.php: Implemented new parameter TYPEAHEAD_API_PREFETCH. Ldap.php: add new mode MODE_LDAP_PREFETCH AbstractBuildForm.php: If FE_TYPEAHEAD_PEDANTIC is specified, add attribute DATA_TYPEAHEAD_PEDANTIC,'true'
-
Carsten Rose authored
Implementation started - code is broken
-
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 2 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. 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()'
-
- 28 Mar, 2017 1 commit
-
-
Carsten Rose authored
Manual.rst: Updated doc for a) config.qfq.ini: LDAP_1_RDN, LDAP_1_PASSWORD, b) Form.parameter|FormElement.parameter: ldapUseBindCredentials ErrorHandler.php: removed details - the end user should not too many details. FormAction.php, Ldap.php, QuickFormQuery.php: implement 'ldapUseBindCredentials' Ldap.php: set_error_handler() to catch ldap_bind() problems. Always set LDAP_OPT_PROTOCOL_VERSION=3 - this might cause problems with som LDAP Servers - we will see.
-
- 27 Mar, 2017 2 commits
-
-
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
-
Carsten Rose authored
-
- 26 Mar, 2017 2 commits
-
-
Carsten Rose authored
The new implementation creates empty fake instances of all copies of templateGroup FormElements. Those are empty. Before save, the submitted form values will be expanded with the empty fake templateGroup FormElements and such empty values will be saved. FormAction.php: Rename constant SQL_FORM_ELEMENT_TEMPLATE_GROUP to SQL_FORM_ELEMENT_TEMPLATE_GROUP_FE_ID - to be more precise. HelperFormElement.php, Database.php: new function explodeTemplateGroupElements()
-
Carsten Rose authored
#3431 / typeAheadSql: columnname 'key' is a reserverd SQL statement - replace by 'id'. Additional the parametername 'typeAheadLdapKeyPrintf' renamed to 'typeAheadLdapIdPrintf'. typeAhead.php: fixed typo. TypeAhead.php: introduced new mapping from 'id' (SQL) to 'key' (API). AbstractBuildForm.php: Constant renamed. Database.php: update function makeArrayDict() to reflect name mapping.
-
- 25 Mar, 2017 3 commits
-
-
Carsten Rose authored
AbstractBuildForm.php: Saving 'extra' FE in STORE_SIP has been done with inappropiate FE_NAME. Correct is the pure FE_NAME, without any extension like recordId. Unessary and broken decoding removed.
-
Carsten Rose authored
HelpFormElement.php: Introduced new constants HTML_DELIMITER_NAME, HTML_DELIMITER_ID AbstractBuildForm.php: Saving 'extra' FE in STORE_SIP has been done with inappropiate FE_NAME. Correct is the pure FE_NAME, without any extension like recordId. Unessary and broken decoding removed.
-
Carsten Rose authored
Fix #3420 / Quicklink 'editform' on form: directs to the current T3 page which might be insufficient AbstractBuildForm.php, Store.php: Introduce new config.qfq.ini setting 'EDIT_FORM_PAGE'
-
- 23 Mar, 2017 2 commits
-
-
Carsten Rose authored
Manual.rst: Update Doc for new option 'bsColumns' Config.php: Copy new element from general config. Store.php: set default for 'bsColumns'. QuickFormQuery.php: wrap whole form in 'col-md-XX'
-
Carsten Rose authored
Ldap.php: Added checks for missing LDAP..._SEARCH. Do not throw an error if there is an empty result. HTML Entitites for typeahead will be escaped on client side.
-
- 20 Mar, 2017 1 commit
-
-
Carsten Rose authored
OnArray.php: new function 'arrayValueReplace()'. AbstractBuildForm.php: Load foreign values in templatGroups.
-
- 19 Mar, 2017 1 commit
-
-
Carsten Rose authored
-
- 17 Mar, 2017 1 commit
-
-
Carsten Rose authored
Typeahead (#3369): Parameternames has changed, configuration is possible on the Form and on the FormElement. typeahead.php: if there is an exception, the message body is sent as regular 'content' for the dropdownbox. At the moment this is the only way to transmit any error messages. Ldap.php: missing FE_TYPEAHEAD_LDAP_KEY_PRINTF, FE_TYPEAHEAD_LDAP_VALUE_PRINTF will be substituted by the other. If both missing, an exception is thrown.
-
- 16 Mar, 2017 3 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
-
Carsten Rose authored
-
- 15 Mar, 2017 2 commits
-
-
Carsten Rose authored
Ldap.php: fixed implementation errors of first run. AbstractBuildForm.php: set defaults for limit and minlegth. Implement function checkSqlAppendLimit()
-
Carsten Rose authored
TypeAhead.php: Reformat of various constants. Hard coded LDAP query replaced by one submitted via SIP. KeyValueStringParser.php: Implemented explodeWrapped() - behaves like 'explode()' but will respect strings wrapped in quotes as no explodeable. Ldap.php: New class to manage LDAP access. AbstractBuildForm.php: Add attributes DATA_TYPEAHEAD_LIMIT, DATA_TYPEAHEAD_MINLENGTH. Parsing of FormElement.parameter.typeahead* parameter.
-
- 14 Mar, 2017 1 commit
-
-
- 06 Mar, 2017 1 commit
-
-
Carsten Rose authored
Index.rst: Update Administratormanual how to install and use print.php. print.php: wrapper for wkhtmltopdf.
-
- 05 Mar, 2017 1 commit
-
-
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.
-
- 02 Mar, 2017 1 commit
-
-
Carsten Rose authored
*.php: extend explodeParameter(), explodeParameterInArrayElements() with argument $keyName, to make it more generic.
-
- 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 1 commit
-
-
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.
-