Граф коммитов

288 Коммитов

Автор SHA1 Сообщение Дата
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