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

288 Коммитов

Автор SHA1 Сообщение Дата
Andy McKay 22ded2295c move to explicit signals (bug 821773) 2013-04-01 13:50:38 -07:00
Kris Maglione df890fd05e Bug 543047: Prevent editors from deleting reviews for their own add-ons:
• Prevents senior editors from deleting reviews on their own add-ons
 • Prevents all editors from deleting their own reviews from the editor tools
 • Displays flagged reviews for editors' own add-ons as disabled in the queues.
2012-12-17 13:28:48 -08:00
Rob Hudson 9cb42973bd Fixed race condition on addons and review tasks (bug 805286) 2012-11-26 16:38:30 -08:00
Matt Basta 20955f6a5f Use bleach for TLDs (bug 808895) 2012-11-06 13:09:39 -08:00
Matt Basta d939d3ca8a Better link regex for link detection (bug 785326)
This change does a few things:

1. Removes super slow regex code that matches exact hostnames
2. Relaxes regex to match patterns like 'example.tld'
3. Re-orders regex to try to match for protocols and IPs before
   more generic patterns.
4. Matches more protocols (we don't want `skype://` links either)

The primary change removes the strict structure of compliant
hostnames and replaces it with a pattern that will match anything
that looks *similar* to a hostname. This means things like
'foo.x.yz' will set it off, but that's probably suspicious enough
to warrant a flag anyway.

No unit tests should need to be updated, because this should have
roughly the same behavior as the existing implementation, sans the
headaches and heartbreaks.
2012-11-01 21:33:41 -07:00
Rob Hudson 24b35470c4 Added scores for moderating reviews (bug 805099) 2012-10-31 15:25:52 -07:00
Rob Hudson b684e69188 PEP8 cleanup from previous commit 2012-10-26 11:43:30 -07:00
Rob Hudson 34595c7114 Fixed denormalized review fields (bug 804998, 805286) 2012-10-26 11:43:30 -07:00
Rob Hudson 0c46fdef86 Reviews of packaged apps are tied to version (bug 777167) 2012-10-17 15:04:51 -07:00
Chris Van 164918b15d update add-on/app review counts when reviews are added/edited/deleted (bug 787162) 2012-10-15 13:41:54 -07:00
Tarek Ziade eb12e145fa Merge pull request #428 from tarekziade/bug-793985
Fixed addon_bayesian_rating (bug 793985)
2012-09-26 07:41:52 -07:00
Tarek Ziade efac8355e7 cosmetic 2012-09-23 15:26:37 +02:00
Tarek Ziade 2d201630e8 Fixed addon_bayesian_rating (bug 793985) 2012-09-23 12:12:47 +02:00
Tarek Ziade cfbc45704d Fixed 'NoneType' object has no attribute 'localized_string' (bug 793990) 2012-09-23 12:09:16 +02:00
Rob Hudson b2bcc2fccf Added 403 handlers (bug 584442) 2012-09-21 11:27:11 -07:00
Rob Hudson 513b51599f Fixed Django deprecation warning for urls imports 2012-09-07 17:00:53 -07:00
Andy McKay 054cd94a46 cleanup redirect 2012-08-30 16:51:57 -07:00
Allen Short 73df5393f8 Flag reviews containing URLs (bug 568458) 2012-08-30 14:53:58 -07:00
Chris Van cf4f5327bc use _lazy everywhere for form labels 2012-08-12 22:10:54 -07:00
Chris Van cfc50e509f use fake mail everywhere when SEND_REAL_EMAIL=False (bug 768916) 2012-07-20 13:20:59 -07:00
Kevin Ngo 24903c76b7 Revert "Revert "pass dl-src/user client data to install/contrib/ratings (bug
757266, 763697, 756660)"" and fix migration
2012-07-20 12:53:26 -07:00
Chris Van ae8ddce31d Revert "pass dl-src/user client data to install/contrib/ratings (bug 757266, 763697, 756660)"
This reverts commit a32b7c3c4d.
2012-07-20 01:58:44 -07:00
Kevin Ngo a32b7c3c4d pass dl-src/user client data to install/contrib/ratings (bug 757266, 763697, 756660) 2012-07-19 19:49:51 -07:00
Matt Basta 4a3b04e7b9 Don't put listing RSS feed on review detail page. (bug 582881) 2012-07-19 14:38:23 -07:00
Matt Basta ea727d9601 amo doesn't require ratings like marmo, so ignore them if they're None.
Fixes unstable tests.
2012-07-18 18:29:13 -07:00
Matt Basta 7b2d3e810d Update ratings and review counts on AMO, too 2012-07-18 17:53:10 -07:00
Wraithan (Chris McDonald) 3af2dabbcc safe_key is not needed for groupedratings 2012-07-18 16:34:48 -07:00
Wraithan (Chris McDonald) f67a5ea0c2 changed GroupedRating to properly repopulate 2012-07-18 16:28:16 -07:00
Matt Basta f1b25e2cb5 Reviews in mkt shouldn't create new reviews on edit (bug 769286) 2012-07-17 15:08:03 -07:00
Chris Van 6cec9535e2 fix AttributeError traceback upon saving new review: Spam.add (bug 771706) 2012-07-13 17:46:35 -07:00
Kevin Ngo 19242f0492 add rss feeds for ratings per app (bug 755925) 2012-07-13 15:04:17 -07:00
Chris Van a4b3203383 allow developers to reply to reviews - and add validation to review editing (bug 756656) 2012-07-03 17:04:22 -07:00
Wraithan (Chris McDonald) 2d62d91e41 reorder imports so they are alphabetized 2012-07-03 13:32:37 -07:00
Allen Short f0813d5cf5 replace redis with memcache for Spam/GroupedRating 2012-07-02 15:21:49 -07:00
Chris Van 711ee86837 fix fixture for AMO reviews 2012-06-14 17:12:08 -07:00
Chris Van dd4689b29b fix fixture for review tests (bug lame) 2012-06-14 16:15:13 -07:00
Chris Van c9329b75b4 allow reviews to be deleted (bug 763779) 2012-06-14 02:49:37 -07:00
Allen Short 18a7611706 Add flag for restricting users. (bug 753995) 2012-06-11 07:36:46 -05:00
Chris Van d4eecf585d make reviews listing page pretty for mobile 2012-06-11 12:06:31 -07:00
Gregory Koberger f2a8860850 Show add-on ratings and image on Google 2012-05-24 17:20:07 -07:00
Chris Van a605dd61e5 allow people to submit app ratings (bug 755567) 2012-05-18 13:18:00 -07:00
Chris Van f74b1e15d5 remove user review feed tests for marketplace 2012-05-02 12:30:06 -07:00
Rob Hudson 67ae54ddce Fixture cleanup in preparation for Django 1.4 upgrade. 2012-04-30 14:32:31 -07:00
Wil Clouser 78037c1dfb fix up some stragglers 2012-04-12 21:01:41 -07:00
Wil Clouser ebb8cf4dea remove users.(first|last|nick)name. migration in separate commit 2012-04-12 21:01:41 -07:00
Wil Clouser cc62cd6905 remove users.sandboxshown; migration in another commit 2012-04-12 21:01:41 -07:00
Rob Hudson 3caca10d89 Updated EditAnyAddon permission (bug 685382)
Admin:EditAnyAddon -> Addons:Edit
2012-03-19 16:26:32 -07:00
Rob Hudson 891957d536 Updated edit user permissions (bug 685382)
Admin:EditAnyUser -> Users:Edit

Currently not part of any group. The Admin "*:*" group is the only one
that will pass this check.
2012-03-19 14:56:23 -07:00
Rob Hudson f54b83305e Updated spam permission (bug 685382)
Admin:BattleSpam -> Spam:Flag

Currently this isn't added to any groups, and may change according to
bug 725370.
2012-03-19 14:44:48 -07:00
Chris Van 74adb68e15 move 'apps/webapps' app to 'mkt/webapps' (bug 733126) 2012-03-13 15:29:16 -07:00