Revision 2.0.475

Changelog

r477 | sfillion | 2010-07-28 13:16:52 +0200 (mer, 28 jui 2010) | 4 lines
Changed paths:
   M /trunk/api/base/rdr_std/api/class.tx_rdrstd.php
   M /trunk/api/base/rdt_checkbox/api/class.tx_rdtcheckbox.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt

api/base/rdr_std/api/class.tx_rdrstd.php
    -> add property /defaultcss

api/base/rdt_checkbox/api/class.tx_rdtcheckbox.php
-> corrected bug on label
 

r476 | jschneiderameos | 2010-07-23 13:16:52 +0200 (ven, 23 jui 2010) | 3 lines
Changed paths:
   M /trunk/api/base/ds_db/api/class.tx_dsdb.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Added /afterSqlExec (runnable) property on datasource:DB to allow alteration of data after SQL selection.
Thanks to Manuel Rego Casasnovas for providing the patch.
See http://bugs.typo3.org/view.php?id=14651

 

r475 | jschneiderameos | 2010-07-21 15:15:37 +0200 (mer, 21 jui 2010) | 4 lines
Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.tx_ameosformidable.php:
  -> corrected bug in tx_ameosformidable->_virtualizeFe(); hooks definition are unset from T3VAR array before hibernation, to avoid hook triggering in Ajax context


r474 | jschneiderameos | 2010-07-21 14:34:10 +0200 (mer, 21 jui 2010) | 10 lines
Changed paths:
   M /trunk/api/base/rdt_radio/api/class.tx_rdtradio.php
   M /trunk/api/class.mainrenderer.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt

api/class/tx_ameosformidable.php:
  -> removed calls to t3lib_div::makeInstanceClassName() for TYPO3 version equals and above to 4.3.0 (method is deprecated since 4.3.0)

api/class.mainrenderer.php:
  -> corrected a bug in server event params starting with rowData::

rdt_radio/api/class.tx_rdtradio.php:
  -> added current rdt value as .value template channel

r473 | jschneiderameos | 2010-07-08 19:18:46 +0200 (jeu, 08 jui 2010) | 3 lines

Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Added BE_USER and T3_VAR in hibernation for ajax context.


r471 | jschneiderameos | 2010-06-28 17:48:22 +0200 (lun, 28 jun 2010) | 5 lines
Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js


All:
  -> corrected recursivity problem dealing with javascript+getValue on an iterated renderlet
  -> iterated: rdt is inside an iterating lister; iterating: lister is iterating on renderlet lines

r470 | jschneiderameos | 2010-06-28 16:53:44 +0200 (lun, 28 jun 2010) | 10 lines
Changed paths:
   M /trunk/api/class.mainrenderer.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.mainrenderlet.php:
  -> corrected bug on /addBlank handling, thanks to Stephane Fillion

api/class.tx_ameosformidable.php
  -> added new property /meta/form/method, string, default "POST", to define the method of the html form
  -> corrected regex bug in removeNonAlnum()

r469 | jschneiderameos | 2010-06-21 13:33:09 +0200 (lun, 21 jun 2010) | 3 lines
Changed paths:
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/remote/formidableajax.php

Corrected bug on lister, ajax mode.


r468 | jschneiderameos | 2010-06-11 09:20:37 +0200 (ven, 11 jun 2010) | 4 lines
Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt

api/class.tx_ameosformidable.php:
  -> corrected a bug in tx_ameosformidable::backendHeaders()

r467 | jschneiderameos | 2010-06-02 17:15:15 +0200 (mer, 02 jun 2010) | 7 lines
Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.mainrenderlet.php:
  -> /labelclass: corrected bug, when given labelclass was not runneable; thanks to Luc Muller for providing the patch

api/class.tx_ameosformidable.php:
  -> temporary javascripts and css are now stored in /typo3temp/ameos_formidable/js and /typo3temp/ameos_formidable/css, and hashed in directories by the first letter of their content hash (md5)


r466 | jschneiderameos | 2010-05-19 14:22:20 +0200 (mer, 19 mai 2010) | 87 lines
Changed paths:
   M /trunk/api/class.jslayer.php
   M /trunk/api/class.mainrenderer.php
   M /trunk/api/class.tx_ameosformidable.php
   A /trunk/api/class.user_formidablets.php
   M /trunk/ext_emconf.php
   M /trunk/ext_localconf.php
   M /trunk/ext_typoscript_setup.txt


Added new Typoscript switches that allow to fine-tune the inclusion of all core js libraries.

    config.tx_ameosformidable {

        minify.enabled = 1
        minify.gzip = 1

        loadJsFramework = 1
        loadPrototype = 1
        loadPrototypeAddons = 1
        mayLoadScriptaculous = 1
    }

The evaluation is processed as follow:

    +loadJsFramework
    +---------------
    |    |
    |    +-- 1 (def): allowed to load every JS libs of it's framework needed
    |    |    |
    |    |    +minify.enabled
    |    |    +--------------
    |    |        |
    |    |        +--    1 (def): jslibs will be minified
    |    |        |    |
    |    |         |    +minify.gzip
    |    |        |    +-----------
    |    |        |        |
    |    |        |        +--    1 (def): minified and gzipped js-libs are loaded (default in formidable)
    |    |        |        |
    |    |        |        +--    0: minified but not gzipped js-libs are loaded
    |    |        |
    |    |        +--    0: js-libs will NOT be minified
    |    |            |
    |    |            +loadPrototype
    |    |            +-------------
    |    |            |    |
    |    |            |    +--    1 (def): automatically load the prototype-js library
    |    |            |    |
    |    |            |    +--    0: will not load the prototype-js library
    |    |            |
    |    |            +loadPrototypeAddons
    |    |            +-------------------
    |    |                |
    |    |                +--    1 (def): load prototype (lowpro, Base and JSON)
    |    |                |
    |    |                +--    0: do not load prototype addons
    |    |
    |    +--    0: will not load any js-lib of it's framework
    |
    +mayLoadScriptaculous
    +--------------------
        |
        |--    1 (def): automatically load scriptaculous when needed
        |
        +--    0: will not load scriptaculous

If one needs to manually handle the formidable header injection in the page (to handle multiple prototype-js libraries for instance),
it's possible to define headerData using the new user_formidablets class

Exemple:

# TYPOSCRIPT --------------
    page.includeLibs.user_formidablets = EXT:ameos_formidable/api/class.user_formidablets.php
    page.headerData.10000 = USER
    page.headerData.10000 {
        userFunc = user_formidablets->manualHeaderTag
        load = prototype+addons, jsframework, scriptaculous
    }
# /TYPOSCRIPT -------------

user_formidablets->manualHeaderTag will return full <script> tags, whereas
user_formidablets->manualHeaderPath will return only absolute web-path to the library.

the load parameter defines what to load (comma-separated values). The order of the given libraries is important as it reflects the order of headers returned.
Possible load tokens are:
    * minified: all core-libraries, minified
    * minified+gzipped: all core-libraries, minified and gzipped
    * jsframework: framework.js library
    * prototype: the prototype.js library
    * prototype+addons: prototype.js, lowpro.js, Base.js and json.js
    * prototype_addonsonly: lowpro.js, Base.js and json.js
    * scriptaculous: scriptaculous.js and effects.js
    * scriptaculous_dragdrop: dragdrop.js for scriptaculous
    * scriptaculous_builder: builder.js for scriptaculous

r465 | jschneiderameos | 2010-05-07 17:27:47 +0200 (ven, 07 mai 2010) | 5 lines

Changed paths:
   M /trunk/api/base/ds_phparray/api/class.tx_dsphparray.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt

Corrected bugs.typo3.org/view.php

Many thanks to Uwe Schmelzer for providing the patch !

r464 | jschneiderameos | 2010-05-07 16:43:22 +0200 (ven, 07 mai 2010) | 4 lines
Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Corrected bugs.typo3.org/view.php
Thanks to Davide Principi for providing the patch !


r463 | jschneiderameos | 2010-05-07 10:08:10 +0200 (ven, 07 mai 2010) | 4 lines

Changed paths:
   M /trunk/api/base/rdr_std/api/class.tx_rdrstd.php
   M /trunk/api/base/rdr_template/api/class.tx_rdrtemplate.php
   M /trunk/api/class.mainrenderer.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Corrected bugs.typo3.org/view.php


r462 | jschneiderameos | 2010-05-06 17:16:04 +0200 (jeu, 06 mai 2010) | 3 lines
Changed paths:
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Corrected bugs.typo3.org/view.php

r460 | jschneiderameos | 2010-05-06 12:12:56 +0200 (jeu, 06 mai 2010) | 4 lines
Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Added delimiters to preg* calls converted from ereg* calls; tips given by Oliver Klee

r459 | jschneiderameos | 2010-05-06 11:03:15 +0200 (jeu, 06 mai 2010) | 8 lines
Changed paths:
   M /trunk/api/base/rdt_listbox/api/class.tx_rdtlistbox.php
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.tx_ameosformidable.php:
    -> corrected bug introduced in previous revision; init was not called anymore in eID context when initAjax not defined
    -> corrected bug in isAbsWebPath() method; https is now considered as a valib web path protocol (!)

rdt_lister/api/class.tx_rdtlister.php:
    -> corrected various bugs

r458 | jschneiderameos | 2010-04-22 14:19:36 +0200 (jeu, 22 avr 2010) | 7 lines

Changed paths:
   M /trunk/api/base/rdt_date/res/lib/js_calendar/lang/calendar-fr.js
   M /trunk/api/base/rdt_radio/api/class.tx_rdtradio.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


rdt_date/res/lib/js_calendar/lang/calendar-fr.js:
  -> some html entities have been encoded to maximize charset compatibility.

rdt_radio/api/class.tx_rdtradio.php:
  -> added new majix method majixUncheck(); unchecks the currently selected radiobutton (if any)

r457 | jschneiderameos | 2010-04-15 11:18:31 +0200 (jeu, 15 avr 2010) | 22 lines
Changed paths:
   M /trunk/api/base/ds_php/api/class.tx_dsphp.php
   M /trunk/api/base/rdt_img/res/js/image.js
   M /trunk/api/class.templatemethods.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js
   M /trunk/res/jsfwk/minified/formidable.minified.js
   M /trunk/res/jsfwk/minified/formidable.minified.js.gz


res/jsfwk/framework.js:
    --> improved a bit the automated debug on error mecanism

api/class.templatemethods.php:
    --> new template methods utf8_encode() and utf8_decode(), aliases for utf8encode() and utf8decode()
    --> new template method smart() that evaluates the given string as a LLL:, EXT:, EXTCONF: or TS: prefixed string


api/class.tx_ameosformidable.php:
    --> init() method on codebehinds PHP classes is no more executed in ajax content (it should have always been the case)
    --> for ajax context codebehind initialization, you have to define a initajax() method in your codebehind class
    --> _navConf() method now takes a fourth argument $bEvaluateSmartStrings, boolean, default TRUE; if TRUE, values will be scanned for potential smartstrings evaluation
    --> navDeepData(): tells _navConf() to not evaluate smartstrings (as submitted values do not have to / should not contain smartstrings)

ds_php/api/class.tx_dsphp.php:
    --> PHP datasource may now be used as a datasource for lister (!); one has to define /get as a runnable

rdt_img/res/js/image.js
    --> the image dom node presence is systematically checked before every action to the image tag

r456 | jschneiderameos | 2010-04-08 11:59:34 +0200 (jeu, 08 avr 2010) | 4 lines
Changed paths:
   M /trunk/api/base/rdt_searchform/api/class.tx_rdtsearchform.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


rdt_searchform/api/class.tx_rdtsearchform.php:
  -> corrected a bug in method shouldUpdateCriterias() when used in a remote-sender/remote-receiver context; the bug was that pager was not properly reset to first page when search criterais where updated.

r455 | jschneiderameos | 2010-03-30 12:17:22 +0200 (mar, 30 mar 2010) | 3 lines
Changed paths:
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Fixed a bug in rdt_lister when used in BE: link to first pages whene not generated correctly, as a result of a bug in the baseurl incorrect calculation.

r454 | jschneiderameos | 2010-03-30 10:32:28 +0200 (mar, 30 mar 2010) | 3 lines
Changed paths:
   M /trunk/api/base/rdt_upload/api/class.tx_rdtupload.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Corrected bug on rdt_upload when displayed by ajax.

r453 | jschneiderameos | 2010-03-20 01:34:20 +0100 (sam, 20 mar 2010) | 19 lines

Changed paths:
   M /trunk/api/base/rdr_template/api/class.tx_rdrtemplate.php
   M /trunk/api/base/rdt_img/res/js/image.js
   M /trunk/api/base/rdt_passthru/api/class.tx_rdtpassthru.php
   M /trunk/api/base/rdt_swfupload/api/class.tx_rdtswfupload.php
   M /trunk/api/class.maindatahandler.php
   M /trunk/api/class.mainjscb.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js
   M /trunk/res/jsfwk/minified/formidable.minified.js
   M /trunk/res/jsfwk/minified/formidable.minified.js.gz


res/jsfwk/framework.js:
  -> setStyle() now returns the current rdt

api/class.mainrenderlet.php:
  -> modernized style management
  -> new majix method majixSetInvisible()
  -> new majix method majixSetVisible()

api/class.tx_ameosformidable.php:
  -> now one can define /config on a js-codebehind; runnable, has to return an array; will be added to this.config in the js-codebehind

rdt_passthru/api/class.tx_rdtpassthru.php:
  -> modernized and debugged

rdt_img/res/js/image.js:
  -> new methods setWidthPx() and setHeightPx()

r452 | jschneiderameos | 2010-03-15 11:01:46 +0100 (lun, 15 mar 2010) | 4 lines

Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.mainrenderlet.php:
  -> function initDataSource(): if key returns false, will be considered as new

r450 | jschneiderameos | 2010-03-05 16:25:18 +0100 (ven, 05 mar 2010) | 4 lines
Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


All:
  -> removed calls to deprecated ereg()

r449 | jschneiderameos | 2010-03-05 14:55:31 +0100 (ven, 05 mar 2010) | 7 lines
Changed paths:
   M /trunk/api/base/rdt_img/api/class.tx_rdtimg.php
   A /trunk/api/base/rdt_img/res
   A /trunk/api/base/rdt_img/res/js
   A /trunk/api/base/rdt_img/res/js/image.js
   M /trunk/api/base/rdt_listbox/res/js/listbox.js
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/api/base/rdt_lister/res/js/lister.js
   M /trunk/api/base/rdt_modalbox/api/class.tx_rdtmodalbox.php
   M /trunk/api/base/rdt_modalbox/res/js/modalbox.js
   M /trunk/api/base/rdt_modalbox2/api/class.tx_rdtmodalbox2.php
   M /trunk/api/base/rdt_modalbox2/res/js/modalbox2.js
   M /trunk/api/base/rdt_progressbar/api/class.tx_rdtprogressbar.php
   M /trunk/api/base/rdt_progressbar/res/js/progressbar.js
   M /trunk/api/base/rdt_radio/res/js/radio.js
   M /trunk/api/base/rdt_swfupload/api/class.tx_rdtswfupload.php
   M /trunk/api/base/rdt_swfupload/res/js/rdt_swfupload.js
   M /trunk/api/class.jslayer.php
   M /trunk/api/class.mainjscb.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js
   A /trunk/res/jsfwk/lightbox
   A /trunk/res/jsfwk/lightbox/css
   A /trunk/res/jsfwk/lightbox/css/lightbox.css
   A /trunk/res/jsfwk/lightbox/current-version-2.04.txt
   A /trunk/res/jsfwk/lightbox/images
   A /trunk/res/jsfwk/lightbox/images/bullet.gif
   A /trunk/res/jsfwk/lightbox/images/close.gif
   A /trunk/res/jsfwk/lightbox/images/closelabel.gif
   A /trunk/res/jsfwk/lightbox/images/donate-button.gif
   A /trunk/res/jsfwk/lightbox/images/download-icon.gif
   A /trunk/res/jsfwk/lightbox/images/image-1.jpg
   A /trunk/res/jsfwk/lightbox/images/loading.gif
   A /trunk/res/jsfwk/lightbox/images/nextlabel.gif
   A /trunk/res/jsfwk/lightbox/images/prevlabel.gif
   A /trunk/res/jsfwk/lightbox/images/thumb-1.jpg
   A /trunk/res/jsfwk/lightbox/index.html
   A /trunk/res/jsfwk/lightbox/js
   A /trunk/res/jsfwk/lightbox/js/lightbox.js



All:
  -> Added lightbox.js; use it with /meta/libs=lightbox
  -> various debugs and optimizations

r448 | jschneiderameos | 2010-02-25 22:00:13 +0100 (jeu, 25 fév 2010) | 6 lines
Changed paths:
   M /trunk/api/base/dh_db/api/class.tx_dhdb.php
   M /trunk/api/base/rdt_checkbox/api/class.tx_rdtcheckbox.php
   M /trunk/api/base/rdt_listbox/api/class.tx_rdtlistbox.php
   M /trunk/api/base/rdt_radio/api/class.tx_rdtradio.php
   M /trunk/api/class.maindatahandler.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.mainrenderlet.php:
  -> new method getPostFlag(); returns a hidden input that allows to check if data has been submitted, even when empty
  -> new property /data/relation/mm=string, TCA-table name; if given the renderlet will try to record itself respecting mm-relations as defined in TCA for given table on the column corresponding to the current renderlet name
  -> new method initHasBeenPosted()

r447 | jschneiderameos | 2010-02-23 15:38:34 +0100 (mar, 23 fév 2010) | 3 lines
Changed paths:
   M /trunk/api/base/rdt_radio/res/js/radio.js
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js


Maintenance update.

r446 | jschneiderameos | 2010-02-22 14:34:52 +0100 (lun, 22 fév 2010) | 9 lines
Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/remote/formidableajax.php


remote/formidableajax.php:
api/class.tx_ameosformidable.php:
  -> corrected bug in session management in BE, in some cases when phpmyadmin is installed

api/class.mainrenderlet.php:
  -> new property /hideIfDependancyNotEmpty=boolean, default false

r445 | jschneiderameos | 2010-02-19 11:57:34 +0100 (ven, 19 fév 2010) | 3 lines
Changed paths:
   M /trunk/api/class.maindatahandler.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/pi1/class.tx_ameosformidable_pi1_wizicon.php
   M /trunk/pi2/class.tx_ameosformidable_pi2_wizicon.php

Minor compat-changes.

r444 | jschneiderameos | 2010-02-11 15:57:07 +0100 (jeu, 11 fév 2010) | 21 lines
Changed paths:
   M /trunk/api/base/rdt_checkbox/api/class.tx_rdtcheckbox.php
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/api/base/rdt_radio/api/class.tx_rdtradio.php
   M /trunk/api/base/rdt_searchform/api/class.tx_rdtsearchform.php
   M /trunk/api/class.mainrenderer.php
   M /trunk/api/class.templatemethods.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js



/jsfwk/framework.js:
  -> isNaturalSubmitter(): now checks that domNode() returns an object

api/class.templatemethods.php:
  -> new template method nl2space()
  -> new template method mod()

api/class.tx_ameosformidable.php:
  -> corrected bug in _resolveScripting_atomic()
  -> corrected bug in __getNeighbourInArray()
  -> corrected bug in _clearFormInSession()

api/class.mainrenderer.php:
  -> added label.tag.wrap on each renderlet

rdt_searchform/api/class.tx_rdtsearchform.php:
  -> searchform now stores the last search timestamp along the search criterias
  -> new property available /keepresultsinsession=boolean, default false; if true, an array containing criterias, searchtime, results and the number of matching rows is set in session at address $GLOBALS["_SESSION"]["ameos_formidable"]["applicationdata"]["rdt_lister"][$formid][$rdtAbsName]


r443 | jschneiderameos | 2010-02-11 15:32:11 +0100 (jeu, 11 fév 2010) | 5 lines

Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


All:
  -> updated methods that resolve LLL label to allow for a static use
  -> added static method resolveLLL()

r442 | jschneiderameos | 2010-02-08 11:28:06 +0100 (lun, 08 fév 2010) | 4 lines
Changed paths:
   M /trunk/api/class.templatemethods.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


All:
  -> added template methods to convert from iso-8859-1 to utf8 and from utf8 to iso-8859-1

r441 | jschneiderameos | 2010-01-19 14:28:25 +0100 (mar, 19 jan 2010) | 4 lines
Changed paths:
   M /trunk/api/base/rdt_upload/api/class.tx_rdtupload.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt

rdt_upload:
  -> modified the way we handle DAM-autoindexing when needed.


r440 | sfillion | 2010-01-06 16:35:06 +0100 (mer, 06 jan 2010) | 4 lines
Changed paths:
   M /trunk/api/base/rdt_date/res/lib/js_calendar/lang/calendar-fr.js
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


/rdt_date/res/lib/js_calendar/lang/calendar-fr.js:
  -> convert to utf8


r439 | jschneiderameos | 2009-12-28 12:34:01 +0100 (lun, 28 déc 2009) | 8 lines

Changed paths:
   M /trunk/api/base/rdt_date/api/class.tx_rdtdate.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


rdt_date/api/class.tx_rdtdate.php:
  -> corrected bug in js inclusion when repainting

api/class.mainrenderlet.php:
  -> corrected bug in _getItems() on itemrange


r438 | jschneiderameos | 2009-12-17 22:12:01 +0100 (jeu, 17 déc 2009) | 4 lines
Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.mainvalidator.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


All:
  -> corrected bug in mainrenderlet and mainvalidator


r437 | jschneiderameos | 2009-12-15 10:22:40 +0100 (mar, 15 déc 2009) | 29 lines
Changed paths:
   M /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.mainrenderlet.php:
  -> getItems() method now supports numeric ranges for items; credits go to Luc Muller for this feature
    Sample:
    <renderlet:LISTBOX name="yearndd" label="LLL:yearndd.label">
        <data>
            <items>
                <item caption="LLL:yearndd.before" value="avant 1990" />
                <itemrange>
                    <from>1990</from>
                    <to>
                        <userobj>
                            <php><![CDATA[

                                return date(Y);

                            ]]></php>
                        </userobj>
                    </to>
                </itemrange>
                <item caption="LLL:yearndd.after" value="pas de domaine" />
            </items>
            <defaultValue>2009</defaultValue>
        </data>
    </renderlet:LISTBOX>

rdt_lister/api/class.tx_rdtlister.php:
  -> _autoTemplateMayday() method: corrected a bug on automatically generated CSS where dots in classnames where not properly escaped

r436 | jschneiderameos | 2009-12-09 14:25:58 +0100 (mer, 09 déc 2009) | 13 lines

Changed paths:
   M /trunk/api/base/rdt_captcha/api/class.tx_rdtcaptcha.php
   M /trunk/api/class.mainrenderer.php
   M /trunk/api/class.templatemethods.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


pi/class.templatemethods.php:
  -> new template method "mystring".htmlentities([$sQuoteStyle=ENT_COMPAT, $sCharset=ISO-8859-1]); wrapper for the htmlentities() php method

api/class.tx_ameosformidable.php:
  -> corrected bug in method array_diff_recursive()
  -> corrected bug in toWebPath() method

api/class.mainrenderer.php:
  -> when renderlet has an error, it's template databag will be set with error.class=hasError

rdt_captcha/api/class.tx_rdtcaptcha.php:
  -> corrected bug in the declaration of js library


r435 | jschneiderameos | 2009-12-04 11:05:09 +0100 (ven, 04 déc 2009) | 5 lines
Changed paths:
   M /trunk/api/class.mainrenderlet.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.mainrenderlet.php:
  -> method _hasThrown(): now given event may be given without "on" as a prefix; exemple:
hasThrown("click") is equivalent to hasThrown("onclick")




r434 | jschneiderameos | 2009-11-23 14:38:14 +0100 (lun, 23 nov 2009) | 4 lines

Changed paths:
   M /trunk/api/class.maindatahandler.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


All:
/datahandler/process/beforeRender may now set data using the relative name of the rdt instead of the absolute one.

r433 | jschneiderameos | 2009-11-23 14:06:27 +0100 (lun, 23 nov 2009) | 4 lines
Changed paths:
   M /trunk/api/class.maindatahandler.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.maindatahandler.php:
  -> Corrected bug in i18n_getSysLanguageUid()

r432 | jschneiderameos | 2009-11-23 12:44:40 +0100 (lun, 23 nov 2009) | 5 lines

Changed paths:
   M /trunk/api/class.maindatahandler.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


All: bugfixed the behaviour of /datahandler/process/beforeRender

Now beforeRender will work as expected, setting value on rdts if defined, no matter the context (creation/edition/nosubmit/aftersubmit). It's based on the new method tx_ameosformidable::array_diff_recursive() to determine which data has to be overruled.


r431 | jschneiderameos | 2009-11-19 16:57:45 +0100 (jeu, 19 nov 2009) | 7 lines
Changed paths:
   M /trunk/api/class.jslayer.php
   M /trunk/api/class.maindatahandler.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.maindatahandler.php:
  -> corrected a bug introduced recently where keyname was not returned for datahandler even when given in xml

api/class.jslayer.php:
  -> corrected a bug where Formidable JS framework was not loaded in backend when /meta/loadjsframework was set to true (for frontend)


r430 | jschneiderameos | 2009-11-19 16:22:56 +0100 (jeu, 19 nov 2009) | 13 lines

Changed paths:
   M /trunk/api/base/rdt_jstree/res/js/jstree.js
   M /trunk/api/base/rdt_jstree/res/lib/css/tree.css
   M /trunk/api/base/rdt_jstree/res/lib/js/AxentTree.js
   M /trunk/api/base/rdt_radio/api/class.tx_rdtradio.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js
   M /trunk/res/jsfwk/minified/formidable.minified.js
   M /trunk/res/jsfwk/minified/formidable.minified.js.gz
   M /trunk/res/minify/minify_formidable.php


res/jsfwk/framework.js:
  -> corrected bug in event handling

res/minify/minify_formidable.php:
  -> added possibility to concatenate js files without minification (for using google closure compiler); note: when using google closure compiler to compiler prototype.js, all references to the variable named $super have to be restored after the google minification

rdt_jstree:
  -> a lot of improvements; we now attach events only on the displayed tree branch

rdt_radio:
  -> now /activeListable is true by default

r429 | jschneiderameos | 2009-11-15 18:57:25 +0100 (dim, 15 nov 2009) | 12 lines
Changed paths:
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js
   M /trunk/res/jsfwk/minified/formidable.minified.js
   M /trunk/res/jsfwk/minified/formidable.minified.js.gz


All:
  -> finished the implementation of ajax service; call it like this:

    this.oForm.Services.validateUsername(function(bValid) {
        if(bValid) {
            alert("Valid !");
        } else {
            alert("Not valid!");
        }
    }.bind(this), this.oForm.rdt("username").getValue());

r428 | jschneiderameos | 2009-11-13 10:13:51 +0100 (ven, 13 nov 2009) | 11 lines
Changed paths:
   M /trunk/api/base/rdt_pwd/api/class.tx_rdtpwd.php
   M /trunk/api/base/rdt_text/api/class.tx_rdttext.php
   M /trunk/api/class.jslayer.php
   M /trunk/api/class.maindatahandler.php
   M /trunk/api/class.mainrenderlet.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_localconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/remote/formidableajax.php
   M /trunk/res/jsfwk/framework.js


All:
  -> implemented true arguments supports for calls to rdt('rdtname').trigger('eventname'[, arg1, arg2, ..., argn])
  -> added new support for ajax services; they have to be defined like this, in /meta:
    <ajaxService name="validateUsername" exec="cb.validateUsername()" />

    Call it like this in javascript:
        bValid = this.oForm.Services.validateUsername([arg1, arg2, ..., argn]);

    Note: this revision is work in progress, and should not be used.


r427 | jschneiderameos | 2009-11-12 14:23:27 +0100 (jeu, 12 nov 2009) | 3 lines
Changed paths:
   A /trunk/api/class.user_ameosformidable_userfuncs.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


Adding missing api/class.user_ameosformidable_userfuncs.php


r426 | jschneiderameos | 2009-11-12 12:10:06 +0100 (jeu, 12 nov 2009) | 14 lines

Changed paths:
   M /trunk/api/base/rdt_box/res/js/box.js
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/api/class.tx_ameosformidable_hooks.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt

All:
-> added config.tx_ameosformidable.injectHeadersManually = boolean, default 0; if 1, webmaster will have to inject headers manually in page using a USER or USER_INT object

Example:


        config.tx_ameosformidable.injectHeadersManually = 1

        # inserting headers manual; note that this will only work if the formidable object is CACHED;
        includeLibs.user_ameosformidable_userfuncs = typo3conf/ext/ameos_formidable/api/class.user_ameosformidable_userfuncs.php
        page.100000000 = USER
        page.100000000.userFunc = user_ameosformidable_userfuncs->getAdditionalHeaderData

r425 | jschneiderameos | 2009-11-02 10:34:38 +0100 (lun, 02 nov 2009) | 6 lines
Changed paths:
   M /trunk/api/class.templatemethods.php
   M /trunk/api/class.tx_ameosformidable.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.templatemethods.php:
api/class.tx_ameosformidable.php:
  -> added new template method extConf("extkey/valuename") that returns the value for extension extkey, property valuename inside TYPO3_CONF_VARS


r424 | jschneiderameos | 2009-10-29 11:41:17 +0100 (jeu, 29 oct 2009) | 4 lines

Changed paths:
   M /trunk/api/class.maindatahandler.php
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt


api/class.maindatahandler.php:
  -> modified a bit to give a little more time to php4 compat


r423 | jschneiderameos | 2009-10-27 18:16:32 +0100 (mar, 27 oct 2009) | 4 lines

Changed paths:
   M /trunk/ext_emconf.php
   M /trunk/ext_typoscript_setup.txt
   M /trunk/res/jsfwk/framework.js
   M /trunk/res/jsfwk/minified/formidable.minified.js
   M /trunk/res/jsfwk/minified/formidable.minified.js.gz


All:
  -> corrected bugs with IE6 + prototype.