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

50 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa a9ba6e8360 Bug 1207490 - Part 11: Remove use of expression closure from browser/modules/DirectoryLinksProvider.jsm. r=Gijs
--HG--
extra : commitid : 6BrNT0HYiLb
extra : rebase_source : ca65a71ce1bbb287c431824ed1aed300ebd45996
2015-09-23 17:57:45 +09:00
Dave Townsend a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Wes Kocher 468b697f04 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend fb7653707b Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : FuPUB9X4oYJ
extra : rebase_source : cfcd31d7da5f5b636a2ec11546dbada973d681de
extra : histedit_source : 3df840dc502c6ee4177f1858920d1260e4dc27af
2015-09-14 11:04:19 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Marina Samuel ce263b9f80 Bug 1203577 - Remove hardcoded adgroup buckets. r=Mardak. 2015-09-14 14:44:51 -04:00
Nihanth Subramanya b2fa1cbd22 Bug 1171344 - Update in-content search UI tests. r=adw
--HG--
rename : browser/base/content/test/general/browser_searchSuggestionUI.js => browser/base/content/test/general/browser_contentSearchUI.js
rename : browser/base/content/test/general/searchSuggestionUI.html => browser/base/content/test/general/contentSearchUI.html
rename : browser/base/content/test/general/searchSuggestionUI.js => browser/base/content/test/general/contentSearchUI.js
extra : amend_source : 9c4e36512a0deec03af39a1f0aaee3a1312aa7a5
2015-06-29 13:52:22 -07:00
Ryan VanderMeulen d7e5192373 Backed out changesets 7f2ddcfe4537 and e88770aa2160 (bug 1171344) for intermittent OSX browser_tabopen_reflows.js failures.
--HG--
rename : browser/base/content/contentSearchUI.css => browser/base/content/searchSuggestionUI.css
rename : browser/base/content/contentSearchUI.js => browser/base/content/searchSuggestionUI.js
rename : browser/base/content/test/general/browser_contentSearchUI.js => browser/base/content/test/general/browser_searchSuggestionUI.js
rename : browser/base/content/test/general/contentSearchUI.html => browser/base/content/test/general/searchSuggestionUI.html
rename : browser/base/content/test/general/contentSearchUI.js => browser/base/content/test/general/searchSuggestionUI.js
2015-07-16 21:42:22 -04:00
Nihanth Subramanya a10ae2709a Bug 1171344 - Update in-content search UI tests. r=adw
--HG--
rename : browser/base/content/test/general/browser_searchSuggestionUI.js => browser/base/content/test/general/browser_contentSearchUI.js
rename : browser/base/content/test/general/searchSuggestionUI.html => browser/base/content/test/general/contentSearchUI.html
rename : browser/base/content/test/general/searchSuggestionUI.js => browser/base/content/test/general/contentSearchUI.js
extra : rebase_source : 5026d41213c8ebfbdcb56b0a5e88e4d8b0fc22d8
2015-06-29 13:52:22 -07:00
Maxim Zhilyaev 2edeb7cc5c Bug 1161656 - Report total views preceding a click [r=adw] 2015-07-09 23:03:05 -07:00
Maxim Zhilyaev 2b90bd3e49 Bug 1178586 - Pinned suggested tile loses "history" type after a click [r=adw] 2015-07-08 07:28:13 -07:00
Mike Hommey a99e964614 Bug 1094324 - Set browser.newtabpage.enhanced default in prefs. r=adw
The current behavior is that if there is no user pref, it is set to true or
false depending on the value of privacy.donottrackheader.enabled, but
completely ignoring the global default.

This patch changes the behavior such that:
- browser.newtabpage.enhanced's default value is set as a global default
- it is also set as sticky, so that even when the same value as the default is
  set, prefHasUserValue is true.
- The introduction is not shown when the default for browser.newtabpage.enhanced
  is false. It is however shown when the pref is flipped for the first time.
2015-06-30 07:30:33 +09:00
Marina Samuel 6016450080 Bug 1169366 - Bucket updates & escaping html characters. r=Mardak 2015-06-16 16:14:54 -07:00
Maxim Zhilyaev 99ab481e6c Bug 1159884 - Implement inadjacency with a hardcoded list of hashed sites [r=adw] 2015-05-20 17:21:16 -07:00
Ed Lee fb98b283b1 Bug 1157810 - Enforce that tile images are loaded from mozilla.net [r=adw, f=bsmedberg] 2015-05-14 16:46:39 -07:00
Marina Samuel 33263c6e66 Bug 1139496 - Allow server provided explanation / ad group name to be displayed on Suggested Tiles [r=adw, f=bsmedberg] 2015-05-19 12:42:08 -07:00
Ed Lee bdb93184b4 Bug 1160369 - Allow for sponsored suggested tiles [r=adw] 2015-05-14 16:01:47 -07:00
Ed Lee 003696dd05 Bug 1158208 - Enforce that tiles HTTP requests don't have cookies [r=adw] 2015-05-11 17:09:29 -07:00
Nicholas Nethercote 6dc67d00a1 No bug - Remove extraneous semicolon in DirectoryLinksProvider.jsm. r=glandium. 2015-05-11 16:11:48 -07:00
Maxim Zhilyaev fcfa8d9127 Bug 1159571 - Use server provided frequency caps for daily and lifetime totals [r=adw] 2015-05-08 09:20:18 -07:00
Maxim Zhilyaev a843ee9494 Bug 1156549 - Allow ramp up time for campaigns with strict start/stop times [r=adw] 2015-05-06 12:09:45 -07:00
Ed Lee a53c40df76 Bug 1148862 - Update pref to the new v3 endpoint [r=adw] 2015-04-01 01:02:50 -07:00
Ed Lee 1da5e819af Bug 1152145 - Filter for specific suggested tiles adgroups/buckets/frecent_sites lists with display name [r=adw]
Use a set of predefined lists of allowed sites with explicit names.
2015-04-07 19:13:46 -07:00
Marina Samuel b8400eafd3 Bug 1139052 - Don't show suggested tiles for users with fewer than 8 history tiles. r=adw 2015-04-14 14:39:50 -04:00
Marina Samuel 88616f3a59 Bug 1151876 - Blocking a targeted tile should remove its associated suggested tile in the next new tab. r=adw 2015-04-14 14:34:32 -04:00
Marina Samuel fada1e8aae Bug 1149682: Don't cache (or show) sponsored suggested links. r=adw 2015-04-01 17:34:21 -04:00
Marina Samuel 1f1e082198 Bug 1149680: Send the Firefox channel on fetch. r=adw 2015-04-01 17:30:28 -04:00
Marina Samuel 02b3ec0a15 Bug 1105360: Only enhance tiles that are under the 'enhanced' key. r=adw 2015-04-01 17:26:46 -04:00
Ed Lee fa8436c5d6 Bug 1148938 - Temporarily test suggested tiles for Nightly and Aurora [r=adw]
Temporarily switch to a local source with test suggested data.

--HG--
extra : rebase_source : 474a5dcc0800dbcb7d79807ed70fe1f98230d231
2015-03-29 23:43:30 -07:00
Ed Lee 58a4893d8d Bug 1149021 - Suggested tile with just an image shows a thumbnail instead [r=adw]
Use Object.assign to copy over base values into a new link with extra attributes.

--HG--
extra : rebase_source : a46c5a501d4611bf373e5b20179de286cd1de8c4
2015-03-29 23:30:54 -07:00
Marina Samuel a660fe51ad Bug 1136203 - Remove thumbnail/title replacing functionality for history tiles. r=adw 2015-03-27 17:57:11 -04:00
Ed Lee edc8b399f9 Bug 1140496 - Only show a suggested tile url for some number of times or until clicked [r=adw]
Default to a hardcoded frequency cap that decreases by 1 per view or all for a click.

--HG--
extra : rebase_source : 23e3d55ab1fd78f84b9b1807b91ea066fa758ed5
2015-03-22 00:46:26 -07:00
Marina Samuel 49c5893d01 Bug 1136208 - Change all references of 'related' to 'suggested' r=adw 2015-03-26 17:23:21 -04:00
Marina Samuel 95e6c5d809 Bug 1143745 - Update the way Firefox reads directoryLinks.json sent from the server for the tiles v3 endpoint. r=adw 2015-03-26 17:17:59 -04:00
Marina Samuel b682e44acd Bug 1143797 - Allow clicking on suggested explanation text to see overlay explaining the suggested tile. r=adw 2015-03-26 17:05:44 -04:00
Marina Samuel 39a1681b62 Bug 1126188: Show suggested tile explanation text under a suggested tile. r=adw 2015-03-20 16:39:09 -04:00
Marina Samuel a8b4ee05fd Bug 1126184: Part 3: Mochitest fixes for suggested tiles. 2015-03-13 11:45:38 -04:00
Marina Samuel 5b0c9de307 Bug 1126184: Part 2: Select a single tile to show as the first unpinned tile based on a user's top sites. r=adw 2015-03-13 11:45:34 -04:00
Marina Samuel 7ff3ee3da3 Bug 1126184: Part 1: Make DirectoryLinksProvider listen to PlacesProvider and update its _topSitesWithRelatedLinks cache. r=adw 2015-03-13 11:45:31 -04:00
Wes Kocher f433070461 Backed out 3 changesets (bug 1126184) for causing a spike in new tab bc1 test failures CLOSED TREE
Backed out changeset 7d48a8bad488 (bug 1126184)
Backed out changeset a1fa056e0c0d (bug 1126184)
Backed out changeset e29b97e5e30c (bug 1126184)
2015-03-10 19:01:11 -07:00
Marina Samuel 52e291813b Bug 1126184: Part 3: Mochitest fixes for suggested tiles. r=adw 2015-03-10 17:33:28 -04:00
Marina Samuel cc4c358ece Bug 1126184: Part 2: Select a single tile to show as the first unpinned tile based on a user's top sites. r=adw 2015-03-10 17:33:25 -04:00
Marina Samuel b1046adec1 Bug 1126184: Part 1: Make DirectoryLinksProvider listen to PlacesProvider and update its _topSitesWithRelatedLinks cache. r=adw 2015-03-10 17:33:22 -04:00
Marina Samuel aeda5578a2 Bug 1126182: Extract related tiles data from links json and store for later selection. r=adw 2015-03-10 17:08:30 -04:00
Ed Lee 748360eb23 Bug 1088729 - Only allow http(s) directory links and https/data images [r=adw] 2014-10-24 09:33:03 -07:00
Sid Stamm dc4a2c6195 Bug 1042135 - Update Directory Links Provider to use only the dnt.enabled pref after removing the dnt.value pref. (r=adw)
--HG--
extra : rebase_source : cc511558eb39099bc745116798ca64829de79d0d
2014-10-22 10:31:14 -07:00
Phil Ringnalda ab8d3a5d34 Back out 3 changesets (bug 1042135) for robocop bustage
CLOSED TREE

Backed out changeset dffed5d2a799 (bug 1042135)
Backed out changeset b80a02b929cc (bug 1042135)
Backed out changeset 093ea94a1697 (bug 1042135)
2014-10-21 23:11:11 -07:00
Sid Stamm 7ac7337dd2 Bug 1042135 - Update Directory Links Provider to use only the dnt.enabled pref after removing the dnt.value pref. (r=adw)
--HG--
extra : rebase_source : 350e99d270e18f497f69a77672557a18ac66ef6d
2014-10-21 16:55:36 -07:00
Ed Lee be8f96130d Bug 1075620 - Switch to GET for fetch to allow caching of links data from redirect [r=ttaubert]
Use GET instead of POST and update the fetch endpoint to use %LOCALE%.
2014-10-01 09:44:32 -07:00
Sudheesh Singanamalla 0d1a8f9ebb Bug 1054492: move DirectoryLinksProvider.jsm to browser/ since it's Firefox-specific, r=gavin
--HG--
rename : toolkit/modules/DirectoryLinksProvider.jsm => browser/modules/DirectoryLinksProvider.jsm
rename : toolkit/modules/tests/xpcshell/test_DirectoryLinksProvider.js => browser/modules/test/xpcshell/test_DirectoryLinksProvider.js
2014-09-22 13:23:19 +05:30