Add jetpack filter; bug 580827
This commit is contained in:
Родитель
54a596fde1
Коммит
5ab33ad7dc
|
@ -114,6 +114,7 @@
|
|||
"pk": 53612,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:b2097453fca95fc7d7622164483902abf2e24e2cebdbb8a240e4b0ed05769f5a",
|
||||
|
@ -143,6 +144,7 @@
|
|||
"pk": 120,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:b2097453fca95fc7d7622164483902abf2e24e2cebdbb8a240e4b0ed05769f5a",
|
||||
|
|
|
@ -234,6 +234,7 @@
|
|||
"pk": 1001,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:5b5a",
|
||||
|
@ -250,6 +251,7 @@
|
|||
"pk": 1003,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:5b5a",
|
||||
|
|
|
@ -267,6 +267,7 @@
|
|||
"pk": 81916,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 2,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:df13359ca5c2b1521e15c594004099ebec7e1f4fb6eab6f9fcdc7109ec450ba0",
|
||||
|
@ -283,6 +284,7 @@
|
|||
"pk": 64865,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:c3fb1f07de8ec59fcc1c32166d9f6d6c7a175cfc0746aea9d3a6c4dbab80e486",
|
||||
|
@ -299,6 +301,7 @@
|
|||
"pk": 64864,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:25bbaa768fcb9c2c1a2c09e25d8d4432cc10586a06fe863a14295e08ce41c26d",
|
||||
|
|
|
@ -247,6 +247,7 @@
|
|||
"pk": 11993,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:5b5aaf7b38e332cc95d92ba759c01c3076b53a840f6c16e01dc272eefcb29566",
|
||||
|
@ -285,6 +286,7 @@
|
|||
"pk": 2,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:5b5aaf7b38e332cc95d92ba759c01c3076b53a840f6c16e01dc272eefcb29566",
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
"pk": 53612,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:b2097453fca95fc7d7622164483902abf2e24e2cebdbb8a240e4b0ed05769f5a",
|
||||
|
@ -156,6 +157,7 @@
|
|||
"pk": 120,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:b2097453fca95fc7d7622164483902abf2e24e2cebdbb8a240e4b0ed05769f5a",
|
||||
|
|
|
@ -232,6 +232,7 @@
|
|||
"pk": 67442,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:3808b13ef8341378b9c8305ca648200954ee7dcd8dce09fef55f2673458bc31f",
|
||||
|
|
|
@ -139,6 +139,7 @@
|
|||
"pk": 197,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:f6e0881af426279e7f56fe451057d708cac5f21b44afde980bad81f8a2e0c2cb",
|
||||
|
|
|
@ -176,6 +176,7 @@
|
|||
"pk": 25753,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:16eecc419987b5c7ed49e4638224f1699c6161890ef2bd292e169e0111054493",
|
||||
|
|
|
@ -218,6 +218,7 @@
|
|||
"pk": 87504,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:e70fbb49f3c420de78802e126877daa0351c5bcc6cb27a62310bb1278023fb3e",
|
||||
|
|
|
@ -197,6 +197,7 @@
|
|||
"pk": 33046,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:114091778b4a4e3991e010ff07921eddd65139ff2f29e83b5a14140f2ca37d22",
|
||||
|
@ -211,6 +212,7 @@
|
|||
},
|
||||
{
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 7,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:4395f9cf4934ecc8f22d367c2a301fd79613b68937c59e676e92e4f0a89a5b92",
|
||||
|
|
|
@ -185,6 +185,7 @@
|
|||
"pk": 81898,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:7234276dc6778efce3bf171f41bf942f0764ff7dfdf98048b1c311949e1c535c",
|
||||
|
|
|
@ -196,6 +196,7 @@
|
|||
"pk": 74797,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:4c452bdd6cbcb3bfe5dab263a0d0523acaac8fc1ee0dcab964f7885086b9705f",
|
||||
|
|
|
@ -1,260 +1,261 @@
|
|||
[
|
||||
{
|
||||
"pk": 67984,
|
||||
"model": "translations.translation",
|
||||
"pk": 67984,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "Extensions are small add-ons that add new functionality to %1$s, from a simple toolbar button to a completely new feature. They allow you to customize %1$s to fit your own needs and preferences, while letting us keep %1$s itself light and lean.",
|
||||
"created": "2007-03-22 20:51:22",
|
||||
"locale": "en-US",
|
||||
"modified": "2007-03-26 20:06:20",
|
||||
"id": 39111,
|
||||
"localized_string": "Extensions are small add-ons that add new functionality to %1$s, from a simple toolbar button to a completely new feature. They allow you to customize %1$s to fit your own needs and preferences, while letting us keep %1$s itself light and lean.",
|
||||
"created": "2007-03-22 20:51:22",
|
||||
"locale": "en-US",
|
||||
"modified": "2007-03-26 20:06:20",
|
||||
"id": 39111,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 68015,
|
||||
"model": "translations.translation",
|
||||
"pk": 68015,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "Extensions",
|
||||
"created": "2007-03-22 21:16:47",
|
||||
"locale": "en-US",
|
||||
"modified": "2007-03-26 20:06:20",
|
||||
"id": 39112,
|
||||
"localized_string": "Extensions",
|
||||
"created": "2007-03-22 21:16:47",
|
||||
"locale": "en-US",
|
||||
"modified": "2007-03-26 20:06:20",
|
||||
"id": 39112,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 67951,
|
||||
"model": "translations.translation",
|
||||
"pk": 67951,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "Extension",
|
||||
"created": "2007-03-22 20:51:22",
|
||||
"locale": "en-US",
|
||||
"modified": "2007-03-26 20:06:20",
|
||||
"id": 39109,
|
||||
"localized_string": "Extension",
|
||||
"created": "2007-03-22 20:51:22",
|
||||
"locale": "en-US",
|
||||
"modified": "2007-03-26 20:06:20",
|
||||
"id": 39109,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 578047,
|
||||
"model": "translations.translation",
|
||||
"pk": 578047,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "The to-do list at chrispederick.com lists the features I plan on adding in future releases.",
|
||||
"created": "2009-08-25 15:36:41",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 535182,
|
||||
"localized_string": "The to-do list at chrispederick.com lists the features I plan on adding in future releases.",
|
||||
"created": "2009-08-25 15:36:41",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 535182,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 578046,
|
||||
"model": "translations.translation",
|
||||
"pk": 578046,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "I wrote this extension to bypass sites that block Firefox even though they work perfectly under Firefox. Fortunately this is less of an issue than it used to be, but it can still be a problem and there are other reasons that people have found to use the extension.",
|
||||
"created": "2009-08-25 15:36:41",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 535181,
|
||||
"localized_string": "I wrote this extension to bypass sites that block Firefox even though they work perfectly under Firefox. Fortunately this is less of an issue than it used to be, but it can still be a problem and there are other reasons that people have found to use the extension.",
|
||||
"created": "2009-08-25 15:36:41",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 535181,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 4375,
|
||||
"model": "translations.translation",
|
||||
"pk": 4375,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "<strong>I DO NOT FOLLOW THE COMMENTS ON THIS SITE. IF YOU HAVE ANY QUESTIONS ABOUT OR ISSUES WITH THE EXTENSION PLEASE VISIT THE USER AGENT SWITCHER SITE:</strong>\r\n\r\n<a href=\"http://chrispederick.com/work/user-agent-switcher/\">http://chrispederick.com/work/user-agent-switcher/</a>",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2009-12-17 12:48:54",
|
||||
"id": 1363,
|
||||
"localized_string": "<strong>I DO NOT FOLLOW THE COMMENTS ON THIS SITE. IF YOU HAVE ANY QUESTIONS ABOUT OR ISSUES WITH THE EXTENSION PLEASE VISIT THE USER AGENT SWITCHER SITE:</strong>\r\n\r\n<a href=\"http://chrispederick.com/work/user-agent-switcher/\">http://chrispederick.com/work/user-agent-switcher/</a>",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2009-12-17 12:48:54",
|
||||
"id": 1363,
|
||||
"localized_string_clean": "<strong>I DO NOT FOLLOW THE COMMENTS ON THIS SITE. IF YOU HAVE ANY QUESTIONS ABOUT OR ISSUES WITH THE EXTENSION PLEASE VISIT THE USER AGENT SWITCHER SITE:</strong>\n\n<a href=\"http://outgoing.mozilla.org/v1/417944ff61ebbc8ace1b1d865a2fd2dc8822584e/http%3A//chrispederick.com/work/user-agent-switcher/\">http://chrispederick.com/work/user-agent-switcher/</a>"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 4378,
|
||||
"model": "translations.translation",
|
||||
"pk": 4378,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of the browser.",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2009-06-20 10:11:51",
|
||||
"id": 1364,
|
||||
"localized_string": "The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of the browser.",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2009-06-20 10:11:51",
|
||||
"id": 1364,
|
||||
"localized_string_clean": "The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of the browser."
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 4368,
|
||||
"model": "translations.translation",
|
||||
"pk": 4368,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of the browser.",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2009-06-20 10:11:52",
|
||||
"id": 1362,
|
||||
"localized_string": "The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of the browser.",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2009-06-20 10:11:52",
|
||||
"id": 1362,
|
||||
"localized_string_clean": "The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of the browser."
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 144828,
|
||||
"model": "translations.translation",
|
||||
"pk": 144828,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "http://chrispederick.com/work/user-agent-switcher/help/",
|
||||
"created": "2008-03-27 10:07:46",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 109313,
|
||||
"localized_string": "http://chrispederick.com/work/user-agent-switcher/help/",
|
||||
"created": "2008-03-27 10:07:46",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 109313,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 4359,
|
||||
"model": "translations.translation",
|
||||
"pk": 4359,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "http://chrispederick.com/work/user-agent-switcher/",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2008-03-27 10:07:46",
|
||||
"id": 1361,
|
||||
"localized_string": "http://chrispederick.com/work/user-agent-switcher/",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2008-03-27 10:07:46",
|
||||
"id": 1361,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "addons.addontype",
|
||||
"pk": 1,
|
||||
"model": "addons.addontype",
|
||||
"fields": {
|
||||
"name": 39109,
|
||||
"created": "2006-08-21 23:53:19",
|
||||
"description": 39111,
|
||||
"modified": "2009-02-06 08:42:28",
|
||||
"name": 39109,
|
||||
"created": "2006-08-21 23:53:19",
|
||||
"description": 39111,
|
||||
"modified": "2009-02-06 08:42:28",
|
||||
"name_plural": 39112
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 4350,
|
||||
"model": "translations.translation",
|
||||
"pk": 4350,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "User Agent Switcher",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2008-03-27 10:07:46",
|
||||
"id": 1360,
|
||||
"localized_string": "User Agent Switcher",
|
||||
"created": "2007-03-05 13:10:18",
|
||||
"locale": "en-US",
|
||||
"modified": "2008-03-27 10:07:46",
|
||||
"id": 1360,
|
||||
"localized_string_clean": null
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 491878,
|
||||
"model": "translations.translation",
|
||||
"pk": 491878,
|
||||
"model": "translations.translation",
|
||||
"fields": {
|
||||
"localized_string": "Fixed bugs:\r\n - User agents in nested folders did not import correctly\r\n",
|
||||
"created": "2009-06-30 19:49:11",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 451057,
|
||||
"localized_string": "Fixed bugs:\r\n - User agents in nested folders did not import correctly\r\n",
|
||||
"created": "2009-06-30 19:49:11",
|
||||
"locale": "en-US",
|
||||
"modified": null,
|
||||
"id": 451057,
|
||||
"localized_string_clean": "Fixed bugs:\n - User agents in nested folders did not import correctly\n"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 6,
|
||||
"model": "versions.license",
|
||||
"pk": 6,
|
||||
"model": "versions.license",
|
||||
"fields": {
|
||||
"_custom_text": null,
|
||||
"_name_field": 2,
|
||||
"modified": "2009-04-30 23:48:48",
|
||||
"_custom_text": null,
|
||||
"_name_field": 2,
|
||||
"modified": "2009-04-30 23:48:48",
|
||||
"created": "2009-04-30 23:48:48"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 59,
|
||||
"model": "addons.addon",
|
||||
"pk": 59,
|
||||
"model": "addons.addon",
|
||||
"fields": {
|
||||
"dev_agreement": 1,
|
||||
"eula": null,
|
||||
"last_updated": "2009-06-30 19:48:42",
|
||||
"view_source": 1,
|
||||
"enable_thankyou": 0,
|
||||
"total_downloads": 5333900,
|
||||
"developer_comments": 1363,
|
||||
"inactive": 0,
|
||||
"average_daily_downloads": 5476,
|
||||
"show_beta": 1,
|
||||
"guid": "{e968fc70-8f95-4ab9-9e79-304de2a71ee1}",
|
||||
"trusted": 1,
|
||||
"locale_disambiguation": null,
|
||||
"binary": 0,
|
||||
"the_future": 535182,
|
||||
"weekly_downloads": 36381,
|
||||
"support_url": 109313,
|
||||
"paypal_id": "paypal@chrispederick.com",
|
||||
"average_rating": "4.06",
|
||||
"wants_contributions": 1,
|
||||
"average_daily_users": 378630,
|
||||
"bayesian_rating": 4.0575599999999996,
|
||||
"share_count": 1,
|
||||
"get_satisfaction_company": null,
|
||||
"homepage": 1361,
|
||||
"support_email": null,
|
||||
"public_stats": 1,
|
||||
"status": 4,
|
||||
"privacy_policy": null,
|
||||
"description": 1362,
|
||||
"default_locale": "en-US",
|
||||
"target_locale": null,
|
||||
"prerelease": 0,
|
||||
"thankyou_note": null,
|
||||
"admin_review": 0,
|
||||
"external_software": 0,
|
||||
"highest_status": 4,
|
||||
"get_satisfaction_product": null,
|
||||
"name": 1360,
|
||||
"created": "2004-06-12 03:32:36",
|
||||
"type": 1,
|
||||
"icon_type": "image/png",
|
||||
"annoying": 1,
|
||||
"modified": "2009-09-11 11:55:52",
|
||||
"summary": 1364,
|
||||
"suggested_amount": "1.99",
|
||||
"site_specific": 0,
|
||||
"total_reviews": 118,
|
||||
"the_reason": 535181,
|
||||
"dev_agreement": 1,
|
||||
"eula": null,
|
||||
"last_updated": "2009-06-30 19:48:42",
|
||||
"view_source": 1,
|
||||
"enable_thankyou": 0,
|
||||
"total_downloads": 5333900,
|
||||
"developer_comments": 1363,
|
||||
"inactive": 0,
|
||||
"average_daily_downloads": 5476,
|
||||
"show_beta": 1,
|
||||
"guid": "{e968fc70-8f95-4ab9-9e79-304de2a71ee1}",
|
||||
"trusted": 1,
|
||||
"locale_disambiguation": null,
|
||||
"binary": 0,
|
||||
"the_future": 535182,
|
||||
"weekly_downloads": 36381,
|
||||
"support_url": 109313,
|
||||
"paypal_id": "paypal@chrispederick.com",
|
||||
"average_rating": "4.06",
|
||||
"wants_contributions": 1,
|
||||
"average_daily_users": 378630,
|
||||
"bayesian_rating": 4.0575599999999996,
|
||||
"share_count": 1,
|
||||
"get_satisfaction_company": null,
|
||||
"homepage": 1361,
|
||||
"support_email": null,
|
||||
"public_stats": 1,
|
||||
"status": 4,
|
||||
"privacy_policy": null,
|
||||
"description": 1362,
|
||||
"default_locale": "en-US",
|
||||
"target_locale": null,
|
||||
"prerelease": 0,
|
||||
"thankyou_note": null,
|
||||
"admin_review": 0,
|
||||
"external_software": 0,
|
||||
"highest_status": 4,
|
||||
"get_satisfaction_product": null,
|
||||
"name": 1360,
|
||||
"created": "2004-06-12 03:32:36",
|
||||
"type": 1,
|
||||
"icon_type": "image/png",
|
||||
"annoying": 1,
|
||||
"modified": "2009-09-11 11:55:52",
|
||||
"summary": 1364,
|
||||
"suggested_amount": "1.99",
|
||||
"site_specific": 0,
|
||||
"total_reviews": 118,
|
||||
"the_reason": 535181,
|
||||
"nomination_date": "2008-03-27 10:11:14"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 71752,
|
||||
"model": "versions.version",
|
||||
"pk": 71752,
|
||||
"model": "versions.version",
|
||||
"fields": {
|
||||
"license": 6,
|
||||
"created": "2009-06-30 19:48:43",
|
||||
"releasenotes": 451057,
|
||||
"modified": "2009-12-17 12:40:26",
|
||||
"approvalnotes": "",
|
||||
"version": "0.7.2",
|
||||
"license": 6,
|
||||
"created": "2009-06-30 19:48:43",
|
||||
"releasenotes": 451057,
|
||||
"modified": "2009-12-17 12:40:26",
|
||||
"approvalnotes": "",
|
||||
"version": "0.7.2",
|
||||
"addon": 59
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 1,
|
||||
"model": "files.platform",
|
||||
"pk": 1,
|
||||
"model": "files.platform",
|
||||
"fields": {
|
||||
"icontype": "",
|
||||
"modified": "2008-04-07 08:16:55",
|
||||
"icontype": "",
|
||||
"modified": "2008-04-07 08:16:55",
|
||||
"created": "2007-03-05 13:09:27"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": 56975,
|
||||
"model": "files.file",
|
||||
"pk": 56975,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:a9f2f2fc99bbd41e571125ec66d14eb7c49fca5c7950c33b00b32f31bf154bce",
|
||||
"created": "2009-06-30 19:48:43",
|
||||
"modified": "2009-12-17 12:40:25",
|
||||
"filename": "user_agent_switcher-0.7.2-fx+sm.xpi",
|
||||
"platform": 1,
|
||||
"version": 71752,
|
||||
"size": 38,
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:a9f2f2fc99bbd41e571125ec66d14eb7c49fca5c7950c33b00b32f31bf154bce",
|
||||
"created": "2009-06-30 19:48:43",
|
||||
"modified": "2009-12-17 12:40:25",
|
||||
"filename": "user_agent_switcher-0.7.2-fx+sm.xpi",
|
||||
"platform": 1,
|
||||
"version": 71752,
|
||||
"size": 38,
|
||||
"datestatuschanged": "2009-06-30 19:48:42"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -233,6 +233,7 @@
|
|||
"pk": 87384,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:a63f38907f40fcea0d906f7059a88a65f293e02c24fc17362882bc0660bab64b",
|
||||
|
|
|
@ -151,6 +151,7 @@
|
|||
"pk": 78646,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:1448693a47f9447d921cde84f1270eaa3ecb726a237f9ac72db94d39c2eb576f",
|
||||
|
|
|
@ -149,6 +149,7 @@
|
|||
"pk": 78447,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": false,
|
||||
"hash": "sha256:f058aa643525660f4627779743812b00b9f4455160eba2711a3389efb537bfb1",
|
||||
|
|
|
@ -262,6 +262,7 @@
|
|||
"pk": 71943,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:fa8934ccfacc78cd35944ae1a1fd0b398f5644698e2f362358c711726e81737e",
|
||||
|
|
|
@ -1078,6 +1078,7 @@
|
|||
"pk": 75708,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:f153612e10edab9f14267909f4aaa179ce368d47c128a1d3090d7bb4ff44c153",
|
||||
|
@ -1094,6 +1095,7 @@
|
|||
"pk": 75488,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:63296bbbc92c47c53052459c14a4b60b77bb31e0b85ebab2e0e3e68c5afe3369",
|
||||
|
@ -1110,6 +1112,7 @@
|
|||
"pk": 73703,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:a0de832991d6cd499373e6181e62e18989213a22b31e2febe01cd641ba6193cd",
|
||||
|
@ -1126,6 +1129,7 @@
|
|||
"pk": 52775,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 1,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:daa986b10ca0b72aabd1bfa07dbc2aa445a1bf1c887b74c883719348b074d6a7",
|
||||
|
|
|
@ -271,6 +271,7 @@
|
|||
"pk": 82136,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:fa4e7e2dbd733e1c2c5301354587b3dd881cd78ac0aafbdca4bd7e285dbd1d5f",
|
||||
|
@ -287,6 +288,7 @@
|
|||
"pk": 32957,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:9d9a389cce3da5464fa3a8235cfca5df89fa3d8e673f542fbe53c9d2aa3ad252",
|
||||
|
|
|
@ -659,6 +659,7 @@
|
|||
"pk": 42473,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:5cea78303c0fd418e90a413bf3afd60887eef146ee9f05152f57e9dfd9307bbd",
|
||||
|
@ -675,6 +676,7 @@
|
|||
"pk": 65839,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:5514b47abca7ac5175ce73d1af8a5ce6282c03628011179b3e4b9bd72d85c657",
|
||||
|
@ -691,6 +693,7 @@
|
|||
"pk": 63183,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:129a20b1bfe29abac90fa72f9b259c81e11ce369854de52225f49c11f451a96a",
|
||||
|
@ -707,6 +710,7 @@
|
|||
"pk": 58261,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:2bf8cd8a8f50cff24e7a3490bff00f35e67a58213624998a40bad10675f94ded",
|
||||
|
@ -723,6 +727,7 @@
|
|||
"pk": 57164,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:9a3ad712289df0420962fba05ec5cb04232fe6158bdc5a5a27fbe5f3aec5db72",
|
||||
|
@ -739,6 +744,7 @@
|
|||
"pk": 73769,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:11f73e51cca8e39b941a2dfa256e977ff7397bcced363e46e115c40f9008d5b8",
|
||||
|
@ -755,6 +761,7 @@
|
|||
"pk": 56592,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:e510f35b0a5557937527687246001a4d364da2171088c30bead071795f7ae4fa",
|
||||
|
@ -771,6 +778,7 @@
|
|||
"pk": 73192,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:276b9e458fef8f85499a75dcca44912e9790b9cb87235252c7f72ff9aee25798",
|
||||
|
@ -787,6 +795,7 @@
|
|||
"pk": 72631,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:b234f2114fcd517875a65d6f985ace448de03401083e3765563756836276ad46",
|
||||
|
|
|
@ -17,6 +17,7 @@ from amo.helpers import urlparams
|
|||
from addons.models import Addon, Category
|
||||
from browse import views, feeds
|
||||
from browse.views import locale_display_name
|
||||
from files.models import File
|
||||
from translations.models import Translation
|
||||
from translations.query import order_by_translation
|
||||
from versions.models import Version
|
||||
|
@ -232,6 +233,15 @@ class TestCategoryPages(amo.test_utils.ExtraSetup, test_utils.TestCase):
|
|||
assert 57132 in [a.id for a in qs]
|
||||
assert 57132 not in [a.id for a in ids]
|
||||
|
||||
def test_jetpack_listing(self):
|
||||
x = File.objects.get(pk=67442)
|
||||
x.jetpack = True
|
||||
x.save()
|
||||
|
||||
url = reverse('browse.extensions') + '?sort=created&jetpack=on'
|
||||
doc = pq(self.client.get(url).content)
|
||||
eq_(len(doc('.item')), 1)
|
||||
|
||||
|
||||
class TestLegacyRedirects(test_utils.TestCase):
|
||||
fixtures = ('base/category.json',)
|
||||
|
|
|
@ -66,6 +66,10 @@ def addon_listing(request, addon_type, default='popular'):
|
|||
status.append(amo.STATUS_UNREVIEWED)
|
||||
|
||||
qs = Addon.objects.listed(request.APP, *status).filter(type=addon_type)
|
||||
|
||||
if 'jetpack' in request.GET:
|
||||
qs = qs.filter(versions__files__jetpack=True)
|
||||
|
||||
filter = AddonFilter(request, qs, 'sort', default)
|
||||
return filter.qs, filter, unreviewed
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ class File(amo.models.ModelBase):
|
|||
size = models.PositiveIntegerField(default=0)
|
||||
hash = models.CharField(max_length=255, default='')
|
||||
codereview = models.BooleanField(default=False)
|
||||
jetpack = models.BooleanField(default=False)
|
||||
status = models.PositiveSmallIntegerField(choices=STATUS_CHOICES,
|
||||
default=0)
|
||||
datestatuschanged = models.DateTimeField(null=True)
|
||||
|
|
|
@ -255,6 +255,7 @@
|
|||
"pk": 53612,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "",
|
||||
|
|
|
@ -134,6 +134,7 @@
|
|||
"pk": 592,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"hash": "sha256:fa8934ccfacc78cd35944ae1a1fd0b398f5644698e2f362358c711726e81737e",
|
||||
"created": "2009-12-06 06:47:22",
|
||||
|
|
|
@ -128,6 +128,7 @@
|
|||
"pk": 50621,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"status": 4,
|
||||
"codereview": 0,
|
||||
"hash": "sha256:9dabb90cf3daed4ce90e8c95fda2e9e4225e97b1e06bbfd7226d29d36497daa5",
|
||||
|
|
|
@ -140,6 +140,7 @@
|
|||
"pk": 1,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"version": 39083,
|
||||
"platform": 1,
|
||||
"filename": "sweetaddon-fx-1.0.xpi",
|
||||
|
@ -153,6 +154,7 @@
|
|||
"pk": 2,
|
||||
"model": "files.file",
|
||||
"fields": {
|
||||
"jetpack": 0,
|
||||
"version": 2,
|
||||
"platform": 1,
|
||||
"filename": "suckyaddon-fx-1.0.xpi",
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
CREATE INDEX `jetpack_idx` ON files (jetpack);
|
||||
-- Query OK, 67779 rows affected (16.38 sec)
|
Загрузка…
Ссылка в новой задаче