[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/pim/kblogger
From:       Christian Weilbach <christian () whiletaker ! homeip ! net>
Date:       2008-01-16 4:08:58
Message-ID: 1200456538.770277.25372.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 762084 by weilbach:

Update the TODO.


 M  +105 -11   TODO  


--- trunk/playground/pim/kblogger/TODO #762083:762084
@@ -1,17 +1,111 @@
 TODO LIST
 
-- KWallet Integration 
-- Clean Config dialogs
-- kbloggerMedia thumbnails managing
-- Add a JobQueue Manager Dialog 
-- Debug htmlExporter
-- Remove uploadMediaDialog, Use importMediaDialog instead
+BUGFIXING
 
+General code auditing/refactoring for 1.0:
+    - move code to blogmap.h metadata for large code cleanups:
+      - changes backend, [duns_s]
+        composer [gnuton]
+        media management [gnuton]
+        and profileconfigdialog [duns_s]
+    - the memory management, document which objects (especially in maps of pointers) \
are supposed +      to be managed by which class, so we know who has to do the \
cleanup [duns_s,gnuton] +      - check singletons, e.g. for WaitDialog, if the class \
is really used in different places, remove +        singleton maybe [duns_s]
+    - name of class and functions [duns_s,gnuton]
+      - rename KBloggerBlog to BlogBackend/BlogServer (reflecting that we use \
blogmap.h) [duns_s] +      - rename KBloggerPost, KBloggerMedia to KBlogger::Post \
KBlogger::Media for shorter strings +        and inherit from KBlog:: classes \
[duns_s] +    - add comments where needed, in general use doxygen at least for class \
definitions [duns_s,gnuton] +      - add a simple comment describing one step, where \
not obvious due to class names +        and seperate logical steps in code with \
newlines +    - fix my gnuton's english mistakes in the strings [done where mine/ebn \
is better ;-)] +    - merge/split classes [duns_s,gnuton][in progress]
+    - converts QDialog in KDialog. [duns_s,gnuton][in progress]
+      - do that for the AddLinkWidget, UploadMediaManager..., too [gnuton]
+    - merge/split classes where it's needed.
+    - move classes to a taskbased subdirectory structure [duns_s,gnuton]
+      src/
+     |- Composer/
+     |- Plugins/
+     |- Media/
+     |- Post/
+     |- Backend/  <-- Job classes here
+     |- All Core classes
 
-- CSS importer
-- Wizard config
+Code review for classes:
+
+In general I propose to split classes like this, too:
+     duns_s: backend stuff
+     gnuton: editor magic, main gui
+
+     -----------------------------+---- duns_s ------+------- gnuton -------
+     Backend                |          O            |
+     BackendJob           |          O            |
+     BackendJobQueue |          O            |
+     KBloggerMedia      |          O            |
+     KBloggerPost        |          O            |
+     KBloggerBlog        |          O            |
+     ProfileList              |          O            |
+     ProfileConfigDialog|          O            |
+     WaitDialog             |          O            |
+     WaitWidget            |          O            |
+     WeblogStyleGetter |          O           |
+     Composer              |                        |             O
+     ComposerEditor     |                        |             O
+     ImportMediaDialog |                        |             O
+     ImportMediaWidget|                        |             O
+     MainWidget            |                        |             O
+     PostsList                |                        |             O
+     MediaList               |                         |             O
+     Itemsmanager       |                         |             O
+     VisualEditor           |                         |             O
+     LinkDialog              |                         |             O
+     HtmlExp                 |                         |             O
+...
+
+After having done the items above, we should check each others classes.
+
+Concrete showstoppers to fix for 1.0:
+
+- picture (thumbnails?) managing at least working basicly but reliably:
+  - importing
+  - thumbnail creation
+  - thumbnail
+
+
+FEATURE WISHLIST:
+
+- picture thumbnails managing done properly:
+   So we can use
+     1) a generic QRegExp that scan the code to search this line it's valid for
+         each kind of blog system.
+     2) Write a specific code for each tipe of blog system.
+        If the blog system is not recognized by kblogger, kblogger will use the
+        generic QRegExp.
+
+     Now KBlgger are using the second way. Importing thumbnails works fine with
+     wordpress(tested), and it will works also with blogger.com (not tested yet).
+
+   - exporting thumbs:
+      - Easy way: KBlogger creates thumbnails for all type of Blog system
+                         issue: Some blog Systems creates a thumbnailof every
+                                   uploaded image, so if you upload 1 image + 1
+                                   kblogger_thumbnail, you have 1image + 3 \
thumbnails +                                   of the same image! (wrong way for me)
+     - other way: KBlogger creates thumbnails for all Blog system for local preview.
+                        and upload it only if the Blog System doesn't generate it.
+                        (right way for me)
+                        issue: none.
+
+- Make usable the Composer:
+    - Improve/rewrite html2RichText function, it doesn't support well Javascript or
+      special tags like <object> used to embedding youtube video.
+   - table support
+   - lists support
+- Create a VisualEditor able to manipulate image (shrink, resize, add bord) to \
image. +- Add Kate part as Html Editor. (Don't remove the internal Html editor!)
+- Add a JobQueue Manager Dialog 
 - Write a htmlImporter (JS code are not allowed at moment)
 - Improve importMediaDialog usability
-- kipi plugin support
-- Adjust Date Format
-- improve HTML editor, use \
http://api.kde.org/4.0-api/kdelibs-apidocs/interfaces/ktexteditor/html/kte_howto.html \
\ No newline at end of file +- external media handling: e.g. kipi plugin support for \
youtube, flickr, picasa... \ No newline at end of file


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic