Updating Fckeditor
This is a GoogleSoc2008 project.
Google Summer of Code Progress
What you can do in the final days
test if your code works with python 2.3
test if your code works with python 2.4
regularly run the tests, your goal is 0 failing tests
- do practical/manual tests (you have lots of underlay pages you can click through, just USE your wiki regularly)
- identify and work on problems that essential features of your project still have (do not begin big/completely new stuff) - if you have a long todo still, set priorities
- review your code:
- at least once, completely read your code (including your docstrings/comments) line by line, word by word
- check your XXX / TODO
remove old code you already replaced by new code, but you did not remove yet (old modules, stuff commented out, ...)
- fix typos, wrong grammar, etc.
- check docstrings if they completely describe the functionality, are clear about data types, params, return values
- add missing docstrings
update docstrings that do not match the code/functionality any more
don't describe trivial stuff (like: count += 1 # increment count), but if you are doing something rather non-obvious, there must be a comment
each module is expected to have the standard header (see _template.py):
1 line short description - try to avoid just repeating what can be guessed by looking at module name
some complete sentences with a long description, clearly telling what it does
your copyright, GPL license reference
- check for sane names, don't have misleading names or names that don't tell
check for PEP8 (the unit test helps with that, but doesn't find everything)
- at least once, completely read your code (including your docstrings/comments) line by line, word by word
- documentation
- developer level (docstrings, comments, specification, design documentation, guidelines, up-to-date TODO list, up-to-date KNOWN PROBLEMS list)
- admin level (how to setup/configure moin with the features you worked on, what other software do you require), usually on Help* wiki pages
- user level (how to use your features as a wiki user on the web), usually on Help* wiki pages
- collect the new Help* wiki pages below your project page in the wiki
a fragment for docs/CHANGES exactly formatted in the style/indentation you can see there (we'll use this when merging your stuff into main branch and just copy it to docs/CHANGES). please use docs/CHANGES.<projectname>
Open FeatureRequests
- the "insert link", "attachment", "insert image" buttons are a bit underpowered compared to what link and transclusion markup currently offers (this task has lower priority than bug fixing!) :
- choosing between "link" to some target and "transclude" some target
- giving a label (if you don't want to see just the real filename)
- giving more parameters (just an entry form at the beginning)
see [[target|label|params]] and {{target|label|params}} syntax
FCKeditor 2.6.3 is released, please update.
- image roundtrips, but in a bit strange way (if you insert a non-existing image, you first see some "broken image" graphics, then switch to text mode and back to gui mode, then it will just display the attachment name). maybe it should rather give "broken image" graphics after roundtrip also.
- According to Moon, this behaved similarly in the old version.
resizing of images by the gui editor and saved gives
{{attachment:abc.jpg||style="width: 484px; height:484px;"}}
it should give
{{attachment:abc.jpg||width=484px, height=484px}}
I think both is valid, right? So I move this to feature requests ... -- AlexanderSchremmer 2008-08-22 09:19:59
Unfixed Regressions
- processing instructions can't be added using gui editor (they get merged with the PI before instead of staying at their own, new line)
client side
it is not possible (AFAICS) to create that with gui editor (should work with "format" menue -> "Formatted"):
foo bar
server side old bugs
- table caption roundtrip is not working (height works)
MoinMoinBugs/GuiEditorErrorPastingFileLocations - to solve this problem. using paste from word button
MoinMoinBugs/GuiEditorCreolePluginMissingError - to fix this bug we should make another converter such as moin->creole
- fckdialog.py occured unicodedecoderror python exception. when opening link_dialog at unicode named page. interwiki variable make that problem.
- Let us ignore that for now because it seems to be there because of the broken fckeditor action code.
MoinMoinBugs/GuiEditorTransformsRelativeLinksToAbsoluteLinks
Open client-side bugs, but no regression
- if you click 3 times on the "horizontal rule" button, it shows 3 HRs, but the middle one looks thicker than the first/last one
- but its html code is fine and original fckeditor also show same behavior
fixed
MoinMoinBugs/GuiEditorShouldWorkOnSyntaxReference - editing complicated syntax page with gui editor is possible but not perfect
bulletlists are broken
20:44 < dreimark> byeongweon: please try a copy of HelpOnMoinWikiSyntax with your changes. save it first with the text editor (without the acl settings) and then with the gui and look at the changes 20:45 < dreimark> byeongweon: it removes currently every bulletlist 20:46 < dreimark> byeongweon: and it deletes indenting blanks
MoinMoinBugs/GUIEditorConvertsRelativeLinkstoAbsoluteAfterChangingAnExistingLink
MoinMoinBugs/GuiEditorPasteFromWordError - not enough information about bug
MoinMoinBugs/GuiEditorPasteFromOpenOfficeCausingConvertError
- indenting does not work. if you indent in the gui editor a word and save it the indenting is removed
MoinMoinBugs/GuiEditorTabsCausesConvertError - error doesn't occured. but tab dosen't work with gui editor
MoinMoinBugs/GuiEditorLineBreakInLists - use BR macro instead of shift+enter
MoinMoinBugs/GuiEditorPasteFromWordCausingConvertError - partly fixed
MoinMoinBugs/GuiEditorCorruptingNonWikiPages - partly fixed
MoinMoinBugs/GuiEditorInterwikiLinksMiss"wiki%3A"prefix - fixed
MoinMoinBugs/GuiEditorExcelPasteUnboundPrefix - I couldn't reproduce this bug on recent version of fckeditor
MoinMoinBugs/GuiEditorFormatDropdownCrashesIE - I couldn't reproduce this bug on recent version of fckeditor
MoinMoinBugs/GuiUploadAttachmentUsesFontFormats - I think this is not a bug
Archive
- Safari has problems generating usable HTML (currently applied as a local patch).
url of bug report : http://dev.fckeditor.net/ticket/2333
comments on bug report : http://dev.fckeditor.net/ticket/2333#comment:2
idea
Don't know whether this is needed anymore after updating the editor. Formerly however on some pages it was not wanted to edit them with GUI edit, e.g. MoinMoinWikis. I had a look at the Mediawiki-project of FCK at http://mediawiki.fckeditor.net/. There they introduced some pragma setting like #pragma gui-edit off which prevents the page to be opend with gui. Maybe this is also something for Moin.