[Packages/TYPO3.CMS.git] / TODO.txt
1 ******************
3 *****************
5 General:
6 - CHECK: What is the number of supported page levels? 20 or 100?
7 - CHECK: possible XSS problem with alt_mod_frameset.php taking parameters for scripts to display in frames.
8 - Option: Turn of "onBlur" in backend (Message-ID: <001801c2a28c$bb020c70$963afea9@bla8kdvxpl8glk>)
9 - Feature: "admin" can click a button which wipes out all record-lockings. (Message-Id: <200301281752.23246.mundaun@gmx.ch>)
10 - Feature: Controlling access to function menu modules as well (thus we could have a user-module inside ?Template? which could edit the constants field)
11 - Feature: Web >plugins -> to be a main module where people can place modules for their extension.
12 - Substitute "->include_once[] = ...." with "require_once()" directly in classes - BUT the problem is that class files accesses $TYPO3_CONF_VARS (for XCLASS inclusion) and that is not accessible from the function including the script unless "global $TYPO3_CONF_VARS" is set before inclusion. THEN all XCLASSes of that class will break!!!
14 TCEmain:
15 - Commenting of the class.
16 - Charset:
17 - Currently the upper/lower case conversion converts danish/german letters as if they were iso-8859-1. This will be a problem if other charsets are used. What to do?
18 - Note: No charset conversion is done in TCEmain. It is expected that the content enters TCEmain in the charset of the backend in general.
20 - Support for submitting dates in non-UNIX-time format (eg. DD-MM-YYYY) (is there a PHP function to which you can directly pass something like "DD-MM-YYYY" and then it will clean it all up? Or convert?
21 - Recyclebin: If an item is deleted and is NOT in the recyclebin, then move it (all pages to the root of) the closest recyclebin (in a rootline pid AND with write permissions) in the pagetree. If that is not present, then delete normally. If you delete anything in a recycle bin, it's totally deleted.
22 - Implement field evaluation in TCEmain: Evaluate min/max? Checking references exists?
23 - Implement a feature, "max_number_of_records_in_pid" which means the TCEmain will check if a number of records of a kind has been exceeded for the page.
24 - "Pattern-control" for relation fields? (See "APPENDIX: PATTERN-control") Probably create an API by which you can do your own evaluating, return true/false, return an error message.
25 - pre and post processing by user functions of the data? (Message-ID: <C018FF617C61AB4588D15494126A5C0F23E431@Soulman.hanno-kirchhoff.de>)
26 - "Tree-tables": Adding TCA-feature which can describe a field being a internal_pid for the table so tables can be listed as a tree in Web>List (and for TCEmain this means that copying an element). "parent" items. Rene needs this for "categories". See (Message-Id: <200212201257.24705.r.fritz@colorcube.de>)
27 - Support for "grouping": - eg. tt_content elements are grouped by "column" + "language". But copy/cut operations must understand this. And Web>List should reflect this as categorizing.
28 - "child records" - records which MUST be related to another table - and will be moved along with the main record if moved.
29 - Implement *real* record locking?
30 - Configure on a per-table basis
31 - For instance, the TCEforms will render non-editable fields for ordinary users, while editable fields for "admin" users still
32 - Should the check be done only in TCEforms - or also in TCEmain?
33 - If an input value in the data array is NOT a string/integer but an array then just serialize this array and store (thus allowing customly build forms from PHP scripts to submit hierarchical information)
34 - Could be solved by PRE-processing of content in user functions!
35 - Implement "last_edited_by" field saving the BE-user UID just like tstamps are... (JH asked)
36 - Transformation API: Implement the possibility of custom to/from transformations for the "user" type (or any field?)
37 - Custom transformations for RTE fields/API?
38 - Selector box type:
39 - MM support for strings
40 - Support for MM-records which does NOT get deleted, but is kept... and then support for having data in those!!
41 - Support that the content of a single field can be stored in an external file instead.
42 - Support that a list of fields can be stored in an external XML file instead.
44 - Swapping API: A page can be copied for making modifications. Afterwards swapped with the original (page/tt_content uids preserved if possible). The original page is stored in archive of some kind.
46 - Finish the logging of TCEmain actions (delete/copy) + finally define the API to the "sys_log" table!
47 - CLEAN_UP:
48 - Implement kill/restore of "deleted" records.
49 - Remove references to records when deleting totally (or also deleted-to-recycler records? Maybe "deleted-to-recycler" references are important to remove in order to make sure "recycler" records are not selected!) (refs to MM for both tables/files)
51 - Permission management on selector box/radio button values
52 - so certain "CType" / "Insert plugin" / "FlexForm datatypes" values could be blocked
53 - Could it be considered to implement some "access pool" where elements on any level (like here selectorboxes or for FlexForms elements/types there) could add their element by an API and then it would A) automatically be listed for groups access lists and B) automatically enforced.
54 - Permission management for translations? Users are allowed to edit certain languages? (Setup with general access list API?)
55 - Permissions on record-level
56 - CHECK: That permissions are properly evaluated (especially for moving content?)
57 - Security in tcemain: Uploaded/Attached files are allowed to be in ONLY a relative path OR in the "lockDir"!
58 - BUG:
59 - if a file is uploaded (directly in the form) and there is an upper limit to the number of files which is then exceeded, the uploaded file is STILL copied to the upload folder and will thus be listed as "Files with no references at all (delete them!):"
60 - TCEmain: If there is a comma in the filename supplied as an uploaded file it will confuse the handling of files because the comma is also used to split the filename from each other. (29/04/2003). This is a problem with Inter-Photo Netprint where files uploaded by FTP with comma in the name will not be attached as they should. I think the solution should be found in TCEmain so any filename can be supplied as uploaded.
61 - CHECK: hideAtCopy - does it work??
62 - CHECK: copyAfterDuplFields - check it (tt_content).
63 - RELATED: DBint/admin, logging-display, TCEforms, Web>List
64 - IDEA: check for potential dangerous php-extension
65 - TCEforms/TCEmain available for frontend?
68 TCEmain/TCEforms for FlexForms:
69 - Affects: "lowlevel" ext/DBint , "impexp" extension. Must/Should be extended.
70 - Permissions handled per-field in FlexForms?
71 - What to do if data structure was not found? (Both TCEmain, TCEforms, templavoila_pi1, t3lib_transferdata)
72 - block the creation of FlexForm in FlexForm inside TCEforms.
73 - ['pi_flexform']['config']['ds'] must be set to some default message making sense!
74 - CSH for flexforms
75 - TCEmain features:
76 - caching of references/files in meta data (for analysis tools)?
77 - mapping values to a plain-text search field(s)
78 - Offering API functions for add/delete/move/copy
79 - Cleaning the original data in field since this may have an invalid structure if the data structure has changed in the meantime.
80 - Possibility to write the XML data values into a table instead (see Marc Schlingers idea, stored on paper in my red organizer).
81 - TCEforms:
82 - Support for checkboxes which can expand/collapse sections/containers? fold-in, fold-out, passing a list of fields to show (with sub-levels for horizontal display).
83 - Visual interface for forms, DHTML for sheets etc, various sheet modes, language menu form.
84 - Fix the JavaScript in TCEform which keeps track of REG/CM images and required values etc. These things does not work for flex forms yet!
85 - Add many "types" of sections at a time when "add new"
86 - NiceToHave: Attaching an image to the Data Structure. This image is a preview of what the data structure can create. When rolling over the image you can have the form fields highlighted which affects the area. (by a red border or so...)
87 - visual: Table with condition in top header, condition value column + block column. Not user supplied. -> OR just a selector box deciding what is shown below!? (possibly "ALL")
88 - Displaying partial branch of the data structure (and to a certain level)
89 - FlexForms cannot be possible if the record is not saved? No, should be ok, BUT a data source can of course not be referenced from another field since that fields value is NOT actually there! So only for fixed references to flex form definitions can this be done.
90 - If you have a multiple selector field (or checkbox array) an array of objects could be forced to reflect exactly the fieldnames there 1-1 thus giving us configuration option possibilities per field! For newloginbox extension: You set up a selector box with multiple choice where you can select fields from the fe_users table to display. In an array of elements in the DS you configure that the VALUE of that field is dictating that the same number of objects should be shown for configuration of each field. A "hidden" value would point each object to which value from the field it was for! The same would be very useful for M-M lists of records.
91 - Implement "<displayCond>EXT:templavoila:LOADED:true</displayCond>" for flexforms. (needed for mininews!!)
92 - Implement CSH for FF fields.
95 TCEforms:
96 - Support for other backend charsets / right-aligned charsets!?
99 - Customized display of a field, possibly passing an array with code that should be displayed and then people can themselves put it together from PHP?
100 - Ability to set up user functions for pre and post processing of the data?
101 - API for adding JS-functions to the onchange-event.
102 - Make STORAGE_FOLDERs a LIST of pages - not just one page (still the first page could be the default while other pages will be where stuff is selected from).
103 - SELECT type:
104 - select a filepath as a source of the items you can add to the box (single/multiple) without copying the files of course.
105 - Ability to see icon/image from record of selected value in the selector box.
106 - IFRAME alternative for the selectorboxes where a HTML view can be shown. Possibly having an external script show the content which would be useful for display of tree-tables.
107 - Reflect possible tree-structure for records in Select/Items list
108 - a way to grant read for the selectors without displaying the storagefolder in the treeview?
109 - move one up / one down buttons for the list (also for GROUP element)
110 - Ability to move items when selecting/deselecting them. Or ability to gray out elements in the right list if selected.
111 - CHECK: "multiple" feature, single, sorted and non-sorted selections.
112 - Having elements ordered by the "list-order" of the selection selector must be done in JS (or tcemain)
113 - making copies of select fields etc - check that remapped records are OK treated (with foreign/neg_foreign + free string values)
114 - Letting one selectorbox set another hidden fields value apart from its own? [USE: When selecting a template, that also sets the DS value! (Thus a template is always selected!)]
115 - Exclude field selection better, in a tree?
116 - set the width of the selector field
117 - BUG: itemsArrayProcFunc only active IF there is an array! Shouldn't it be in any case?
118 - GROUP type:
119 - [file] allow the selection of files from the system to be added as REFERENCES, not copied! (Message-ID: <003f01c23503$8cdd69d0$55333bd4@comtech>, + notify "illuminatus")
120 - In the thumbnail list add the Edit and view icons as in the good old days.
121 - BUG: By the way, isn't there a bug in the listing of the thumbnails of records?
122 - Nested records:
123 - Group-fields of DB-type could be made to actually SHOW the records it contains in the very same form! Possibly with Add/Delete facilities.
124 - See JH mail: Message-ID: <C018FF617C61AB4588D15494126A5C0F23E410@Soulman.hanno-kirchhoff.de>
125 - IFRAME alternative for Element Browser.
126 - set the width of the selector field(s)
127 - INPUT type:
128 - having a selectorbox from which a default value can be selected (which is just transferred to the input field). Of course the selectorbox can have its content added by a PHP script.
129 - ? type:
130 - "Inverse relations"/"Foreign relations": A "Pseudo field", which lists records REFERING TO this record (foreign relations, eg. many small price-records belonging to ONE shop-article). Possibly this could also EDIT those references (attaching/adding new, removing old, no manual ordering though! - This is what RENE is doing (Message-Id: <E17LO4D-0002hj-00@cube.colorcube>)
132 - Concept for translation of other language versions simultaneously? (Showing the default/any language side-by-side?)
133 - Would require UTF-8 display in backend.
134 - Support for "original/translation" relationships:
135 - The idea is that a) one field from a record is configured in [ctrl] to hold the sys_language (0=default, x=translation of default) value AND b) another field is configured to keep a reference back to the original element (for the translated records)
136 - If the record is "default" then ALL fields are shown.
137 - If the record is "translated" then SOME fields are disabled for editing (as configured) BUT shown in the form for information (the value from the original).
138 - When the record is selected for display or whatever an API call can fetch the original record and take the value of those configured fields and overlay in the translation (exactly like we do with page_overlay_records)
139 - The core support basically is, that TCEforms automatically understands to disable the fields if needed and display the original content.
140 - see Message-ID: <200205300155190552.08F5563C@smtp.worldonline.dk>, Message-ID: <mailman.1055945641.8348.typo3-english@lists.netfielders.de>
142 - "readonly" flag, or user group dependant. See "Message-Id: <200210241441.50295.r.fritz@colorcube.de>"
143 - BUGS:
144 - Ask to save record when you want to add a category with the "Plus" icon.
145 - CHECK: ###STORAGE_PID### incorrectly calculated?
146 - DONE?: Support for label for main palette: (Rene: Message-Id: <200210011646.10346.r.fritz@colorcube.de>)
148 Charset:
149 - checking (for XML) if there is "character data" in a string?
151 TCEforms/RTE API:
152 [Dominic Brander and Martin Schmidt has shown interest in the ekit Java RTE and may work on that.]
153 - API for RTE's (plus converting current RTE to using that!)
154 - review of class.t3lib_parsehtml_proc.php
155 - Make TYPO3 ready to accept alternative RTE made in Java. Needs data exchange to (config+data)/from (data) applet.
156 - Implement Ekit as Proof-of-concept: http://www.hexidec.com/ekit.php
157 - Implement another ActiveX editor as Proof-of-concept.
159 Element Browser:
160 - Support for DAM
161 - Support for browsing custom category-trees (passed by some PHP script)
162 - Support for deleting files in the listing there.
163 - Disable thumbnail option for faster display.
164 - Element Browser configurable a) without the page tree but hardcoded to specific PID, b) just default PID (possibly able to override from TSconfig)
165 - Selecting files from other resource-fields of records (which the user can actually read) - maybe with the Element Browser, browsing for record, clicking it, seeing a list of files inside the record?)
166 - Ability to insert images when their info page (larger thumbnail) is displayed. Maybe a small + (plus) icon would do. (Notify Patrick Roeder)
167 - Some quick-lookup feature (like we have on TER)
169 Wizards:
170 - Add wizard icon to TSconfig and Setup/Constants fields for immediate syntax highlighting (in popup window)
171 - Add wizard icon to see/clean up FlexForm data?
173 Interface:
174 - Showing in "frameset-modules" which submodule you are currently inside. And ability to change submodule in the rightmost frame anyways - maybe as a panel in top of the pages (must be cached so all submodules must not be loaded each time...)? (Message-ID: <3ADE655892793D499E2FBF623045AF4B54E9A4@dbwdfx2f.wdf.sap-ag.de>)
175 - Ability to create another Main/sub module structure in the backend (Daniel H: Message-ID: <BAB9A920.E95D%daniel@typo3.com>)
176 - Change order, level, title, icon.
177 - Use User TSconfig... and allow someone to create an extension to visually create a TSconfig output
178 - See DHs mail: Message-ID: <mailman.1060763871.6396.typo3-metadev@lists.netfielders.de>
179 - Links could be going directly to the function menus inside modules as well!
181 Context Sensitive Help (CSH):
182 - Add multimedia?
184 WEB main module/page tree:
185 - The "Page Stop" flag, clicking the red "+" simply makes that point the NEW root in the tree frame (temporarily of course...), see JHs mail: Message-ID: <C018FF617C61AB4588D15494126A5C0F1F660B@Soulman.hanno-kirchhoff.de>
186 - Option: For a frameset module, register the ID per sub-module, not just globally (see JH mail: Message-ID: <C018FF617C61AB4588D15494126A5C0F1F67AB@Soulman.hanno-kirchhoff.de>)
188 Web>List:
189 - Add "New" to the clickmenu of eg. "be_users" (non-sorted items) when you want to copy a user into the list.
190 - Add email function where you can 0) send email to single records email field, 1) all records on the clipboard, 2) all emails in a list of shown records, 3) all records in the PID. By emailing you can select to receive a copy yourself. Backend user must have name/email configured as from/reply-to/return-path information. Mails can be sent Bcc,CC or seperately. Can be used for lightweight newsletter feature! Maybe implement through some API to the Web>List module.
191 - Page-tree-stop: Click on red "+" brings forth some kind of browser (list of pages, browseable, Web>List module feature?)
192 - Add flag to TCA/[interface] which keeps a table from being listed in the list module. Probably an option which allows the display for admin-users.
193 - Check that permissions are respected for the buttons in the control-panel of the List module
194 - Why is web>list slow on new typo3.org?
195 - Page TSconfig option: Only to select the table-headers for display (with record count), and only the extended view will show the records inside.
196 - Support for "grouping": - eg. tt_content elements are grouped by "column" + "language". This should be reflected in the LISTING order (before ordered by the "sorting" column) OR maybe in a hierarchical display?
197 - Support for tree-tables (that can be browsed).
198 - Support for a "tree-group" -> a chain of tables which are displayed in a tree since each table has a config for a parent field in a former table. (Eg. DS: brand -> domain -> product).
199 - Support for display of relations: Files, 1-M, M-M
200 - FlexForm tree view / editing:
201 - When a record contains a FlexForm the web>List module could display the fields inside in a nice tree structure which one could expand/collapse! Then by clicking "edit" for a brand you get an interface where you can edit *that branch* of the flexform! Brilliant way to manage large structures inside of flexforms!
202 - Can you picture it? That would be like expanding an XML document by a node-tree and add/edit/delete/rearrange any of the internal informational pieces!
203 - Fikse copy/paste så at list-module reloader (løser også problemet med paste fra sidetræet/foldertræet?)
205 File>List:
206 - BUG: UNIX: "RW" flag looks only on the permissions for the USER - not the group. So even if PHP via the group of a file can delete it, it is reported that it cannot.
207 - Adding possibility to show files recursively (more levels), filter on a file name, search file content
209 History/Undo:
210 - Must present a page/content element view, so a page with content elements can be restored as a whole
211 - Undo must be able to restore attached files as well
212 - Should be possible to disable for certain tables (can it be done already with TSconfig?)
213 - Delete saved states (and save whole record content).
214 - Need to implement the diff-feature for windows as well (that is; set configuration)
216 LDAP support:
217 - See "APPENDIX: LDAP"
219 EM:
220 - Display: review-flag + link to review - cannot be overridden?
221 - Display: After import, link to Install/Details.
222 - Display: Better filtering, quicker listing
223 - Feature: [suggested by robert] resolving of dependencies like in apt-get (Debian package manager). Necessary extensions can be downloaded and installed automatically (idea: create dummy extension which depends on several extensions and acts like a package of extensions)
224 - Feature: EM suggest clear-cache af scripts?
225 - Install: Select other repository URLS in selector box?
226 - Install: Extensions which can point the import/export to a directory with import-files.
227 - Install: Getting from TER only already installed extensions.
228 - Install: Flag: "Import ext"; "Show non-secure extensions" (show ALL ext., not only reviewed ones)
229 - Upload: emconf.php should have the md5-part updated when upload to TER
230 - CHECK: Better failure-tolerance when "fatal errors" occur in ext_localconf/ext_tables.php files!?
231 - CHECK: Can Install Tool bypass including ext_localconf/ext_tables if there are errors in them?
232 - BUG: EM-extMgm: caching af localconf + extTables configuration in ARRAY? Plus ?ndringer til API specs. (problem when those files includes classes etc... probably not possible)
233 - BUG: Clear cache files should remove ALL "temp_CACHED_*" files in typo3conf/ (not just the current two)
234 - BUG: Download of extensions (compressed...) will sometimes NOT get the same MD5 key after being saved (with any browser it seems) as shown at the download link. Origin of error not know. Please help if you encounter the problem.
235 - DOC: "Extension API" manual.sxw!
236 - Check mailbox for more... ?
237 - Related: The KickStarter Wizard, in particular a) cleaner code output, b) merging updates.
239 The REGEX-{} problem:
240 - BUG: Regexs; "Warning: Unmatched \{ in /home/sites/site14/typo3_src-3.5b3/typo3/mod/tools/em/index.php on line 1983" which is a ereg with { WITHOUT preceeding slash! (Message-ID: <003c01c275aa$c0c60c10$e3a1a33e@pentiumriv4v9a>, Message-ID: <20030729082437.79900.qmail@web11305.mail.yahoo.com>)
242 Install/Servers:
243 - FIX: To get PHP to handle PATH_INFO and PATH_TRANSLATED information correctly with this setup, the php parser should be compiled with the --enable-discard-path configure option.
244 - FIX: The "php_sapi_name()=="cgi"||php_sapi_name()=="isapi"" problems (Message-ID: <ADEEJCHPNMOFKAAOJJKKCEKMCAAA.martin.kokes@sitewell.cz>, Message-ID: <200304071146520757.0097D495@smtp.worldonline.dk>, Message-ID: <BACDA028.F428%daniel@typo3.com>)
245 - CHECK: Security: Can HTTP_SERVER_VARS be overridden from URL if global vars are enabled???
246 - TYPO3_PORT bug (Message-ID: <005f01c2df3f$4006db00$0100a8c0@knoell>)
248 Filepermissions of source:
249 - Test that these permissions work OK:
250 - chmod 555 typo3_src/ -R
251 - cd typo3_src/typo3/
252 - chmod 755 ext/
256 **************************
258 **************************
259 Extensions:
260 - Document how to make "static_template_files" in an extension (Example: How to make a standard templates in extensions to TYPO3) => Rene Fritz doing that?
267 *****************
269 *****************
270 - Undo/Redo behaviour strange? => This bug report turned out to be about frontend caching: If you saved a value and quickly after (probably within a second) pressed "Undo" button, then the (browser)cached content would be shown. It was obvious because the sys_history table WAS updated, only the form wasnt.
275 ******************************************
277 ******************************************
278 Cleaning for 3.6 involves:
279 - XHTML transitional compliance
280 - " to '
281 - Commented functions
283 1: Add comments
284 * NOTICE: This will also detect JavaScript functions, but if you place a comment line like "// ..." in the end of the function definition line they will not have the JavaDoc style comment added. Eg. " function blabla() { // "
285 2: Write comments, organize them, add sections etc. (search [type])
286 2a: Set "@access private"
287 3: double to single quote (check for "\n")
288 4: XHTML
289 5: $Id$ CVS keyword expansion
290 6: @package tags
291 7: Function Index in scripts
292 8: Depreciated use of t3lib_BEfunc::titleAttrib
293 9: Generally, try to read all GPvars in init() functions and set them as internal variables - gives a nice, natural overview of what is used from the outsite
296 Status 27/10 (TYPO3 Core + extensions "cms" and "lang" in sysext/ (but without global extensions in ext/ !)):
297 - 2000 @param and @return tags in 800 functions still needs commenting (3800 tags in 1400 functions has already been done)
298 - 50 scripts still needs cleaning for XHTML, comments and single-quotes
300 Note on XHTML compliance:
301 - We strive for XHTML transitional / frames
302 - Certain incompatibilities has been allowed for practical reasons (for now). These include:
303 - align="absmiddle" for images
304 - width/height properties for input tags when images are used
305 - missing "cols" attribute for textarea tags.
306 - Some attributes for framesets.
307 [The reason for allowing this is probably that I do not know any workaround to achieve the same effect. The problem of non-allowed attributes/values also rate very low in my understanding of XHTML compliancy - it is far more important with nesting integrity, char case of tags/attributes, etc.]
310 ---------------------------------------------------------------
312 ---------------------------------------------------------------
313 Finished (XHTML, quotes, comments, revised-note), XQCR:
314 (Indented scripts are still missing clean-up)
316 t3lib/________________________________________:
317 XQCR: t3lib/class.t3lib_admin.php
318 XQCR: t3lib/class.t3lib_arraybrowser.php
319 -QCR: t3lib/class.t3lib_basicfilefunc.php
320 XQCR: t3lib/class.t3lib_bedisplaylog.php
321 XQCR: t3lib/class.t3lib_befunc.php
322 XQCR: t3lib/class.t3lib_beuserauth.php
323 XQCR: t3lib/class.t3lib_browsetree.php
324 XQCR: t3lib/class.t3lib_clipboard.php
325 -QC-: t3lib/class.t3lib_cs.php
326 XQCR: t3lib/class.t3lib_diff.php
327 XQCR: t3lib/class.t3lib_div.php
328 t3lib/class.t3lib_dmailer.php [Jan-Erik?]
329 t3lib/class.t3lib_exec.php [Rene]
330 -QCR: t3lib/class.t3lib_extfilefunc.php
331 -QCR: t3lib/class.t3lib_extmgm.php
332 -QCR: t3lib/class.t3lib_extobjbase.php
333 XQCR: t3lib/class.t3lib_foldertree.php
334 -QCR: t3lib/class.t3lib_formmail.php
335 t3lib/class.t3lib_fullsearch.php
336 t3lib/class.t3lib_htmlmail.php [Jan-Erik?]
337 XQCR: t3lib/class.t3lib_iconworks.php
338 t3lib/class.t3lib_install.php
339 -QCR: t3lib/class.t3lib_loaddbgroup.php
340 -QCR: t3lib/class.t3lib_loadmodules.php
341 -QCR: t3lib/class.t3lib_matchcondition.php
342 t3lib/class.t3lib_modsettings.php [Rene]
343 XQCR: t3lib/class.t3lib_page.php
344 XQCR: t3lib/class.t3lib_pagetree.php
345 XQCR: t3lib/class.t3lib_parsehtml.php
346 XQCR: t3lib/class.t3lib_parsehtml_proc.php
347 XQCR: t3lib/class.t3lib_positionmap.php
348 t3lib/class.t3lib_querygenerator.php
349 -QCR: t3lib/class.t3lib_readmail.php
350 XQCR: t3lib/class.t3lib_recordlist.php
351 -QCR: t3lib/class.t3lib_scbase.php
352 -QCR: t3lib/class.t3lib_stdgraphic.php
353 XQCR: t3lib/class.t3lib_superadmin.php
354 t3lib/class.t3lib_svbase.php [Rene]
355 -QCR: t3lib/class.t3lib_tceforms.php
356 t3lib/class.t3lib_tcemain.php
357 XQCR: t3lib/class.t3lib_timetrack.php
358 -QCR: t3lib/class.t3lib_transferdata.php
359 XQCR: t3lib/class.t3lib_treeview.php
360 XQCR: t3lib/class.t3lib_tsfebeuserauth.php
361 -QCR: t3lib/class.t3lib_tsparser.php
362 t3lib/class.t3lib_tsparser_ext.php
363 t3lib/class.t3lib_tsstyleconfig.php
364 -QCR: t3lib/class.t3lib_tstemplate.php
365 XQCR: t3lib/class.t3lib_userauth.php
366 XQCR: t3lib/class.t3lib_userauthgroup.php
367 -QCR: t3lib/class.t3lib_xml.php
369 -QCR: t3lib/config_default.php
370 -QCR: t3lib/thumbs.php
371 XQCR: template.php
372 -QCR: t3lib/stddb/load_ext_tables.php
373 -QCR: t3lib/stddb/tables.php
374 -QCR: t3lib/stddb/tbl_be.php
377 sysext/lang/___________________________________________:
378 XQCR: lang.php
380 sysext/cms/___________________________________________:
381 XQCR: tslib/class.tslib_content.php
382 XQCR: tslib/class.tslib_fe.php
383 -QCR: tslib/class.tslib_fetce.php
384 -QCR: tslib/class.tslib_feuserauth.php
385 -QCR: tslib/class.tslib_gifbuilder.php
386 XQCR: tslib/class.tslib_menu.php
387 XQCR: tslib/class.tslib_pagegen.php
388 XQCR: tslib/class.tslib_pibase.php
389 XQC-: tslib/class.tslib_search.php
390 XQCR: tslib/media/scripts/example_callfunction.php
391 XQCR: tslib/media/scripts/example_itemArrayProcFunc.php
392 XQCR: tslib/media/scripts/example_keepRollover.php
393 XQ-R: tslib/media/scripts/example_languageMenu.php
394 XQCR: tslib/media/scripts/example_typolinkpop.php
395 XQCR: tslib/media/scripts/fe_adminLib.inc
396 XQ-R: tslib/media/scripts/freesite_dummy_page_menu.php
397 XQCR: tslib/media/scripts/gmenu_foldout.php
398 XQCR: tslib/media/scripts/gmenu_layers.php
399 -QCR: tslib/media/scripts/makeMenu_datedirectory.inc
400 -QCR: tslib/media/scripts/makeMenu_keywords_updated.inc
401 XQCR: tslib/media/scripts/plaintextLib.inc
402 XQCR: tslib/media/scripts/postit.inc
403 ----: tslib/media/scripts/testscript.inc
404 ----: tslib/media/scripts/testscript_EXT.php
405 ----: tslib/media/scripts/testscript_INT.php
406 XQCR: tslib/media/scripts/tmenu_layers.php
407 XQCR: tslib/media/scripts/wapversionLib.inc
408 XQCR: tslib/media/scripts/xmlversionLib.inc
409 -Q-R: tslib/index_ts.php
410 -Q-R: tslib/pagegen.php
411 -Q-.: tslib/publish.php
412 .QCR: tslib/showpic.php
413 XQCR: web_info/class.tx_cms_webinfo.php
414 XQCR: layout/db_layout.php
415 XQCR: layout/class.tx_cms_layout.php
416 XQCR: layout/db_new_content_el.php
418 typo3/___________________________________________:
419 XQCR: alt_clickmenu.php
420 XQCR: alt_db_navframe.php
421 XQCR: alt_doc.php TODO: Check "redirect" GPvar for XSS hole!?
422 XQCR: alt_doc_nodoc.php
423 XQCR: alt_file_navframe.php
424 XQCR: alt_intro.php
425 XQCR: alt_main.php
426 XQCR: alt_menu.php
427 XQCR: alt_menu_sel.php
428 XQCR: alt_mod_frameset.php
429 XQCR: alt_palette.php
430 XQCR: alt_shortcut.php
431 XQCR: alt_toplogo.php
432 XQCR: alt_topmenu_dummy.php
433 XQCR: browse_links.php
434 XQCR: browser.php
435 XQCR: class.alt_menu_functions.inc
436 XQCR: class.db_list.inc
437 XQCR: class.db_list_extra.inc
438 XQCR: class.file_list.inc
439 XQCR: class.show_rechis.inc
440 XQCR: db_list.php
441 XQCR: db_new.php
442 XQCR: db_new_content_el.php
443 default.htm
444 default.html
445 XQCR: dummy.php
446 XQCR: file_edit.php
447 XQCR: file_list.php
448 XQCR: file_newfolder.php
449 XQCR: file_rename.php
450 XQCR: file_upload.php
451 XQCR: index.php TODO: Check "redirect" GPvar for XSS hole!?
452 -QC-: index_re.php
453 -Q-R: init.php
454 XQCR: listframe_loader.php
455 XQCR: login_frameset.php
456 -QC-: logout.php TODO: Check "redirect" GPvar for XSS hole!?
457 XQCR: move_el.php
458 XQCR: show_item.php
459 XQCR: show_rechis.php
460 -QCR: tce_db.php
461 -QCR: tce_file.php
462 XQCR: template.php
463 XQCR: view_help.php
464 XQCR: wizard_add.php
465 XQCR: wizard_colorpicker.php
466 XQCR: wizard_edit.php
467 XQCR: wizard_forms.php
468 XQCR: wizard_list.php
469 XQCR: wizard_rte.php
470 XQCR: wizard_table.php
471 XQCR: wizard_tsconfig.php
473 XQCR: mod/help/about/index.php:
474 XQCR: mod/tools/em/index.php
475 XQCR: mod/web/info/index.php
476 XQCR: mod/web/func/index.php
477 XQCR: mod/web/perm/index.php
480 typo3/sysext/___________________________________________:
481 install/ [ingmar]
482 OK cms/
483 OK lang/
484 OK setup/
485 XQCR: func_wizards/
486 XQRC: wizard_crpages/
487 XQRC: wizard_sortpages/
488 XQCR: extra_page_cm_options/
489 OK aboutmodules/
490 OK install/ + class.t3lib_install.php / class.t3lib_superadmin.php
491 XQCR info_pagetsconfig/
492 OK context_help/
495 typo3/ext/_____________________________________:
496 belog/ (2 / 500)
497 beuser/ (1 / 1300)
498 cms_plaintext_import/ (1/200)
499 OK conf_userts/
500 css_styled_content/ (1/200) [H]
501 direct_mail/ (3/2500) [Jan-Erik] + class.t3lib_htmlmail.php
502 OK direct_mail_subscription/
503 extrep_wizard/ (2/4500) [H]
504 feuser_admin/ [testsite...] - XHTML
505 freesite/ (2/1600)
506 imagelist/ (1/250)
507 impexp/ (2/2000) [H]
508 indexed_search/ (4/3500) [H] [testsite...]
509 lowlevel/ (2/800) [H]
510 XQ-R: metatags/
511 phpmyadmin/ (1/130)
512 plugin_mgm/ (1/300) ->move? remove?
513 quickhelp/ (1/80)
514 rte/ (5/1900) [H]
515 OK rte_conf/
516 OK setoldpluginlist/
517 OK skin1/
518 OK static_file_edit/
519 sys_action/ (1/400)
520 sys_messages/ (1/450)
521 OK sys_note/
522 sys_notepad/ (1/130)
523 OK sys_stat/
524 sys_todos/ (1/1100)
525 OK sys_workflows/
526 taskcenter/ (4/400)
527 taskcenter_modules/ (1/100)
528 taskcenter_recent/ (1/150)
529 taskcenter_rootlist/ (1/50)
530 tipafriend/ (1/260) [testsite...]
531 OK tsconfig_help/
532 OK ts_language_de/
533 OK ts_language_dk/
534 OK ts_language_fr/
535 OK ts_language_nl/
536 OK ts_language_no/
537 tstemplate/ (1/450) + class.t3lib_tsparser_ext.php (1700)
538 tstemplate_analyzer/ (1/250)
539 tstemplate_ceditor/ (1/250)
540 tstemplate_info/ (1/450)
541 tstemplate_objbrowser/ (1/500)
542 tstemplate_styler/ (1/1700)
543 OK tt_address/
544 tt_board/ (3/1200)
545 tt_calender/ (1/170) [testsite...]
546 tt_guest/ (2/350) [testsite...]
547 tt_news/ (1/750) [testsite...]
548 tt_poll/ (2/400) [testsite...], [Rene F]
549 tt_products/ (5/2000) [testsite...], [? Peter Kuehn]
550 tt_rating/ (3/550) [testsite...], [Rene F]
551 viewpage/ (2/200)
553 32,5 K Codes lines....
555 For all extensions (even those approved):
556 - Remember to add package tags to all classes!
557 - Write documentation for each
558 - Check HTML source / CSS usage / XHTML compliancy / That icons are skinnable (add to "skin360")
559 - $LANG->getLL() are htmlspecialchars()'ed
565 *******************
567 *******************
568 Overview of implications before implementation:
569 - UTF-8 encoding is in fact expected by XML! So the real charset must be set
570 - Wellformedness: Nesting ok. All img tags must be ended with /> (frame,base,meta,link,img,br,hr,area,input)
571 - Lowercase for elements and attributes (and everything else...) + stylesheet element and attribute names.
572 - All attributes in quotes
573 - Minimized values not allowed: Must do this: selected="selected"
574 - Wrapping scripts and style element contents in CDATA - or alternatively they should have entitites converted.
575 - name/id attribute double
576 - Certain nesting of elements not allowed. Most interesting, <PRE> cannot contain img, big,small,sub,sup ...
577 - Setting charsets may put some special requirements on both XML declaration/ meta-http-equiv. (C.9)
578 - ampersands (and entities in general I think) MUST be converted to an entity reference! (&amps;). This may mean further conversion of non-tag content before output to page. May be related to the charset issue as a whole.
580 Related issues:
581 - Charset / encoding issues
583 ---------
584 Practical steps for creating XHTML compliance:
586 - lowercase: <(td|tr|p|div|table|b|i|u|a)
587 - attributes in lowercase and ""; TYP: bgColor, border=0 cellspacing=0 cellpadding=0, valign=top, onClick, onChange, onSubmit, method="POST", type="Submit"
588 - Ending tags: <br>, <hr>, <input>, <img> (Longer list: frame,base,meta,link,img,br,hr,area,input)
589 - shorthand: checked, selected, multiple, nowrap
590 - href="", action="", src="", onclick= tags: htmlspecialchars() of URLS
591 - <img -> ' alt="" />' REGEX: <img[^>]*[^-]>
592 - FINDING attributes with no quotes:
593 ([[:space:]]+)(class|face|hspace|vspace|rowspan|bgcolor|src|colspan|align|color|valign|border|width|height|cellpadding|cellspacing)=([^[:space:]>"']+)
594 ... and replace with: \1\2="\3"
600 *******************
601 APPENDIX 2: Debugging / varoius
602 *******************
604 Teststring for XSS bugs and SQL injection:
605 >><b><i>asdf</i></b>-\-\\-\"-\'-"-'-
607 debug_backtrace() - nice function for debug-output.
610 *****************
611 APPENDIX: Versioning thoughts:
612 Authors: Julle and Kasper.
613 *****************
614 - Versions can be done on page level or element level
615 - In any case a pure copy of the element is produced
616 - For pages only configured tables will be copied, eg:
617 - Page
618 - tt_content
619 - pages_lang_overlay
621 - Versioning (for single elements including single "pages" record) is based on
622 - ONE element having an official position in the TYPO3 page tree, thus holding the official "uid" of the element! (If this element was deleted from the system, so are all versions of that element!)
623 - All versions of this one element being a) at pid "-1" and b) a field "real_id" pointing to the official UID
624 - Pages-versioning: For all elements belonging to a version of a page; They are just copied and has no official new version or binding back to whatever element they came from. They just came along. And in fact, they could even have their own version history for them selves!
625 - Backend user access to elements is based on the access restrictions for the official element. THis must be implemented on core level.
626 - Tables supporting versioning will have these fields:
627 - real_id - Pointing back to official in-tree version
628 - ver_id - Incremental integer (version number)
629 - ver_label - Version label, eg. "1.1.1" or "Christmas edition"
630 - editlock - Flag (core support independant of versioning) which IF SET makes it impossible for anyone to edit the record. The flag must be unset before editing can occur. (Is a feature which can be used to write-protect a version)
631 - pid/uid should have "signed" attributes in MySQL (pid = -1, uid =-xxxx for swapping).
633 - Preview in fronend
634 - At page level, done with a simple selector in the AdminPanel. Just like date/user/hidden is done.
635 - For other element, time will show.
637 - Backend module for versioning:
638 - Diff-ing between versions.
640 - Version-swapping log?
642 - ID-swapping for versioned elements
643 - Version from archive (future/past) will get the uid of the "real_id", the official element with "real_id" will get the new versions old uid.
644 - For pages-records: We will have to swap the "pid" values of all (versioning-included) elements on the pages.
645 - Swapping three-step process:
646 uid uid real_id
647 PUB: 13 --> -13 247
648 247 --> 13 -
649 -13 --> 247 13
650 - Pages-versioning and the impact of NOT swapping tt_content element uids:
651 - Loose anchor-points, manually made (could be hack-fixed by some intelligent copying tracking)
652 - TemplaVoila references to elements from other pages (will break, however bad practice to reference elements not in some sort of central library which will NEVER be page-versioned anyways)
653 - Insert-records could potentially do the same
654 - Impact assesment: Low.
655 - Clean-up module (in templavoila?) could also track such things
656 - Problems for non-templavoila sites would be low.
657 - Swapping might need to exclude fields like "sorting" etc. Others could be imagined.
658 - copies:
659 - What about a page alias?
660 - Trunk/Branch:
661 - Create version of single page (as above)
662 - Create version of page branch (1-... levels)
663 - Either create version of EACH page individually (like tagging in CVS)
664 - Or create single-point-of-reference so that pages INSIDE can be swapped, deleted and created (just like content elements can)
665 - Requirement: Intelligent swapping of "sub-element" ids that CAN be traced back to the original!
667 - Backend:
668 - For single-editing of records we will show a version list from which to choose a version to edit (just like the delete button is also hidden at multi-edit)
669 - In list-module we might display a) an icon to a version selector (where diff-ing could be done, swapping performed etc.), b) show archive versions as children in the listing.
670 - In Page module + TemplaVoila page module: There will be a version selector implemented so users can switch around between versions.
680 ******************
681 APPENDIX: Charsets
682 ******************
683 In TYPO3s backend charsets used has traditionally been the the charset of the backend user language. This is of course a big problem since the encoding of content is thus depending on the charset of the user and not of the system
684 From TYPO3 3.6.0 you can define a global charset for the whole database. This can be any local charset like iso-8859-1 or windows-1250. But for multilingual sites it is recommended to use utf-8 since that can represent all languages.
685 You set the global charset in a localconf file like this: $TYPO3_CONF_VARS["BE"]["forceCharset"] = "utf-8";
687 Here are a few notes:
688 - JavaScript functions to convert cases to upper/lower seemed to work with all letters from any charset. In the old days this was not the case and thus functions in eg. "jsfunc.evalfield.js" compensated. This is now disabled since it is apparently not needed anymore.
689 - PHP Upper/Lowercase - not tested.
690 - When one enters eg. danish letters in a form when the russian charset is used, these letters are converted to HTML entities, eg. "&#248;" - this is NOT changed. The philosophy is that IF anyone needs to use characters outside the range of the used backend character set he should use UTF-8 instead. Theoretically we COULD allow the entities to be shown correctly but we dont for now. Better use the right charset.
694 ******************
696 ******************
697 - hash of base-dn skal v?re cleaned op. M?ske prefixe usernames med 10-char hash af base-dn.
698 - Moduler som "User Admin" og andre steder, hvor "usergroups" feltet benyttes skal sl? det op i LDAP uden authentication. -> Faktisk er det IKKE kun usergroups men ALLE felter, som kan mappes!!!
699 - Ved record creation: LDAP default group.
701 ? Getting info like usergroups, email, name?
702 ? Case-sensitivity of the DN in general?
703 ? DN entering..
704 ! MD5-hashed passwords
706 1) AUTO -DN : Array of DN's, searched in order.
707 2) Select dn: User selects the DN he is from.
708 --------------------------
709 So we are looking at two scenarios:
710 1) fe_/be_user records are automatically created when a LDAP authenticated user loggs in. Configurable is: Where it applies (fe/be) and if any additional LDAP info we can get should be mapped to MySQL records (like name, email, address or user-groups uid's)
711 2) fe_/be_user records basically is the same as before (they hold a reference to LDAP user) and authentication is the same, BUT in this case fe_/be_ users are created manually, maybe using a tool of some sort which can look up the whole list of users in LDAP and allow the T3 admin to check off which users to make references to (this would be "Batch create").
712 3) Mapping of ONE typo3 user to MANY LDAP users...
714 - Also have the possibility of local users: Thus 1) FIRST a lookup is done in LDAP, 2) THEN if this fails we look in the local mysql table. (Well, this solution is straight forward since a user must ALWAYS have a record in the local MySQL table...)
716 - Make API so that other authentication solutions than LDAP can be used (eg. another MySQL table!) [See Rene Fritz's prototype work with services...]
719 Also see:
720 - [Kasper] "LDAP" folder in Mailbox
723 ********************
724 APPENDIX: DBAL (moved to TODO.txt of extension "dbal")
725 ********************
729 **********************
731 *********************
732 Also see:
733 - [Kasper] "LPE" folder in Mailbox
735 Syncronization (JH thoughts, general LPE):
736 DB -> DB (1):
737 - Production environment, which can dump configured set of tables to live server database and back. This is controlled from Production env.
738 - Live server has two databases: One which accepts content from P (and is never written to) (P->L). One which ARE written to and is READ back by P (L->P).
739 - The "P->L" database has a "backup" (db1, db2) where the "idle" database is the one being updated and after the update it's switched with the live db, which is now idle. The "L->P" database is not affected by this timing issue.
740 - uploads/* dirs (and any files at all) might be syncronized by general rsync/ftp syncronization. Both ways? Primarily from P->L. Basically this sync. might take the whole sourcecode with it...
742 Req to T3:
743 - That EACH table can be found in its own database (configurable). This means the TYPO3_db constant might have to be wasted? And not just another MySQL database - at another Database server or type (like Oracle). This is related to DBAL.
744 - Q's: FTP-functions in php; How to syncronize? MySQL working across databases, connecting to more than one database?
746 DB->HTML
747 - Basically this is an rsync/ftp sync question which requires a set of static files.
748 - Also a "mixed mode" concept where static files not found are server dynamically by TYPO3, but where the TYPO3 install does NOT allow backend access at all - only frontend delivery.
750 Two situations:
751 - Publish static for local server, using mod_rewrite to direct requests transparently (static/dynamic). So all *.html requests WILL be found, static or dynamically! (Static/Dynamic blend)
752 - Publish static for FTP server. All *.html requests MUST exist. (Purely static, limitations acceptable.)
754 _____________________________________
755 Server sync. extension, PLAN:
756 Create an extension which syncronizes a set of tables to another database, using DBAL extension to determine handler for the remove tables
757 - Use "tstamp" for update, "crdate" for inserts; does not dump full tables, only pushes updated content!
758 - "Complete Sync": Feature for MD5 checking whole tables, thereby pushing content not based on timestamps but Md5 sum of content. This is if the timestamps are not getting updated correctly.
760 _______________________________________
761 General Crawler ("crawler"):
762 - Crawls pages on TYPO3 site by URLs (using PHP fetching)
763 Config:
764 - Preload queue
765 - with previous crawler session log
766 - page tree pages / single top page?
767 - For this; variable parameters, eg. "&lang=(dk|de)&cur=(Euro/DKK)&type=(0|1)" giving 3x2 combinations. Challenge; cHash?
768 - Set max-depth
769 - Adds GET parameter to identify operation (handler)?
770 - (re)index pages
771 - (re)cache pages
772 - Export as static HTML...
773 Session log:
774 - Identifies session by handler/id
775 - Can look up if a crawler has opened/closed/is-stalled etc.
776 - Multithreading crawlers (in IFRAMES or whatever)
777 - From session log we can read out the status-arrays of the threads and display in backend (handler shows as it likes.)
778 - Start / stop crawler session
780 __________________________________________-
783 - cache_pages -> API for adding key1/key2 custom content!
784 - automatic clear-pages cache protection? (global flag)
785 - Configuration: Configure "cache_" tables to clear when "Clear all cache"
786 - "clear-cache" might not DELETE records but rather mark them "update-cache" or something like that... (would require the URL to be around...)
787 - protect-flag which will disable the *automatic* clearing of page cache for a single page (in page header; expiry set to never -> setting flag in "cache_pages" table and records with that flag set cannot be flushed!)
788 - "key1" and "key2" for granularity in caching!
789 -> used in manual clear-cache situations (cache mgm)
790 -> used in configurable clear-cache situations (clearing cache for a single document on TYPO3.org!)
791 - "registerElement" per page for cache clearing (frontend scripts; function puts record reference in internal array and writes to disk only when cache table is written to! Flushes table with cache table also! Just like cache_pagessection)
792 -> For TV: ->registerElement('tt_content','uid'); when elements are NOT on the physical page
793 -> For 3dsplm: ->registerElement('bfs_brand','catia')
794 -> For 3dsplm: ->registerElement('bfs_skills','') [saying that ANY bfs_skill changed will clear cache of front-page where all are shown.]
796 cache-extension ("cachemgm")
797 - in click menu, link to cache mgm
798 - Web>Info "Cache overview":
799 - Overview of cached versions in tree (with stat like time, expiry, content size, parameter content, URL, key1/2) - standard categorizing, eg. [parameter1]:[param2]:[param3], page title!
800 - clear cache for page/section of page tree.
801 - RE-generation of branches of this tree! (crawling the pages)
802 - overview of cache_hash table.
803 - overview of pages-section table.
804 - tracking pages which are shown non-cached
806 _____________________________________
807 Static publishing ("staticpub" extension)
808 - Writes static file (automatically) IF simulateStaticDocument uses HTML / Speaking URLs and allows caching of page
809 - root of the publishing dir MUST be hardcoded in TYPO3_CONF_VARS etc.; The extension has full power inside of this dir!
810 - Support for both speaking URLs (hierarchy of directories) and regular simulate static document types (flat dir)
811 - Using mod_rewrite to access static versions of documents.
812 - Checks existence of files
813 - Can bypass GET/QUERY string and POST requests!
814 - File location is tracked in a table tied to page-cache table uids - thus making a flush very easy
815 - File write should probably happen together with inserting cached version in database (system hook)
816 - setting a "config.disableStaticCreation = 1" flag (in TS template) can disable it (for conditions situations)
817 - Also registeres: a) resources on the page (images/stylesheets), b) GET parameters from M5/B6 encryption. (not used yet!)
818 - Publishing can be done by remote-client requests (default) or using the general crawler (for re-caching pages)
819 - Web>Info module "Static publishing": overview showing all files and which pages they are related to, possible "lost files" (those not registered in database) and "missing files" (in the database but not there).
820 - To create new versions doesn't have to REMOVE the existing! Just overwrite!
823 ******************************
824 APPENDIX: Image Processing
825 *****************************
826 Generally we want:
827 - Full PNG main support
828 - Full IM5.x support
829 - Non-ImageMagick version which CAN scale images (with GD/JPG)
831 To get rid of ImageMagick totally we need a GD with...:
832 - blur/sharpening
833 - scaling
834 - masking
835 - reduce colors / dithering
836 - jpg quality control
837 - 96 dpi / 72 dpi
838 - other effects?
839 - Support for many file formats.
840 This is currently implemented for GD2 by Kasper/Rene but the changes are not used. Just proof-of-concept. We are in contact with Pierre-Alain from the PHP-dev team about the issue and hope that his changes will make the future GDlib in PHP5 so powerful that ImageMagick is not needed anymore and most importantly: We can rely on a totally standard PHP installation available at any webhotel (in the future).
842 Notes:
843 - Consider imageprocessing issues like PNG / GDlib2 / Freetype2 / IM5.4.x / T1lib
844 - Other options: PHPImLib? GIMP?
845 - Improve Install Tool
847 --------------------
848 imagecopymerge
850 jonny at sanriowasteland dot net
851 29-Sep-2002 06:36
853 If you need to merge 2 png's (or presumably 2 gifs) with different color palettes, I have found this is the function to use. Just set pct to 99, and you are rocking. With pct set to 100, or imagecopy for that matter, the palette seems to go wonky. (It probably just uses the palette of the source image. but don't quote me on that).
856 Also see:
857 - [Kasper] "ImageManipulation" folder in Mailbox
860 ******************************
861 APPENDIX: Idea about "Roles"
862 ******************************
863 This is a few ideas about adding roles to the permission concept of TYPO3:
864 - There could be, say, 4 default roles: author, editor, administrator, developer
865 - Users can be assigned "membership" of a role (basically a "role" is like a hardcoded "user-group"?)
866 - Like you can configure database fields in TCA to be an "excludeField" you could also configure which ROLES can edit the field.
867 - Possibly each role could assign membership of some groups.
870 *************************************
871 APPENDIX: Various ideas for extensions
872 *************************************
873 EMAIL publication:
874 - People can publish stuff by sending email to certain adresse piping the content into database.
875 - This could also be upload of files, eg. a word document to a place in fileadmin/ (such a document could contain information inside which was displayed on the website).
876 - See mail from DH, subject; "Last day for feature requests" Message-ID: <200202181821120933.01CA5B9F@smtp.worldonline.dk>
879 - Import external website! (Rene's extension). Includes some crawler feature (locally og external url)
882 - A crawler which crawls either local or external site, invoked from a) backend or b) cron-script.
883 - Used for 1) Indexed Search, 2) External website import, 3) Just walking through a site for indexing/caching all pages.
884 - Trying to define a sitemap/menu structure + find "content" on page
885 - maybe with some kind of "hint" facility to tell what html-elements wraps content or maybe for each page visually pick out the content area: OR this could be done by the TemplaVoila tool?
888 - Global search and replace of records (Rene F?)
889 - Export the complete typo3 site/database, in a big file like mycompletesite.t3d
891 Repeated intervals extension:
892 - Cron-job which alters the start/end times according to some schedule.
893 - Configurable for any element of course
895 New-Wizard:
896 - An extension offering people to configure a wizard for creation of records. For instance you can configure to create a content element in three steps: First select type and header, then according to first choice, select more. Each screen has custom text/images/examples. Eventually the record is created. After creation there might be more options to set. In the end the wizard might fire up another application (like TemplaVoila) or a wizard or such.
897 - Could be useful for: TemplaVoila Template Objects, Content Elements (like tables/forms/plugins), Pages of sorts.
898 - Configuration could be in XML (since it needs a hierarchy)
901 **************************************
903 **************************************
904 - Specify a pattern of allowed/required values.
905 - Those values are on the basic level just "table:uids". On the next level it would also set requirements on one or more field values inside!
906 - How can this be done?
907 - Will be hard to manage that records being a part of the pattern are not changed after having been added to the pattern. But at least this could be a beginning...?
911 **************************************
912 Rapport of "deleted"-check in typoscripts (190500)
913 **************************************
914 TYPO3:
915 - "deleted"-field must be set manually in userauth for user-tables!
916 Hardcoding:
917 - "pages" in load_tree.php
918 - "sys_filemounts" in userauth_group
919 - "user-group tables" in userauth_groups
920 - "pages" in ti_inc.php
921 - "pages" in transferdata.php
923 TypoScript:
924 - sys_domain is NOT checked for deleted in "page.php"
925 - getForeignRecords() (page.php) does not check for deleted!!! (this is even not used any more!!
926 Hardcoding:
927 - "pages" in page.php
928 - "pages" in t_search.php
929 - "pages" in index_ts.php (caching)
930 - "sys_template" in t_template.php
931 - "fe_groups" in index_ts.php
934 **************************************
935 Bugs, considerations, notes
936 **************************************
937 - mail() hangs in 90 second (approx) if computer is not on the net! (deliver to mail-server)
938 - REWRITE of files when they already exists? shortMD5 is guilty?
939 - "Fields not properly updated:" - error: Varchar(xx) cannot included spaces AFTER the last character and therefore TYPO3 interface reports an error. Solve this error by setting "eval" to "trim" in $TCA for inputfields of the type VARCHAR.
940 - mysql_query() function should not be used I think as this queries the current database. mysql() should be used instead.
941 - JavaScript: escape() doesn't rawurlencode the "+"-character. This can be a problem, eg. when trying to rename files with a plus in the name. I have made an alternative escape-function.
942 - PDF-files over 600 k are not rendered by ImageMagick. Less than 270 is! How come and is this true. Number of pages?
943 - When GDlib is disabled it can be very confusing that record icons does not change their look according to hidden/starttime/endtime etc...
944 - many files in typo3temp/ slows down processing. Eg. a image resize with 33.000 files in typo3temp/ took 3 seconds where it would take 40 ms when the folder is clean. (on linux)
947 **************************************
948 Innovation, brainstorming for future
949 **************************************
950 - TSconfig defined through FlexForms?
951 - Drop tt_content for content rendering and let extensions be the sole source of new content element types?
952 - Check sitecore ideas for adding new fields etc.
953 - Backend for PDAs/Lynx
956 ************************************
957 Translation of Extensions
958 ************************************
960 These [global] extensions has priority when translating extensions:
962 lang
963 cms
964 extra_page_cm_options
965 rte
966 imagelist
967 aboutmodules
968 lowlevel
969 beuser
970 setup
971 taskcenter
972 sys_action
973 sys_messages
974 sys_notepad
975 taskcenter_recent
976 taskcenter_rootlist
977 sys_todos
978 sys_workflows
979 func_wizards
980 wizard_crpages
981 wizard_sortpages
982 info_pagetsconfig
983 indexed_search
984 tt_guest
985 mininews