Bug tracking - http://jira.osqa.net
Wiki - http://wiki.osqa.net
+* The ‘stats’ module sends install info to our OSQA directory, including number of users, number of questions, and the email addresses of the super users. These email addresses are not sold to any third party.
\ No newline at end of file
from base import generate_installation_key
-UPDATER_SET = SettingSet('updater', _('Updater Settings'), _("OSQA Update Checker Settings."), 100)
+STATS_SET = SettingSet('stats', _('Stats Settings'), _("OSQA Stats Settings."), 100)
-CHECK_FOR_UPDATES = Setting('CHECK_FOR_UPDATES', True, UPDATER_SET, dict(
+CHECK_FOR_UPDATES = Setting('CHECK_FOR_UPDATES', True, STATS_SET, dict(
label = "Check for updates",
help_text = _("""
-Use the OSQA update server recieve notifications about the latest updates.
+Use the OSQA stats server recieve notifications about the latest updates.
"""),
required=False))
{% block admincontent %}
-<a href="{% url "updater_check" %}" id="check_for_updates" class="button">{% trans "Check for Updates" %}</a>
+<a href="{% url "stats_check" %}" id="check_for_updates" class="button">{% trans "Check for Updates" %}</a>
<div id="update_check_status"></div>
{% endblock %}
--- /dev/null
+from django.conf.urls import patterns, url, include
+from django.utils.translation import ugettext as _
+
+from views import stats_index, stats_check
+
+urlpatterns = patterns('',
+ url(r'^%s%s%s$' % (_('admin/'), _('stats/'), _('check/')), stats_check, name='stats_check'),
+)
from forum.views.admin import admin_tools_page, admin_page
-@admin_tools_page(_('updater'), _('Update Checker'))
-def updater_index(request):
+@admin_tools_page(_('stats'), _('Stats Module'))
+def stats_index(request):
return (
- 'modules/updates/index.html',
+ 'modules/stats/index.html',
{
},
)
-def updater_check(request):
+def stats_check(request):
update_status = check_for_updates()
return HttpResponse(update_status, mimetype='text/html')
+++ /dev/null
-from django.conf.urls import patterns, url, include
-from django.utils.translation import ugettext as _
-
-from views import updater_index, updater_check
-
-urlpatterns = patterns('',
- url(r'^%s%s%s$' % (_('admin/'), _('updater/'), _('check/')), updater_check, name='updater_check'),
-)
OSQA_DEFAULT_SKIN = 'default'
-DISABLED_MODULES = ['books', 'recaptcha', 'project_badges']
+DISABLED_MODULES = ['books', 'recaptcha', 'project_badges', 'stats']