gambol
2008.07.11 22:56
  • I spent less than half an hour downloaded and tested diamanda application tools. I mainly only tested myghtyboard forum. Here is the list of issues I met in the first quick round:

    1. 'diamandas/' folder doesn't have a default '__init__.py' which causes module import problem. Maybe the author forget to included it to svn?

    2. I met path problem other people mentioned too. So I have to edit a couple of files i.e. statsMiddleware.py to change path to specify 'diamandas' clearly.

    from diamandas.stats.models import *

    I think if the author likes to keep 'from stats...', then settings.py
    "path.append('diamandas/')" is not very appropriate, since you use append() and other applications might use the same module names. I suggest to add 'diamandas' to all module import statements.

    3. another design issue: I like the idea to have site_id attached to each table name. I suggest the author to consider the case that multiple sites can share a set of categories. I just have the idea, not think about it carefully.

    4. One bug I met: I created a category and a forum, posted a topic, then created more categories/forums, re-order the forums. I found on the forum index page, it shows 1 topic, 1 post, but 'No topics in this forum' for the first forum. I am not sure what went wrong.

    5. When I click "Browse news", it reports error as:

    AssertionError at /w/n/
    Cannot add count col with multiple cols in 'select': [('rk_content1', 'slug'), ('rk_content1', 'title'), ('rk_content1', 'date')]


    Svn code: At revision 109.
    My settings: Django dev server + sqlite3 DB on Python2.4
riklaunim
2008.07.11 22:56
  • 1,2 - my concept is that diamandas/ will be added to PYTHONPATH on production use, however "from diamandas.X.Y import * " isn't bad too...

    3 - diamanda supports multiple sites from one code (my sites run like that) - some models have SITE_ID, and some not (for example userpanel, stats)

    4. I'll look at this :)

    5. Content app is under heavy development right now.
gambol
2008.07.11 22:56
  • Thanks for the quick reply. I understand one-instance, multiple-sites.
    3 - diamanda supports multiple sites from one code (my sites run like that) - some models have SITE_ID, and some not (for example userpanel, stats)

    What I proposed is to make topics posted in one forum/category displayed on multiple sites. I think the idea is to add a SITE attribute to Forum/Category models. But I am not sure about the running cost adding to queries. Current way is quite acceptable. Maybe you can plan it as a feature in the next version.

    Forum app is my major interest in Diamanda. Thanks for the nice work!
riklaunim
2008.07.11 22:56
  • hm.. global topics between multiple sites? very rare case I would say.
gambol
2008.07.11 22:56
  • e.g. Site "Learning Music" has a category called "guitar". Site "Instrument Playing" has the same category. While users post topics once in either board, then the same post can appear on both sites. Does it sound weired? I think it can be useful in some case. Just my two cents.
riklaunim
2008.07.11 22:56
  • It can be done, but maybe as an alternative version of the current forum app :) - next thing for diamanda-extras.
gambol
2008.07.11 22:56
  • Is "Test 2" coming out? I like to launch a forum soon, but readme in "Test 1" says wait. I prefer to use it as is. Since forum is only a part of my site and I need to focus my own domain-specific application.

    BTW, what version does "gretschpages.com forums" (1st one you list in "Diamanda in action") use? Thanks.
riklaunim
2008.07.11 22:56
  • gambol wrote:Is "Test 2" coming out? I like to launch a forum soon, but readme in "Test 1" says wait. I prefer to use it as is. Since forum is only a part of my site and I need to focus my own domain-specific application.

    Max release date is end of next week.

    gambol wrote:
    BTW, what version does "gretschpages.com forums" (1st one you list in "Diamanda in action") use? Thanks.
    It's a total hack of last stable release ;)


You can't post new Topics
You can't post new Posts
You aren't a moderator



Hosting NRC-FOSS at AU-KBC.. Django/Python powered.