Revision 145

Revision: 145
Author: jschneiderameos
Date: 10:36:20, jeudi 25 octobre 2007

Message:
api/base/rdt_lister/api/class.tx_rdtlister.php:
  -> /pager/rows/perpage can now be set to -1 to be unlimited
----
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 144
Author: jschneiderameos
Date: 10:32:44, jeudi 25 octobre 2007

Message:
rdt_box/api/class.tx_rdtbox.php:
  -> new: box's now able to handle drag'n'drop events
  -> /draggable/use: boolean : default FALSE
  -> /draggable/revert: boolean: default FALSE: If set to true, the element returns to its original position when the drags ends.
  -> /draggable/handle: string: default void: Sets whether the element should only be draggable by an embedded handle. The value must be an element name, or a string referencing a CSS class value. The first child/grandchild/etc. element found within the element that has this CSS class value will be used as the handle.
  -> /draggable/constraint: string: default void: If set to ‘horizontal’ or ‘vertical’ the drag will be constrained to take place only horizontally or vertically.
  -> /droppable/use: boolean: default FALSE
  -> /droppable/accept: string: Set accept to a string or an array of strings describing CSS classes. The Droppable will only accept Draggables that have one or more of these CSS classes
  -> /droppable/containment: string: default void: The droppable will only accept the Draggable if the Draggable is contained in the given elements (or element ids). Can be a single element or an csv of elements.
  -> /droppable/hoverclass: string: default void: If set, the Droppable will have this additional CSS class when an accepted Draggable is hovered over it
  -> /droppable/overlap: string: default void: If set to ‘horizontal’ or ‘vertical’ the droppable will only react to a Draggable if its overlapping by more than 50% in the given direction
  -> /droppable/greedy: boolean: default TRUE: If true stops processing hovering (don’t look for other Droppables that are under the Draggable)
  -> NEW EVENT onDragDrop: thrown when valid element is dropped on droppable; has to be defined on droppable
  -> NEW EVENT onDragHover: thrown when valid element is hovered on droppable; has to be defined on droppable

rdt_box/res/js/box.js:
  -> getParamsForMajix(): new mechanism allowing majix events to fetch more data from event context if needed, like for the dragdrop events; this method is meant to be specialized on majix JS class when needed

rdt_lister/api/class.tx_rdtlister.php:
  -> method _initColumns(): columns are still registered in global array of renderlets, but their names are prefixed by lister's name for avoiding name-collisions between renderlets and columns

rdt_upload/api/class.tx_rdtupload.php:
  -> added deleteFile($sFileName); deletes file from server and unsets it from rdt's value

api/class.json.php:
  -> function() {...} can now be embedded in json

api/class.mainrenderer.php:
  -> _getAjaxEvent() now takes a third required argument, $sEvent (something like "onclick", "onchange", ... )
  -> _getAjaxEvent(): now gives a chance to renderlets to alter ajax event params on PHP side with call to specializable method mainrenderlet->alterAjaxEventParams()

api/class.mainrenderlet.php:
  -> new arrays $aPossibleCustomEvents and $aCustomEvents; first declares which events have to be considered as custom for this renderlet, and second stores custom events found on this renderlet
  -> new method isCustomEventHandler() to check if an event (like "ondragdrop") is a custom one or not
  -> new method alterAjaxEventParams(); see upper on mainrenderer for more details

api/class.tx_ameosformidable.php
  -> new /meta/libs value possible: dragdrop; to be declared when dragdrop events are to be used




----
Modified : /api/base/rdt_box/api/class.tx_rdtbox.php
Modified : /api/base/rdt_box/res/js/box.js
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_upload/api/class.tx_rdtupload.php
Modified : /api/class.jslayer.php
Modified : /api/class.json.php
Modified : /api/class.mainrenderer.php
Modified : /api/class.mainrenderlet.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php
Modified : /res/jsfwk/framework.js


Revision: 143
Author: jschneiderameos
Date: 19:08:24, mardi 23 octobre 2007

Message:
res/jsfwk/framework.js:
remote/formidableajax.php:
  -> ajax requests now use a POST instead of a GET
----
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php
Modified : /res/jsfwk/framework.js


Revision: 142
Author: jschneiderameos
Date: 17:10:01, mardi 23 octobre 2007

Message:
api/class.mainrenderer.php:
api/class.tx_ameosformidable.php
  -> server event params are now base_64 encoded/decoded instead of rawurl encoded/decoded
----
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/class.mainrenderer.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 141
Author: jschneiderameos
Date: 09:25:38, mardi 23 octobre 2007

Message:
api/class.tx_ameosformidable.php:
  -> new method navDef(), _navConf() with default value if not found
  -> events are now xpath'able
----
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 140
Author: jschneiderameos
Date: 19:21:54, vendredi 19 octobre 2007

Message:
rdt_listbox/api/class.tx_rdtlistbox.php:
  -> majixReplaceData(): captions are now LLL-able

rdt_lister/api/class.tx_rdtlister.php:
  -> renderlet lister takes now advantage of template-channels
----
Modified : /api/base/rdt_listbox/api/class.tx_rdtlistbox.php
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 139
Author: jschneiderameos
Date: 15:21:55, vendredi 19 octobre 2007

Message:
ds_db/api/class.tx_dsdb.php:
  -> sql query execution is now watched by tx_ameosformidable::watchOutDb()

rdt_listbox/api/class.tx_rdtlistbox.php:
  -> corrected sqlSearchClause(); now able to search on multiple values even if listbox is not in multiple mode

rdt_lister/api/class.tx_rdtlister.php:
  -> added /ifempty/message (+userobj+LLL)
  -> added /template/allowIncompleteSequence (boolean, default TRUE); if FALSE, lister will complete the display with missing alternate-rows subparts and empty data
  -> added /beforedisplay (userobj); allows to modify the content of each row before display in list

rdt_searchform/api/class.tx_rdtsearchform.php:
  -> added /beforesearch (userobj); allows to modify the content of search criterias before filtering in datasource

api/class.tx_ameosformidable.php:
  -> corrected _getXml(); no more smartMayday_XmlFile() when sub-xml file and file doesn't exists
  -> _parseTemplateCode(): added support for - in template tags when clearing non-replaced tags; ex: {my-tag}
  -> div_xml2array(): tags are now case insensitive

remote/formidableajax.php:
  -> added $GLOBALS["TSFE"]->sys_language_uid when virtualizing FE

res/jsfwk/framework.js:
  -> corrected bug; when server event was thrown, and page was not changed (for instance with a forceDownload() in event), following submit on page re-threw server event, which was not correct
  -> added cleanSysFields()
----
Modified : /api/base/ds_db/api/class.tx_dsdb.php
Modified : /api/base/rdt_listbox/api/class.tx_rdtlistbox.php
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_searchform/api/class.tx_rdtsearchform.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php
Modified : /res/jsfwk/framework.js


Revision: 138
Author: jschneiderameos
Date: 14:54:38, vendredi 19 octobre 2007

Message:
res/jsfwk/framework.js:
  -> changed the way majixDebug() displays in page
----
Modified : /api/base/rdt_date/res/lib/js_calendar/lang/calendar-fr.js
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /res/jsfwk/framework.js


Revision: 137
Author: jschneiderameos
Date: 17:33:47, mardi 16 octobre 2007

Message:
api/class.mainrenderlet.php:
  -> added hasThrown(), alias of _hasThrown()

api/class.tx_ameosformidable.php:
  -> added addMajixOnload($aMajixTasks); it's now easier to add majix events at load time in server events; usage: $this->addMajixOnload($this->majixDebug("Hello, World !"));
  -> new method majixOpenPopup(); pass an url or an array of parameters, like: array("url" => "http://www.ameos.com", "width" => 200)
  -> method majixDebug() now automaticaly calls viewMixed() on given parameters

res/jsfwk/framework.js:
  -> added method openPopup()
  -> modified debug(); now displays messages in a <DIV> in the web-page
----
Modified : /api/class.mainrenderer.php
Modified : /api/class.mainrenderlet.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /res/jsfwk/framework.js


Revision: 136
Author: jschneiderameos
Date: 16:43:07, mardi 16 octobre 2007

Message:
api/class.tx_ameosformidable.php:
  -> added initAPI() method; to be used only when formidable is used as a toolbox-library
----
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 135
Author: jschneiderameos
Date: 09:52:39, lundi 15 octobre 2007

Message:
rdt_checkbox/res/js/checkbox.js:
  -> corrected checkAll() and checkNone()

api/class.tx_ameosformidable.php:
  -> __virtualizeFE(): added instantiation of $GLOBALS["TSFE"]->cObj

----
Modified : /api/base/rdt_checkbox/res/js/checkbox.js
Modified : /api/base/rdt_lister/res/locallang/locallang.xml
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /res/jsfwk/framework.js


Revision: 134
Author: jschneiderameos
Date: 10:07:52, vendredi 12 octobre 2007

Message:
api/class.tx_rdtlister.php:
  -> new parameter /pager/alwaysdisplay => boolean ; if TRUE, pager will be displayed even if there's only one page; default FALSE

api/class.tx_ameosformidable.php:
  -> new parameter /meta/accessibility/usejs, boolean, default TRUE
----
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_lister/res/locallang/locallang.xml
Modified : /api/class.mainrenderer.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 133

Author: jschneiderameos
Date: 10:22:31, jeudi 11 octobre 2007

Message:
ext_localconf.php:
  -> new constant PATH_formidable, pointing to t3lib_extmgm::extPath("ameos_formidable")
  -> new constant PATH_formidableapi , pointing to PATH_formidable . "api/class.tx_ameosformidable.php"

ALL:
  -> calls to t3lib_extmgm::extPath("ameos_formidable") have been replaced by constant PATH_formidable
  -> inclusions of main api now use constant PATH_formidableapi

api/class.tx_ameosformidable.php:
  -> new method smartMayday_XmlFile(), helping developer by returning default XML file when no xml found at given path

----
Modified : /api/base/dh_dbmm/api/class.tx_dhdbmm.php
Modified : /api/base/va_captcha/api/class.tx_vacaptcha.php
Modified : /api/class.tx_ameosformidable.php
Modified : /api/class.tx_ameosformidable_pi.php
Modified : /api/class.user_ameosformidable_cobj.php
Modified : /ext_emconf.php
Modified : /ext_localconf.php
Modified : /ext_typoscript_setup.txt
Modified : /pi1/class.tx_ameosformidable_pi1.php
Modified : /pi2/class.tx_ameosformidable_pi2.php
Modified : /remote/formidableajax.php


Revision: 132

Author: jschneiderameos
Date: 10:13:48, jeudi 11 octobre 2007

Message:
rdt_checkbox/api/class.tx_rdtcheckbox.php:
  -> new majix methods: majixCheckItem($sCheckValue) and majixUnCheckItem($sCheckValue)

rdt_checkbox/res/js/checkbox.js:
  -> new methods corresponding to new majix methods on renderlet:CHECKBOX
  -> new method getMajixThrowerIdentity(), specializing standard renderlet method; used to determine which checkbox has thrown event

api/class.tx_ameosformidable.php:
  -> new object oMajixEvent, holding ajax request, params, useful methods and properties

remote/formidableajax.php:
  -> correspond this $oForm->oMajixEvent;
  -> new method getParams() to get parameters transmitted in the ajax request
  -> new method getWhoThrown(), to determine which renderlet thrown the ajax event

----
Modified : /api/base/rdt_checkbox/api/class.tx_rdtcheckbox.php
Modified : /api/base/rdt_checkbox/res/js/checkbox.js
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php
Modified : /res/jsfwk/framework.js