You are here: Home > Diamanda Applications Set > Diamanda applications dependencies

Diamanda applications dependencies

 
This article describes Diamanda applications and their relations-dependencies. Most of them can be used without others.

myghtyboard

Main url is /forum/. Does not use any other modules on the code level but has on the post list links to Private Messages (userpanel), and as all apps templates extend from pages/body.html

Statistics (stats)

For admins under /stats/ - unique entries stats. Data is saved by middleware statsMiddleware.py - one save for IP per day. Independent.

Baldurs Gate Catalogue (baldur)

Main url is /bgate/. Has links to comments and in vews.py it counts comments. Character files are saved to /site_media/bgate, and folder /bgate_av/ has all the avatars (standard and user uploaded).

Global comments (boxcomments)

Dependent on other modules - see models.py. Field "apptype" is used to determine which application entry is commented. Method __str__ uses models of those apps. To show comments Greybox JS script is used. In HEAD add:
<script type="text/javascript">
    var GB_ROOT_DIR = "/site_media/wiki/greybox/";
</script>
<script type="text/javascript" src="/site_media/wiki/greybox/AJS.js"></script>
<script type="text/javascript" src="/site_media/wiki/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="/site_media/wiki/greybox/gb_scripts.js"></script>
<link href="/site_media/wiki/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
To URL add rel="gb_page_fs[]", example:
<a href="/com/{{ page.id }}/1/" rel="gb_page_fs[]" title="{% trans "Comments" %}">{% trans "Comments" %} ({{ com }})</a>


News (news)

Has links and calls in views.py comments app. Main url: /news/

Articles (pages)

Article with "index" slug is used on the main page. Main page views (view_index) calls nearly all applications. Article url is /w/p/SLUG/

Taskt (tasks)

Standard comments dependency (links and in views.py). Main url is /tasks/.

Gettext translations manager (translator)

Standard comments dependency (links and in views.py). Main url is /tra/. Folder /site_media/lang_icon/ stores language icons, and /site_media/translations/ *po files.

User Panel (userpanel)

Independent. Main url is /user/. It uses /site_media/bg.jpg and /site_media/SHERWOOD.TTF, folder /site_media/captcha is used to store temporary captcha images.
Hosting NRC-FOSS at AU-KBC.. Django/Python powered.