Added syntax highlighting class
[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: <>)
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 cmodules for their extension.
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: <>)
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: <>)
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?
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 - Multiple DBs:
66 - The ability to configure "any" table to be stored in another database.
67 - Think DBAL into this and also notice that joins could ONLY be done if tables are in the same DB! (since other databases could also be from non-MySQL dbs when the DBAL comes)
68 - Affects: Basically anywhere records are selected -> requires a check of $TCA[ctrl] for the table first before the query is done!
69 - Maybe this feature should wait till DBAL is implemented anyways.
72 TCEmain/TCEforms for FlexForms:
73 - Affects: "lowlevel" ext/DBint , "impexp" extension. Must/Should be extended.
74 - Permissions handled per-field in FlexForms?
75 - What to do if data structure was not found? (Both TCEmain, TCEforms, templavoila_pi1, t3lib_transferdata)
76 - block the creation of FlexForm in FlexForm inside TCEforms.
77 - ['pi_flexform']['config']['ds'] must be set to some default message making sense!
78 - TCEmain features:
79 - caching of references/files in meta data (for analysis tools)?
80 - mapping values to a plain-text search field(s)
81 - Offering API functions for add/delete/move/copy
82 - Cleaning the original data in field since this may have an invalid structure if the data structure has changed in the meantime.
83 - TCEforms:
84 - 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).
85 - Visual interface for forms, DHTML for sheets etc, various sheet modes, language menu form.
86 - 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!
87 - Add many "types" of sections at a time when "add new"
88 - 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...)
89 - 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")
90 - Displaying partial branch of the data structure (and to a certain level)
91 - 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.
93 TCEforms:
94 - Support for other backend charsets / right-aligned charsets!?
97 - 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?
98 - Ability to set up user functions for pre and post processing of the data?
99 - API for adding JS-functions to the onchange-event.
100 - 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).
101 - SELECT type:
102 - select a filepath as a source of the items you can add to the box (single/multiple) without copying the files of course.
103 - Ability to see icon/image from record of selected value in the selector box.
104 - 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.
105 - Reflect possible tree-structure for records in Select/Items list
106 - a way to grant read for the selectors without displaying the storagefolder in the treeview?
107 - move one up / one down buttons for the list (also for GROUP element)
108 - Ability to move items when selecting/deselecting them. Or ability to gray out elements in the right list if selected.
109 - CHECK: "multiple" feature, single, sorted and non-sorted selections.
110 - Having elements ordered by the "list-order" of the selection selector must be done in JS (or tcemain)
111 - making copies of select fields etc - check that remapped records are OK treated (with foreign/neg_foreign + free string values)
112 - 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!)]
113 - Exclude field selection better, in a tree?
114 - set the width of the selector field.
115 - GROUP type:
116 - [file] allow the selection of files from the system to be added as REFERENCES, not copied! (Message-ID: <003f01c23503$8cdd69d0$55333bd4@comtech>, + notify "illuminatus")
117 - In the thumbnail list add the Edit and view icons as in the good old days.
118 - BUG: By the way, isn't there a bug in the listing of the thumbnails of records?
119 - Nested records:
120 - 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.
121 - See JH mail: Message-ID: <>
122 - IFRAME alternative for Element Browser.
123 - Like in CB: Copy image/reference from a record to clipboard, then insert that file/reference in another record again (Element Browser change).
124 - INPUT type:
125 - 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.
126 - ? type:
127 - "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>)
129 - Concept for translation of other language versions simultaneously? (Showing the default/any language side-by-side?)
130 - Would require UTF-8 display in backend.
131 - Support for "original/translation" relationships:
132 - 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)
133 - If the record is "default" then ALL fields are shown.
134 - 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).
135 - 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)
136 - The core support basically is, that TCEforms automatically understands to disable the fields if needed and display the original content.
137 - see Message-ID: <>, Message-ID: <>
139 - "readonly" flag, or user group dependant. See "Message-Id: <>"
140 - BUGS:
141 - Ask to save record when you want to add a category with the "Plus" icon.
142 - CHECK: ###STORAGE_PID### incorrectly calculated?
143 - DONE?: Support for label for main palette: (Rene: Message-Id: <>)
145 Charset:
146 - checking (for XML) if there is "character data" in a string?
148 TCEforms/RTE API:
149 [Dominic Brander and Martin Schmidt has shown interest in the ekit Java RTE and may work on that.]
150 - API for RTE's (plus converting current RTE to using that!)
151 - review of class.t3lib_parsehtml_proc.php
152 - Make TYPO3 ready to accept alternative RTE made in Java. Needs data exchange to (config+data)/from (data) applet.
153 - Implement Ekit as Proof-of-concept:
154 - Implement another ActiveX editor as Proof-of-concept.
156 Element Browser:
157 - Support for DAM
158 - Support for browsing custom category-trees (passed by some PHP script)
159 - Support for deleting files in the listing there.
160 - Disable thumbnail option for faster display.
161 - Element Browser configurable a) without the page tree but hardcoded to specific PID, b) just default PID (possibly able to override from TSconfig)
162 - 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?)
163 - Ability to insert images when their info page (larger thumbnail) is displayed. Maybe a small + (plus) icon would do. (Notify Patrick Roeder)
164 - Some quick-lookup feature (like we have on TER)
166 Wizards:
167 - Finish the colorpicker! Some other person can be in charge of this (See "APPENDIX: Colorpicker")
168 - Add wizard icon to TSconfig and Setup/Constants fields for immediate syntax highlighting (in popup window)
169 - wizard_add, _edit and _list can be used fantastic to lead the user through multiple 1:n relations but than he starts to be confused if the records he created apear somewhere else, tries to edit them directly there, relations get lost, phone rings. (Peter K?hn).
170 - forms and table wizards should be configurable for making XML structures alternatively to the currently formatting.
172 Interface:
173 - Icons (see Bugs/Additions folder)
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: <>)
175 - Ability to create another Main/sub module structure in the backend (Daniel H: Message-ID: <>)
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: <>
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: <>
186 - Option: For a frameset module, register the ID per sub-module, not just globally (see JH mail: Message-ID: <>)
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
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 - BUG: no label when copying an item into the Web>List module...
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!
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.
208 History/Undo:
209 - Must present a page/content element view, so a page with content elements can be restored as a whole
210 - Undo must be able to restore attached files as well
211 - Should be possible to disable for certain tables (can it be done already with TSconfig?)
212 - Delete saved states (and save whole record content).
213 - Need to implement the diff-feature for windows as well (that is set configuration)
215 LDAP support:
216 - See "APPENDIX: LDAP"
218 DBAL:
219 - Next step: Create PHP-test scripts which performs 98% of the SQL operations we need in TYPO3 and then let people try to implement this; We will then know about all the obstacles first-hand before we do any efforts to implement it.
220 - See "APPENDIX: DBAL" for Kaspers internal notes on the subject.
221 - "TCEmain/Multiple DBs" as well.
222 - MySQL practice: "Maybe it's a good idea to quote all table and column names in later versions of typo3 to avoid further problems like this one." (Message-ID: <>) Also good for DBAL? + create API functions for making INSERT/UPDATE query strings.
224 EM:
225 - Code commenting
226 - Display: Adding "back" buttons a few places.
227 - Display: review-flag + link to review - cannot be overridden?
228 - Display: Link to Introduction + other sections (, getting started manual in doc/index.html (See extension "tstemplate_styler" which has a prototype!), homepage link
229 - Display: After import, link to Install/Details.
230 - Display: Clean up the red errors: Major / Minor errors, and make sure it does not report non-errors.
231 - Display: Warning for extension of same classes?
232 - Display: Better filtering, quicker listing
233 - Feature: Specify preferred order of certain extensions.
234 - Feature: Change order of loaded extensions
235 - Feature: Dependencies includes minimum/max-version (Typo3, PHP, PHP-extensions, T3extensions)
236 - 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)
237 - Feature: EM suggest clear-cache af scripts?
238 - Feature: New category, "templates"
239 - Feature: New review state: security-screened (light review, not quality oriented)
240 - Feature: em_conf: "depreciated flag: Beskrivelse af, hvorfor den er depreciated"
241 - Install: Select other repository URLS in selector box?
242 - Install: Extensions which can point the import/export to a directory with import-files.
243 - Install: Updates of plugin checks if there is a local manual.sxw file. If there is the manual is also downloaded. Maybe people can set a flag in the configuration that manuals should always be fetched. (Some of this is already implemented)
244 - Install: Upgrade multiple extensions at a time.
245 - Install: Upgrade single extension without getting full list from TER
246 - Install: Import from online rep: search freetext, enter extension key etc...
247 - Install: Getting from TER only already installed extensions.
248 - Install: Flag: "Import ext"; "Show non-secure extensions" (show ALL ext., not only reviewed ones)
249 - Install: Update button for an extension in the details view.
250 - Install: After upload of extension then we should return to the "Information" view, not "Upload"
251 - Install: At upgrade: That an extension can display the total changelog between the formerly installed version and the new one.
252 - Install: Configuration for EM: Request most recent translations by default?
253 - Upload: emconf.php should have the md5-part updated when upload to TER
254 - CHECK: flag in [EXT] about if local/global extensions can be updated. (does it work?)
255 - CHECK: Are single quotes accepted when writing the "conf.php" files?
256 - CHECK: Better failure-tolerance when "fatal errors" occur in ext_localconf/ext_tables.php files!?
257 - CHECK: Can Install Tool bypass including ext_localconf/ext_tables if there are errors in them?
258 - 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)
259 - BUG: Fix memory consumption problem.
260 - BUG: backend shortcut links to EM pages does not carry the edit-file information. They should.
261 - BUG: Clear cache files should remove ALL "temp_CACHED_*" files in typo3conf/ (not just the current two)
262 - BUG: detection of single quotes in XCLASS and CONF.PHP file cases (and wherever a regex searches for code snippets!).
263 - BUG: MSIE4: Cannot make backup of extensions (and probably not export them either) because the header-mime-typen is not registered as it should be.
264 - 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.
265 - DOC: "Extension API" manual.sxw!
266 - Check mailbox for more... ?
267 - Related: The KickStarter Wizard, in particular a) cleaner code output, b) merging updates.
270 The REGEX-{} problem:
271 - 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: <>)
273 Install/Servers:
274 - FIX: Check safe_mode? Check open_base_dir? (Message-ID: <>)
275 - 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.
276 - FIX: The "php_sapi_name()=="cgi"||php_sapi_name()=="isapi"" problems (Message-ID: <>, Message-ID: <>, Message-ID: <>)
277 - CHECK: MD5 problem on Apache/Windows (Message-ID: <001901c26aeb$99db4c60$a9695651@NIGELJ>)
278 - CHECK: Security: Can HTTP_SERVER_VARS be overridden from URL if global vars are enabled???
279 - [Ask Michael Stucki for an overview of bugs...?]
280 - TYPO3_PORT bug (Message-ID: <005f01c2df3f$4006db00$0100a8c0@knoell>)
281 - BUG: open_base_dir problem with tempnam() (affects: tidy, diff, new resource textfiles created in Web>Template/Info, Indexer (using temp-name for input from pdftotext)
282 -> Renes t3lib_exec class useful here?
284 BE Language:
285 - There are a few mails in the Translations mail folder. These files contains some translations which must be integrated manually...
287 Filepermissions of source:
288 - Test that these permissions work OK:
289 - chmod 555 typo3_src/ -R
290 - cd typo3_src/typo3/
291 - chmod 755 ext/
295 **************************
297 **************************
298 Extensions:
299 - 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?
306 *****************
308 *****************
309 - 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.
314 ******************************************
316 ******************************************
317 Cleaning for 3.6 involves:
318 - XHTML transitional compliance
319 - " to '
320 - Commented functions
322 1: Add comments
323 * 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() { // "
324 2: Write comments, organize them, add sections etc. (search [type])
325 2a: Set "@access private"
326 3: double to single quote (check for "\n")
327 4: XHTML
328 5: $Id$ CVS keyword expansion
329 6: @package tags
330 7: Function Index in scripts
331 8: Depreciated use of t3lib_BEfunc::titleAttrib
332 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
335 Status 27/10 (TYPO3 Core + extensions "cms" and "lang" in sysext/ (but without global extensions in ext/ !)):
336 - 2000 @param and @return tags in 800 functions still needs commenting (3800 tags in 1400 functions has already been done)
337 - 50 scripts still needs cleaning for XHTML, comments and single-quotes
339 Note on XHTML compliance:
340 - We strive for XHTML transitional / frames
341 - Certain incompatibilities has been allowed for practical reasons (for now). These include:
342 - align="absmiddle" for images
343 - width/height properties for input tags when images are used
344 - missing "cols" attribute for textarea tags.
345 - Some attributes for framesets.
346 [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.]
349 ---------------------------------------------------------------
351 ---------------------------------------------------------------
352 Finished (XHTML, quotes, comments, revised-note), XQCR:
353 (Indented scripts are still missing clean-up)
355 t3lib/________________________________________:
356 XQCR: t3lib/class.t3lib_admin.php
357 XQCR: t3lib/class.t3lib_arraybrowser.php
358 -QCR: t3lib/class.t3lib_basicfilefunc.php
359 XQCR: t3lib/class.t3lib_bedisplaylog.php
360 XQCR: t3lib/class.t3lib_befunc.php
361 XQCR: t3lib/class.t3lib_beuserauth.php
362 XQCR: t3lib/class.t3lib_browsetree.php
363 XQCR: t3lib/class.t3lib_clipboard.php
364 -QC-: t3lib/class.t3lib_cs.php
365 XQCR: t3lib/class.t3lib_diff.php
366 XQCR: t3lib/class.t3lib_div.php
367 t3lib/class.t3lib_dmailer.php [Pekue?]
368 t3lib/class.t3lib_exec.php [Rene]
369 t3lib/class.t3lib_extfilefunc.php
370 -QCR: t3lib/class.t3lib_extmgm.php
371 -QCR: t3lib/class.t3lib_extobjbase.php
372 XQCR: t3lib/class.t3lib_foldertree.php
373 -QCR: t3lib/class.t3lib_formmail.php
374 t3lib/class.t3lib_fullsearch.php
375 t3lib/class.t3lib_htmlmail.php [Pekue?]
376 XQCR: t3lib/class.t3lib_iconworks.php
377 t3lib/class.t3lib_install.php
378 -QCR: t3lib/class.t3lib_loaddbgroup.php
379 -QCR: t3lib/class.t3lib_loadmodules.php
380 -QCR: t3lib/class.t3lib_matchcondition.php
381 t3lib/class.t3lib_modsettings.php [Rene]
382 XQCR: t3lib/class.t3lib_page.php
383 XQCR: t3lib/class.t3lib_pagetree.php
384 XQCR: t3lib/class.t3lib_parsehtml.php
385 a.Q..: t3lib/class.t3lib_parsehtml_proc.php (45)
386 XQCR: t3lib/class.t3lib_positionmap.php
387 t3lib/class.t3lib_querygenerator.php
388 -QCR: t3lib/class.t3lib_readmail.php
389 XQCR: t3lib/class.t3lib_recordlist.php
390 -QCR: t3lib/class.t3lib_scbase.php
391 -QCR: t3lib/class.t3lib_stdgraphic.php
392 t3lib/class.t3lib_superadmin.php
393 t3lib/class.t3lib_svbase.php [Rene]
394 -QCR: t3lib/class.t3lib_tceforms.php
395 t3lib/class.t3lib_tcemain.php
396 XQCR: t3lib/class.t3lib_timetrack.php
397 -QCR: t3lib/class.t3lib_transferdata.php
398 XQCR: t3lib/class.t3lib_treeview.php
399 XQCR: t3lib/class.t3lib_tsfebeuserauth.php
400 -QCR: t3lib/class.t3lib_tsparser.php
401 t3lib/class.t3lib_tsparser_ext.php
402 t3lib/class.t3lib_tsstyleconfig.php
403 -QCR: t3lib/class.t3lib_tstemplate.php
404 XQCR: t3lib/class.t3lib_userauth.php
405 XQCR: t3lib/class.t3lib_userauthgroup.php
406 -QCR: t3lib/class.t3lib_xml.php
408 -QCR: t3lib/config_default.php
409 -QCR: t3lib/thumbs.php
410 XQCR: template.php
411 -QCR: t3lib/stddb/load_ext_tables.php
412 -QCR: t3lib/stddb/tables.php
413 -QCR: t3lib/stddb/tbl_be.php
416 sysext/lang/___________________________________________:
417 XQCR: lang.php
419 sysext/cms/___________________________________________:
420 XQCR: tslib/class.tslib_content.php
421 XQCR: tslib/class.tslib_fe.php
422 -QCR: tslib/class.tslib_fetce.php
423 -QCR: tslib/class.tslib_feuserauth.php
424 -QCR: tslib/class.tslib_gifbuilder.php
425 XQCR: tslib/class.tslib_menu.php
426 XQCR: tslib/class.tslib_pagegen.php
427 XQCR: tslib/class.tslib_pibase.php
428 XQC-: tslib/class.tslib_search.php
429 XQCR: tslib/media/scripts/example_callfunction.php
430 XQCR: tslib/media/scripts/example_itemArrayProcFunc.php
431 XQCR: tslib/media/scripts/example_keepRollover.php
432 XQ-R: tslib/media/scripts/example_languageMenu.php
433 XQCR: tslib/media/scripts/example_typolinkpop.php
434 XQCR: tslib/media/scripts/
435 XQ-R: tslib/media/scripts/freesite_dummy_page_menu.php
436 XQCR: tslib/media/scripts/gmenu_foldout.php
437 XQCR: tslib/media/scripts/gmenu_layers.php
438 -QCR: tslib/media/scripts/
439 -QCR: tslib/media/scripts/
440 XQCR: tslib/media/scripts/
441 XQCR: tslib/media/scripts/
442 ----: tslib/media/scripts/
443 ----: tslib/media/scripts/testscript_EXT.php
444 ----: tslib/media/scripts/testscript_INT.php
445 XQCR: tslib/media/scripts/tmenu_layers.php
446 XQCR: tslib/media/scripts/
447 XQCR: tslib/media/scripts/
448 -Q-R: tslib/index_ts.php
449 -Q-R: tslib/pagegen.php
450 -Q-.: tslib/publish.php
451 .QCR: tslib/showpic.php
452 XQCR: web_info/class.tx_cms_webinfo.php
453 XQCR: layout/db_layout.php
454 XQCR: layout/class.tx_cms_layout.php
455 XQCR: layout/db_new_content_el.php
457 typo3/___________________________________________:
458 XQCR: alt_clickmenu.php
459 XQCR: alt_db_navframe.php
460 XQCR: alt_doc.php TODO: Check "redirect" GPvar for XSS hole!?
461 XQCR: alt_doc_nodoc.php
462 XQCR: alt_file_navframe.php
463 XQCR: alt_intro.php
464 XQCR: alt_main.php
465 XQCR: alt_menu.php
466 XQCR: alt_menu_sel.php
467 XQCR: alt_mod_frameset.php
468 XQCR: alt_palette.php
469 XQCR: alt_shortcut.php
470 XQCR: alt_toplogo.php
471 XQCR: alt_topmenu_dummy.php
472 XQCR: browse_links.php
473 XQCR: browser.php
474 XQCR:
475 XQCR:
476 XQCR:
477 XQCR:
478 XQCR:
479 XQCR: db_list.php
480 XQCR: db_new.php
481 XQCR: db_new_content_el.php
482 default.htm
483 default.html
484 XQCR: dummy.php
485 XQCR: file_edit.php
486 XQCR: file_list.php
487 XQCR: file_newfolder.php
488 XQCR: file_rename.php
489 XQCR: file_upload.php
490 XQCR: index.php TODO: Check "redirect" GPvar for XSS hole!?
491 -QC-: index_re.php
492 -Q-R: init.php
493 XQCR: listframe_loader.php
494 XQCR: login_frameset.php
495 -QC-: logout.php TODO: Check "redirect" GPvar for XSS hole!?
496 XQCR: move_el.php
497 show_item.php [Peter Kuehn]
498 XQCR: show_rechis.php
499 -QCR: tce_db.php
500 -QCR: tce_file.php
501 XQCR: template.php
502 XQCR: view_help.php
503 XQCR: wizard_add.php
504 wizard_colorpicker.php [Matthias]
505 XQCR: wizard_edit.php
506 XQCR: wizard_forms.php
507 XQCR: wizard_list.php
508 XQCR: wizard_rte.php
509 XQCR: wizard_table.php
510 XQCR: wizard_tsconfig.php
512 XQCR: mod/help/about/index.php: TODO: Modernize content
513 mod/tools/em/index.php
514 XQCR: mod/web/info/index.php
515 XQCR: mod/web/func/index.php
516 XQCR: mod/web/perm/index.php
519 typo3/ext/_____________________________________:
520 OK aboutmodules/
521 belog/ (2 / 500)
522 beuser/ (1 / 1300)
523 cms_plaintext_import/ (1/200)
524 OK conf_userts/
525 OK context_help/
526 css_styled_content/ (1/200) [H]
527 direct_mail/ (3/2500) [Peter Kuehn] + class.t3lib_htmlmail.php
528 OK direct_mail_subscription/
529 XQCR: extra_page_cm_options/
530 -QCR: extrep/
531 extrep_wizard/ (2/4500) [H]
532 feuser_admin/ [testsite...] - XHTML
533 freesite/ (2/1600)
534 XQCR: func_wizards/
535 imagelist/ (1/250)
536 impexp/ (2/2000) [H]
537 indexed_search/ (4/3500) [H] [testsite...]
538 info_pagetsconfig/ (1/200)
539 OK install/ + class.t3lib_install.php / class.t3lib_superadmin.php
540 lowlevel/ (2/800) [H]
541 XQ-R: metatags/
542 phpmyadmin/ (1/130)
543 plugin_mgm/ (1/300) ->move? remove?
544 quickhelp/ (1/80)
545 rte/ (5/1900) [H]
546 OK rte_conf/
547 OK setoldpluginlist/
548 setup/ (1/400)
549 OK skin1/
550 OK static_file_edit/
551 sys_action/ (1/400)
552 sys_messages/ (1/450)
553 OK sys_note/
554 sys_notepad/ (1/130)
555 OK sys_stat/
556 sys_todos/ (1/1100)
557 OK sys_workflows/
558 taskcenter/ (4/400)
559 taskcenter_modules/ (1/100)
560 taskcenter_recent/ (1/150)
561 taskcenter_rootlist/ (1/50)
562 tipafriend/ (1/260) [testsite...]
563 OK tsconfig_help/
564 OK ts_language_de/
565 OK ts_language_dk/
566 OK ts_language_fr/
567 OK ts_language_nl/
568 OK ts_language_no/
569 tstemplate/ (1/450) + class.t3lib_tsparser_ext.php (1700)
570 tstemplate_analyzer/ (1/250)
571 tstemplate_ceditor/ (1/250)
572 tstemplate_info/ (1/450)
573 tstemplate_objbrowser/ (1/500)
574 tstemplate_styler/ (1/1700)
575 OK tt_address/
576 tt_board/ (3/1200)
577 tt_calender/ (1/170) [testsite...]
578 tt_guest/ (2/350) [testsite...]
579 tt_news/ (1/750) [testsite...]
580 tt_poll/ (2/400) [testsite...], [Rene F]
581 tt_products/ (5/2000) [testsite...], [? Peter Kuehn]
582 tt_rating/ (3/550) [testsite...], [Rene F]
583 viewpage/ (2/200)
584 XQRC: wizard_crpages/
585 XQRC: wizard_sortpages/
587 32,5 K Codes lines....
589 For all extensions (even those approved):
590 - Remember to add package tags to all classes!
591 - Write documentation for each
592 - Check HTML source / CSS usage / XHTML compliancy / That icons are skinnable (add to "skin360")
593 - $LANG->getLL() are htmlspecialchars()'ed
599 *******************
601 *******************
602 Overview of implications before implementation:
603 - UTF-8 encoding is in fact expected by XML! So the real charset must be set
604 - Wellformedness: Nesting ok. All img tags must be ended with /> (frame,base,meta,link,img,br,hr,area,input)
605 - Lowercase for elements and attributes (and everything else...) + stylesheet element and attribute names.
606 - All attributes in quotes
607 - Minimized values not allowed: Must do this: selected="selected"
608 - Wrapping scripts and style element contents in CDATA - or alternatively they should have entitites converted.
609 - name/id attribute double
610 - Certain nesting of elements not allowed. Most interesting, <PRE> cannot contain img, big,small,sub,sup ...
611 - Setting charsets may put some special requirements on both XML declaration/ meta-http-equiv. (C.9)
612 - 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.
614 Related issues:
615 - Charset / encoding issues
617 ---------
618 Practical steps for creating XHTML compliance:
620 - lowercase: <(td|tr|p|div|table|b|i|u|a)
621 - attributes in lowercase and ""; TYP: bgColor, border=0 cellspacing=0 cellpadding=0, valign=top, onClick, onChange, onSubmit, method="POST", type="Submit"
622 - Ending tags: <br>, <hr>, <input>, <img> (Longer list: frame,base,meta,link,img,br,hr,area,input)
623 - shorthand: checked, selected, multiple, nowrap
624 - href="", action="", src="", onclick= tags: htmlspecialchars() of URLS
625 - <img -> ' alt="" />' REGEX: <img[^>]*[^-]>
626 - FINDING attributes with no quotes:
627 ([[:space:]]+)(class|face|hspace|vspace|rowspan|bgcolor|src|colspan|align|color|valign|border|width|height|cellpadding|cellspacing)=([^[:space:]>"']+)
628 ... and replace with: \1\2="\3"
634 *****************
635 APPENDIX: Versioning thoughts:
636 Authors: Julle and Kasper.
637 *****************
638 - Versions can be done on page level or element level
639 - In any case a pure copy of the element is produced
640 - For pages only configured tables will be copied, eg:
641 - Page
642 - tt_content
643 - pages_lang_overlay
645 - Versioning (for single elements including single "pages" record) is based on
646 - 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!)
647 - All versions of this one element being a) at pid "-1" and b) a field "real_id" pointing to the official UID
648 - Pages-versioninig: 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!
649 - Backend user access to elements is based on the access restrictions for the official element. THis must be implemented on core level.
650 - Tables supporting versioning will have these fields:
651 - real_id - Pointing back to official in-tree version
652 - ver_id - Incremental integer (version number)
653 - ver_label - Version label, eg. "1.1.1" or "Christmas edition"
654 - 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)
655 - pid/uid should have "signed" attributes in MySQL (pid = -1, uid =-xxxx for swapping).
657 - Preview in fronend
658 - At page level, done with a simple selector in the AdminPanel. Just like date/user/hidden is done.
659 - For other element, time will show.
661 - Backend module for versioning:
662 - Diff-ing between versions.
664 - Version-swapping log?
666 - ID-swapping for versioned elements
667 - 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.
668 - For pages-records: We will have to swap the "pid" values of all (versioning-included) elements on the pages.
669 - Swapping three-step process:
670 uid uid real_id
671 PUB: 13 --> -13 247
672 247 --> 13 -
673 -13 --> 247 13
674 - Pages-versioning and the impact of NOT swapping tt_content element uids:
675 - Loose anchor-points, manually made (could be hack-fixed by some intelligent copying tracking)
676 - 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)
677 - Insert-records could potentially do the same
678 - Impact assesment: Low.
679 - Clean-up module (in templavoila?) could also track such things
680 - Problems for non-templavoila sites would be low.
682 - Backend:
683 - 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)
684 - 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.
685 - In Page module + TemplaVoila page module: There will be a version selector implemented so users can switch around between versions.
695 ******************
696 APPENDIX: Charsets
697 ******************
698 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
699 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.
700 You set the global charset in a localconf file like this: $TYPO3_CONF_VARS["BE"]["forceCharset"] = "utf-8";
702 Here are a few notes:
703 - 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.
704 - PHP Upper/Lowercase - not tested.
705 - 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.
709 ******************
711 ******************
712 - hash of base-dn skal v?re cleaned op. M?ske prefixe usernames med 10-char hash af base-dn.
713 - 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!!!
714 - Ved record creation: LDAP default group.
716 ? Getting info like usergroups, email, name?
717 ? Case-sensitivity of the DN in general?
718 ? DN entering..
719 ! MD5-hashed passwords
721 1) AUTO -DN : Array of DN's, searched in order.
722 2) Select dn: User selects the DN he is from.
723 --------------------------
724 So we are looking at two scenarios:
725 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)
726 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").
727 3) Mapping of ONE typo3 user to MANY LDAP users...
729 - 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...)
732 Also see:
733 - [Kasper] "LDAP" folder in Mailbox
736 ********************
738 ********************
739 Issues:
740 - Install tool, analysing SQL files, comparing, dumping etc. How? (MetaDatabase, MetaTables)
741 - case-folding?
742 - reserved words (uid!!) Which R-words?
743 - LIMIT. selectLimit(x,x)
744 - mysql_fetch_assoc substitute (seems to be there)
745 - escaping chars with special function!!!
746 - datatypes? Integer not there? LOB's a problem?
747 - Internal functions: AVG, SUM, count
748 - mysql_num_rows() = recordCount()
749 - autoinc. of numbers with GenID()
750 - how about joining?
751 - ALTER TABLE syntax?
753 Analysis:
754 - SUPPORT: Core (+ 'cms') will support all DBs, extension MAY support a SUBSET of DBs only.
755 - EM: MySQL will be the main supported database. sql-files for install tool follows MySQL syntax. Comparison can be done if ADOdb allows us to read table/field info (will need mapping of datatypes), updates may only be done if we support it. Not important. People CAN update manually with other DBs.
756 - NAMING: Reserved words and case restrictions are a real problem. For now, lets call it unacceptable. Handling of this would include 1) conversion table in ADOdb for result set assoc. key mapping AND mapping of fields in the queries!
757 - ESCAPING: Escaping characters will be very annoying because we'll have to pass an array first to stripslashes, then to add DB-specific slashes, then make Query. But we can for MySQL (and similar) bypass this...
758 - LOBs: Working with LOBs seems to be extremely irritating, inserting them separately (In oracle)!! How are we knowing anyways that this is a LOB? Solution might be to bypass for MySQL and for problem DBs send the UPDATE/INSERT row (must be array then!!!) through a filter which returns new row plus a blob row for update afterwards.
759 - AUTO-ID: Auto-incrementing is also a BIG irritation! Currently all inserts DO NOT set the id column!!! All insert statements must include the new, correct field (at least for the problem DB's like Oracle)
760 - BTW: Escaping and BLOB handling seems to require the same for all INSERTs and UPDATEs: A field_array passed to function. Auto-id may relate to this (at least it will be required all places ...)
761 - SQL: Will have to split up LIMIT selects. New escaping in SELECT queries. INSERT/UPDATE from field_arrays + processing, mysql_fetch_assoc() function "pandan"
763 API:
765 - Separate LIMIT from the rest.
766 - JOINS ? Functions like AVG, SUM?
767 - Escaping of search strings
770 - Array passed to function if not MySQL
771 Function has: possible "autoincrement" field argument; If Oracle, auto-id is handled; If Oracle, BLOB-array is returned for separate insertion.
774 ORACLE does not allow us to CHANGE existing fields into something else - only create new fields, otherwise we must export/import database.
776 Other notes:
777 - Datatypes to use for integers and others? Date/Time not a problem because typo3 uses integers.
778 - AVG, SUM, COUNT - will they be there?
779 - I'll need access to Oracle, MSSQL, PostGres - basically the databases we are going to connect to!!!
780 - JOINS???
781 - Having some lookup table (not TCA, because this is very individual from site to site) telling us which database (name+brand+server) a table is coming from, if not the default database. This also means that we will have an array of databases set up (one being default)!
783 180303 / Oracle:
784 - all fields/tablenames must be quoted
785 - a quoted value cannot be inserted into an integerfield!!!
788 insert... "kasper"
790 Related issues:
791 - LPE: DB/DB sync.
793 ORACLE / DB2:
794 - u: db2admin
795 - p: password
797 Also see:
798 - [Kasper] "DB Abstraction" folder in Mailbox
801 **********************
803 *********************
804 Syncronization:
805 DB -> DB (1):
806 - Production environment, which can dump configured set of tables to live server database and back. This is controlled from Production env.
807 - 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).
808 - 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.
809 - 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...
811 Req to T3:
812 - 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.
813 - Q's: FTP-functions in php; How to syncronize? MySQL working across databases, connecting to more than one database?
815 DB->HTML
816 - Basically this is an rsync/ftp sync question which requires a set of static files.
817 - 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.
819 Two situation:
820 - 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)
821 - Publish static for FTP server. All *.html requests MUST exist. (Purely static, limitations acceptable.)
823 A HTML-filename which contains parameters__________:
824 - Two solutions: using base64 or md5/db to encode/store parameters, adding md5/base64 to html-filename (either the real staticly written filename or the "fake" one)
825 - Examples:
826 &tt_board_uid=233&cHash=alkdfjlaskdf
827 &tx_mininews_pi1[pointer]=0&tx_mininews_pi1[sword]=asdf&tx_mininews_pi1[mode]=asdf
828 +1/3 length:
829 This_is_my_page.123.1.64WAoaFRW9BXWTlzZ0ow53Dx8PEgASxh9namzMWxYIBDMdGnDx8PEgASxh9namzMWxYIBDMdGn.html
831 This_is_my_page.123.1.m5abe83fd83e.html
832 &tt_board_uid=233&blablabla=342&cHash=alkdfjlaskdf
834 de dk
835 This_is_my_page.123.1.m5abe83fd83e.html
836 This_is_my_page.123.1.m5edf837afde.html
838 Management__________________:
839 - Clear-all-static-pages button; Staticly written filenames are retrieved from database table where those filenames are stored when ever they are written to disk (includes TTL time etc)
840 - Clear-page-cache might also clear-page-static files.
842 ---------------------------------------
843 General config:
844 For each page-id:
845 &lang= (dk|de)
846 &cur= (Euro/DKK)
847 &type= (1)
848 2x2 = 4 (here we have some limit applied!)
850 MAIN PAGE &type= (0|1|2|3) 4*4 = 16
851 - Page 1
852 - Page 2
853 - Page 3 (Adresselist): &tx_address_list[pointer]= (0|1|2|3|4) 4*5 = 20 pages
855 Various______________:
856 - SearchEngine friendly / cachable URLs in board, products, tt_news
857 - "Publish" funktionen brugte images_on_page. Genskab dette.
859 THOUGHTS from Dassault work:
860 # WriteToStatic function [Basically the static publishing system] (core feature: Kasper).
861 - writes static file IF simulateStaticDocument uses HTML *without* any parameters
862 - setting a "config.disableStaticCreation = 1" flag can disable it (for conditions situations)
863 - setting a value from PHP function (eg. if a search form needs to submit to the page) can disabled it
864 - registering the filename related to ID [and other parameters] so that "clear page cache" can also remove the file automatically.
865 - Also registeres: a) resources on the page (images/stylesheets), b) GET parameters from M5/B6 encryption.
866 - a browsing mechanism for creating static versions; could browse page, then show all links with checkboxes. Then checking of which links to follow and press button; browses the new pages. Then again checkboxes and so on. Which links were checked should be stored so that a process of publising could thus be followed automatically. This feature would include "clear files" function and also warn if a requested page was NOT written. (Problem; what if user-requests would generate the file? Possibly use a cookie or GET parameter or backend flag to request this.)
867 - includes an overview module showing all files and which pages they related to, possible "lost files" (those not registered in database) and "missing files" (in the database but not there).
868 - To create new versions doesn't have to REMOVE the existing! Just overwrite!
870 Also see:
871 - [Kasper] "LPE" folder in Mailbox
876 ******************************
877 APPENDIX: Image Processing
878 *****************************
879 Generally we want:
880 - Full PNG main support
881 - Full IM5.x support
882 - Non-ImageMagick version which CAN scale images (with GD/JPG)
884 To get rid of ImageMagick totally we need a GD with...:
885 - blur/sharpening
886 - scaling
887 - masking
888 - reduce colors / dithering
889 - jpg quality control
890 - 96 dpi / 72 dpi
891 - other effects?
892 - Support for many file formats.
893 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).
895 Notes:
896 - Consider imageprocessing issues like PNG / GDlib2 / Freetype2 / IM5.4.x / T1lib
897 - Other options: PHPImLib? GIMP?
898 - Improve Install Tool
900 --------------------
901 imagecopymerge
903 jonny at sanriowasteland dot net
904 29-Sep-2002 06:36
906 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).
909 Also see:
910 - [Kasper] "ImageManipulation" folder in Mailbox
913 ******************************
914 APPENDIX: Idea about "Roles"
915 ******************************
916 This is a few ideas about adding roles to the permission concept of TYPO3:
917 - There could be, say, 4 default roles: author, editor, administrator, developer
918 - Users can be assigned "membership" of a role (basically a "role" is like a hardcoded "user-group"?)
919 - Like you can configure database fields in TCA to be an "excludeField" you could also configure which ROLES can edit the field.
920 - Possibly each role could assign membership of some groups.
923 *************************************
924 APPENDIX: Various ideas for extensions
925 *************************************
926 EMAIL publication:
927 - People can publish stuff by sending email to certain adresse piping the content into database.
928 - 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).
929 - See mail from DH, subject; "Last day for feature requests" Message-ID: <>
932 - Import external website! (Rene's extension). Includes some crawler feature (locally og external url)
935 - A crawler which crawls either local or external site, invoked from a) backend or b) cron-script.
936 - Used for 1) Indexed Search, 2) External website import, 3) Just walking through a site for indexing/caching all pages.
937 - Trying to define a sitemap/menu structure + find "content" on page
938 - 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?
941 - Global search and replace of records (Rene F?)
942 - Export the complete typo3 site/database, in a big file like mycompletesite.t3d
945 **************************************
947 **************************************
948 - Specify a pattern of allowed/required values.
949 - 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!
950 - How can this be done?
951 - 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...?
955 **************************************
956 Rapport of "deleted"-check in typoscripts (190500)
957 **************************************
958 TYPO3:
959 - "deleted"-field must be set manually in userauth for user-tables!
960 Hardcoding:
961 - "pages" in load_tree.php
962 - "sys_filemounts" in userauth_group
963 - "user-group tables" in userauth_groups
964 - "pages" in ti_inc.php
965 - "pages" in transferdata.php
967 TypoScript:
968 - sys_domain is NOT checked for deleted in "page.php"
969 - getForeignRecords() (page.php) does not check for deleted!!! (this is even not used any more!!
970 Hardcoding:
971 - "pages" in page.php
972 - "pages" in t_search.php
973 - "pages" in index_ts.php (caching)
974 - "sys_template" in t_template.php
975 - "fe_groups" in index_ts.php
978 **************************************
979 Bugs, considerations, notes
980 **************************************
981 - mail() hangs in 90 second (approx) if computer is not on the net! (deliver to mail-server)
982 - REWRITE of files when they already exists? shortMD5 is guilty?
983 - "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.
984 - mysql_query() function should not be used I think as this queries the current database. mysql() should be used instead.
985 - 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.
986 - PDF-files over 600 k are not rendered by ImageMagick. Less than 270 is! How come and is this true. Number of pages?
987 - When GDlib is disabled it can be very confusing that record icons does not change their look according to hidden/starttime/endtime etc...
988 - 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)
991 **************************************
992 Innovation, brainstorming for future
993 **************************************
994 - TSconfig defined through FlexForms?
995 - Drop tt_content for content rendering and let extensions be the sole source of new content element types?
996 - Check sitecore ideas for adding new fields etc.
997 - Backend for PDAs/Lynx
1000 ************************************
1001 Translation of Extensions
1002 ************************************
1004 These [global] extensions has priority when translating extensions:
1006 lang
1007 cms
1008 extra_page_cm_options
1009 rte
1010 imagelist
1011 aboutmodules
1012 lowlevel
1013 beuser
1014 setup
1015 taskcenter
1016 sys_action
1017 sys_messages
1018 sys_notepad
1019 taskcenter_recent
1020 taskcenter_rootlist
1021 sys_todos
1022 sys_workflows
1023 func_wizards
1024 wizard_crpages
1025 wizard_sortpages
1026 info_pagetsconfig
1027 indexed_search
1028 tt_guest
1029 mininews