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

update prebid.js code base from fork #1

Merged
merged 1,042 commits into from
Apr 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1042 commits
Select commit Hold shift + click to select a range
f4475f4
IE fix: calling matchMedia with an empty string (#4691)
benjaminclot Jan 20, 2020
1b591f2
Updating smartadserver adapter for prebid v3 compatibility. (#4714)
tadam75 Jan 21, 2020
d67768b
fix(usersync): corrected usersync url (#4712)
sourabhg Jan 21, 2020
1373313
Trion gdpr and usp consent (#4740)
grohm33 Jan 21, 2020
66da761
Added customSlotMatching test for setTargetingForGPTAsync (#4709)
ptomasroos Jan 22, 2020
0a278a4
YIELDONE adapter - update for prebid v3 (#4749)
kusapan Jan 22, 2020
aed63a8
Media.net : updates documentation (#4763)
vedantseta Jan 22, 2020
e9b50f2
Cedato - fix user sync url (#4764)
alexkh13 Jan 22, 2020
39615f7
#4674 Addition of DigiTrust vendor check for gdpr when cmp is present…
goosemanjack Jan 22, 2020
fd0a001
Update to v3 (#4762)
VideoReach Jan 23, 2020
091db5f
Support Native (#4759)
bjorn-lw Jan 23, 2020
c760ca5
Updating the audience network adapter to be 3.x compliant (#4769)
robertrmartinez Jan 23, 2020
5a1863e
Adtelligent bid adapter updated to v3.0 (#4703)
GeneGenie Jan 23, 2020
4bca612
GumGum: passes bid response's currency unit (#4757)
susyt Jan 23, 2020
e4f8fbc
Prebid 3.4.0 Release
Jan 23, 2020
c0b70e6
Increment prebid version
Jan 23, 2020
69451d0
Upgrade Inskin adapter to Prebid 3 (#4753)
cciocov Jan 24, 2020
f9d05f7
RevContent adapter: Allow customization for bidfloor param (#4731)
AzizSaleh Jan 24, 2020
516b180
initial tribeOS bidder adapter commit (#4758)
adnanmiljkovic Jan 24, 2020
5e0b32d
Support for schain for IX adapter. (#4770)
ix-prebid-support Jan 26, 2020
516208c
aardvark - ccpa support (#4775)
aleksatr Jan 26, 2020
0dbd2e3
Smartadserver documentation update (#4780)
Spacedragoon Jan 26, 2020
f6c4180
Fix Bug Prebid 3.0 fail in to ConsentString (#4784)
richaudience Jan 28, 2020
50b7433
PBJS support for stored responses (#4032)
Jan 28, 2020
ce9ac5b
issue #4728 Fixed where digiTrustIdSystem was invoking publisher site…
goosemanjack Jan 28, 2020
86f7c8c
FreewheelSSP - enable mediaTypes banner and video with test cases (#4…
zhew1118 Jan 28, 2020
b76897d
CCPA support for adkernel and adkernelAdn adapters (#4767)
ckbo3hrk Jan 29, 2020
0324141
change to allow number or string (#4793)
Jan 29, 2020
d63ab86
Update underdogmedia adapter to contain getUserSyncs (#4777)
mash-a Jan 29, 2020
e733204
Allow auctionId to be passed back to bidsBackHandler (#4789)
ptomasroos Jan 29, 2020
f0845c8
change addEventListener to window.addEventlistener (#4792)
patmmccann Jan 29, 2020
b492e3a
3.5.0 release
mkendall07 Jan 29, 2020
7543116
Add new bid adapter for ResultsMedia (#4785)
vladi-mmg Jan 30, 2020
b7ec7f5
Fix for test console messages added by storedrequest (#4798)
Jan 30, 2020
1521635
Bridgewell bid adapter: Prebid.js v3 support (#4748)
AlfredKai Jan 30, 2020
9c08696
3.6.0 pre
mkendall07 Jan 30, 2020
613b99b
Audiencerun bid adapter (#4761)
audiencerun Jan 31, 2020
a9b379c
added criteo id and tests (#4786)
ariellenramirez Jan 31, 2020
14dcedd
ByPlay adapter (#4646)
daisato-tsumiki Jan 31, 2020
f80f3ab
Revert "ByPlay adapter (#4646)" due to lint failure
Jan 31, 2020
d0542cb
Reviving and moving to prebid 3.0 of smartyAds bi adapter (#4671)
Aigolkin1991 Feb 3, 2020
575e6b4
add TODO remark (#4811)
Fawke Feb 3, 2020
146b2a6
ByPlay adapter - fix lint (#4809)
daisato-tsumiki Feb 3, 2020
faec915
33Across BidAdapter: Set Page URL in request (#4795)
curlyblueeagle Feb 3, 2020
5f9a3b2
Missing protocols and linearity params in onevideo adaptor (#4800)
DeepthiNeeladri Feb 3, 2020
2506506
Trion request param update (#4805)
grohm33 Feb 3, 2020
563e166
ViewdeosDX outstream support (#4692)
GeneGenie Feb 4, 2020
50d2a29
GDPR support added to the vuble bidder (#4804)
Roffray Feb 5, 2020
1964f27
Collect data about native + minor changes (#4807)
bjorn-lw Feb 5, 2020
8569a71
Prebid 3.6.0 Release
Feb 6, 2020
a9ce654
Increment pre version
Feb 6, 2020
659b23c
Onevideo adapter version param support (#4826)
DeepthiNeeladri Feb 7, 2020
c24e8e1
Improve Digital: CCPA support (#4828)
jbartek25 Feb 10, 2020
d958588
Added size 1800x200 (#4822)
hdeodhar Feb 10, 2020
872e815
AdOcean adapter improvement (#4831)
martacieslak Feb 10, 2020
462583a
Telaria Bid Adapter: add adCode & srcPageUrl query string param only …
vseventer Feb 10, 2020
53e632d
Lemma Bid Adapter - v3.0 compliance (#4827)
lm-abhijit Feb 10, 2020
86981e1
added support for US Privacy consent string (#4799)
monofonik Feb 11, 2020
c99c78f
Fixed oneVideo TypeError when consentData is undefined (#4788)
josephtyler Feb 11, 2020
469ec57
implements the todo comment in the code (#4821)
patmmccann Feb 12, 2020
3fe85c3
Scaleable Analytics Adapter: Grouping Server Calls (#4634)
cconnors1515 Feb 12, 2020
720038e
Improvements for browsi RTD provider (#4598)
omerDotan Feb 12, 2020
41fb95f
Support for user block from the Adapter (#4779)
redaguermas Feb 12, 2020
0d823da
Prebid 3.7.0 release
Feb 12, 2020
7b9b5e2
Increment pre version
Feb 12, 2020
835348b
Updated Maintainer email (#4853)
weswhitney Feb 13, 2020
ec6faef
Add two more default native params to seedingalliance adapter (#4841)
Feb 13, 2020
c38dca4
Revert "implements the todo comment in the code (#4821)" (#4861)
jsnellbaker Feb 13, 2020
0c041fb
Prebid 3.7.1 release
jsnellbaker Feb 13, 2020
a973ad5
increment the pre version
jsnellbaker Feb 13, 2020
aab8d68
Remove deprecated Criteo Rtus Module (#4835)
Swiiip Feb 13, 2020
3c68054
onetagBidAdapter: added CCPA support (#4857)
onetag-dev Feb 14, 2020
5b53b37
Implemented schain support for prebid and updated documentation examp…
rajcspsg Feb 16, 2020
05c19b5
GumGum: adds support for video (#4848)
susyt Feb 17, 2020
d30b0a6
minor code changes for schain implementation (#4870)
rajcspsg Feb 19, 2020
a76a84d
use all request id (#4849)
vincentproxistore Feb 19, 2020
7df057b
Restore adman bidadapter (#4839)
SmartyAdman Feb 19, 2020
7279255
Updating criteo-direct-rsa-validate to 1.1.0 to fix issue #4851 (#4852)
leonardlabat Feb 19, 2020
3662ee3
Standardizing First Party Data (#4472)
msm0504 Feb 19, 2020
407dc92
TripleLift COPPA support (#4850)
davidwoodsandersen Feb 19, 2020
1b0dfc2
Require file extensions in requires and imports (#4876)
snapwich Feb 19, 2020
e1d10e0
Removed error message when no bids are made. (#4872)
dpapworth-qc Feb 20, 2020
f39427e
Add new optional parameter for changing placement names (#4878)
Feb 20, 2020
aa09d5d
Prebid 3.8.0 Release
bretg Feb 20, 2020
d5b2171
Increment pre version
bretg Feb 20, 2020
469f82c
Rubicon Adapter: Add liveramp support (#4863)
Feb 20, 2020
b668379
New Bidder Adapter: AdGlare Ad Server (#4808)
adglare Feb 21, 2020
f50e0b8
Districtm dmx passing dealid to prebid (#4772)
stevealliance Feb 21, 2020
d357f7e
update imports to include extensions (#4886)
robertrmartinez Feb 24, 2020
2412924
OpenX adapter: support Criteo ID (#4882)
Feb 24, 2020
9f72231
update criteo userid in appnexus bid adapter (#4862)
jsnellbaker Feb 24, 2020
2fdecfe
Rubicon analytics passes referrerHostname (#4885)
robertrmartinez Feb 24, 2020
01390ac
PubMatic adapter to support PM Deals (#4887)
pm-harshad-mane Feb 24, 2020
ac0ce27
update ByPlay Adapter (#4854)
daisato-tsumiki Feb 25, 2020
9022806
Always use HTTPS when serving within an iframe (#4859)
epechuzal Feb 25, 2020
303f0e3
Fix encode referrer twice (#4880)
yashigani Feb 25, 2020
0ae0bff
NextRoll Bidder Adapter (#4829)
abijr Feb 26, 2020
e6b3317
Prebid 3.9.0 release
jsnellbaker Feb 26, 2020
398133e
increment pre version
jsnellbaker Feb 26, 2020
bda6d12
Add netId userId module (#4250)
phtechno Feb 27, 2020
bd5408c
Added size 320x400 (#4902)
hdeodhar Feb 27, 2020
1f4e6b8
unifiedId UserId submodule should always make a secure call (#4899)
pm-harshad-mane Feb 28, 2020
6b72302
Added entry of netIdSystem and identityLinkIdSystem in .submodules.js…
pm-harshad-mane Feb 28, 2020
bfaf3aa
feat(pos and ccpa): added position and ccpa (#4884)
sourabhg Mar 2, 2020
ecbe420
feature/bidLimit-dealPrioritization (#4881)
Mar 3, 2020
146b7b8
Update bucksenseBidAdapter.js (#4898)
bkse-stefanodechicchis Mar 3, 2020
4de8941
Update bucksenseBidAdapter_spec.js (#4912)
bkse-stefanodechicchis Mar 3, 2020
89c765b
Fix Bug PixelEnabled (#4901)
richaudience Mar 4, 2020
6324686
fix regression in sourcemaps (#4914)
snapwich Mar 4, 2020
589a86e
small changes to 3 adapter specs (#4890)
jsnellbaker Mar 4, 2020
8fa8fac
Ats analytics adapter (#4895)
sumit116 Mar 5, 2020
5794bdc
Add Sortable bid adapter (#4907)
Fawke Mar 5, 2020
daacb10
#4904 Modify vendor gdpr check to deny consent on timeout where __cmp…
msm0504 Mar 5, 2020
dbaea4f
Rename playgroundxyz adapter (#4918)
harpere Mar 5, 2020
fc770a3
UserId module will provide sub-module ids in ORTB eids format (#4916)
Mar 5, 2020
ae1fe8f
Add "adtype" from Yieldlab response for media type differentiation (#…
GLStephen Mar 5, 2020
cd0fdb8
added vdo.ai bidder adapter (#4814)
GLStephen Mar 5, 2020
b71bed1
Audigent Segmentation Real-time Data Provider (#4834)
jsnellbaker Mar 5, 2020
3b70920
ozone 2.3.0 adapter updates (#4891)
msm0504 Mar 5, 2020
42d4a79
No bid version 1.2.3 (#4930)
harpere Mar 5, 2020
f08b14a
updates to fix lint error (#4937)
harpere Mar 5, 2020
cd15a80
Prebid 3.10.0 Release
Mar 5, 2020
6573748
Increment pre version
Mar 5, 2020
ee697cd
Add prebid version to /bid and /win calls (#4855)
harpere Mar 5, 2020
36abdf6
Kargo adding ad domain metadata (#4905)
samuelhorwitz Mar 6, 2020
6324c93
fix bug related to default usersync config for image-based pixels (#4…
jsnellbaker Mar 6, 2020
9c1550f
Find gpt div based on adId to be resized instead of hardcoded adunitc…
ptomasroos Mar 6, 2020
ac04468
E2e tests for instream, Prebid modules and features (#4744)
sumit116 Mar 6, 2020
4f78849
add validation to callbackWithBidder to ensure called with function (…
snapwich Mar 6, 2020
4dbf396
YIELDONE adapter - add transactionId param (#4939)
kusapan Mar 6, 2020
89b0d0a
Vdoai spec import js (#4943)
pm-harshad-mane Mar 6, 2020
88e9b87
small update to usersync to follow-up #4928 (#4942)
jsnellbaker Mar 6, 2020
ef66d93
Update bridgewell bid adapter (#4920)
lawliet1995 Mar 6, 2020
19b7319
use bidId or bidIds in the payload (#4903)
vincentproxistore Mar 8, 2020
a088d66
update audigent tests to fix larger test suite issue (#4952)
jsnellbaker Mar 9, 2020
60f66c9
enable no-console eslint rule for project (#4802)
jsnellbaker Mar 10, 2020
5d4c823
Fix failing code-coverage command (#4892)
Fawke Mar 10, 2020
9325d22
Add 7xbid adapter to compatible with prebid 3.0 (#4908)
7XBID00 Mar 10, 2020
fc8ebec
add import extensions (#4959)
robertrmartinez Mar 10, 2020
f5b0e4e
removing the log (#4960)
robertrmartinez Mar 10, 2020
bb015bd
adding user-id support in medianet adapter (#4925)
vedantseta Mar 10, 2020
79a5f46
added option to url parser to ignore decoding entire url (#4938)
robertrmartinez Mar 10, 2020
8c84e01
assert string returned not that we break things (#4962)
robertrmartinez Mar 10, 2020
1b62b0b
IX Adapter - Increase banner TTL to 300s (#4957)
ix-prebid-support Mar 11, 2020
6113cd9
Lifestreet adapter 3.0 (#4927)
probably-kira Mar 11, 2020
6005a29
Module - Size Mapping V2 (#4690)
Fawke Mar 11, 2020
ef57d43
update logic in adpod module for playersize (#4953)
jsnellbaker Mar 11, 2020
0b75199
add mediaforce bid adapter (#4933)
ksanksana Mar 11, 2020
efae8f8
Eids liveintent ext fix (#4944)
pm-harshad-mane Mar 11, 2020
4af14c9
3.11.0 release
mkendall07 Mar 11, 2020
364b385
3.12.0-pre
mkendall07 Mar 11, 2020
f890eb8
add UNICORN bid adapter (#4917)
ctylim Mar 12, 2020
703b898
Submitting Clicktripz bid adapter (#4929)
apmitchell Mar 12, 2020
00c4cb0
PrebidServerbidAdapter to use userIdAsEids to set eids in request (#4…
pm-harshad-mane Mar 13, 2020
2db8ecf
Conversant bid adapter to use userIdAsEids (#4967)
pm-harshad-mane Mar 16, 2020
5df9c8f
add support for TCF2 (#4911)
jsnellbaker Mar 17, 2020
1034f27
New e-volution tech bid adapter (#4934)
e-volution-tech Mar 17, 2020
a95f911
Add enforcement for deviceAccess (#4913)
Mar 17, 2020
d1f0ea1
Fix failing circle-ci build job. (#4840)
Fawke Mar 17, 2020
aa36b5a
Add alias Select Media into Adtelligent (#4985)
GeneGenie Mar 17, 2020
320e3a0
NoBid version 1.2.4 (#4971)
redaguermas Mar 17, 2020
02069e4
Prebid 3.12.0 Release
Mar 17, 2020
0de00fe
Increment pre version
Mar 17, 2020
9fc9579
Liveintent liveconnect module (#4803)
melgenek Mar 18, 2020
cbdea4a
Vidazoo adapter: update maintainer email (#5006)
uditalias Mar 20, 2020
dfcbd25
Add coppa support for Quantcast adapter (#5012)
weilingxi-qc Mar 20, 2020
9523787
Add Valueimpression Bid Adapter (#4974)
thuyhq Mar 21, 2020
07cf06f
appnexus adapter : include hb_source in request to server (#4964)
sumit116 Mar 24, 2020
fecfc2b
Index Exchange: Registering user syncs (#5005)
ix-prebid-support Mar 24, 2020
f0bc358
update consent manager to support a new config prop: defaultGdprScope…
Mar 24, 2020
498b771
freewheel add property vastXml to bidResponse (#5015)
xwang202 Mar 24, 2020
da6bb01
Added Adnuntius Bid Adapter (#4896)
mikael-lundin Mar 24, 2020
b24156c
deal tier fix (#5028)
jaiminpanchal27 Mar 24, 2020
a1083ff
PubMatic bid adapter to support NetId User Module (#5009)
pm-harshad-mane Mar 25, 2020
adda4e1
Undertone add parameters to request (#4995)
AnnaPerion Mar 25, 2020
e4ea90f
PulsePoint bid adapter: Multi-size support (#4988)
anand-venkatraman Mar 25, 2020
18b4009
VIS.X: use schain & userId modules (#5004)
mk0x9 Mar 25, 2020
811dd44
ADFINITY adapter gdpr support (#4955)
adfinity-prebid Mar 25, 2020
9268e98
Prebid 3.13.0 Release
Mar 25, 2020
efa289e
Increment pre version
Mar 25, 2020
7c45626
Media.net : adds Analytics Adapter (#5016)
vedantseta Mar 26, 2020
b9676bf
Onetag bid Adapter: added video support. (#4986)
onetag-dev Mar 26, 2020
a344de9
add file extension to imports (#5034)
Fawke Mar 26, 2020
be3fafa
Update platformioBidAdapter.js 3.0 (#4965)
varashellov Mar 26, 2020
190520c
feature/alias-sync-config-option (#4879)
Mar 26, 2020
cceaf0f
cedato adapter added support for multiple players (#4990)
alexkh13 Mar 27, 2020
049617a
Handle TCF 2 (#5000)
Mar 27, 2020
350ed6c
Between: multisizes support added (#5019)
ignat-one Mar 30, 2020
f8dc92e
add Analytics adapter implementation guide (#5027)
fomonzon Mar 30, 2020
487ebe7
added new param for the sonobi bidder adapter to override the default…
JonGoSonobi Mar 30, 2020
49ea57f
Added new sizes (#5042)
hdeodhar Mar 30, 2020
4aca8e8
PubMatic Analytics Adapter (#5024)
pm-harshad-mane Mar 30, 2020
3eaaeb9
feat(openxBidAdapter): PBID-125: Adding all other user id adapters: (…
jimee02 Mar 30, 2020
edb33f4
Fix freewheel for instream video (#5035)
xavierleune Mar 30, 2020
b95a2f6
Change to request DigiTrust ID "withCredentials". (#5013)
goosemanjack Mar 31, 2020
0bddfd5
Pubmatic: disable test-suit refreshing test-case (#5049)
pm-harshad-mane Mar 31, 2020
a23ce02
Price Floors (#4931)
robertrmartinez Mar 31, 2020
25214ab
Add support for userid modules in Yieldlab adapter (#5022)
mirkorean Mar 31, 2020
ea3700a
hide outstream div (#5055)
jaiminpanchal27 Mar 31, 2020
c1ccaf0
Adding UsPrivacy/CCPA support in smartadserver adapter. (#5036)
tadam75 Mar 31, 2020
3ee2c3d
TCF Purpose 1 enforcement (#5018)
jaiminpanchal27 Mar 31, 2020
e25f358
Appnexus adapter: check purpose one (#5057)
jaiminpanchal27 Mar 31, 2020
24e7fa3
Prebid 3.14.0 release
Mar 31, 2020
6bfc210
Increment pre version
Apr 1, 2020
6f4cf45
YieldLift bid adapter (#5030)
yieldlift Apr 1, 2020
a07ae78
Added TheMediaGridNM Bid Adapter (#4992)
TheMediaGrid Apr 1, 2020
83a362c
Add type information to DSPX bidResponse (#5021)
muuki88 Apr 1, 2020
5af6c64
change clickforce host url (#5061)
MIGOdanis Apr 1, 2020
37352f3
Eids uid string only (#5047)
pm-harshad-mane Apr 1, 2020
d88e808
Districtm Dmx adding Coppa support (#4997)
stevealliance Apr 1, 2020
1175ec2
Added support of supply chain object (#4975)
furbanowicz-smartadserver Apr 2, 2020
9c5156e
vidazooBidAdapter: feature/multi size request (#5007)
uditalias Apr 2, 2020
95c0d4a
Added new Converge Bid Adapter (#5053)
Converge-Digital Apr 2, 2020
10ea486
e-volution-tech: change file names (#5060)
e-volution-tech Apr 2, 2020
2b0c8a5
evolution_tech: completing file rename from 5060 (#5068)
bretg Apr 2, 2020
785aa9f
Added Hybrid.ai adapter (#4566)
hybrid-ai Apr 3, 2020
0d4527a
Freewheel: Better size detection and allow multiple bid requests (#5065)
xavierleune Apr 3, 2020
609486b
IdentityLink check ats after delaySync (#5070)
pycnvr Apr 3, 2020
136baaa
User ID auctionDelay timeout bugfix (#4982)
Fawke Apr 3, 2020
b0a2818
Fidelity: Add SCHAIN Support (#4945)
onaydenov Apr 3, 2020
345e618
Gamoshi: Update adaptor features (#5076)
Apr 6, 2020
309c165
Pubmatic: setting seat-id and dspid in bid object (#5074)
pm-harshad-mane Apr 6, 2020
59ccbbf
Fix bug in rubicon bid adapter for fpd keywords (#5078)
robertrmartinez Apr 6, 2020
753fcc8
Native support for AdKernel adapter (#5045)
ckbo3hrk Apr 6, 2020
b297edf
New bidlab prebid adapter (#5020)
bidlab Apr 6, 2020
4def1cf
Surrounding adapter calls in try (#4915)
robertrmartinez Apr 6, 2020
3dfc738
AdagiobidAdapter 2.2.0: schain, tcf 2.0 (#5059)
osazos Apr 7, 2020
6818664
Use TCFv2 consent data in Criteo Id module (#5073)
jesusalber1 Apr 7, 2020
a7d4410
Update param in request payload (#5091)
jaiminpanchal27 Apr 7, 2020
dc02ff4
PubMatic bid adapter to support app object set using setConfig (#5090)
pm-harshad-mane Apr 7, 2020
977f546
Media.net : fetches gdpr consent string (#5058)
vedantseta Apr 7, 2020
9de6609
Size Mapping V2 supports 'Identical Ad Units' (#5062)
Fawke Apr 7, 2020
73d5861
add adot bidder adapter (#4949)
mlequain Apr 7, 2020
21d1f53
Add Automatad Bid Adapter (#5017)
Apr 7, 2020
6ad085f
update regex in readme (#5088)
jsnellbaker Apr 7, 2020
036d71d
Prebid adapter for windtalker (#5040)
degroat Apr 7, 2020
8275fc1
#5011 Fix to set Secure attribute on cookie when SameSite=none (#5064)
goosemanjack Apr 7, 2020
8d3dc08
Prebid 3.15.0 release
jsnellbaker Apr 7, 2020
78602ff
increment pre version
jsnellbaker Apr 7, 2020
75f13a0
Support min &max duration for onevideo (#5079)
DeepthiNeeladri Apr 8, 2020
c61a2b9
isSafariBrowser update (#5077)
bretg Apr 8, 2020
925ae0a
CRITEO RTUS Integration with Yieldmo Prebid (#5075)
mglowackiym Apr 8, 2020
c318c02
Prebid manager analytics utm tags (#4998)
Prebid-Manager Apr 8, 2020
5fab5e1
New bid adapter: Wipes (#5051)
Tosh39 Apr 8, 2020
1a8406f
updateAdGenerationManual (#5032)
banakemi Apr 8, 2020
de504a9
Criteo : added first party data mapping to bidder request (#4954)
leonardlabat Apr 8, 2020
9eec929
Read OpenRTB app objects if set in config + bug fix for when ad units…
bjorn-lw Apr 8, 2020
b8d5e05
Utils updates (#5092)
snapwich Apr 9, 2020
8f8f6f8
change payload (#5105)
vincentproxistore Apr 10, 2020
67a1cb1
Add new bid adapter for ConnectAd (#4806)
rtuschkany Apr 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
128 changes: 86 additions & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,93 @@
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#

aliases:
- &environment
docker:
# specify the version you desire here
- image: circleci/node:8.9.0

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4
working_directory: ~/Prebid.js

- &restore_dep_cache
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- &save_dep_cache
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- &install
name: Install gulp cli
command: sudo npm install -g gulp-cli

- &run_unit_test
name: BrowserStack testing
command: gulp test --browserstack --nolintfix

- &run_endtoend_test
name: BrowserStack End to end testing
command: echo "127.0.0.1 test.localhost" | sudo tee -a /etc/hosts && gulp e2e-test --host=test.localhost

# Download and run BrowserStack local
- &setup_browserstack
name : Download BrowserStack Local binary and start it.
command : |
# Download the browserstack binary file
wget "https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip"
# Unzip it
unzip BrowserStackLocal-linux-x64.zip
# Run the file with user's access key
./BrowserStackLocal ${BROWSERSTACK_ACCESS_KEY} &

- &unit_test_steps
- checkout
- restore_cache: *restore_dep_cache
- run: npm install
- save_cache: *save_dep_cache
- run: *install
- run: *setup_browserstack
- run: *run_unit_test

- &endtoend_test_steps
- checkout
- restore_cache: *restore_dep_cache
- run: npm install
- save_cache: *save_dep_cache
- run: *install
- run: *setup_browserstack
- run: *run_endtoend_test

version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10
<<: *environment
steps: *unit_test_steps

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/mongo:3.4.4

working_directory: ~/Prebid.js

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: sudo npm install -g gulp-cli
# Download and run BrowserStack local
- run:
name : Download BrowserStack Local binary and start it.
command : |
# Download the browserstack binary file
wget "https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip"
# Unzip it
unzip BrowserStackLocal-linux-x64.zip
# Run the file with user's access key
./BrowserStackLocal ${BROWSERSTACK_ACCESS_KEY} &
# run tests!
- run:
name: BrowserStack testing
command: gulp test --browserstack --nolintfix
e2etest:
<<: *environment
steps: *endtoend_test_steps

workflows:
version: 2
commit:
jobs:
- build
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- e2etest
19 changes: 17 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

const allowedModules = require("./allowedModules");

module.exports = {
"env": {
"browser": true,
Expand All @@ -11,6 +14,10 @@ module.exports = {
}
},
"extends": "standard",
"plugins": [
"prebid",
"import"
],
"globals": {
"$$PREBID_GLOBAL$$": false
},
Expand All @@ -21,6 +28,7 @@ module.exports = {
"comma-dangle": "off",
"semi": "off",
"space-before-function-paren": "off",
"import/extensions": ["error", "ignorePackages"],

// Exceptions below this line are temporary, so that eslint can be added into the CI process.
// Violations of these styles should be fixed, and the exceptions removed over time.
Expand All @@ -29,7 +37,14 @@ module.exports = {
"eqeqeq": "off",
"no-return-assign": "off",
"no-throw-literal": "off",
"no-undef": "off",
"no-undef": 2,
"no-useless-escape": "off",
}
"no-console": "error"
},
"overrides": Object.keys(allowedModules).map((key) => ({
"files": key + "/**/*.js",
"rules": {
"prebid/validate-imports": ["error", allowedModules[key]]
}
}))
};
1 change: 1 addition & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exemptLabels:
- security
- bug
- feature
- on hold
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
Expand Down
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
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ commit your changes, and [open a pull request](https://help.github.com/articles/
master branch.

Pull requests must have 80% code coverage before beign considered for merge.
Additional details about the process can be found [here](./pr_review.md).
Additional details about the process can be found [here](./PR_REVIEW.md).

## Issues
[prebid.org](http://prebid.org/) contains documentation that may help answer questions you have about using Prebid.js.
Expand Down Expand Up @@ -48,8 +48,10 @@ When you are adding code to Prebid.js, or modifying code that isn't covered by a
- _Assert_: check that the expected results have occurred
- e.g., use Chai assertions to check that the expected output is equal to the actual output
- Test the public interface, not the internal implementation
- If you need to check `adloader.loadScript` in a test, use a `stub` rather than a `spy`. `spy`s trigger a network call which can result in a `script error` and cause unrelated unit tests to fail. `stub`s will let you gather information about the `adloader.loadScript` call without affecting external resources
- If you need to check `adloader.loadExternalScript` in a test, use a `stub` rather than a `spy`. `spy`s trigger a network call which can result in a `script error` and cause unrelated unit tests to fail. `stub`s will let you gather information about the `adloader.loadExternalScript` call without affecting external resources
- If your test makes ajax requests, use the global xhr stub in `test/mocks/xhr`. Do not use your own `sinon.useFakeXMLHttpRequest()` or `sinon.createFakeServer()`.
- When writing tests you may use ES2015 syntax if desired
- If your test relies on `Window` or `global` object, do not mutate that object directly. Instead, create a separate copy of that object and perform operations on that new copy.

### Test Examples
Prebid.js already has many tests. Read them to see how Prebid.js is tested, and for inspiration:
Expand Down
9 changes: 8 additions & 1 deletion PR_REVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ For modules and core platform updates, the initial reviewer should request an ad
- Review for obvious errors or bad coding practice / use best judgement here.
- If the change is a new feature / change to core prebid.js - review the change with a Tech Lead on the project and make sure they agree with the nature of change.
- If the change results in needing updates to docs (such as public API change, module interface etc), add a label for "needs docs" and inform the submitter they must submit a docs PR to update the appropriate area of Prebid.org **before the PR can merge**. Help them with finding where the docs are located on prebid.org if needed.
- Below are some examples of bidder specific updates that should require docs update (in their dev-docs/bidders/bidder.md file):
- Add support for GDPR consentManagement module > add `gdpr_supported: true`
- Add support for US Privacy consentManagement module > add `usp_supported: true`
- Add support for userId module > add `userId: pubCommon, digitrust, newProviderHere`
- Add support for video and/or native mediaTypes > add `media_types: video, native`
- Add support for COPPA > add `coppa_supported: true`
- Add support for SChain > add `schain_supported: true`
- If all above is good, add a `LGTM` comment and request 1 additional core member to review.
- Once there is 2 `LGTM` on the PR, merge to master
- Ask the submitter to add a PR for documentation if applicable.
Expand All @@ -24,7 +31,7 @@ For modules and core platform updates, the initial reviewer should request an ad
- Follow steps above for general review process. In addition, please verify the following:
- Verify that bidder has submitted valid bid params and that bids are being received.
- Verify that bidder is not manipulating the prebid.js auction in any way or doing things that go against the principles of the project. If unsure check with the Tech Lead.
- Verify that the bidder is being as efficient as possible, ideally not loading an external library, however if they do load a library it should be cached.
- Verify that the bidder is being as efficient as possible, ideally not loading an external library, however if they do load a library it should be cached.
- Verify that code re-use is being done properly and that changes introduced by a bidder don't impact other bidders.
- If the adapter being submitted is an alias type, check with the bidder contact that is being aliased to make sure it's allowed.
- If the adapter is triggering any user syncs make sure they are using the user sync module in the Prebid.js core.
Expand Down
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {
// override the regular exclusion from above (for being inside node_modules).
{
test: /.js$/,
include: new RegExp(`\\${path.sep}prebid\.js`),
include: new RegExp(`\\${path.sep}prebid\\.js`),
use: {
loader: 'babel-loader',
// presets and plugins for Prebid.js must be manually specified separate from your other babel rule.
Expand All @@ -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,11 +112,11 @@ 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.
*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 comply 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 its setup.

If you have a previous version of `gulp` installed globally, you'll need to remove it before installing `gulp-cli`. You can check if this is installed by running `gulp -v` and seeing the version that's listed in the `CLI` field of the output. If you have the `gulp` package installd globally, it's likely the same version that you'll see in the `Local` field. If you already have `gulp-cli` installed, it should be a lower major version (it's at version `2.0.1` at the time of the transition).
If you have a previous version of `gulp` installed globally, you'll need to remove it before installing `gulp-cli`. You can check if this is installed by running `gulp -v` and seeing the version that's listed in the `CLI` field of the output. If you have the `gulp` package installed globally, it's likely the same version that you'll see in the `Local` field. If you already have `gulp-cli` installed, it should be a lower major version (it's at version `2.0.1` at the time of the transition).

To remove the old package, you can use the command: `npm rm gulp -g`

Expand Down Expand Up @@ -207,10 +207,20 @@ gulp test-coverage
gulp view-coverage
```

For end-to-end testing, edit the example file `./integrationExamples/gpt/pbjs_example_gpt.html`:
For Prebid.org members with access to BrowserStack, additional end-to-end testing can be done with:

1. Change `{id}` values appropriately to set up ad units and bidders
2. Set the path to Prebid.js in your example file as shown below (see `pbs.src`).
```bash
gulp e2e-test --host=test.localhost
```

To run these tests, the following items are required:
- setup an alias of localhost in your `hosts` file (eg `127.0.0.1 test.localhost`); note - you can use any alias. Use this alias in the command-line argument above.
- access to [BrowserStack](https://www.browserstack.com/) account. Assign the following variables in your bash_profile:
```bash
export BROWSERSTACK_USERNAME='YourUserNameHere'
export BROWSERSTACK_ACCESS_KEY='YourAccessKeyHere'
```
You can get these BrowserStack values from your profile page.

For development:

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

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,
'criteo-direct-rsa-validate',
'jsencrypt',
'crypto-js',
'live-connect' // Maintained by LiveIntent : https://github.com/liveintent-berlin/live-connect/
],
'src': [
...sharedWhiteList,
'fun-hooks/no-eval',
'just-clone',
'dlv',
'dset',
'deep-equal'
]
};
Loading