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

Merging back with prebid master #1

Merged
merged 334 commits into from
Jan 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
0f929ec
Add new Adapter rdnBidAdapter (#3074)
iijimalo1023 Sep 19, 2018
46d5386
33Across: add viewability (#3084)
glebglushtsov Sep 19, 2018
1b97d55
add support for pubcid user opt-out (#3071)
pycnvr Sep 19, 2018
84e1cbf
add user syncing for kargo (#3099)
samuelhorwitz Sep 20, 2018
b7946e6
Freewheel-ssp BidAdapter improvements (#3097)
guillaume-sticky Sep 20, 2018
4baf2e4
AOL adapter - switched to native Prebid user syncs support. (#3032)
vzhukovsky Sep 20, 2018
80b5c3a
send url as it is (#3116)
jaiminpanchal27 Sep 21, 2018
e97c5f0
Update package.json - make `npm run test` work (#3114) (#3117)
Sep 24, 2018
0e180e3
added sizes for rubicon (#3094)
michalbuzun Sep 24, 2018
146d33b
Adds an id parameter (#3107)
susyt Sep 24, 2018
398eb7b
Serverbid Bid Adapter: Add pubnx alias (#3064)
jgrimes Sep 24, 2018
2f9c5cf
AdOcean adapter improvment (#3011)
jdrobiecki Sep 24, 2018
d7f7ab6
improving kargo unit tests for currency handling (#3106)
samuelhorwitz Sep 24, 2018
005df8b
add versioning and deprecation policy doc (#3103)
mkendall07 Sep 24, 2018
726d0a4
Trafficroots Bid Adapter Submission (#2993)
cary67 Sep 25, 2018
57e1b5e
Revert "Trafficroots Bid Adapter Submission (#2993)" (#3124)
idettman Sep 25, 2018
6ddd14f
adding account to s2s bidder-sync request (#3123)
harpere Sep 25, 2018
fec06e8
Prebid 1.25.0 Release
jsnellbaker Sep 25, 2018
abf9f54
increment prebid version
jsnellbaker Sep 25, 2018
100e3e1
Bugfix: Issue 3111 (#3122)
pm-harshad-mane Sep 26, 2018
df8cb00
update circleci link to just Prebid.js builds (#3132)
jsnellbaker Sep 27, 2018
84c0466
Sonobi - Fix ref encoding (#3125)
JonGoSonobi Sep 27, 2018
cea3f1e
Add video params to Beachfront adapter (#3121)
jsalis Sep 27, 2018
ab706ad
Fix for Issue 3130: passing new copy of adUnits object to every adapt…
pm-harshad-mane Sep 28, 2018
9b19930
Support Video Renderer (#3104)
skazedo Sep 28, 2018
0bd1d1a
fixes #3128 YieldlabBidAdapter is not using bidRequest.params.adSize …
derdeka Sep 28, 2018
41c68ad
Minor freewheel-ssp update (#3119)
guillaume-sticky Sep 28, 2018
ee1cd7e
Rubicon adapter: get referrer from bidderRequest.refererInfo.referer;…
Sep 28, 2018
f217d11
[Update] Change name BidAdapter and some fix (#3118)
prebidRxRTB Oct 1, 2018
29e9b13
Add ADSpend bidder adapter (#3005)
loorke Oct 1, 2018
d81dfd2
Add Adagio bidder and analytics adapters (#3069)
nfo Oct 1, 2018
298e41a
Make size mapping mediaType aware (#3134)
snapwich Oct 2, 2018
4e8955e
Making targeting keys configurable (#3140)
pm-harshad-mane Oct 2, 2018
e7ad006
4235 prebid endpoint return empty array instead of 204 when no bids r…
teranchristian Oct 2, 2018
9faccab
update gulp 4 notes on README (#3154)
jsnellbaker Oct 3, 2018
c2847ab
Add teads bidder adapter (#3135)
valsouche Oct 3, 2018
4004864
Added the option to pass a deal id instead of a partnership id (#3148)
nabcos Oct 3, 2018
e7333c3
increment Prebid version
jsnellbaker Oct 3, 2018
015b803
Prebid 1.26.0 release
jsnellbaker Oct 3, 2018
c3f9107
increment prebid version
jsnellbaker Oct 3, 2018
3ba867a
implement find polyfill in unit test (#3156)
jsnellbaker Oct 4, 2018
3fec73f
InvibesBidAdapter - gdpr support (#3151)
rcheptanariu Oct 8, 2018
c3432e5
removed `cookieSyncDelay` from `config` since we have more configurat…
thewizarodofoz Oct 9, 2018
95ab4a0
Livewrapped bid and analytics adapter (#3157)
bjorn-lw Oct 9, 2018
4797ea2
Adding appnexus debug via cookie/params (#3152)
aneuway2 Oct 9, 2018
e72e2dc
Add RSA validation to Criteo FastBid (#3110)
jsfaure Oct 9, 2018
8fdf61d
Added support for user syncing pixel (#3092)
Oct 9, 2018
a1f07e9
Small bugfix and cleanup for Prebid Server OpenRTB code (#3113)
snapwich Oct 9, 2018
f466b8c
Revert "Adding appnexus debug via cookie/params" (#3164)
mkendall07 Oct 9, 2018
5736e83
add bid ttl to cache call (#3163)
mkendall07 Oct 9, 2018
24dd19a
Render outstream safeframe (#3159)
jaiminpanchal27 Oct 9, 2018
b66e241
Prebid 1.27.0 Release
jsnellbaker Oct 9, 2018
a4d91fd
increment Prebid version
jsnellbaker Oct 9, 2018
7f94928
rubiconBidAdapter - Checking FPD values are defined before toString()…
Oct 9, 2018
18107d8
Adding mediaType param to parseSizes in order to ALWAYS get the corre…
Oct 10, 2018
2903eb0
PubMatic to support DigiTrust Id passing (#3160)
pm-harshad-mane Oct 11, 2018
1e77957
OpenX Adapter: Added support for pubcid (#3158)
lu-ruo Oct 11, 2018
4585a93
use version replace rather than package.json in widespace (#3143)
snapwich Oct 11, 2018
0c53a47
Trafficroots Resubmit (#3141)
cary67 Oct 15, 2018
e530cbb
Rubicon skip video request in mutlti format when video is not setup (…
Oct 15, 2018
cb66860
OpenXOutstream Bid Adapter (#3153)
HolzAndrew Oct 15, 2018
de597ae
improves additional data passed to the handler in AuctionInit and Auc…
Oct 16, 2018
1cdf418
removing cookieSet (#3175)
bretg Oct 16, 2018
8529386
Removed deprecated priceType option (+tests) (#3170)
jtovba Oct 16, 2018
b771e4f
Improve Digital adapter: set dealID based on buying type (#3182)
jbartek25 Oct 16, 2018
bf3137c
disabling tests that are failing in safari (#3186)
jsnellbaker Oct 16, 2018
613d167
Prebid 1.28.0 Release
jaiminpanchal27 Oct 16, 2018
79af988
Increment pre version
jaiminpanchal27 Oct 16, 2018
175a7ca
add a check against the size config when setting targeting (#3183)
snapwich Oct 17, 2018
c238e68
add stub for adloader.loadScript in various adapter test files (#3193)
jsnellbaker Oct 17, 2018
ea96547
fix simon spy.reset deprecation warning
snapwich Oct 17, 2018
73e7014
Stub adloader across the board to prevent requests going out (#3196)
snapwich Oct 17, 2018
a62e088
Add buyer bid adapter (#3200)
avj83 Oct 19, 2018
6879fea
Adlive bid adapter (#3109)
Oct 19, 2018
b8eb55c
Add native support to RTBHouseAdapter (#3189)
Kamoris Oct 19, 2018
86357a8
Ref and meta keyword collection feature (#3184)
ckbo3hrk Oct 19, 2018
3178468
use referrer detection module (#3188)
jsalis Oct 22, 2018
db67744
ZEDO - Updated Documentation (#3192)
skazedo Oct 22, 2018
52b8a77
change domain of sync URL (#3207)
naffis Oct 22, 2018
bf3b3ae
rename buyer to dspx (#3210)
avj83 Oct 22, 2018
14d3031
Fixes #3197 - call auctionDone() when 'No valid bid requests returned…
drdmitry Oct 23, 2018
ebca05a
[Update rexrtbBidAdapter] Update default host (#3217)
prebidRxRTB Oct 23, 2018
47d726a
adds height and width params to request (#3215)
HolzAndrew Oct 23, 2018
b4705e3
Rubicon adapter: Removed extraneous warning (#3218)
bretg Oct 23, 2018
6213708
updates jcsi (#3220)
susyt Oct 23, 2018
a7b143d
Prebid 1.29.0 Release
bretg Oct 23, 2018
8159d40
Increment pre version
bretg Oct 23, 2018
bd3cb66
add proper cleanup to realvu analytics (#3195)
snapwich Oct 23, 2018
5e27370
Submitting EMX Digital Adapter (#3173)
EMXDigital Oct 24, 2018
2863df1
TheMediaGrid Bid Adapter (#3204)
TheMediaGrid Oct 25, 2018
50a7cff
Adding user sync method for IFRAME and Pixel (#3232)
EMXDigital Oct 25, 2018
5743e2b
updates (#3162)
GLStephen Oct 26, 2018
6363197
Only set native targeting if value exists. (#3225)
nanek Oct 26, 2018
e1f55ce
add nolint command line option, similar to notest (#3234)
snapwich Oct 26, 2018
fda63ec
add inskin iab vendor id: enables consent via string (#3235)
micha Oct 26, 2018
67b24c9
Added user sync support for undertone bid adapter (#3172)
omerko Oct 29, 2018
4c085b8
Updating Auction Init Pick for timestamp + Test update (#3223)
Oct 30, 2018
50d5097
Add code, test, and doc for Adikteev adapter (#3229)
piotr-yuxuan Oct 30, 2018
9ddb20b
Quantcast adapter onTimeout (#3239)
jacekburys-quantcast Oct 30, 2018
903743a
Test cleanup (#3238)
snapwich Oct 30, 2018
0de2478
Appnexus adapter: Added dealPriority and dealCode to bidResponse (#3201)
jaiminpanchal27 Oct 30, 2018
5481af9
use unit id being sent instead of hard coded auid (#3236)
HolzAndrew Oct 30, 2018
6649ef9
Prebid 1.30.0 Release
jsnellbaker Oct 30, 2018
ab703ac
increment pre version
jsnellbaker Oct 30, 2018
2c5685c
fix deal targeting for cpm 0 (#3233)
snapwich Oct 31, 2018
d25f571
YIELDONE adapter - support Video (#3227)
kusapan Nov 1, 2018
d854db3
rtbhouseBidAdapter changes (#3241)
Kamoris Nov 1, 2018
ec023ba
correct user agent value population (#3248)
ankur-modi Nov 1, 2018
728465c
Increase timeoutBuffer default to 400 ms (#3258)
jaiminpanchal27 Nov 2, 2018
033b151
Ensure transaction ID is always unique (#3190)
naegelin Nov 2, 2018
1110e25
Add canonical url to referer info (#3254)
jaiminpanchal27 Nov 5, 2018
5e1c996
Bidfluence adapter 1.x (#3244)
francescocristallo Nov 5, 2018
432c656
Rivr Analytics Adapter (#3202)
Nov 5, 2018
db24dea
MarsMedia analytic adpater to use PREBID_GLOBAL than hard-coded pbjs …
pm-harshad-mane Nov 5, 2018
7fe95d8
On set targeting (#3203)
jsfaure Nov 6, 2018
01e6718
Added trackers in ZEDO adapter (#3240)
skazedo Nov 6, 2018
0d5ea4b
Rubicon analytics site zone (#3242)
Nov 6, 2018
3b541a3
Multi currency (#3250)
teranchristian Nov 6, 2018
4153788
Altering logic to determine if is video bid or not + update tests (#3…
Nov 6, 2018
6456231
COX COMET Bid adapter removed (#3260)
SergeyRudakov Nov 6, 2018
ec47ed0
Modified how gdpr info is being sent from adapter (#3253)
bjorn-lw Nov 6, 2018
7a5ca11
appnexus adapter support empty keyvalues in bidder params (#3257)
jsnellbaker Nov 6, 2018
05ba9e0
"Prebid 1.31.0 Release"
Nov 6, 2018
1f9e624
Increment pre version
Nov 6, 2018
3d9f5c5
fix undertone adapter user sync url (#3271)
omerko Nov 7, 2018
459a2e2
Revert "fix undertone adapter user sync url (#3271)" (#3273)
omerko Nov 7, 2018
d644363
TripleliftBidAdapter - remove dependency on getTopWindowLocation util…
brittanyzellman Nov 7, 2018
b17a11e
update AdGeneration adapter (#3228)
banakemi Nov 7, 2018
8c78cde
adding Prebid.js version to request in quantcastBidAdapter (#3230)
jacekburys-quantcast Nov 7, 2018
2206ba4
add logic to resize AST divs and iframes (#3206)
jsnellbaker Nov 8, 2018
143d1b0
Add Prebid.js version to the request (#3280)
glebglushtsov Nov 8, 2018
bf2dc9c
Tag level params passed to renderer in ZEDO Adapter (#3279)
skazedo Nov 8, 2018
a4e8c49
Adform openrtb adapter (#3245)
Pupis Nov 8, 2018
a186c83
Criteo adapter handles onSetTargeting and onBidWon (#3276)
jsfaure Nov 8, 2018
771db1c
fix: secure kargoBidAdapter against wrong Array extensions (#3275)
sielay Nov 8, 2018
1b5b83e
Add nextMilleniumBidAdapter (#3249)
Nov 12, 2018
7904190
Alias for adkernelAdn adapter (#3289)
ckbo3hrk Nov 12, 2018
40c8284
add support for platform ids (#3282)
rjvelicaria Nov 13, 2018
e834735
handles empty responses in getUserSyncs & add tests - ajaBidAdapter (…
pokutuna Nov 13, 2018
c7482b5
Prebid 1.32.0 Release
jsnellbaker Nov 13, 2018
aa61b76
increment pre version
jsnellbaker Nov 13, 2018
433efea
kargo adapter deal support (#3292)
samuelhorwitz Nov 14, 2018
3320a83
Add new alias for Adtelligent adapter (#3295)
GeneGenie Nov 14, 2018
259af19
Updated Sovrn Bid Adaptor for MultiSized and added Error Call Home. (…
jrosendahl Nov 15, 2018
8f53dca
update the TTL for winning bids to 30s (#3296)
naffis Nov 15, 2018
186ee66
only set mediaTypes.banner.sizes from sizes if mediaTypes doesn't exi…
snapwich Nov 15, 2018
6c4243c
OpenX analytics adapter (#3285)
haohany Nov 16, 2018
e1fb3a8
Triplelift - update creativeId (#3305)
brittanyzellman Nov 16, 2018
155dd8a
otm (#3302)
fedotxxl Nov 16, 2018
f5890e8
Updating bidrequestvalid and protocol checks. (#3297)
EMXDigital Nov 16, 2018
836acf7
Quantcast supporting instream video (#3303)
jacekburys-quantcast Nov 20, 2018
706f569
Do not load external js if renderer defined on adUnit (#3284)
jaiminpanchal27 Nov 20, 2018
e562c62
Prebid 1.33.0 Release
Nov 20, 2018
4c31200
Increment Pre Version
Nov 20, 2018
aed272f
YieldbotBidAdapter to use implicit document open via write (#3313)
elljoh Nov 21, 2018
4b14844
- vertoz adaptor response params updated (#3316)
mohit546 Nov 21, 2018
f8b14ec
Rename adformOpenRTBBidAdapter (#3318)
Pupis Nov 21, 2018
e90b5d5
Added 930x600 to Rubicon Adapter (#3323)
hdeodhar Nov 26, 2018
7990f92
PubMatic adapter to support TTD (#3311)
pm-harshad-mane Nov 27, 2018
c7b060b
Sonobi - support video and display same adunit (#3325)
JonGoSonobi Nov 27, 2018
0654c06
Fix user-sync iframes insertion bug (#3300)
kelvin-chappell Nov 27, 2018
2660078
Prevent 33Across adapter from throwing an error when unable to getEle…
glebglushtsov Nov 27, 2018
a4863ae
TripleliftBidAdapter-update creative_id (#3324)
brittanyzellman Nov 27, 2018
45a41ad
Updating Optimera scores file base path. (#3312)
Nov 28, 2018
27107e2
support image pixel type for user sync (#3326)
lu-ruo Nov 28, 2018
45f1f67
Prebid 1.34.0 Release
jsnellbaker Nov 28, 2018
56b154c
increment pre version
jsnellbaker Nov 28, 2018
96fef93
Added 980x150 size (#3334)
hdeodhar Nov 29, 2018
e9bd097
replaced deprecated getWindowTopLocation with refererInfo.referer (#3…
bansawbanchee Nov 30, 2018
7aef26e
new TapHype bidder adapter (#3319)
aeliox Dec 3, 2018
6f1d23b
fix(adyoulike): use bidderRequest referer info (#3339)
j343my Dec 3, 2018
b215559
Fix for Quantum Adapter empty size detection (#3329)
benjaminclot Dec 4, 2018
5e3f144
update gulp packages to address vulnerability (#3343)
jsnellbaker Dec 4, 2018
96df52f
initial version of ozone adapter for review (#3307)
afsheenb Dec 4, 2018
f7473c7
update AdGenetation adapter (+1 squashed commit) (#3327)
banakemi Dec 4, 2018
d933a96
adding additional bid request validity checks. updating how we grab …
EMXDigital Dec 4, 2018
9e752d8
Update TTL to 30 mins (#3345)
Dec 4, 2018
9271d36
Set the OpenRTB device dimensions (#3336)
dbemiller Dec 4, 2018
00c955a
removing out console.log statements in ozoneBidAdapter test file (#3349)
jsnellbaker Dec 4, 2018
e8d9b1a
Prebid 1.35.0 Release
jsnellbaker Dec 4, 2018
650aa3a
increment pre version
jsnellbaker Dec 4, 2018
f80f2d5
Bidfluence Adapter update - Single call (#3347)
francescocristallo Dec 7, 2018
3b7f462
conditionally adds another param to browserParams (#3355)
susyt Dec 7, 2018
ca69912
enable ozone to support multiple bid responses (#3354)
afsheenb Dec 7, 2018
efc28ad
increment to correct pre version
jsnellbaker Dec 7, 2018
8fa2a84
update unit test example to mocha recommendations (#3361)
jsnellbaker Dec 7, 2018
522a0ce
Supply2 Bid Adapter (#3335)
Vishalrkanse Dec 7, 2018
13182f7
Dctr fixes (#3337)
pm-manasi-moghe Dec 7, 2018
5a2282e
Added publisher common ID support to sonobi adapter. (#3363)
edahood-sonobi Dec 10, 2018
239f180
adding native parameters: body2, rating, privacyLink (#3348)
aneuway2 Dec 10, 2018
f424cd2
Add user sync pixel logic in Adtelligent adapter (#3359)
GeneGenie Dec 10, 2018
88156e7
AppNexus debug auction via cookie (#3314)
aneuway2 Dec 10, 2018
4c1f690
fix bug when syncsPerBidder was set to 0 (#3360)
jsnellbaker Dec 13, 2018
ba49c0d
update conversant bid adapter to use video playerSize instead of size…
sohlhausen Dec 13, 2018
5253d29
Remove application json from bid request header (#3346)
ankur-modi Dec 13, 2018
bbc6316
feat(video-platform-ids): BID-3468: video support for platform IDs (#…
rjvelicaria Dec 14, 2018
32a611d
Add a new adapter for Appier bidder. (#3370)
PCMan-Appier Dec 14, 2018
65afce6
new no bid event and no bids available from auction (#3286)
snapwich Dec 17, 2018
14bf872
New bidder adapter for collectcent (#3365)
devcollectcent Dec 18, 2018
514fc5f
Added 640x360 size (#3388)
hdeodhar Dec 18, 2018
05df581
Added 250x800 size (#3390)
hdeodhar Dec 18, 2018
9277365
update AJA adapter: support user sync by iframe (#3382)
naoto0822 Dec 18, 2018
7224e78
Prebid 1.36.0 Release
Dec 18, 2018
691dcf6
Increment pre version
Dec 18, 2018
f2e5f17
add support for userSyncLimit field in s2sConfig (#3375)
jsnellbaker Dec 18, 2018
49ea705
Rivr thin adapter (#3351)
Dec 19, 2018
e5f4255
Fix multi-bid adId in Criteo bid adapter (#3340)
Spark-NF Dec 19, 2018
e476021
Modified the Telaria Bid Adapter to use bid.mediaTypes.video.playerSi…
telariaEng Dec 20, 2018
e3c67d0
New adapter Coinzilla (#3385)
arkan303 Jan 2, 2019
b1eeaa9
Rubicon analytics fix bid response mapping (#3411)
Jan 2, 2019
320f9ed
Consent module doublecall (#3399)
olafbuitelaar Jan 2, 2019
9b47b1a
pbs adapter support bidder specifc options (#3394)
idettman Jan 2, 2019
be77fa5
Change DivReach adapter to be alias of AdButler. (#3386)
dharton Jan 2, 2019
10a9111
Replace deprecated getWindowTopLocation with referrer detection modul…
ix-prebid-support Jan 2, 2019
3c9592f
Upgrade packages (#3405)
deekshithraop Jan 3, 2019
74dcdfa
Fix #3265 - pbs cookie sync race condition (#3393)
jsnellbaker Jan 3, 2019
ec8d5a6
Update conversant adapter support for video playerSize (#3376)
pycnvr Jan 3, 2019
cda814b
ozone adapter now explicitly sets site.page object, adds debug flag v…
afsheenb Jan 3, 2019
460a1e2
Eslintformatting2 (#3416)
olafbuitelaar Jan 3, 2019
b5041ac
fix spacing in gulp lint command (#3418)
jsnellbaker Jan 4, 2019
26e88f4
STR adapter should not hardcode `const` into script content (#3417)
Jan 4, 2019
38f0262
update IE version in readme (#3419)
jsnellbaker Jan 4, 2019
0948b8f
Improve Digital adapter: Support for native ads & single request (#3401)
jbartek25 Jan 8, 2019
41af500
revert package.lock changes
Jan 8, 2019
e9dea17
Adding Remaining Native Parameters from AppNexus Native response (#3387)
aneuway2 Jan 8, 2019
90656ee
Insert iframe as the last child of Html tag (#3415)
deekshithraop Jan 8, 2019
4b53954
changing default currency file (#3414)
bretg Jan 9, 2019
cdcb097
1.37.0 release
mkendall07 Jan 9, 2019
4c664e7
1.38-pre
mkendall07 Jan 9, 2019
c07e60d
Sonobi - Added support for getting the digitrust id (#3422)
JonGoSonobi Jan 9, 2019
7904b4f
Update gambid aliases (#3410)
Jan 10, 2019
10b29e8
OTM adapter update (#3407)
fedotxxl Jan 10, 2019
8bdcfdf
PubNX new standalone adapter (#3298)
prebid-pubnx Jan 10, 2019
13982d8
New adapter: Adhese (#3384)
mefjush Jan 11, 2019
99c4bd7
Initial implementation of synacormedia adapter. (#3425)
amuraco Jan 11, 2019
3a44263
Teads adapter: handle video playerSize (#3423)
valsouche Jan 15, 2019
339c93d
Support for Native in Pubmatic Adapter (#3408)
pm-shashank-jain Jan 15, 2019
937ea8a
New Orbidder Prebid Adapter (#3434)
Jan 15, 2019
83fd44e
Rad 2626 override set keywords (#3448)
deekshithraop Jan 15, 2019
8635c91
Using Prebid.js as npm dependency (#3435)
snapwich Jan 15, 2019
78f2d22
fix orbidder pathing and test (#3451)
snapwich Jan 15, 2019
42cd7ae
Update e-planning bid adapter regexp (#3445)
Nistenf Jan 16, 2019
d626c73
Tests: ensure 12:00:00 hour part on fake timestamp (#3452)
lovell Jan 16, 2019
4f88aa6
pass esModules flag for istanbul-instrumenter-loader
snapwich Jan 16, 2019
55a56d0
Prebid 1.38.0 Release
Jan 16, 2019
92bfb29
Increment pre version
Jan 16, 2019
53517d3
Bid caching flag (#3402)
snapwich Jan 18, 2019
55de081
New advenue header bidding adapter (#3429)
devadvenue Jan 22, 2019
f26003d
calling for currency file even when default rates are specified (#3470)
bretg Jan 22, 2019
b436eb6
LiveYield Analytics Adapter (#3443)
tomek-jedro Jan 23, 2019
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
  •  
  •  
  •  
19 changes: 0 additions & 19 deletions .babelrc

This file was deleted.

34 changes: 34 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

let path = require('path');

function useLocal(module) {
return require.resolve(module, {
paths: [
__dirname
]
})
}

module.exports = {
"presets": [
[
useLocal('@babel/preset-env'),
{
"targets": {
"browsers": [
"chrome >= 61",
"safari >=8",
"edge >= 14",
"ff >= 57",
"ie >= 10",
"ios >= 8"
]
}
}
]
],
"plugins": [
path.resolve(__dirname, './plugins/pbjsGlobals.js'),
useLocal('babel-plugin-transform-object-assign')
]
};
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: sudo npm install -g gulp
- run: sudo npm install -g gulp-cli
# Download and run BrowserStack local
- run:
name : Download BrowserStack Local binary and start it.
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ A test module might have the following general structure:
import { expect } from 'chai'; // may prefer 'assert' in place of 'expect'
import adapter from 'src/adapters/<adapter>';

describe('<Adapter>', () => {
it('<description of unit or feature being tested>', () => {
describe('<Adapter>', function () {
it('<description of unit or feature being tested>', function () {
// Arrange - set up preconditions and inputs
// Act - call or act on the code under test
// Assert - use chai to check that expected results have occurred
Expand Down
25 changes: 25 additions & 0 deletions PREBID_VERSIONING_DEPRECATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Prebid versioning and deprecation policy

## Goals
Provide clear definitions and policy around versioning and breaking changes to APIs that are both publisher and demand partner facing.

- Limit the number of breaking changes.
- Ensure significant time for updates for breaking changes so that publisher or demand partners do not break.
- Provide a path to deprecation and reduce technical debt and increase security.
- Major versions should not be changed more than once per 30 days.

## Versioning

Follow semantic versioning so that all breaking changes occur within a major release. A breaking change includes both demand partner internal APIs* and publisher facing APIs (global APIs).

*Demand partner APIs may be excluded from breaking change policy at the core teams discretion if the changes are made so to be transparent to the bidders (such as internal refactoring).

## Deprecation process

- Open an issue with an "intent to implement" and "API impact" labels.
- Allow 2 weeks for discussion.
- Announce breaking change to the mailing list (TBD needs to be created).
- At least 2 core members needs to provide explicit approval for the deprecation.
- Open a PR against current master for console warning for possible breakage.
- Support the previous major version for a minimum of 30 days.
- Coordinate with the core team to ensure clean merging into feature branch if applicable (future major version branch).
5 changes: 3 additions & 2 deletions PR_REVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ For modules and core platform updates, the initial reviewer should request an ad
- Once there is 2 `LGTM` on the PR, merge to master
- Ask the submitter to add a PR for documentation if applicable.
- Add a line into the [draft release](https://github.com/prebid/Prebid.js/releases) notes for this submission. If no draft release is available, create one using [this template]( https://gist.github.com/mkendall07/c3af6f4691bed8a46738b3675cb5a479)
- Add the PR to the appropriate project board (I.E. 1.23.0 Release) for the week, [see](https://github.com/prebid/Prebid.js/projects)

### New Adapter or updates to adapter process
- Follow steps above for general review process. In addition, please verify the following:
Expand All @@ -39,9 +40,9 @@ For modules and core platform updates, the initial reviewer should request an ad
## Ticket Coordinator

Each week, Prebid Org assigns one person to keep an eye on incoming issues and PRs. That person should:
- Review issues and PRs at least once per weekday for new items.
- Review issues and PRs at least once per weekday for new items. Encourage a 48 "SLA" on PRs/issues assigned. Aim for touchpoint once every 48/hours.
- For PRs: assign PRs to individuals on the PR review list. Try to be equitable -- not all PRs are created equally. Use the "Assigned" field and add the "Needs Review" label.
- For Issues: try to address questions and troubleshooting requests on your own, assigning them to others as needed.
- For Issues: try to address questions and troubleshooting requests on your own, assigning them to others as needed. Please add labels as appropriate (I.E. bug, question, backlog etc).
- Issues that are questions or troubleshooting requests may be closed if the originator doesn't respond within a week to requests for confirmation or details.
- Issues that are bug reports should be left open and assigned to someone in PR rotation to confirm or deny the bug status.
- It's polite to check with others before assigning them large tasks.
Expand Down
99 changes: 96 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Code Climate](https://codeclimate.com/github/prebid/Prebid.js/badges/gpa.svg)](https://codeclimate.com/github/prebid/Prebid.js)
[![Coverage Status](https://coveralls.io/repos/github/prebid/Prebid.js/badge.svg)](https://coveralls.io/github/prebid/Prebid.js)
[![devDependencies Status](https://david-dm.org/prebid/Prebid.js/dev-status.svg)](https://david-dm.org/prebid/Prebid.js?type=dev)
[![Total Alerts](https://img.shields.io/lgtm/alerts/g/prebid/Prebid.js.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/prebid/Prebid.js/alerts/)

# Prebid.js

Expand All @@ -15,11 +16,94 @@ Working examples can be found in [the developer docs](http://prebid.org/dev-docs

**Table of Contents**

- [Usage](#Usage)
- [Install](#Install)
- [Build](#Build)
- [Run](#Run)
- [Contribute](#Contribute)

<a name="Usage"></a>

## Usage (as a npm dependency)

*Note:* Requires Prebid.js v1.38.0+

Prebid.js depends on Babel and some Babel Plugins in order to run correctly in the browser. Here are some examples for
configuring webpack to work with Prebid.js.

With Babel 7:
```javascript
// webpack.conf.js
let path = require('path');
module.exports = {
mode: 'production',
module: {
rules: [

// this rule can be excluded if you don't require babel-loader for your other application files
{
test: /\.m?js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
}
},

// this separate rule is required to make sure that the Prebid.js files are babel-ified. this rule will
// override the regular exclusion from above (for being inside node_modules).
{
test: /.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.
// this can be accomplished by requiring prebid's .babelrc.js file (requires Babel 7 and Node v8.9.0+)
options: require('prebid.js/.babelrc.js')
}
}
]
}
}
```

Or for Babel 6 and/or Node v8.6.0 and less:
```javascript
// you must manually install and specify the presets and plugins yourself
options: {
plugins: [
"transform-object-assign", // required (for IE support) and "babel-plugin-transform-object-assign"
// must be installed as part of your package.
require('prebid.js/plugins/pbjsGlobals.js') // required!
],
presets: [
["env", { // you can use other presets if you wish.
"targets": { // this example is using "babel-presets-env", which must be installed if you
"browsers": [ // follow this example.
... // your browser targets. they should probably match the targets you're using for the rest
// of your application
]
}
}]
]
}
```

Then you can use Prebid.js as any other npm depedendency

```javascript
import prebid from 'prebid.js';
import 'prebid.js/modules/rubiconBidAdapter'; // imported modules will register themselves automatically with prebid
import 'prebid.js/modules/appnexusBidAdapter';
prebid.processQueue(); // required to process existing pbjs.queue blocks and setup any further pbjs.queue execution

prebid.requestBids({
...
})

```



<a name="Install"></a>

## Install
Expand All @@ -28,7 +112,16 @@ Working examples can be found in [the developer docs](http://prebid.org/dev-docs
$ cd Prebid.js
$ npm install

*Note:* You need to have `NodeJS` 4.x or greater installed.
*Note:* You need to have `NodeJS` 6.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.

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).

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

Once setup, run the following command to globally install the `gulp-cli` package: `npm install gulp-cli -g`


<a name="Build"></a>

Expand Down Expand Up @@ -167,7 +260,7 @@ Many SSPs, bidders, and publishers have contributed to this project. [60+ Bidder

For guidelines, see [Contributing](./CONTRIBUTING.md).

Our PR review process can be found [here](https://github.com/prebid/Prebid.js/tree/master/pr_review.md).
Our PR review process can be found [here](https://github.com/prebid/Prebid.js/tree/master/PR_REVIEW.md).

### Add a Bidder Adapter

Expand Down Expand Up @@ -207,7 +300,7 @@ For instructions on writing tests for Prebid.js, see [Testing Prebid.js](http://

### Supported Browsers

Prebid.js is supported on IE10+ and modern browsers.
Prebid.js is supported on IE11 and modern browsers.

### Governance
Review our governance model [here](https://github.com/prebid/Prebid.js/tree/master/governance.md).
26 changes: 22 additions & 4 deletions RELEASE_SCHEDULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ Announcements regarding releases will be made to the #headerbidding-dev channel

## Release Process

1. Make Sure all browserstack tests are passing. On PR merge to master travis will run unit tests on browserstack. Checking the last travis build [here](https://travis-ci.org/prebid/Prebid.js/branches) for master branch will show you detailed results.
_Note: If `github.com/prebid/Prebid.js` is not configured as the git origin for your repo, all of the following git commands will have to be modified to reference the proper remote (e.g. `upstream`)_

1. Make Sure all browserstack tests are passing. On PR merge to master CircleCI will run unit tests on browserstack. Checking the last CircleCI build [here](https://circleci.com/gh/prebid/Prebid.js) for master branch will show you detailed results.

In case of failure do following,
- Try to fix the failing tests.
- If you are not able to fix tests in time. Skip the test, create issue and tag contributor.

#### How to run tests in browserstack

_Note: the following browserstack information is only relevant for debugging purposes, if you will not be debugging then it can be skipped._

Set the environment variables. You may want to add these to your `~/.bashrc` for convenience.

Expand Down Expand Up @@ -59,11 +63,12 @@ Announcements regarding releases will be made to the #headerbidding-dev channel
Pull these changes locally by running command
```
git pull
git fetch --tags
```

and verify the tag.

5. Update coveralls
5. Update coveralls _(skip for legacy)_

We use https://coveralls.io/ to show parts of code covered by unit tests.

Expand All @@ -75,22 +80,35 @@ Announcements regarding releases will be made to the #headerbidding-dev channel

Run `gulp coveralls` to update code coverage history.

6. Distribute the code
6. Distribute the code

_Note: do not go to step 7 until step 6 has been verified completed._

Reach out to any of the Appnexus folks to trigger the jenkins job.

// TODO
Jenkins job is moving files to appnexus cdn, pushing prebid.js to npm, purging cache and sending notification to slack.
Move all the files from Appnexus CDN to jsDelivr and create bash script to do above tasks.

7. Post Release Steps
7. Post Release Version

Update the version
Manually edit Prebid's package.json to become "1.x.x-pre" (using the values for the next release). Then commit your changes.
```
git commit -m "Increment pre version"
git push
```

8. Create new release draft

Go to [github releases](https://github.com/prebid/Prebid.js/releases) and add a new draft for the next version of Prebid.js with the following template:
```
## 🚀New Features

## 🛠Maintenance

## 🐛Bug Fixes
```

## Beta Releases

Expand Down
2 changes: 1 addition & 1 deletion gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
try {
var absoluteModulePath = path.join(__dirname, MODULE_PATH);
internalModules = fs.readdirSync(absoluteModulePath)
.filter(file => !(/(^|\/)\.[^\/\.]/g).test(file))
.filter(file => (/^[^\.]+(\.js)?$/).test(file))
.reduce((memo, file) => {
var moduleName = file.split(new RegExp('[.\\' + path.sep + ']'))[0];
var modulePath = path.join(absoluteModulePath, file);
Expand Down
Loading