Matt Claypotch
5dc1cfe79f
impala details page stuff
2011-05-04 15:15:34 -07:00
Andy McKay
34fb2a9a2d
switch to quieter formset (bug 611198)
2011-04-08 12:24:35 -07:00
Kumar McMillan
2df20c6ac4
Removes addon nomination date from just the JSON fixtures (part of bug 638855)
2011-03-18 13:32:32 -05:00
Dave Dash
5102907771
bug 640261, add extra data to deletes
2011-03-14 20:54:23 -07:00
Matt Claypotch
05208a2ca7
Truncating lengthy reviews, and fixing yet another truncation bug (bug 637803)
2011-03-11 16:07:23 -08:00
Wil Clouser
664d26d1da
Rename poorly named has_perm to mysteriously unused but well named method
2011-03-02 10:53:41 -08:00
Matt Claypotch
12e94c7dac
Un-linking usernames in mobile reviews (bug 637785)
2011-03-01 15:39:07 -08:00
Gregory Koberger
482bcfa1d9
Lazy-ify strings
2011-02-28 15:57:43 -08:00
Gregory Koberger
21ecdbbec5
Make sure listed review flags have editorreview=1 (bug 634046)
2011-02-27 16:39:53 -08:00
Matt Claypotch
d220992b4d
Bug 632678, mobile reviews page
2011-02-17 18:56:21 -08:00
Jeff Balogh
4ecec95f18
mobile reviews page (bug 632677)
2011-02-15 17:03:24 -08:00
Gregory Koberger
80d747a308
Moderated Review Queue (bugs 622175, 622177)
2011-02-12 01:25:33 -08:00
Jeff Balogh
c90f4ac301
remove |safe from form usage (bug 627449)
2011-02-02 14:54:11 -08:00
Jeff Balogh
03f712f6e9
@task needs **kw (bug 627608)
2011-01-24 11:47:15 -08:00
Jeff Balogh
a06679092d
don't evaluate querysets until the request cycle (bug 625735)
2011-01-14 13:25:42 -08:00
Jeff Balogh
de6f4fad7d
hit caches better, fetch less data, do fewer queries
2011-01-13 14:23:34 -08:00
Jeff Balogh
53caf60843
check_addon_ownership has the wrong granularity; now we use has_perm
2011-01-04 16:28:48 -08:00
Jeff Balogh
e82acffcee
use id_or_slug for reviews feed
2010-12-27 12:38:15 -05:00
Jeff Balogh
e0c74cada3
making addon slugs work in urls (bug 620537)
2010-12-21 15:58:19 -08:00
Wil Clouser
bff6b74f30
Add some tests for messages. ain't no thing.
2010-12-16 12:00:59 -08:00
Jeff Balogh
0da3aed2bc
beware of lazy objects returning unexpected types
2010-12-15 09:17:42 -08:00
Chris Van
30ba276a28
Discovery Pane Details tweaks (bug 615403)
2010-12-09 16:50:12 -05:00
Jeff Balogh
b47e4575e5
block prelim addons from having contrib or beta (bug 612047)
2010-12-06 17:32:35 -08:00
Kumar McMillan
c644087cba
User-disabling an Add-on is more explicit now in the model (bug 616213)
...
Renamed addon.inactive to addon.disabled_by_user everywhere in the code.
2010-12-06 15:15:09 -06:00
chenba
0db45d8b38
Bug 539302: indicate that title is optional for an addon review
2010-11-16 14:57:43 -08:00
Dave Dash
4bb9602b67
ActivityLog items:
...
CREATE_ADDON
EDIT_PROPERTIES
EDIT_DESCRIPTIONS
EDIT_CONTRIBUTIONS
ADD_VERSION
EDIT_VERSION
DELETE_VERSION
TODO notes are in place for items that aren't logged.
2010-11-12 14:06:45 -08:00
Dave Dash
3c650b5a9f
Making average_rating a float.
2010-11-01 10:04:27 -07:00
Matt Basta
13286edcb5
don't 404 if there are no reviews (bug 584181)
2010-10-12 10:15:23 -07:00
Jeff Balogh
0c79c717df
moving to a new license schema for zamboni (bug 592548)
2010-10-06 19:05:30 -07:00
Jeff Balogh
8d6a57a45a
foreign key checks are now disabled when loading fixtures
2010-10-04 15:09:38 -07:00
Jeff Balogh
c5dff6fe98
devhub uploads (bug 586696 & 586700)
2010-09-23 17:08:04 -07:00
Gregory Koberger
b26583a530
Need spacing between title and input field while editing reviews (bug 597214)
2010-09-22 10:40:26 -07:00
Jeff Balogh
a9354cdfcd
use require_locale=False for review translations
2010-09-21 11:16:20 -07:00
Jeff Balogh
e127e5021d
turn the review flags into constants
2010-09-21 11:03:30 -07:00
Jeff Balogh
abdad564aa
match the old dirty remora flag names (bug 594206)
2010-09-21 10:34:44 -07:00
Matt Claypotch
0799c7121a
Bug 558208, whoa new popups
2010-09-16 12:16:03 -07:00
Jeff Balogh
968dcb5946
wait 10 minutes to avoid lag/cache issues (bug 594521)
2010-09-10 16:44:26 -07:00
Jeff Balogh
fb1f5259bf
UX fixes for spam page
2010-09-03 13:09:14 -07:00
Jeff Balogh
329df0944b
gd slave lag
2010-09-03 07:52:25 -07:00
Jeff Balogh
97cbff0a58
review.body was always null in prod (bug 593252)
2010-09-02 21:55:17 -07:00
Wil Clouser
104d92d5b2
Accept a title and body content for messages
2010-09-01 21:54:43 -07:00
Jeff Balogh
75eebbd464
use User.name instead of User.display_name (bug 591399)
2010-08-30 12:15:25 -07:00
Matt Claypotch
464d0dab23
agh fixing test
2010-08-27 17:10:35 -07:00
Matt Claypotch
e14b45691a
Adding a review redirects you back to the reviews list now
2010-08-27 16:46:14 -07:00
Jeff Balogh
189c3975bb
the war on review spam (bug 537105)
2010-08-27 10:59:22 -07:00
Wil Clouser
5ab33ad7dc
Add jetpack filter; bug 580827
2010-08-25 15:02:45 -07:00
Matt Claypotch
89003d2547
Bug 590697, fixed optional text next to reply label
2010-08-25 14:03:02 -07:00
Matt Claypotch
819a52b383
Inline edit tweaks
2010-08-23 18:25:40 -07:00
Matt Claypotch
9fac297667
Bug 583103, edit reviews inline- ooooo
2010-08-23 18:04:31 -07:00
Jeff Balogh
b832f8deb3
more precise review wording (bug 583400)
2010-08-23 14:34:18 -07:00
Matt Claypotch
62ac6542fb
Bug 588173, added space for review messaging
2010-08-23 00:38:16 -07:00
Jeff Balogh
d4f61cf0f5
link to dev replies from the detail page (bug 453128)
2010-08-20 16:05:42 -07:00
Jeff Balogh
22d46d5bcb
more user.username
2010-08-19 15:12:26 -07:00
Jeff Balogh
bf7e85c3af
bringing ratings back to personas (bug 571917)
...
* Revert "removing rating sorts from personas (bug 568096)"
This reverts commit 1901766fd1
.
* Revert "removing ratings from personas detail pages (bug 568096)"
This reverts commit a8e9572885
.
* Revert "hiding ratings on personas (bug 568096)"
This reverts commit 69cb0692f9
.
2010-08-18 18:41:50 -07:00
Matt Claypotch
bbdd2cf60e
Edit collections pages
2010-08-18 11:39:05 -07:00
Wil Clouser
d96b6ceaa7
Migrate to use new user fields
2010-08-18 09:02:43 -07:00
Wil Clouser
3190a8dec4
Adding flush_urls to models
2010-08-16 12:13:18 -07:00
Jeff Balogh
459fe4f45d
use Translation objects in the tests
2010-08-05 15:47:21 -07:00
Jeff Balogh
514717a321
make sure the reviews feed handles unicode
2010-08-05 15:27:04 -07:00
Jeff Balogh
7dad884bcc
only count the latest ratings
2010-08-05 10:06:38 -07:00
Jeff Balogh
a871f55600
play me some more of that numberfmt
2010-08-02 18:45:19 -07:00
Jeff Balogh
fbc0f6d90f
breadcrumbs on the reply page (bug 583879)
2010-08-02 18:45:03 -07:00
Jeff Balogh
b4324abe12
switch to our custom Task class, handle rabbit downtime (bug 583314)
2010-08-02 15:58:18 -07:00
Jeff Balogh
0b4e569b58
raise a 404 if the page has no reviews (bug 583854)
2010-08-02 15:34:50 -07:00
Jeff Balogh
a8c292adcf
use the remora name for the other flag (bug 583870)
2010-08-02 15:34:50 -07:00
Jeff Balogh
3ac9c6844b
more slave lag avoidance (bug 583367)
2010-08-02 11:37:42 -07:00
Jeff Balogh
1dad49dbfc
pass around using to avoid slave lag
2010-07-30 18:06:33 -07:00
Jeff Balogh
54bafd3234
avoid slave lag since we call update after a write (bug 583367)
2010-07-30 17:07:56 -07:00
Jeff Balogh
6fde55b9f4
only count the latest reviews for public display (bug 583343)
2010-07-30 16:46:21 -07:00
Jeff Balogh
2a97e379ce
include grouped ratings in addon_review_aggregates
2010-07-30 16:19:42 -07:00
Jeff Balogh
c1ebf781f9
use /login?to= instead of next= (bug 583117)
...
Bonus: login_required plays nice with HTTP if you like that.
2010-07-30 13:32:29 -07:00
Matt Claypotch
af05efd987
Bug 578227, review forms are hella pretty now!
2010-07-30 13:01:21 -07:00
Jeff Balogh
37346be070
don't allow duplicate replies (bug 582883)
2010-07-29 15:27:02 -07:00
Jeff Balogh
335db350df
if we get a double reply, treat it as an edit (bug 582883)
2010-07-29 15:27:02 -07:00
Jeff Balogh
f4dd63e32b
ajax review editing + testing
2010-07-29 15:26:57 -07:00
Matt Claypotch
f0277ba561
Bug 576648, styled grouped ratings
2010-07-28 17:53:30 -07:00
Jeff Balogh
6d4a5f3dc2
allow posting reviews and replies (bug 557879)
2010-07-28 17:51:04 -07:00
Jeff Balogh
02f92c9f4a
Addon.objects.valid_q returns a Q object for finding valid add-ons
2010-07-28 17:26:51 -07:00
Wil Clouser
a77196e59b
Invalidate the front end cache when we save objects
2010-07-26 13:11:43 -07:00
Sam Keen
5494b1278d
slight workaround for feed <link>'s generation till Django bug fixed (bug 581170)
2010-07-23 08:26:15 -07:00
Sam Keen
b07b5877b9
Migrate reviews' RSS view to zamboni (bug 577345
2010-07-22 11:44:45 -07:00
Jeff Balogh
3cda8f135c
cronjob for calculating grouped ratings
2010-07-02 15:01:17 -07:00
Jeff Balogh
6019803fb9
reviews can be deleted
2010-07-02 13:29:18 -07:00
Wil Clouser
1174353341
Use average_rating for the star widget; bug 575992
2010-07-01 14:31:42 -07:00
Matt Claypotch
b9036c4013
Bug 571923, bringing the pretty to reviews
2010-06-30 16:52:16 -07:00
Jeff Balogh
8e745c233b
show indicators that a review is flagged
2010-06-30 09:27:25 -07:00
Jeff Balogh
371c1d26d7
enabling ajax review flagging
2010-06-30 09:01:51 -07:00
Jeff Balogh
5836e39a9d
make sure stars don't go over 5 (bug 574520)
2010-06-25 14:32:52 -07:00
Jeff Balogh
de9ec8e64f
update aggregates when all reviews are deleted (bug 570617)
2010-06-24 18:22:35 -07:00
Jeff Balogh
6ec442dc5a
fix inflated ratings (bug 574520)
2010-06-24 18:22:35 -07:00
Jeff Balogh
b8966a046f
count pending as an unreviewed status (bug 574241)
2010-06-24 09:22:48 -07:00
Jeff Balogh
c8ae516f4e
bring user reviews to zamboni (bug 557879)
2010-06-23 15:02:40 -07:00
Jeff Balogh
2c4525a7bf
tasks for updating aggregate ratings and total reviews on add-ons
2010-06-23 15:02:40 -07:00
Jeff Balogh
f549268540
a transformer for reviews
2010-06-23 15:02:40 -07:00
Jeff Balogh
4dadc1d980
denormalize reviews.is_latest and reviews.prev_count for easy queries
2010-06-23 15:02:37 -07:00
Jeff Balogh
5bcfae3945
make reviews.version optional, attach an addon id
2010-06-23 14:59:38 -07:00
Sam Keen
a1a1345a08
bug 572509 doubled up 'Not yet rated'
2010-06-18 13:06:41 -07:00
Sam Keen
f109aea432
bug 565493 minor tweakes for QA feedback + fix to stars helper
2010-06-16 08:50:56 -07:00
Jeff Balogh
d27dbd976f
add the locale to objects with translations for uniqueness
...
Since cache machine doesn't add the locale to all queries anymore, we need
to manually ensure that objects aren't shared across locales.
2010-06-02 18:22:45 -07:00
Wil Clouser
4893c5bedd
Show "Not yet rated" instead of "0 reviews"; bug 568117
2010-05-26 07:54:45 -07:00
Jeff Balogh
556c175008
fixing stars test broken in 2d882b7b
2010-05-14 11:07:41 -07:00
Jeff Balogh
2d882b7bad
you got microdata in my html5 [review-aggregate] (bug 563344)
2010-05-14 09:44:42 -07:00
Fred Wenzel
db5afb8445
Clean up URL prefixers for each test (bug 560541).
2010-04-22 10:49:01 +02:00
Jeff Balogh
902483e94f
fix review wrapping on add-on listings
2010-04-16 11:42:13 -07:00
Jeff Balogh
f729c7868c
queryset transform!
2010-04-14 17:23:29 -07:00
Wil Clouser
6f6720ebc0
Migrate from the l10n lib to Tower; bug 557339
2010-04-14 14:40:39 -07:00
Fred Wenzel
6b6e53ddda
Do not include developer replies in user review lists (bug 555859)
2010-03-31 09:59:08 +02:00
Jeff Balogh
4f77c146f4
move reviews_link to a template
2010-03-04 18:29:57 -08:00
Fred Wenzel
7760b249f2
implemented built-in licenses as well as custom licenses; todo: built-in license texts
2010-03-02 09:27:43 +01:00
Dave Dash
6487ef7d22
Merge branch 'absolut'
2010-02-26 11:24:37 -08:00
Dave Dash
69db7f68e5
Renamed get_absolute_url to get_url_path, but also assigned it in order to maintain compatibility with django.contrib apps.
2010-02-26 10:41:49 -08:00
Fred Wenzel
e74b75be50
sort reviews by creation date, descending, by default
2010-02-26 18:53:01 +01:00
Wil Clouser
e220a4b999
Use the new activate() to pull in the AMO .mo files and use the new _() everywhere else
2010-02-22 13:49:15 -08:00
Fred Wenzel
c5c7ea4df6
reviews_link helper and test
2010-02-13 12:30:22 +01:00
Fred Wenzel
4394b544ab
fixed some related_names
2010-02-13 12:30:22 +01:00
Jeff Balogh
8c2a7fd5d4
remove License.rating from the fixtures
2010-02-11 10:16:19 -08:00
Dave Dash
0d683a977c
Renamed Addon fields to have underscores. Added methods to Addon, File and Version.
2010-02-03 15:57:37 -08:00
Jeff Balogh
4f172d192f
better related names
2010-02-01 15:08:25 -08:00
Jeff Balogh
5e3052ddbe
import amo.models to avoid circular imports, move constants to __init__
2010-01-28 19:00:22 -08:00
Jeff Balogh
60c9111e9a
move paginate to utils
2010-01-28 18:38:00 -08:00
Jeff Balogh
346d2fe323
reviews want categories on the side; move the navigation into an inline macro
2010-01-28 13:21:35 -08:00
Jeff Balogh
d65a3d203f
making the freaking paginator work properly
2010-01-28 13:15:19 -08:00
Jeff Balogh
3f5bd655ce
start with pretty urls
2010-01-27 12:29:10 -08:00
Jeff Balogh
72bd61a62a
add the AddonUser intermediate model
2010-01-14 18:00:30 -08:00
Dave Dash
d2cd2a458a
Fixed pep8
2010-01-14 11:37:52 -08:00
Wil Clouser
53aecfed27
Update reviews model for new added field in 5.5
2010-01-14 11:29:58 -08:00
Jeff Balogh
492b003688
Version.reply_to maps to versions.reply_to
2010-01-11 13:26:25 -08:00
Dave Dash
5f5c3c881e
Cake-cookie based authentication
...
* Wrote a test to see if we can log in using a cake session.
* Middleware can read cookie
* Wrote an authenticator backend that reads the session data from the db
* Rewrote users.User as users.UserProfile and linked it to d.c.a.User and included migrations
* Got templates to work, and wrote a test to validate things
* logout
* Signals! We can now log a user out using the logout view, send a signal, and have it intercepted by the Cake app which will destroy its session and attempt to destroy the relevent cookies.
* Updated models to use UserProfile
* added media/js as a submodule
* Prettied up the html so the remora JS works
2010-01-08 10:20:00 -08:00
Wil Clouser
caa7962bf0
Update tests for new models, r=jbalogh
2009-12-31 10:22:23 -08:00
Wil Clouser
1193a37b96
Flesh out reviews/versions models
2009-12-30 16:57:36 -08:00
Jeff Balogh
09c060578c
fetch_translations is public, since it's meant to be overridden
...
Moving the implementation to a function so it can be reused (slightly modified)
for addons and collections.
2009-12-29 20:54:24 -05:00
Jeff Balogh
6be4d28e02
reviews have weird translation rules since they're in the user's lang
2009-12-22 23:31:36 -05:00
Jeff Balogh
5ea64d5275
omit the header if there's no title
2009-12-17 18:32:59 -08:00
Jeff Balogh
8aa4133e61
less bugs for the stars filter
2009-12-17 17:36:01 -08:00
Jeff Balogh
a2bbf57e8f
use TranslatedField and ModelBase
2009-12-15 10:22:26 -08:00
Jeff Balogh
51ac2311b7
moving templatetags/__init__.py to helpers.py
2009-12-04 15:14:15 -08:00
Jeff Balogh
87a006d00f
review_list view
2009-10-23 10:29:54 -07:00
Jeff Balogh
101669fc69
reviews app
2009-10-22 15:40:13 -07:00