Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ads 3591 salish upgrade prebid to latest v2 33 0 #8

Merged
merged 124 commits into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
3a7590a
Increment pre version
bretg Jul 23, 2019
4a3372d
DigiTrust Facade init GH Issue 3911 (#3918)
goosemanjack Jul 23, 2019
05cf0d2
Integrate id link system (#3965)
mamatic Jul 23, 2019
c2bdb94
Update rubicon analytics adapter with wrapper name (#3990)
Jul 23, 2019
bfc12a1
TrustX Bid Adapter updating to use referrerInfo (#3972)
PWyrembak Jul 24, 2019
df7020b
Adkernel adapter minor update (#4000)
ckbo3hrk Jul 24, 2019
00f83b1
remove console log statement in logicadBidAdapter unit tests (#4021)
jsnellbaker Jul 24, 2019
c16640a
Add oRTB cur to PrebidServer Adapter (#3951)
Jul 25, 2019
0f54ea2
adformOpenRTB adapter: support currency param (#4016)
braizhas Jul 26, 2019
5394230
adformBidAdapter: currency module support (#4018)
braizhas Jul 26, 2019
e2d877d
Teads-adapter: Read placementId from response and add sync informatio…
Jul 26, 2019
85d1eae
Deep libs and lint fix (#3993)
snapwich Jul 26, 2019
60d4aba
Update endpoint for Sharethrough adapter (#4029)
madma Jul 28, 2019
9ec63c6
TripleLift adapter: Always use secure endpoint (#4028)
cdsmith16 Jul 28, 2019
0bb46cf
Update hello world example and remove other outdated GPT examples (#4…
mkendall07 Jul 29, 2019
5dfb923
Hotfix for referrer in TrustX Bid Adapter (#4039)
PWyrembak Jul 30, 2019
8302d96
update userSync messaging for re-fire to not be warning (#4034)
snapwich Jul 30, 2019
03bc30d
update fun-hooks with fix checking if global Proxy is native (#4030)
snapwich Jul 30, 2019
0561222
adformOpenRTB adapter: size targeting using aspect ratios (#4019)
braizhas Jul 30, 2019
f013970
Prebid server support for OpenRTB Native bids (#3145)
snapwich Jul 30, 2019
c079efe
MarsMedia adapter: Update prebid api (#3978)
vladi-mmg Jul 30, 2019
e603156
Appnexus native view tracker (#4022)
jsnellbaker Jul 30, 2019
e8ed8f3
Prebid 2.26.0 release
jsnellbaker Jul 30, 2019
4817ef6
increment pre version
jsnellbaker Jul 30, 2019
9b5083d
Fix referrer encoding in The Media Grid Bid Adapter (#4040)
TheMediaGrid Jul 30, 2019
30cfb6d
[mgid] add referrer and utc offset to bid request (#4023)
Gaudeamus Jul 31, 2019
918305f
ucfunnel support tdid (#3977)
Jul 31, 2019
4d1bad5
Reload Adapter & Spec: Added GDPR and multiple sizes (#3967)
mafernandez80 Jul 31, 2019
9ed95bb
AdkernelAdn adapter minor update (#4033)
ckbo3hrk Aug 1, 2019
92a5073
Minor bug fixing in onetagBidAdapter.js (#4054)
onetag-dev Aug 2, 2019
2fa4387
Update karma to address vulnerabilities. (#4038)
Fawke Aug 2, 2019
a1eb122
New adkernel adapter aliases (#4057)
ckbo3hrk Aug 2, 2019
1e14de8
adding supply chain Object feature (#4051)
DeepthiNeeladri Aug 5, 2019
2215c54
Adding new BidAdapter 'eywamedia' (#4055)
sharathdn1 Aug 6, 2019
b21252c
Change Domain to videoreach.com (#4056)
VideoReach Aug 6, 2019
a0ba466
Add instream & outstream video support to Criteo adapter (#4037)
leonardlabat Aug 6, 2019
0183f23
topRTBBidAdapter (#3817)
Unnamalai57 Aug 6, 2019
a1ccdf0
add check to see if adObject is present (#4058)
Fawke Aug 6, 2019
32ce0eb
Consent String added to the HB request (#4044)
rade-popovic Aug 6, 2019
36ef1de
Update URI for IdentityLink integration (#4049)
adayNU Aug 6, 2019
5cce306
adformOpenRTB adapter: parse seatbid bid responses (#4043)
braizhas Aug 6, 2019
64a45da
revert karma and other package updates (#4067)
jsnellbaker Aug 6, 2019
fe8074a
fix cedato adapter user sync logic (#4060)
alexkh13 Aug 6, 2019
22b0b73
Prebid 2.27.0 Release
Aug 6, 2019
d7ebb57
Increment pre version
Aug 6, 2019
131c56a
GumGum adapter: push first indexed value in sizes array to bidRespons…
WayneYang1 Aug 7, 2019
cd252ec
Improve Piximedia Adapter (#4026)
christopher-allene-piximedia Aug 7, 2019
36d67b6
Rhythmone Adapter - deprecate direct usage of window objects. (#4061)
Aug 7, 2019
6fb6049
Fix removeAdUnit (#4053)
benjaminclot Aug 9, 2019
6d9f85e
Adding support of Instream/Outstream Video for the SmileWanted Adapte…
MaxSmileWanted Aug 9, 2019
ecd3815
Fix for #4047 (#4063)
dpapworth-qc Aug 9, 2019
bad3358
Clean up the 'Use case #2' example (#4068)
danielmcgraw Aug 9, 2019
e6c819b
referer changes (#4072)
derberbaby Aug 11, 2019
aa828d1
kargo adapter track request count (#4074)
samuelhorwitz Aug 11, 2019
d6c394e
tlbidadapter missing semicolons (#4076)
cdsmith16 Aug 11, 2019
8bd2ac0
VIS.X adapter: don't use utils.getTopWindowUrl() (#4078)
mk0x9 Aug 11, 2019
1f08933
Multiple sizes handling in adYouLike adaptor (#4013)
guiann Aug 11, 2019
ec4a641
Criteo Adapter - Code cleaning & added missing tests to increase code…
leonardlabat Aug 12, 2019
0bd5d61
update to use dlv/index to fix webpack sourcemaps (#4071)
snapwich Aug 13, 2019
f4db14c
Yieldmo unified id (#4041)
Aug 13, 2019
0511807
Add video support to LoopMe adapter (#4079)
EpanchinE Aug 13, 2019
74a6ea5
Criteo Adapter - Added support of deals (#4085)
leonardlabat Aug 15, 2019
874b99c
2.28.0 release
mkendall07 Aug 15, 2019
c1aa4e4
2.29.0-pre
mkendall07 Aug 15, 2019
d61756d
Add bid adapter for Sublime (#3960)
SublimeJeremy Aug 16, 2019
72ff0e4
Identity Link - Use ats library for retrieving envelope (#4077)
mamatic Aug 19, 2019
511a38b
OPT-1949 Update prebid.js to pass in window.href & add keyword proces…
raguilar-ias Aug 19, 2019
f622bdc
Fix #4059 - ensure native keys are not seen as custom targeting keys …
jsnellbaker Aug 20, 2019
7ee3eb2
New Adapter request : cosmos (#4096)
dev-cosmos Aug 20, 2019
dca695f
Banner e2e (#4092)
Fawke Aug 20, 2019
99e3e52
Add Meazy bid adapter (#4015)
Aug 20, 2019
b8565e7
Prebid 2.29.0 Release
Aug 20, 2019
6467bba
Increment pre version
Aug 20, 2019
c0c1b3e
enable withCredentials on unifiedId ajax call (#4090)
minh-daole-ttd Aug 21, 2019
2096980
Rubicon adapter doc: adding video example (#4091)
bretg Aug 21, 2019
35e4b2b
Collect info about which ad units receive bids (#4094)
bjorn-lw Aug 21, 2019
801f0fb
s2sTesting: random number moved to global (#3851)
bretg Aug 21, 2019
bc3987d
consolidate logic around common chunk inclusions (#4087)
snapwich Aug 21, 2019
e798c0c
Updates to RDN Adapter (#4080)
snapwich Aug 24, 2019
60501c8
Gamoshi: Add 9MediaOnline new adaptor alias (#4108)
Aug 26, 2019
d6ba289
remove comment since we're out of depcrecation phase (#4093)
Fawke Aug 27, 2019
d5ee713
GumGum: add DigiTrust module (#4109)
susyt Aug 27, 2019
11801ba
Add GDPR and UID module support to Undertone adapter (#4102)
omerko Aug 27, 2019
9c128af
Add placement support to beachfront adapter (#4117)
jsalis Aug 27, 2019
18543d6
fix typo on size parameter (#4122)
guiann Aug 28, 2019
761226f
Long form video price bucket bugfix (#4125)
jaiminpanchal27 Aug 28, 2019
2005af4
Prebid 2.30.0 release
Aug 28, 2019
099a723
Increment pre version
Aug 28, 2019
87e84b8
Optimera added optional device param (#4105). (#4106)
mcallari Aug 29, 2019
a7ad5ef
SupplyChain object support in Prebid (#4084)
pm-harshad-mane Aug 30, 2019
3fe149a
Auto detect if we can bust out of iframe (#15) (#4099)
epechuzal Sep 3, 2019
eaffc3d
Rubicon adapter: added sizes (#4147)
hdeodhar Sep 3, 2019
3f556dc
add logic to prefer prebid modules over external modules in build pro…
jsnellbaker Sep 3, 2019
a49d89b
Improve Digital adapter: adding bid floor, referrer, more native fiel…
jbartek25 Sep 3, 2019
80cbd2c
YIELDONE adapter - change urls to adapt https (#4139)
koji-eguchi Sep 3, 2019
e61b246
Added SupplyChain Object support and an onTimeout Callback (#4137)
telariaEng Sep 3, 2019
fe0c9e8
Revert "Added SupplyChain Object support and an onTimeout Callback (#…
Sep 3, 2019
deeb4c0
Nobid Prebid Adapter commit (#4050)
robdubois Sep 4, 2019
e897d47
update outstream prod url (#4104)
sumit116 Sep 4, 2019
7e43220
support pubcid and uids (#4143)
nwlosinski Sep 4, 2019
f125ac7
Fix misspelling and minor cleanup of schain docs (#4150)
Sep 4, 2019
777d031
Prebid 2.31.0 Release
bretg Sep 4, 2019
c716dd9
Increment pre version
bretg Sep 4, 2019
ff0a8a6
Rubicon: tuning logged messages (#4157)
bretg Sep 5, 2019
c47bb80
Rubicon Video COPPA fix (#4155)
umbrella-artem-seryak Sep 5, 2019
67e3a9c
Playground XYZ adapter - iframe usersync bug fix (#4141)
monofonik Sep 5, 2019
0cbe57c
update nvmrc file (#4162)
jsnellbaker Sep 5, 2019
7a0bf6e
update gulp-footer package (#4160)
jsnellbaker Sep 5, 2019
f828b84
Datablocks bid/analytics adapter (#4128)
htang555 Sep 6, 2019
2bdbb12
update logic of ad_types field in appnexusBidAdapter (#4065)
jsnellbaker Sep 6, 2019
02cd6e4
Shorten SomoAudience to just Somo (#4163)
SuprPhatAnon Sep 8, 2019
69107fe
Quantcast: Fix for empty video parameters (#4145)
dpapworth-qc Sep 8, 2019
97fab61
One Video adding Rewarded Video Feature (#4142)
DeepthiNeeladri Sep 8, 2019
25b6471
Module to pass User Ids to DFP (#4140)
pm-harshad-mane Sep 9, 2019
c520176
Buzzoola bid adapter (#4127)
VanCyric Sep 10, 2019
8b92b1f
E2e tests for Native and Outstream video Ad formats. (#4116)
Fawke Sep 10, 2019
276e1f7
Update LockerDome adUnitId bid param (#4176)
margsliu Sep 10, 2019
2d0b75c
fix several issues in appnexus video bids (#4154)
jsnellbaker Sep 10, 2019
7990f4b
S2s testing disable client side (#4123)
tjeastmond Sep 10, 2019
730c561
New option to Include deal KVPs when enableSendAllBids === false (#4136)
robertrmartinez Sep 10, 2019
958859a
Prebid 2.32.0 Release
jsnellbaker Sep 10, 2019
1b5f68f
increment pre version
jsnellbaker Sep 10, 2019
02c3d68
Merge remote-tracking branch 'upstream/master'
Sep 10, 2019
d2d1eed
[ADS-3591] update package lock
Sep 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10
- image: circleci/node:8.9.0

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand Down
30 changes: 5 additions & 25 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@

const sharedWhiteList = [
"core-js/library/fn/array/find", // no ie11
"core-js/library/fn/array/includes", // no ie11
"core-js/library/fn/set", // ie11 supports Set but not Set#values
"core-js/library/fn/string/includes", // no ie11
"core-js/library/fn/number/is-integer", // no ie11,
"core-js/library/fn/array/from" // no ie11
];
const allowedModules = require("./allowedModules");

module.exports = {
"env": {
Expand Down Expand Up @@ -45,23 +38,10 @@ module.exports = {
"no-undef": "off",
"no-useless-escape": "off",
},
"overrides": [{
"files": "modules/**/*.js",
"overrides": Object.keys(allowedModules).map((key) => ({
"files": key + "/**/*.js",
"rules": {
"prebid/validate-imports": ["error", [
...sharedWhiteList,
"jsencrypt",
"crypto-js"
]]
"prebid/validate-imports": ["error", allowedModules[key]]
}
}, {
"files": "src/**/*.js",
"rules": {
"prebid/validate-imports": ["error", [
...sharedWhiteList,
"fun-hooks/no-eval",
"just-clone"
]]
}
}]
}))
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ build/coverage/
.idea/
# if you remove the above rule, at least ignore the following:

# VS Code
.vscode/

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0
8.9
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
}
```

Or for Babel 6 and/or Node v8.6.0 and less:
Or for Babel 6:
```javascript
// you must manually install and specify the presets and plugins yourself
options: {
Expand Down Expand Up @@ -112,7 +112,7 @@ prebid.requestBids({
$ cd Prebid.js
$ npm install

*Note:* You need to have `NodeJS` 6.x or greater installed.
*Note:* You need to have `NodeJS` 8.9.x or greater installed.

*Note:* In the 1.24.0 release of Prebid.js we have transitioned to using gulp 4.0 from using gulp 3.9.1. To compily with gulp's recommended setup for 4.0, you'll need to have `gulp-cli` installed globally prior to running the general `npm install`. This shouldn't impact any other projects you may work on that use an earlier version of gulp in it's setup.

Expand Down
24 changes: 24 additions & 0 deletions allowedModules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

const sharedWhiteList = [
"core-js/library/fn/array/find", // no ie11
"core-js/library/fn/array/includes", // no ie11
"core-js/library/fn/set", // ie11 supports Set but not Set#values
"core-js/library/fn/string/includes", // no ie11
"core-js/library/fn/number/is-integer", // no ie11,
"core-js/library/fn/array/from" // no ie11
];

module.exports = {
'modules': [
...sharedWhiteList,
'jsencrypt',
'crypto-js'
],
'src': [
...sharedWhiteList,
'fun-hooks/no-eval',
'just-clone',
'dlv',
'dset'
]
};
26 changes: 13 additions & 13 deletions browsers.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"bs_edge_16_windows_10": {
"bs_edge_17_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "edge",
"browser_version": "16.0",
"browser_version": "17.0",
"device": null,
"os": "Windows"
},
"bs_edge_17_windows_10": {
"bs_edge_16_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "edge",
"browser_version": "17.0",
"browser_version": "16.0",
"device": null,
"os": "Windows"
},
Expand All @@ -23,35 +23,35 @@
"device": null,
"os": "Windows"
},
"bs_chrome_72_windows_10": {
"bs_chrome_74_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "chrome",
"browser_version": "72.0",
"browser_version": "74.0",
"device": null,
"os": "Windows"
},
"bs_chrome_71_windows_10": {
"bs_chrome_75_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "chrome",
"browser_version": "71.0",
"browser_version": "75.0",
"device": null,
"os": "Windows"
},
"bs_firefox_65_windows_10": {
"bs_firefox_66_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "firefox",
"browser_version": "65.0",
"browser_version": "66.0",
"device": null,
"os": "Windows"
},
"bs_firefox_64_windows_10": {
"bs_firefox_67_windows_10": {
"base": "BrowserStack",
"os_version": "10",
"browser": "firefox",
"browser_version": "64.0",
"browser_version": "67.0",
"device": null,
"os": "Windows"
},
Expand All @@ -71,4 +71,4 @@
"device": null,
"os": "OS X"
}
}
}
5 changes: 4 additions & 1 deletion gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ module.exports = {
}
return Object.assign(externalModules.reduce((memo, module) => {
try {
var modulePath = require.resolve(module);
// prefer internal project modules before looking at project dependencies
var modulePath = require.resolve(module, {paths: ['./modules']});
if (modulePath === '') modulePath = require.resolve(module);

memo[modulePath] = module;
} catch (err) {
// do something
Expand Down
28 changes: 16 additions & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,6 @@ function bundle(dev, moduleArr) {
.pipe(gulpif(dev, sourcemaps.write('.')));
}

// Workaround for incompatibility between Karma & gulp callbacks.
// See https://github.com/karma-runner/gulp-karma/issues/18 for some related discussion.
function newKarmaCallback(done) {
return function (exitCode) {
if (exitCode) {
done(new Error('Karma tests failed with exit code ' + exitCode));
} else {
done();
}
}
}

// Run the unit tests.
//
// By default, this runs in headless chrome.
Expand Down Expand Up @@ -248,6 +236,22 @@ function test(done) {
}
}

function newKarmaCallback(done) {
return function(exitCode) {
if (exitCode) {
done(new Error('Karma tests failed with exit code ' + exitCode));
if (argv.browserstack) {
process.exit(exitCode);
}
} else {
done();
if (argv.browserstack) {
process.exit(exitCode);
}
}
}
}

// If --file "<path-to-test-file>" is given, the task will only run tests in the specified file.
function testCoverage(done) {
new KarmaServer(karmaConfMaker(true, false, false, argv.file), newKarmaCallback(done)).start();
Expand Down
33 changes: 11 additions & 22 deletions integrationExamples/gpt/gdpr_hello_world.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<html>
<head>
<script async src="../../build/dev/prebid.js"></script>
<script async src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script>
(function(window, document) {
if (!window.__cmp) {
Expand Down Expand Up @@ -79,6 +81,7 @@

<script>
var PREBID_TIMEOUT = 700;
var FAILSAFE_TIMEOUT = 2500;

var adUnits = [{
code: 'div-gpt-ad-1460505748561-0',
Expand All @@ -103,7 +106,6 @@

</script>

<script type="text/javascript" src="../../build/dev/prebid.js" async></script>
<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
Expand All @@ -124,7 +126,8 @@
}
});
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest
bidsBackHandler: sendAdserverRequest,
timeout: PREBID_TIMEOUT
});
});

Expand All @@ -139,26 +142,12 @@
});
}

// setTimeout(function() {
// sendAdserverRequest();
// console.log('timeout in main pbjs fired');
// }, PREBID_TIMEOUT);

</script>

<script>
(function () {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>
setTimeout(function() {
sendAdserverRequest();
console.log('timeout in main pbjs fired');
}, FAILSAFE_TIMEOUT);

</script>
<script>
googletag.cmd.push(function () {
googletag.defineSlot('/19968336/header-bid-tag-0', [[300, 250], [300, 600]], 'div-gpt-ad-1460505748561-0').addService(googletag.pubads());
Expand All @@ -178,4 +167,4 @@ <h5>Div-1</h5>
</script>
</div>
</body>
</html>
</html>
Loading