Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

50 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Andy McKay 1e3ab487ac cope with missing review 2012-03-08 10:28:59 -08:00
Chris Van c3ffe47bb1 allow user reviews for apps (bug 691623) 2011-11-03 21:41:51 -07:00
Jeff Balogh a36f189e2b add a transform for Review.user for 60 fewer queries 2011-08-19 14:24:05 -07:00
Jeff Balogh eb5ae54d76 don't run signals during fixture setup 2011-07-29 15:59:03 -07:00
Jeff Balogh cec4ee0f16 more test fixes 2011-07-29 14:39:01 -07:00
Jeff Balogh ac3d7ddd84 failures here are no big thing 2011-07-01 20:16:57 -07:00
Jeff Balogh 0ff1ba83e4 use redis for grouped ratings (bug 667610) 2011-06-30 11:12:50 -07:00
Jeff Balogh 458cc25502 simplify and index review queries (bug 667951) 2011-06-29 16:46:31 -07:00
Jeff Balogh 03f712f6e9 @task needs **kw (bug 627608) 2011-01-24 11:47:15 -08:00
Jeff Balogh de6f4fad7d hit caches better, fetch less data, do fewer queries 2011-01-13 14:23:34 -08:00
Jeff Balogh 0da3aed2bc beware of lazy objects returning unexpected types 2010-12-15 09:17:42 -08:00
Jeff Balogh c5dff6fe98 devhub uploads (bug 586696 & 586700) 2010-09-23 17:08:04 -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
Jeff Balogh 968dcb5946 wait 10 minutes to avoid lag/cache issues (bug 594521) 2010-09-10 16:44:26 -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
Jeff Balogh 189c3975bb the war on review spam (bug 537105) 2010-08-27 10:59:22 -07:00
Jeff Balogh d4f61cf0f5 link to dev replies from the detail page (bug 453128) 2010-08-20 16:05:42 -07:00
Wil Clouser 3190a8dec4 Adding flush_urls to models 2010-08-16 12:13:18 -07:00
Jeff Balogh 7dad884bcc only count the latest ratings 2010-08-05 10:06:38 -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 6fde55b9f4 only count the latest reviews for public display (bug 583343) 2010-07-30 16:46:21 -07:00
Jeff Balogh 6d4a5f3dc2 allow posting reviews and replies (bug 557879) 2010-07-28 17:51:04 -07:00
Wil Clouser a77196e59b Invalidate the front end cache when we save objects 2010-07-26 13:11:43 -07:00
Jeff Balogh 3cda8f135c cronjob for calculating grouped ratings 2010-07-02 15:01:17 -07:00
Jeff Balogh 371c1d26d7 enabling ajax review flagging 2010-06-30 09:01:51 -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
Jeff Balogh f729c7868c queryset transform! 2010-04-14 17:23:29 -07:00
Fred Wenzel 6b6e53ddda Do not include developer replies in user review lists (bug 555859) 2010-03-31 09:59:08 +02:00
Fred Wenzel e74b75be50 sort reviews by creation date, descending, by default 2010-02-26 18:53:01 +01:00
Fred Wenzel 4394b544ab fixed some related_names 2010-02-13 12:30:22 +01: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
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 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 a2bbf57e8f use TranslatedField and ModelBase 2009-12-15 10:22:26 -08:00
Jeff Balogh 101669fc69 reviews app 2009-10-22 15:40:13 -07:00