Display ratings stats for apps
Bug #813346 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Apps Directory |
Fix Released
|
Undecided
|
Michael Nelson |
Bug Description
Splitting off from bug 788207. As a first step for that bug, we should be importing the review stats on a schedule, as that'll give us the ratings and historgram etc. for each app without requiring any ajax.
QA Notes:
1) If using the vps, or the cron is not setup, ask for `./manage.py import_
2) Verify that accessing a page such as: http://
Related branches
lp://staging/~michael.nelson/ubuntu-webcatalog/788207-include-ratings-stats
- Michael Foord (community): Approve
-
Diff: 517 lines (+319/-16)12 files modified.bzrignore (+1/-0)
django_project/config/main.cfg (+2/-0)
fabtasks/bootstrap.py (+6/-0)
new_file_template.py (+0/-9)
requirements.txt (+1/-0)
src/webcatalog/management/commands/import_app_install_data.py (+1/-1)
src/webcatalog/management/commands/import_ratings_stats.py (+98/-0)
src/webcatalog/migrations/0006_add_review_stats.py (+92/-0)
src/webcatalog/models/__init__.py (+3/-1)
src/webcatalog/models/applications.py (+15/-0)
src/webcatalog/schema.py (+4/-0)
src/webcatalog/tests/test_commands.py (+96/-5)
lp://staging/~michael.nelson/ubuntu-webcatalog/788207-add-ratings-stats-ui
- Canonical ISD hackers: Pending requested
-
Diff: 327 lines (+114/-22)10 files modifiedsrc/webcatalog/models/applications.py (+1/-1)
src/webcatalog/static/css/webcatalog.css (+14/-8)
src/webcatalog/templates/webcatalog/application_overview_snippet.html (+14/-6)
src/webcatalog/templates/webcatalog/department_overview.html (+2/-2)
src/webcatalog/templates/webcatalog/rating_summary.html (+9/-0)
src/webcatalog/templates/webcatalog/search_results.html (+2/-2)
src/webcatalog/templatetags/webcatalog.py (+23/-1)
src/webcatalog/tests/factory.py (+5/-2)
src/webcatalog/tests/test_templatetags.py (+16/-0)
src/webcatalog/tests/test_views.py (+28/-0)
lp://staging/~michael.nelson/ubuntu-webcatalog/8133346-depend-on-rnr-client
- Canonical ISD hackers: Pending requested
-
Diff: 61 lines (+18/-1)4 files modifieddebian/control (+2/-1)
src/webcatalog/static/css/webcatalog.css (+5/-0)
src/webcatalog/templates/webcatalog/application_detail.html (+1/-0)
src/webcatalog/tests/test_views.py (+10/-0)
tags: | added: kb-feature sp-1 |
tags: |
added: sp-2 removed: sp-1 |
description: | updated |
Changed in ubuntu-webcatalog: | |
status: | New → Fix Committed |
Changed in ubuntu-webcatalog: | |
assignee: | nobody → Michael Nelson (michael.nelson) |
Changed in ubuntu-webcatalog: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This isn't yet QA-able as we need to package rnrclient (similar to how we've done scaclient) and add it as a dependency to the webcatalog deb.