* Added $BACK_PATH to $error_doc in t3lib_div::TCEmain->printLogErrorMessages() to...
[Packages/TYPO3.CMS.git] / TODO.txt
1 *******************************************
2 TODO LIST for the Core of TYPO3.
4 Maintained by Kasper
5 Do not modify without permission!
6 *******************************************
8 [@KASPER: ALSO SEE MY MAIL FOLDERS about Core development!]
11 General Backend:
12 - CHECK: What is the number of supported page levels? 20 or 100?
13 - Feature: "admin" can click a button which wipes out all record-lockings. (Message-Id: <200301281752.23246.mundaun@gmx.ch>)
14 - Feature: Controlling access to function menu modules as well (thus we could have a user-module inside ?Template? which could edit the constants field) (including workspace access)
15 - Feature: Web >plugins removed
16 - 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!!!
17 - Check the source for "require_once()" calls inside of methods and make sure "global $TYPO3_CONF_VARS" are set before (also update CGL document).
18 - Backend Interface: Dont show edit icons if editing cannot be performed due to recordEditAccessInternals() / editlock for pages (pid)
19 - class.t3lib_dmailer.php into direct_mail module?
20 - Avoiding the symlinks in core?
21 - GETll can be configured to show the label key so wrong labels can quickly be changed (using the key to find label in translator interface)
22 - lock cHash to id as well (otherwise spamming cache-table can be done with a series of cHash values/parameters and traversing known page ids)
24 TCEmain
25 (Related: DBint, User Admin module, logging-display, TCEforms, Web>List)
26 - Clean-up and commenting of the class.
28 - Note: No charset conversion is done in TCEmain. It is expected that the content enters TCEmain in the charset of the backend in general.
30 - Rewrite log-display, support writing to text-files, syslog on unix (API?)
31 - Reports/Monitoring: Show/send-by-email daily reports over accumulated activity (grouped by workspace/user/pagetree section/modules etc) [Richard at Dassault wanted this]
32 - Activity of individual users in a summary form
33 - Activity in branches of a page tree
34 - Activity in a workspace
35 - Finish the logging of TCEmain actions (delete/copy)
36 - Versioning: sys history/sys_log track the "uid" of a record and version swapping will invalidate the integrity of this! How to deal with?
37 - Centralized logging:
38 - Create an extension which shows how the log data can be stored in a) database, b) files
39 - extension "logit" / PEAR::log package?
41 - Implement kill/restore of "deleted" records.
42 - Record Reference tracking in a table in TCEmain
43 - Tracks DB-references, Files and softrefs (including in FlexForms)
44 - Index is generated per record with an API call (both fe/be), making it easy to maintain it and possible to completely regenerate it
45 - Used for:
46 - Check before deletion that a record is not used?
47 - Used by applications (like TemplaVoila) where it is hard to track references in FlexForms
48 - Used for import/export module and anywhere else where we are looking up references!
49 - Basis for integrity checks
50 - clearing caching more effectively
51 - Could be used for MM look-ups on those "unfortunate" comma-list fields?
52 - Offers API to "fix references" if a record carries lost references
53 - Offers way to map a reference to another one ("search/replace")
54 - Offers way to compare actual references in record and those indexed so we can see if there was inconsistency
55 - Record clean-up functionality
56 - Remove references to deleted records (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)
57 - Remove references to lost files etc.
58 - Cleaning FlexForm XML according to the current DS (old XML garbage might be left if DS changed)
59 - Versioning:
60 - Flush old versions (requires general clean-up features to be complete!)
61 - Check for "lost" versions during swap?
63 - Permission API: Used for any DB-element in system (See Sune Vestergaards suggestion)
64 - More flexible setting of permissions
65 - Additional checks apart from read/edit/new/delete etc.
66 - Permissions for any record
67 - Can work in conjunction with current page permissions or simply work instead of them.
68 - Access Lists?
69 - CHECK: That permissions are properly evaluated, especially:
70 - Languages (there was a bug proved)
71 - Workspaces / Versioning
72 - Moving of records (source/destination PIDs)
73 - Security in tcemain: Uploaded/Attached files are allowed to be in ONLY a relative path OR in the "lockDir"!
74 - Roles (ideas about adding roles to the permission concept of TYPO3):
75 - There could be, say, 4 default roles: author, editor, administrator, developer
76 - Users can be assigned "membership" of a role (basically a "role" is like a hardcoded "user-group")
77 - Like you can configure database fields in TCA to be an "excludeField" you could also configure which ROLES can edit the field.
78 - Possibly each role could assign membership of some groups.
79 - Tools > User Admin:
80 - Features helping to configure roles/users?
81 - Versioning:
82 - Backend user access to elements is based on the access restrictions for the official element (except pages?). This must be implemented on core level.
83 - TCEforms/TCEmain available for frontend
84 - Makes portal features easier to create
85 - A rewrite of TCEmain might help very much!
87 - 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?
88 - 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.
89 - Implement field evaluation in TCEmain: Evaluate min/max? Checking references exists?
90 - 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.
91 - "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.
92 - "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>)
93 - 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.
94 - "child records" - records which MUST be related to another table - and will be moved along with the main record if moved.
95 - Implement *real* record locking?
96 - Configure on a per-table basis
97 - For instance, the TCEforms will render non-editable fields for ordinary users, while editable fields for "admin" users still
98 - Should the check be done only in TCEforms - or also in TCEmain?
99 - 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)
100 - Could be solved by PRE-processing of content in user functions!
101 - Implement "last_edited_by" field saving the BE-user UID just like tstamps are... (JH asked)
102 - Transformation API: Implement the possibility of custom to/from transformations for the "user" type (or any field?)
103 - Selector box type:
104 - MM support for strings
105 - Support for MM-records which does NOT get deleted, but is kept... and then support for having data in those!! NOTE 3/12 04: This will cause severe problems in the import/export interface and probably many other places where the MM relations are stored only as the uid of another table and nothing more. That makes it impossible to track the record in the middle....
106 - Support that the content of a single field can be stored in an external file instead.
107 - Support that a list of fields can be stored in an external XML file instead.
108 - "uniquePerField"
109 - used for pages_overlay_records "pid"
110 - used for "tt_content"/"sys_language_uid", field "l18n_parent"
111 - Having references on the form [uid : filereference/] for fall-back abilities.
112 - BUG:
113 - 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!):"
114 - 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.
115 - "editlock" is only implemented for pages at the moment which it should be so for records according to TYPO3 Core API.
116 - IDEA: check for potential dangerous php-extension
119 TCEmain/TCEforms for FlexForms:
120 - Permissions handled per-field in FlexForms?
121 - What to do if data structure was not found? (Both TCEmain, TCEforms, templavoila_pi1, t3lib_transferdata)
122 - block the creation of FlexForm in FlexForm inside TCEforms.
123 - ['pi_flexform']['config']['ds'] must be set to some default message making sense!
124 - Other XML formats for DS: - API / services?
125 - xml2array - supporting looking for <>&" and if found wrapping in CDATA instead! (or maybe for multiline values?)
126 - TCEmain features:
127 - mapping values to a plain-text search field(s)
128 - Offering API functions for add/delete/move/copy/paste of FlexForm elements/sections
129 - Copy/Paste API for references? (see TemplaVoila page-module pioneer work)
130 - Possibility to write the XML data values into a table instead (see Marc Schlingers idea, stored on paper in my red organizer).
131 - TCEforms:
132 - 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).
133 - Visual interface for forms, DHTML for sheets etc, various sheet modes, language menu form.
134 - 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!
135 - Add many "types" of sections at a time when "add new"
136 - 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...)
137 - 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")
138 - Displaying partial branch of the data structure (and to a certain level)
139 - 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.
140 - 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 possibilites 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.
141 - Implement CSH for FF fields.
142 - Localization of FlexForms:
143 - Permissions for specific language as well!
144 - Using DHTML tabs for langChildren = 0, making something else for langChildren = 1
146 TCEforms:
147 - Support for right-aligned charsets?
149 - GENERAL:
150 - 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? (possible already?)
151 - Ability to set up user functions for pre and post processing of the data? (possible already?)
152 - API for adding JS-functions to the onchange-event. (possible already?)
153 - 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).
154 - Workspace-ReadOnly flag for fields
155 Should be set for all fields which are used in where clauses in frontend. (Enables fields would candidate for example, but they must be handled otherwise since we WANT to be able to change those in new versions)
156 - Generally for fields: $TCA[$table]['ctrl']['languageField'] and $TCA[$table]['ctrl']['transOrigPointerField']
157 - field: pages_language_overlay:sys_language_uid
158 - field: pages:doktype (used for selection many places!) - but then we cannot make mounts points etc! (?)
159 - SELECT type:
160 - Ability to see icon/image from record of selected value in the selector box.
161 - 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.
162 - Reflect possible tree-structure for records in Select/Items list.
163 - a way to grant read for the selectors without displaying the storagefolder in the treeview?
164 - CHECK: "multiple" feature, single, sorted and non-sorted selections.
165 - making copies of select fields etc - check that remapped records are OK treated (with foreign/neg_foreign + free string values)
166 - 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!)]
167 - Exclude field selection better, in a tree? (in IFRAME, could be cool!)
168 - BUG: itemsArrayProcFunc only active IF there is an array! Shouldn't it be in any case?
169 - set the width of the selector field(s)
170 - GROUP type:
171 - [file] FILE-REFERENCES: allow the selection of files from the system to be added as REFERENCES, not copies!
172 - upload option to the folder specified in TCA
173 - Subfolders for uploads/ as well, detecting the first (#) a-z0-9 letters) (For large amounts of files!)
174 - Storing files with "a3#FILENAME.jpg" which indicates a subdirectory.
175 - In the thumbnail list add the Edit and view icons as in the good old days.
176 - BUG: By the way, isn't there a bug in the listing of the thumbnails of records?
177 - Nested records:
178 - 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. (JH asked)
179 - IFRAME alternative for Element Browser.
180 - set the width of the selector field(s)
182 - "readonly" flag, or user group dependant. See "Message-Id: <200210241441.50295.r.fritz@colorcube.de>"
183 - ? type:
184 - "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>)
185 - Concealed password fields, support for two fields with the same password being submitted... (JavaScript evaluated?)
186 - BUGS:
187 - Ask to save record when you want to add a category with the "Plus" icon.
188 - CHECK: ###STORAGE_PID### incorrectly calculated?
189 - DONE?: Support for label for main palette: (Rene: Message-Id: <200210011646.10346.r.fritz@colorcube.de>)
191 Element Browser:
192 - Support for DAM
193 - RTE API integration (rte_images + browselinks)
194 - Support for browsing custom category-trees (passed by some PHP script)
195 - Support for deleting files in the listing there.
196 - Disable thumbnail option for faster display. (Already done?)
197 - Element Browser configurable a) without the page tree but hardcoded to specific PID, b) just default PID (possibly able to override from TSconfig)
198 - 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?)
199 - Ability to insert images when their info page (larger thumbnail) is displayed. Maybe a small + (plus) icon would do. (Notify Patrick Roeder)
200 - Some quick-lookup feature (like we have on TER)
201 - Showing more than the title column for records listing and making it possible to sort by the columns.
202 - BUG: fix bug when used as "wizard" for link fields!
203 - Support realurl paths translation to IDs?
204 - Implementing a hook so "realurl" can intercept the "Edit page ID" field in the shortcut frame and allow people to paste in a URL from the website which will be analysed to find the page id from the URL
205 - Implementing a hook similar to this, but used in the RTE link selector box (browse_links.php) so a link to a page can be made in the same way. Such an interface will just link to the page if an ID could be found, otherwise tell that the URL din't have a page id associated with it.
206 - Link selector: Disabling target box for selectors directly to HREf fields (DS case with templates...)
208 Wizards:
209 - Add wizard icon to TSconfig and Setup/Constants fields for immediate syntax highlighting (in popup window)
210 - Add wizard icon to see/clean up FlexForm data? Convert language mode?
211 - Wizard for editing FlexForm DS XML!
213 Kickstarter:
214 - Update kickstarter so new great options are not wastefully never known.
216 Usability / Interface:
217 - Review general backend logic
218 - TCEform presentation
219 - How tables fields are currently organized for eg. pages, tt-content etc. and if Tabs should be used more for some of those (example "Standard" / "Advanced" pages)
220 - Skin (WinXP skin, what difference would that heretic idea make?)
221 - 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...)?
222 - Ability to create another Main/sub module structure in the backend (Daniel H: Message-ID: <BAB9A920.E95D%daniel@typo3.com>)
223 - Change order, level, title, icon.
224 - Use User TSconfig... and allow someone to create an extension to visually create a TSconfig output
225 - Links could be going directly to the function menus inside modules as well!
226 - Review Skinning API:
227 - Better backend HTML?
228 - More consistent re-use of classes / icons?
230 Localization:
231 [See "Localization workflow" below]
233 Versioning/Workspaces:
234 [See "Versioning/Workspaces" below]
236 Context Sensitive Help (CSH):
237 - Add multimedia?
239 WEB main module/page tree:
240 - Option: For a frameset module, register the ID per sub-module, not just globally (JH asked)
242 Web>List:
243 - Add "New" to the clickmenu of eg. "be_users" (non-sorted items) when you want to copy a user into the list.
244 - 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.
245 - Page-tree-stop: Click on red "+" brings forth some kind of browser (list of pages, browseable, Web>List module feature?)
246 - 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. (Already made?)
247 - Check that permissions are respected for the buttons in the control-panel of the List module (including for workspaces)
248 - Why is web>list slow on new typo3.org?
249 - 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?
250 - Support for tree-tables (that can be browsed).
251 - 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).
252 - Support for display of relations: Files, 1-M, M-M
253 - FlexForm tree view / editing:
254 - 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!
255 - 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!
257 File>List:
258 - 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. (Already made?)
259 - Adding possibility to show files recursively (more levels), filter on a file name, search file content
260 - From click-menu: Access to index files with indexed-search / create a "Indexing configuration" record for that folder / Initiate indexing of the "Indexing Configuration" for folder
262 History/Undo:
263 - Undo must be able to restore attached files as well
264 - Should be possible to disable for certain tables (can it be done already with TSconfig?)
265 - Delete saved states (and save whole record content).
267 EM:
268 - Display: review-flag + link to review - cannot be overridden?
269 - Display: After import, link to Install/Details.
270 - Display: Better filtering, quicker listing
271 - 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)
272 - Feature: EM suggest clear-cache af scripts?
273 - Install: Extensions which can point the import/export to a directory with import-files.
274 - Install: Getting from TER only already installed extensions.
275 - Install: Flag: "Import ext"; "Show non-secure extensions" (show ALL ext., not only reviewed ones)
276 - Upload: emconf.php should have the md5-part updated when upload to TER
277 - CHECK: Better failure-tolerance when "fatal errors" occur in ext_localconf/ext_tables.php files!?
278 - CHECK: Can Install Tool bypass including ext_localconf/ext_tables if there are errors in them?
279 - 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)
280 - BUG: Clear cache files should remove ALL "temp_CACHED_*" files in typo3conf/ (not just the current two)
281 - 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.
283 The REGEX-{} problem:
284 - 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>)
285 - Should be fixed by "[{]..." instead!
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/
293 SQLengine (t3lib_sqlengine):
294 - Finish t3lib_sqlengine
295 - Test and compare against MySQL lookups
296 - XMLdb: Lave table locks
297 - Open Office / CSV tests (proof-of-concept)
303 *******************************
304 Versioning/Workspaces:
305 *******************************
307 Frontend Preview:
308 - BUG: New pages, setting to hidden are still displayable and shown in menu!
309 ? - tslib_content::getPidList(); TEST Mount points / Use offline UID values for "page" swapmodes; This is probably more natural for preview cases.
310 ? - versionOL() implementations missing:
311 - tslib_pibase::pi_getCategoryTableContents()
312 - tslib_content::checkPidArray()
313 - tslib_content::checkPid()
314 - tslib_content::exec_mm_query()/-_uidList() [These seems NOT to be used anymore!]
315 - In tslib_fe, this->contentPid is set to "_ORIG_UID" when a versionized page have swapmode set to "0". However this is not completely correct to do: Strictly the "_ORIG_UID" value should be used for tables where "versioning_followPages" is set and for others not. However this is a working quick-fix to display content elements at least!
316 - t3lib_page::getPageOverlay() - because pages_language_overlay records have "versioning_followPages" set this should be observed when selecting language overlay records. But should it be hardcoded or something better?
318 Backend preview:
319 - Permissions reflected in buttons and clickmenus.
320 - Logging:
321 - Finally define logging in tcemain!
323 TCEmain commands:
324 - copy:
325 - copying versions:
326 - with references in workspace?
327 - "Page" types?
328 - "Element" types?
329 - Copying depends on "new" versioning type: Element, page, branch!
330 - Check destination if versionized branch / stage
331 - Copy a page in workspace will not copy the contents?
332 - Copy branch in workspace which already has versions - what does it take?
333 - Import/Export function?
334 - Web>Page modules copy function for localization
335 - localize command
336 - ?
338 Versioning API:
339 - (Support for) swapping using temporary file (instead of using negative ID)
340 - Way to change versioning type from element to page to branch for new records?
341 - Lock down lifecycle=1 versions for editing (like when stages prevent editing)
342 - New versions can be created from archived versions (way to bring back old content)
344 Check Various:
345 - Auto publishing: Might not work with "Publish only "Publish" stage" because swapped elements will be in editing stage or so!
347 Workspace Manager TODO:
348 - Workspace admin list
349 - Disabling stages for a workspace (remove from interface)
351 Preview:
352 - Dualview:
353 - Implement links in notification email + only one notification per. "instance" of TCEmain
354 - Allow preview by non-be-logins through some token-facility (links from tcemain-mails)
355 - Works for certain timespan
356 - Sets cookie? (for workspace browsing)
358 BUGS:
359 - Import/Export module:
360 - In draft workspace: importing a treestructure when "newPagesVersioningType" is set to "1" (new pages as "branch" versions) will only create root point and no subsequent records.
361 - Correct references for softreferences on import.
364 -----LATER:
366 - Branch versioning:
367 - Intelligent swapping of "sub-element" ids that CAN be traced back to the original? (solution to loosing anchor point and inter-version references?)
368 - MySQL/DBAL:
369 - 4.0.14 fails with -1 uid! (4.0.18 is ok eg.)
370 - Correction possible:
371 -> ALTER TABLE jlajlajla AUTO_INCREMENT = 123
372 - Problems with other RDBMS because ID values cannot be changed at all!
373 - Swapping consequences:
374 - UID references for such as the sys_history and sys_log table are misleading.
375 - Branchpoints being swapped will swap their UIDs just like "page" and "element" versions - but in the backend the offline UID of "branch" versions are used heavily. This means references to the branchpoint will be invalid when published.
378 *************************
379 Localization workflow:
380 *************************
381 - Export Flow:
382 - Select language
383 - Select tree levels / exclude individual pages/branches from translation / Way to exclude specific elements from localization
384 - We can imagine having translation configuration records in branches defining some presets that export files are related to: Thus we can ensure the same settings are used for both import and export. Also they could contains diff-info for flexforms!
385 - Export mode:
386 - Export needs only (updates/new)
387 - Options (depending on file format):
388 - Include other data for view of context
389 - Include any diff-source data? (alternatively based on previously written file in XML/ser. array format!)
390 - Include current translation or not (if not, if would be because of TRADOS based situations where a previous file exists to compare a new file with and a file with only the translation is returned.)
391 - each page in single file OR all pages in one file
392 - Export Formats:
393 - Generic XML/ser.array (for TYPO3 translation module which will be made for this purpose: Contains data, existing translation, diff-source, timestamps and hashes, like locallang-XML...)
394 - Can contain meta data so their starting point and configuration can be re-loaded from a location on the filesystem to where they can also be re-written!!!
395 - HTML (for TRADOS etc.)
396 - XLS/SXC (for excel translation)
397 - SXW / HTML (for OO Writer translation: Put into a table with columns: id/data/translation/colored-diff-view/OK-sign-off
398 - Create workflow items to work from!
399 - Import Flow:
400 - Select file / upload
401 - Formats:
402 - ANY format is converted into internal standard array
403 - Create new elements via localization API in tcemain (to have l10n_mode per. field respected!)
404 - Generate $data array for tcemain from file IDs
405 - Options:
406 - Can deselect certain parts manually
407 - If original has changed, automatically warn/hide/deselect?
408 - If translation matches current already (if a previous import was done), automatically hidden/deselect/notify? (preference can depend on type of file format)
409 - Analyse a page:
410 - Pages:
411 - If no Page Translation Overlay: New
412 - If Page Translation Overlay: Update
413 (Maybe use hidden page translation overlays to identify pages picked for localization? This would work pretty fine I think.)
414 - Records in general:
415 - if [ctrl][languageField] AND [ctrl][transOrigPointerField] is set, select all records with 'default' language (ignoring 'ALL'/-1) and for each:
416 - if no translation found: new
417 - if translation found: update
418 - NOTICE: translations can be found in external tables (like pages_language_overlay)
419 - selected by sorting order according to [ctrl]
420 - TemplaVoila: Here a special selection could apply for tt_content elements based on references in the DS. That would leave out all non-placed content elements. But in fact I rather say that we should NOT do it this way and instead clear out such elements so a general selection of the elements from the page is enough. Anyway, it should be possible though.
421 - Field selection:
422 - Option: Work only on fields where "l10n_cat" is "text" or "image" (selected!). Alternatively, use "l10n_mode" to filter as default (do not show "exclude" fields for instance!)
423 - ERROR reporting:
424 - If two or more records are claiming to be translations of another (for pages_language_overlay, tt_content etc.)
425 - Limitations:
426 - Cannot work with content which has no parent/child relationship. This is the case for:
427 - Old style column based localization
428 - FlexForm fields with <langChildren> = 0
429 - Translation module:
430 - Based on concepts from llxmltranslate and supporting the generic XML fileformat translations can be exported in.
433 - Localization document!!!
434 - Needs:
435 - Clean-up for Unused TemplaVoila elements on a page!
436 -> Would need a reference index available.
447 **************************
449 **************************
450 Extensions:
451 - 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?
453 About Versioning ("Inside TYPO3")
454 - Versions can be done on element, page or branch level
455 - In any case a pure copy of the element/branch is produced
456 - "element": Copy of element (pages, tt_content, pages_lang_overlay, sys_template)
457 - "page": Copy of element + tables configured "versioning_followPages" (tt_content, pages_lang_overlay)
458 - "branch": COMPLETE copy of the branch to predefined level.
459 - About unique fields:
460 - They are NOT enforced in versionizing - this may be a problem when BRANCHES are exchanged because currently there is no check done if a value inside a versionized branch collides with values in the main branch!
461 - 'AND pid>=0' should be used to avoid problems!
462 - In tcemain::getUnique() there already is a check if "pid>=0"
463 - Backend user access to elements is based on the access restrictions (editing) for the official element. For pages; they carry their own access permissions with them. Notice that page permissions are NOT changed to the user making the new version!!!
465 About Charsets ("Inside TYPO3")
466 In TYPO3s backend charsets used have traditionally been the charset of the backend user language. This is of course a big problem (when other than western european languages are involved) since the encoding of content is thus depending on the charset of the user and not of the system
467 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.
468 You set the global charset in a localconf file like this: $TYPO3_CONF_VARS["BE"]["forceCharset"] = "utf-8";
470 Here are a few notes:
471 - 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.
472 - 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.
475 About System Extension:
476 - Explain that they are the only ones distributed with TYPO3 core.
478 Write:
479 - "css_styled_content" documentation
480 - Extension Programming Tutorials: What is status??
482 Review:
483 - doc_core_tstemplates (badly needs it!), doc_core_tsbyex, doc_tut_frontend, doc_tut_n1/n2/n3
484 - TSref overhaul
485 - "doc_tut_backend" revised/updated.
487 Remove:
488 - doc_core_usermgm : DELETE THIS!
491 ******************************************
493 ******************************************
494 Cleaning for 3.6 involves:
495 - XHTML transitional compliance
496 - " to '
497 - Commented functions
499 1: Add comments
500 * 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() { // "
501 2: Write comments, organize them, add sections etc. (search [type])
502 2a: Set "@access private"
503 3: double to single quote (check for "\n")
504 4: XHTML
505 5: $Id$ CVS keyword expansion
506 6: @package tags
507 7: Function Index in scripts
508 8: Depreciated use of t3lib_BEfunc::titleAttrib
509 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
512 Status 27/10 (TYPO3 Core + extensions "cms" and "lang" in sysext/ (but without global extensions in ext/ !)):
513 - 2000 @param and @return tags in 800 functions still needs commenting (3800 tags in 1400 functions has already been done)
514 - 50 scripts still needs cleaning for XHTML, comments and single-quotes
517 Note on XHTML compliance:
518 - We strive for XHTML transitional / frames
519 - Certain incompatibilities has been allowed for practical reasons (for now). These include:
520 - align="absmiddle" for images
521 - width/height properties for input tags when images are used
522 - missing "cols" attribute for textarea tags.
523 - Some attributes for framesets.
524 [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.]
527 ---------------------------------------------------------------
529 ---------------------------------------------------------------
530 Finished (XHTML, quotes, comments, revised-note), XQCR:
531 (Indented scripts are still missing clean-up)
533 typo3/___________________________________________:
534 XQCR: alt_clickmenu.php
535 XQCR: alt_db_navframe.php
536 XQCR: alt_doc.php TODO: Check "redirect" GPvar for XSS hole!?
537 XQCR: alt_doc_nodoc.php
538 XQCR: alt_file_navframe.php
539 XQCR: alt_intro.php
540 XQCR: alt_main.php
541 XQCR: alt_menu.php
542 XQCR: alt_menu_sel.php
543 XQCR: alt_mod_frameset.php
544 XQCR: alt_palette.php
545 XQCR: alt_shortcut.php
546 XQCR: alt_toplogo.php
547 XQCR: alt_topmenu_dummy.php
548 XQCR: browse_links.php
549 XQCR: browser.php
550 XQCR: class.alt_menu_functions.inc
551 XQCR: class.db_list.inc
552 XQCR: class.db_list_extra.inc
553 XQCR: class.file_list.inc
554 XQCR: class.show_rechis.inc
555 XQCR: db_list.php
556 XQCR: db_new.php
557 XQCR: db_new_content_el.php
558 default.htm
559 default.html
560 XQCR: dummy.php
561 XQCR: file_edit.php
562 XQCR: file_list.php
563 XQCR: file_newfolder.php
564 XQCR: file_rename.php
565 XQCR: file_upload.php
566 XQCR: index.php TODO: Check "redirect" GPvar for XSS hole!?
567 -QC-: index_re.php
568 -Q-R: init.php
569 XQCR: listframe_loader.php
570 XQCR: login_frameset.php
571 -QC-: logout.php TODO: Check "redirect" GPvar for XSS hole!?
572 XQCR: move_el.php
573 XQCR: show_item.php
574 XQCR: show_rechis.php
575 -QCR: tce_db.php
576 -QCR: tce_file.php
577 XQCR: template.php
578 XQCR: view_help.php
579 XQCR: wizard_add.php
580 XQCR: wizard_colorpicker.php
581 XQCR: wizard_edit.php
582 XQCR: wizard_forms.php
583 XQCR: wizard_list.php
584 XQCR: wizard_rte.php
585 XQCR: wizard_table.php
586 XQCR: wizard_tsconfig.php
588 XQCR: mod/help/about/index.php:
589 XQCR: mod/tools/em/index.php
590 XQCR: mod/web/info/index.php
591 XQCR: mod/web/func/index.php
592 XQCR: mod/web/perm/index.php
595 t3lib/________________________________________:
596 XQCR: t3lib/class.t3lib_admin.php
597 XQCR: t3lib/class.t3lib_arraybrowser.php
598 -QCR: t3lib/class.t3lib_basicfilefunc.php
599 XQCR: t3lib/class.t3lib_bedisplaylog.php
600 XQCR: t3lib/class.t3lib_befunc.php
601 XQCR: t3lib/class.t3lib_beuserauth.php
602 XQCR: t3lib/class.t3lib_browsetree.php
603 XQCR: t3lib/class.t3lib_clipboard.php
604 -QC-: t3lib/class.t3lib_cs.php
605 XQCR: t3lib/class.t3lib_diff.php
606 XQCR: t3lib/class.t3lib_div.php
607 t3lib/class.t3lib_dmailer.php [Jan-Erik!]
608 -QC-: t3lib/class.t3lib_exec.php
609 -QCR: t3lib/class.t3lib_extfilefunc.php
610 -QCR: t3lib/class.t3lib_extmgm.php
611 -QCR: t3lib/class.t3lib_extobjbase.php
612 XQCR: t3lib/class.t3lib_foldertree.php
613 -QCR: t3lib/class.t3lib_formmail.php
614 t3lib/class.t3lib_fullsearch.php [Kasper]
615 t3lib/class.t3lib_htmlmail.php [Jan-Erik?]
616 XQCR: t3lib/class.t3lib_iconworks.php
617 -QCR: t3lib/class.t3lib_install.php
618 -QCR: t3lib/class.t3lib_loaddbgroup.php
619 -QCR: t3lib/class.t3lib_loadmodules.php
620 -QCR: t3lib/class.t3lib_matchcondition.php
621 -QCR: t3lib/class.t3lib_modsettings.php
622 XQCR: t3lib/class.t3lib_page.php
623 XQCR: t3lib/class.t3lib_pagetree.php
624 XQCR: t3lib/class.t3lib_parsehtml.php
625 XQCR: t3lib/class.t3lib_parsehtml_proc.php
626 XQCR: t3lib/class.t3lib_positionmap.php
627 t3lib/class.t3lib_querygenerator.php [Kasper]
628 -QCR: t3lib/class.t3lib_readmail.php
629 XQCR: t3lib/class.t3lib_recordlist.php
630 -QCR: t3lib/class.t3lib_scbase.php
631 -QC-: t3lib/class.t3lib_sqlengine.php
632 -QCR: t3lib/class.t3lib_stdgraphic.php
633 XQCR: t3lib/class.t3lib_superadmin.php
634 -QC-: t3lib/class.t3lib_svbase.php
635 -QCR: t3lib/class.t3lib_tceforms.php [Kasper - 4.0]
636 t3lib/class.t3lib_tcemain.php [Kasper - 4.0]
637 XQCR: t3lib/class.t3lib_timetrack.php
638 -QCR: t3lib/class.t3lib_transferdata.php
639 XQCR: t3lib/class.t3lib_treeview.php
640 XQCR: t3lib/class.t3lib_tsfebeuserauth.php
641 -QCR: t3lib/class.t3lib_tsparser.php
642 t3lib/class.t3lib_tsparser_ext.php [Kasper]
643 t3lib/class.t3lib_tsstyleconfig.php [Kasper]
644 -QCR: t3lib/class.t3lib_tstemplate.php
645 XQCR: t3lib/class.t3lib_userauth.php
646 XQCR: t3lib/class.t3lib_userauthgroup.php
647 -QCR: t3lib/class.t3lib_xml.php
649 -QCR: t3lib/config_default.php
650 -QCR: t3lib/thumbs.php
651 XQCR: template.php
652 -QCR: t3lib/stddb/load_ext_tables.php
653 -QCR: t3lib/stddb/tables.php
654 -QCR: t3lib/stddb/tbl_be.php
657 sysext/cms/___________________________________________:
658 XQCR: tslib/class.tslib_content.php
659 XQCR: tslib/class.tslib_fe.php
660 -QCR: tslib/class.tslib_fetce.php
661 -QCR: tslib/class.tslib_feuserauth.php
662 -QCR: tslib/class.tslib_gifbuilder.php
663 XQCR: tslib/class.tslib_menu.php
664 XQCR: tslib/class.tslib_pagegen.php
665 XQCR: tslib/class.tslib_pibase.php
666 XQC-: tslib/class.tslib_search.php
667 XQCR: tslib/media/scripts/example_callfunction.php
668 XQCR: tslib/media/scripts/example_itemArrayProcFunc.php
669 XQCR: tslib/media/scripts/example_keepRollover.php
670 XQ-R: tslib/media/scripts/example_languageMenu.php
671 XQCR: tslib/media/scripts/example_typolinkpop.php
672 XQCR: tslib/media/scripts/fe_adminLib.inc
673 XQ-R: tslib/media/scripts/freesite_dummy_page_menu.php
674 XQCR: tslib/media/scripts/gmenu_foldout.php
675 XQCR: tslib/media/scripts/gmenu_layers.php
676 -QCR: tslib/media/scripts/makeMenu_datedirectory.inc
677 -QCR: tslib/media/scripts/makeMenu_keywords_updated.inc
678 XQCR: tslib/media/scripts/plaintextLib.inc
679 XQCR: tslib/media/scripts/postit.inc
680 ----: tslib/media/scripts/testscript.inc
681 ----: tslib/media/scripts/testscript_EXT.php
682 ----: tslib/media/scripts/testscript_INT.php
683 XQCR: tslib/media/scripts/tmenu_layers.php
684 XQCR: tslib/media/scripts/wapversionLib.inc
685 XQCR: tslib/media/scripts/xmlversionLib.inc
686 -Q-R: tslib/index_ts.php
687 -Q-R: tslib/pagegen.php
688 -Q-.: tslib/publish.php
689 .QCR: tslib/showpic.php
690 XQCR: web_info/class.tx_cms_webinfo.php
691 XQCR: layout/db_layout.php
692 XQCR: layout/class.tx_cms_layout.php
693 XQCR: layout/db_new_content_el.php
696 typo3/sysext/___________________________________________:
697 OK aboutmodules/
698 belog (2 / 500) [Kasper - 4.0]
699 - Needs a vision! Couldn't the Log be more useful?
700 beuser (1 / 1300) [Kasper - 4.0]
701 - Add option to Create backend users there! (backend users, groups, filemounts)
702 OK cms/
703 OK context_help/
704 css_styled_content (1/200) [H]
705 - Manual written?
706 XQCR: extra_page_cm_options/
707 XQCR: func_wizards/
708 XQC-: impexp
709 XQC-: indexed_search
710 XQCR info_pagetsconfig/
711 install/ [ingmar]
712 - Clean-up of the Install Tool in general!
713 OK lang/
714 lowlevel (2/800) [Kasper - 4.0]
715 - Extend support and finish it with the efforts soon to be done for TCEmain.
716 OK setup/
717 OK sv/
718 sys_action (1/400)
719 - Extend with API for adding custom action scripts
720 - flexforms for configuration!
721 OK sys_note
722 taskcenter (4/400) [Julle]
723 OK tsconfig_help
724 - Needs maintenance plan
725 version [Kasper - 4.0]
726 - (See Kaspers personal todo and Appendix about versioning in this document)
727 viewpage (2/200)
728 XQRC: wizard_crpages/
729 XQRC: wizard_sortpages/
732 For all extensions (even those approved):
733 - Remember to add package tags to all classes!
734 - Write documentation for each (CSH is fine enough).
735 - Check HTML source / CSS usage / XHTML compliancy / That icons are skinnable (add to "skin360")
736 - $LANG->getLL() are htmlspecialchars()'ed / second argument is "1"
742 *******************
744 *******************
745 Overview of implications before implementation:
746 - UTF-8 encoding is in fact expected by XML! So the real charset must be set
747 - Wellformedness: Nesting ok. All img tags must be ended with /> (frame,base,meta,link,img,br,hr,area,input)
748 - Lowercase for elements and attributes (and everything else...) + stylesheet element and attribute names.
749 - All attributes in quotes
750 - Minimized values not allowed: Must do this: selected="selected"
751 - Wrapping scripts and style element contents in CDATA - or alternatively they should have entitites converted.
752 - name/id attribute double
753 - Certain nesting of elements not allowed. Most interesting, <PRE> cannot contain img, big,small,sub,sup ...
754 - Setting charsets may put some special requirements on both XML declaration/ meta-http-equiv. (C.9)
755 - 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.
757 Related issues:
758 - Charset / encoding issues
760 ---------
761 Practical steps for creating XHTML compliance:
763 - lowercase: <(td|tr|p|div|table|b|i|u|a)
764 - attributes in lowercase and ""; TYP: bgColor, border=0 cellspacing=0 cellpadding=0, valign=top, onClick, onChange, onSubmit, method="POST", type="Submit"
765 - Ending tags: <br>, <hr>, <input>, <img> (Longer list: frame,base,meta,link,img,br,hr,area,input)
766 - shorthand: checked, selected, multiple, nowrap
767 - href="", action="", src="", onclick= tags: htmlspecialchars() of URLS
768 - <img -> ' alt="" />' REGEX: <img[^>]*[^-]>
769 - FINDING attributes with no quotes:
770 ([[:space:]]+)(class|face|hspace|vspace|rowspan|bgcolor|src|colspan|align|color|valign|border|width|height|cellpadding|cellspacing)=([^[:space:]>"']+)
771 ... and replace with: \1\2="\3"
773 -----------
774 Teststring for XSS bugs and SQL injection:
775 >><b><i>asdf</i></b>-\-\\-\"-\'-"-'-
778 ****************
780 ****************
781 Syncronization (JH thoughts, general LPE):
782 DB -> DB (1):
783 - Production environment, which can dump configured set of tables to live server database and back. This is controlled from Production env.
784 - 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).
785 - 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.
786 - 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...
788 Req to T3:
789 OK [The dbal implementation solves this.] - 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.
791 DB->HTML
792 - Basically this is an rsync/ftp sync question which requires a set of static files.
793 - Also a "mixed mode" concept where static files not found are served dynamically by TYPO3, but where the TYPO3 install does NOT allow backend access at all - only frontend delivery.
795 Two situations:
796 - 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)
797 - Publish static for FTP server. All *.html requests MUST exist. (Purely static, limitations acceptable.)
799 _____________________________________
800 Server sync. extension ("dbsync"):
801 Create an extension which syncronizes a set of tables to/from another TYPO3 installation
802 - Using SOAP for information exchange
803 - Local machine (production) = Client
804 - Remote machine (live) = Server
805 - Must have the "dbsync" extension installed both places
806 - client has a set of table names configured, where each is marked with the *direction* (possibly bi-directional in future?)
807 - For each table, client asks for a "header" which contains list of uid/tstamp/crdata/possibly MD5 sum of content (if tstamp/crdate is not present)
808 - Client compares this with local table, finds records to add/remove/delete
809 - Client pushes / retrieves records
811 _____________________________________
812 Static publishing ("staticpub" extension)
813 [2/2005: Today, a reverse proxy (using cache control) is a better solution than static publishing if you want to speed up a TYPO3 site. Therefore static publishing is a concept mostly interesting if you want to export a TYPO3 site as static files to an ordinary webhoster.]
814 - The extension "staticpub" has now been made for this purpose.
817 *****************************
818 APPENDIX: Image Processing
819 *****************************
820 Generally we want:
821 - Full PNG main support
822 - Full IM5.x support
823 - Non-ImageMagick version which CAN scale images (with GD/JPG)
825 To get rid of ImageMagick totally we need a GD with...:
826 - blur/sharpening
827 - scaling
828 - masking
829 - reduce colors / dithering
830 - jpg quality control
831 - 96 dpi / 72 dpi
832 - other effects?
833 - Support for many file formats.
834 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).
836 Notes:
837 - Consider imageprocessing issues like PNG / GDlib2 / Freetype2 / IM5.4.x / T1lib
838 - Other options: PHPImLib? GIMP?
839 - Improve Install Tool
841 --------------------
842 imagecopymerge
844 jonny at sanriowasteland dot net
845 29-Sep-2002 06:36
847 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).
850 Also see:
851 - [Kasper] "ImageManipulation" folder in Mailbox
855 *****************
856 APPENDIX: PHP5 issues
857 *****************
858 Generally: TYPO3 works with PHP5. But...:
859 - UTF-8 strings to freetype doesn't work! Renders box instead.
860 - array_merge must always have arrays as arguments. When this problem is found in TYPO3 it is regarded a TYPO3 bug and we fix it.
861 - Errors regarding treating strings as arrays: Normally, just check if the variable is an array first.
862 - Details: Non-existing indexes is not a problem if the variable is unset - only if it is another type (eg. string). This means we can normally just check if the first index is an array and it will work: is (is_array($a) && $a[key1][key2][key3]) ...
866 ***************************************
867 APPENDIX: Various ideas for extensions
868 ***************************************
869 EMAIL publication:
870 - People can publish stuff by sending email to certain adresse piping the content into database.
871 - 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).
872 - See mail from DH, subject; "Last day for feature requests" Message-ID: <200202181821120933.01CA5B9F@smtp.worldonline.dk>
875 - Import external website! (Rene's extension). Includes some crawler feature (locally og external url)
878 - Global search and replace of records (Rene F?)
880 Repeated intervals extension:
881 - Cron-job which alters the start/end times according to some schedule.
882 - Configurable for any element of course
884 New-Wizard:
885 - 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.
886 - Could be useful for: TemplaVoila Template Objects, Content Elements (like tables/forms/plugins), Pages of sorts.
887 - Configuration could be in XML (since it needs a hierarchy)
890 **************************************
892 **************************************
893 - Specify a pattern of allowed/required values.
894 - 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!
895 - How can this be done?
896 - 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...?
899 **************************************
900 Rapport of "deleted"-check in typoscripts (190500)
901 **************************************
902 TYPO3:
903 - "deleted"-field must be set manually in userauth for user-tables!
904 Hardcoding:
905 - "pages" in load_tree.php
906 - "sys_filemounts" in userauth_group
907 - "user-group tables" in userauth_groups
908 - "pages" in ti_inc.php
909 - "pages" in transferdata.php
911 TypoScript:
912 - sys_domain is NOT checked for deleted in "page.php"
913 - getForeignRecords() (page.php) does not check for deleted!!! (this is even not used any more!!
914 Hardcoding:
915 - "pages" in page.php
916 - "pages" in t_search.php
917 - "pages" in index_ts.php (caching)
918 - "sys_template" in t_template.php
919 - "fe_groups" in index_ts.php
922 **************************************
923 Bugs, considerations, notes
924 **************************************
925 - mail() hangs in 90 second (approx) if computer is not on the net! (deliver to mail-server)
926 - REWRITE of files when they already exists? shortMD5 is guilty?
927 - "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.
928 - mysql_query() function should not be used I think as this queries the current database. mysql() should be used instead.
929 - 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.
930 - PDF-files over 600 k are not rendered by ImageMagick. Less than 270 is! How come and is this true. Number of pages?
931 - When GDlib is disabled it can be very confusing that record icons does not change their look according to hidden/starttime/endtime etc...
932 - 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)
936 *********************************
937 Translation of Backend
938 *********************************
939 Overview of missing translations. (1547 normal core labels, updated 22/5 2005 before release of TYPO3 3.8.0)
940 Numbers are new labels needing translation (changed labels are not measured)
942 - dk [Danish] 0
943 - de [German] 1
944 - no [Norwegian] 0
945 - it [Italian] 0
946 - fr [French] 134
947 - es [Spanish] 0
948 - nl [Dutch] 1
949 - cz [Czech] 202
950 - pl [Polish] 4
951 - si [Slovenian] 304
952 - fi [Finnish] 0
953 - tr [Turkish] 254
954 - se [Swedish] 0
955 - pt [Portuguese] 421
956 - ru [Russian] 235
957 - ro [Romanian] 358
958 - ch [Chinese (Simpl)] 0
959 - sk [Slovak] 113
960 - lt [Lithuanian] 332
961 - is [Icelandic] 904
962 - hr [Croatian] 0
963 - hu [Hungarian] 1
964 - gl [Greenlandic] 1316
965 - th [Thai] 426
966 - gr [Greek] 1547
967 - hk [Chinese (Trad)] 3
968 - eu [Basque] 1223
969 - bg [Bulgarian] 302
970 - br [Brazilian Portuguese] 0
971 - et [Estonian] 457
972 - ar [Arabic] 149
973 - he [Hebrew] 438
974 - ua [Ukrainian] 292
975 - lv [Latvian] 35
976 - jp [Japanese] 123
977 - vn [Vietnamese] 1530
978 - ca [Catalan] 1547
979 - ba [Bosnian] 1
980 - kr [Korean] 1547
981 - eo [Esperanto] 1536
982 - my [Bahasa Malaysia] 1545
983 - hi [Hindi] 1547