Difference between revisions of "TODO"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

 
(20 intermediate revisions by 3 users not shown)
Line 8: Line 8:
  
 
skins/MonoBook.php add in line 73:
 
skins/MonoBook.php add in line 73:
<pre>&lt;?php $this-&gt;data['nav_urls']['mainpage']['href'] = "/";&nbsp;?&gt;</pre>
+
<pre>&lt;?php $this-&gt;data['nav_urls']['mainpage']['href'] = "/";&nbsp;?&gt;</pre>  
 
skins/MonoBook.php, line 161, replace:
 
skins/MonoBook.php, line 161, replace:
<pre>&lt;?php echo htmlspecialchars($val['href'])&nbsp;?&gt;</pre>
+
<pre>&lt;?php echo htmlspecialchars($val['href'])&nbsp;?&gt;</pre>  
 
with:
 
with:
 
<pre>&lt;?php echo ($val['href'] == "/Main_Page")&nbsp;? "/"&nbsp;: htmlspecialchars($val['href']);&nbsp;?&gt;</pre>  
 
<pre>&lt;?php echo ($val['href'] == "/Main_Page")&nbsp;? "/"&nbsp;: htmlspecialchars($val['href']);&nbsp;?&gt;</pre>  
Line 16: Line 16:
  
 
Commented out
 
Commented out
<pre>require_once $IP . "/extensions/wikipdf/wikipdf.php";</pre>
+
<pre>require_once $IP . "/extensions/wikipdf/wikipdf.php";</pre>  
 
in LocalSettings.php
 
in LocalSettings.php
  
Line 36: Line 36:
 
* <strike>Move "Templates" from</strike>[[FCKeditor 2.x/Users Guide/Common Tasks/Text Formatting|<strike>Text Formatting</strike>]]<strike>to a dedicated section</strike>.<br>
 
* <strike>Move "Templates" from</strike>[[FCKeditor 2.x/Users Guide/Common Tasks/Text Formatting|<strike>Text Formatting</strike>]]<strike>to a dedicated section</strike>.<br>
 
* <strike>In</strike>[[FCKeditor 2.x/Users Guide/Interface/Context Menu|<strike>Context Menu</strike>]]<strike>, use the standard screenshot box for the example, possibly containing a text with a link, and the context menu for the link (it's a little bit richer).</strike>
 
* <strike>In</strike>[[FCKeditor 2.x/Users Guide/Interface/Context Menu|<strike>Context Menu</strike>]]<strike>, use the standard screenshot box for the example, possibly containing a text with a link, and the context menu for the link (it's a little bit richer).</strike>
 +
* <strike>The HTML samplein the</strike>[[FCKeditor 2.x/Users Guide/Source Editor|<strike>Source Editor</strike>]]<strike>page is wrong. The link is out of the &lt;p&gt; tag. It should be &lt;p&gt;This is my standard text written in the &lt;a href="http://www.fckeditor.net"&gt;FCKeditor.&lt;/p&gt;</strike>
 +
* Document the File Browser.<br>
  
 
== CKFinder - [[CKFinder/Users Guide/Configuration|Configuration]] ==
 
== CKFinder - [[CKFinder/Users Guide/Configuration|Configuration]] ==
Line 41: Line 43:
 
* <strike>Quick Start (enabling, license, baseUrl, baseDir)</strike>
 
* <strike>Quick Start (enabling, license, baseUrl, baseDir)</strike>
 
* <strike>Access Control</strike>
 
* <strike>Access Control</strike>
* <strike>Images</strike>
+
* <strike>Images</strike>  
 
** <strike>Thumbnails</strike>
 
** <strike>Thumbnails</strike>
 
** <strike>Scaling</strike>
 
** <strike>Scaling</strike>
* <strike>Resource Types</strike>
+
* <strike>Resource Types</strike>  
 
** <strike>Built-in resource types (and their relation to FCKeditor)</strike>
 
** <strike>Built-in resource types (and their relation to FCKeditor)</strike>
 
** <strike>Adding new resource type</strike>
 
** <strike>Adding new resource type</strike>
* <strike>Security</strike>
+
* <strike>Security</strike>  
 
** <strike>Double File Extension (Apache issue)</strike>
 
** <strike>Double File Extension (Apache issue)</strike>
 
** <strike>Image Uploads (validating image size)</strike>
 
** <strike>Image Uploads (validating image size)</strike>
Line 53: Line 55:
 
* <strike>Miscelanous (actually for now in PHP only: PHP doesn't support UTF-8 natively, that's why FilesystemEncoding exists in config.php. Linux stores file names as UTF-8, so we are ok there... but on Windows we have more complicated situation. Try to upload files with chinese and polish characters. Change FilesystemEncoding to see the difference (Make sure that you have enabled iconv in php.ini - modify xampp/apache/bin/php.ini + restart Apache)). For example on my Computer (Win XP/SP2 PL), creating and deleting folder named "żółtko" is possible only with FilesystemEncoding set to CP1250.</strike>
 
* <strike>Miscelanous (actually for now in PHP only: PHP doesn't support UTF-8 natively, that's why FilesystemEncoding exists in config.php. Linux stores file names as UTF-8, so we are ok there... but on Windows we have more complicated situation. Try to upload files with chinese and polish characters. Change FilesystemEncoding to see the difference (Make sure that you have enabled iconv in php.ini - modify xampp/apache/bin/php.ini + restart Apache)). For example on my Computer (Win XP/SP2 PL), creating and deleting folder named "żółtko" is possible only with FilesystemEncoding set to CP1250.</strike>
  
I<strike>n the example with three roles (admin, user, guest)</strike>[[CKFinder/Developers Guide/CKFinder Configuration/PHP/Access Control|<strike>Access Control</strike>]]<strike>the default configuration should be to '''deny''' everything.</strike>
+
I<strike>n the example with three roles (admin, user, guest)</strike>[[CKFinder/Developers Guide/CKFinder Configuration/PHP/Access Control|<strike>Access Control</strike>]]<strike>the default configuration should be to '''deny''' everything.</strike><br>
<pre>&lt;strike&gt;$config['AccessControl'][] = Array(
 
'role' =&gt; '*',
 
'resourceType' =&gt; '*',
 
'folder' =&gt; '/',
 
'folderView' =&gt; false,
 
'folderCreate' =&gt; false,
 
'folderRename' =&gt; false,
 
'folderDelete' =&gt; false,
 
  
'fileView' =&gt; false,
+
* Actually, we have to change it. Separate function is now used to authenticate user. So default permissions to allow everything to everyone remained. We should remove the wrong examples and give instead something less complicated:<br>All other connectors could have something similar: [[CKFinder/Developers Guide/PHP/Configuration/Access Control|Developers_Guide/PHP/Configuration/Access_Control]]<br>
'fileUpload' =&gt; false,
+
* We should warn users about direct access to files via URL.<br>
'fileRename' =&gt; false,
+
 
'fileDelete' =&gt; false);
+
* <strike>CKFinder for ASP.NET i snot anymore using an XML file for the configurations. It uses now config.ascx, so the documentation must be changed to reflect it.</strike><strike></strike>
&lt;/strike&gt;</pre>  
+
 
<strike>Explanation: user and guest have restrictive permissions, '''but''' any other role in fact still have administrative privileges(!). We must warn users about that.</strike>
+
== FCKeditor - [[FCKeditor 2.x/Developers Guide|Developers Guide]] ==
 +
 
 +
* <strike>write the descriptions of some of the configuration option left&nbsp;:</strike>[[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options|<strike>Configuration Options</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/EditorAreaStyles|<strike>EditorAreaStyles</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/RemoveFormatTags|<strike>RemoveFormatTags</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/HtmlEncodeOutput|<strike>HtmlEncodeOutput</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/IgnoreEmptyParagraphValue|<strike>IgnoreEmptyParagraphValue</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/DisableFFTableHandles|<strike>DisableFFTableHandles</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FloatingPanelsZIndex|<strike>FloatingPanelsZIndex</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/ShowDropDialog|<strike>ShowDropDialog</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/ToolbarLocation|<strike>ToolbarLocation</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/AllowQueryStringDebug|<strike>AllowQueryStringDebug</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/PreloadImages|<strike>PreloadImages</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/LinkBrowserURL|<strike>LinkBrowserURL</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/ImageBrowserURL|<strike>ImageBrowserURL</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FlashBrowserURL|<strike>FlashBrowserURL</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/LinkUploadURL|<strike>LinkUploadURL</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/ImageUploadURL|<strike>ImageUploadURL</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/FlashUploadURL|<strike>FlashUploadURL</strike>]]
 +
** [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/SpellerPagesServerScript|<strike>SpellerPagesServerScript</strike>]]
 +
* <strike>also the configuration option should be categorized</strike>
 +
* <strike>write the Debug and Debug Object section of the</strike>[[FCKeditor 2.x/Developers Guide/Customization/Debugging|<strike>Debugging</strike>]]<strike>page</strike>
 +
* <strike>review the guide for links that should appear in the text linking to sections which weren't build yet</strike>
 +
** <strike>I found that in</strike>[[FCKeditor 2.x/Developers Guide/Installation/Upgrading|<strike>Upgrading</strike>]]<strike>there's a link to the SVN section. We must detrmine if the SVN section should be build or not</strike>
 +
* actually this is more a wiki issue: some sample code can't be applied to the site because of the wiki security settings which sometimes unables to write a full example in the instruction. E.g .[[FCKeditor 2.x/Developers Guide/Integration/AFP#Handling the posted data|<strike>AFP - handling the posted data</strike>]] and [[FCKeditor 2.x/Developers Guide/Configuration/Spell Checker/Updating Aspell on Unix|Updating Aspell on Unix]]. We should work it out somehow.

Latest revision as of 12:34, 9 February 2008

Site

  • Remove "index.php" from the URL.

Followed by: http://www.mediawiki.org/wiki/Manual:Short_URL/wiki.example.com/Page_title--Enabling_a_wiki_using_Apache_Rewrite

  • Possibly point the root ("/") to Main_Page, redirecting the logo and the navigation box to it.

skins/MonoBook.php add in line 73:

<?php $this->data['nav_urls']['mainpage']['href'] = "/"; ?>

skins/MonoBook.php, line 161, replace:

<?php echo htmlspecialchars($val['href']) ?>

with:

<?php echo ($val['href'] == "/Main_Page") ? "/" : htmlspecialchars($val['href']); ?>
  • Remove the PDF extension.

Commented out

require_once $IP . "/extensions/wikipdf/wikipdf.php";

in LocalSettings.php

FCKeditor 2.x - User's Guide

  • Create "Introduction to the User's Guide" as the first section in the guide. (needs review)
  • Replace textual examples with screenshots.
  • InSpell Checking, introduce ieSpell, explaining the the spell checker depends on the editor settings.(need review)
  • InCompatibilityadd a section for "Incompatible Browsers", explaining what happens on those browsers intead. (need review)
  • "Anchors, Links and E-Mails" should be renamed to "Links, E-Mails and Anchors" (most used first). The page structure should follow the same order.
  • Rearange the Formatting page using this order:
    • Bold, italic, underlined
    • Styles
    • Text layout and format
    • Fonts
    • Size and color
    • Subscript and superscript
    • Templates
  • Move "Templates" fromText Formattingto a dedicated section.
  • InContext Menu, use the standard screenshot box for the example, possibly containing a text with a link, and the context menu for the link (it's a little bit richer).
  • The HTML samplein theSource Editorpage is wrong. The link is out of the <p> tag. It should be <p>This is my standard text written in the <a href="http://www.fckeditor.net">FCKeditor.</p>
  • Document the File Browser.

CKFinder - Configuration

  • Quick Start (enabling, license, baseUrl, baseDir)
  • Access Control
  • Images
    • Thumbnails
    • Scaling
  • Resource Types
    • Built-in resource types (and their relation to FCKeditor)
    • Adding new resource type
  • Security
    • Double File Extension (Apache issue)
    • Image Uploads (validating image size)
    • Html Extensions (to prevent against XSS File Header injection)
  • Miscelanous (actually for now in PHP only: PHP doesn't support UTF-8 natively, that's why FilesystemEncoding exists in config.php. Linux stores file names as UTF-8, so we are ok there... but on Windows we have more complicated situation. Try to upload files with chinese and polish characters. Change FilesystemEncoding to see the difference (Make sure that you have enabled iconv in php.ini - modify xampp/apache/bin/php.ini + restart Apache)). For example on my Computer (Win XP/SP2 PL), creating and deleting folder named "żółtko" is possible only with FilesystemEncoding set to CP1250.

In the example with three roles (admin, user, guest)Access Controlthe default configuration should be to deny everything.

  • Actually, we have to change it. Separate function is now used to authenticate user. So default permissions to allow everything to everyone remained. We should remove the wrong examples and give instead something less complicated:
    All other connectors could have something similar: Developers_Guide/PHP/Configuration/Access_Control
  • We should warn users about direct access to files via URL.
  • CKFinder for ASP.NET i snot anymore using an XML file for the configurations. It uses now config.ascx, so the documentation must be changed to reflect it.

FCKeditor - Developers Guide

This page was last edited on 9 February 2008, at 12:34.