Skip to content

Commit a34e3e4

Browse files
author
pavel
committed
Revert "Merge branch 'prebid:master' into setupad-adapter"
This reverts commit 1c14dbe, reversing changes made to 7fe9ea5.
1 parent e14bcc7 commit a34e3e4

File tree

829 files changed

+20081
-72467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

829 files changed

+20081
-72467
lines changed

.devcontainer/devcontainer.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
},
1010

1111
"postCreateCommand": "bash .devcontainer/postCreate.sh",
12-
// Make is-docker work again
13-
"postStartCommand": "test -f /.dockerenv || sudo touch /.dockerenv",
14-
12+
1513
// Set *default* container specific settings.json values on container create.
1614
"settings": {},
1715

.eslintrc.js

+2-33
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,12 @@ module.exports = {
1111
node: {
1212
moduleDirectory: ['node_modules', './']
1313
}
14-
},
15-
'jsdoc': {
16-
mode: 'typescript',
17-
tagNamePreference: {
18-
'tag constructor': 'constructor',
19-
extends: 'extends',
20-
method: 'method',
21-
return: 'return',
22-
}
2314
}
2415
},
25-
extends: [
26-
'standard',
27-
'plugin:jsdoc/recommended'
28-
],
16+
extends: 'standard',
2917
plugins: [
3018
'prebid',
31-
'import',
32-
'jsdoc'
19+
'import'
3320
],
3421
globals: {
3522
'BROWSERSTACK_USERNAME': false,
@@ -59,24 +46,6 @@ module.exports = {
5946
'no-undef': 2,
6047
'no-useless-escape': 'off',
6148
'no-console': 'error',
62-
'jsdoc/check-types': 'off',
63-
'jsdoc/newline-after-description': 'off',
64-
'jsdoc/require-jsdoc': 'off',
65-
'jsdoc/require-param': 'off',
66-
'jsdoc/require-param-description': 'off',
67-
'jsdoc/require-param-name': 'off',
68-
'jsdoc/require-param-type': 'off',
69-
'jsdoc/require-property': 'off',
70-
'jsdoc/require-property-description': 'off',
71-
'jsdoc/require-property-name': 'off',
72-
'jsdoc/require-property-type': 'off',
73-
'jsdoc/require-returns': 'off',
74-
'jsdoc/require-returns-check': 'off',
75-
'jsdoc/require-returns-description': 'off',
76-
'jsdoc/require-returns-type': 'off',
77-
'jsdoc/require-yields': 'off',
78-
'jsdoc/require-yields-check': 'off',
79-
'jsdoc/tag-lines': 'off'
8049
},
8150
overrides: Object.keys(allowedModules).map((key) => ({
8251
files: key + '/**/*.js',

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v3
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@v2
4646
with:
4747
languages: ${{ matrix.language }}
4848
config-file: ./.github/codeql/codeql-config.yml
@@ -57,7 +57,7 @@ jobs:
5757
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5858
# If this step fails, then you should remove it and run the build manually (see below)
5959
- name: Autobuild
60-
uses: github/codeql-action/autobuild@v3
60+
uses: github/codeql-action/autobuild@v2
6161

6262
# ℹ️ Command-line programs to run using the OS shell.
6363
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -70,4 +70,4 @@ jobs:
7070
# ./location_of_script_within_repo/buildscript.sh
7171

7272
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@v3
73+
uses: github/codeql-action/analyze@v2

.github/workflows/issue_tracker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Generate token
1616
id: generate_token
17-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
17+
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
1818
with:
1919
app_id: ${{ secrets.ISSUE_APP_ID }}
2020
private_key: ${{ secrets.ISSUE_APP_PEM }}

PR_REVIEW.md

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Follow steps above for general review process. In addition, please verify the fo
5555
- Adapters that accept a floor parameter must also support the [floors module](https://docs.prebid.org/dev-docs/modules/floors.html) -- look for a call to the `getFloor()` function.
5656
- Adapters cannot accept an schain parameter. Rather, they must look for the schain parameter at bidRequest.schain.
5757
- The bidderRequest.refererInfo.referer must be checked in addition to any bidder-specific parameter.
58+
- If they're getting the COPPA flag, it must come from config.getConfig('coppa');
5859
- Page position must come from bidrequest.mediaTypes.banner.pos or bidrequest.mediaTypes.video.pos
5960
- Global OpenRTB fields should come from [getConfig('ortb2');](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html#setConfig-fpd):
6061
- bcat, battr, badv

features.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[
22
"NATIVE",
3-
"VIDEO",
4-
"UID2_CSTG"
3+
"VIDEO"
54
]

gulpfile.js

+5-22
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,6 @@ function makeWebpackPkg(extraConfig = {}) {
158158
}
159159
}
160160

161-
function buildCreative() {
162-
return gulp.src(['**/*'])
163-
.pipe(webpackStream(require('./webpack.creative.js')))
164-
.pipe(gulp.dest('build/creative'))
165-
}
166-
167-
function updateCreativeExample(cb) {
168-
const CREATIVE_EXAMPLE = 'integrationExamples/gpt/x-domain/creative.html';
169-
const root = require('node-html-parser').parse(fs.readFileSync(CREATIVE_EXAMPLE));
170-
root.querySelectorAll('script')[0].textContent = fs.readFileSync('build/creative/creative.js')
171-
fs.writeFileSync(CREATIVE_EXAMPLE, root.toString())
172-
cb();
173-
}
174-
175161
function getModulesListToAddInBanner(modules) {
176162
if (!modules || modules.length === helpers.getModuleNames().length) {
177163
return 'All available modules for this version.'
@@ -419,7 +405,6 @@ function watchTaskMaker(options = {}) {
419405
return function watch(done) {
420406
var mainWatcher = gulp.watch([
421407
'src/**/*.js',
422-
'libraries/**/*.js',
423408
'modules/**/*.js',
424409
].concat(options.alsoWatch));
425410

@@ -430,8 +415,8 @@ function watchTaskMaker(options = {}) {
430415
}
431416
}
432417

433-
const watch = watchTaskMaker({alsoWatch: ['test/**/*.js'], task: () => gulp.series(clean, gulp.parallel(lint, 'build-bundle-dev', test, buildCreative))});
434-
const watchFast = watchTaskMaker({livereload: false, task: () => gulp.parallel('build-bundle-dev', buildCreative)});
418+
const watch = watchTaskMaker({alsoWatch: ['test/**/*.js'], task: () => gulp.series(clean, gulp.parallel(lint, 'build-bundle-dev', test))});
419+
const watchFast = watchTaskMaker({livereload: false, task: () => gulp.series('build-bundle-dev')});
435420

436421
// support tasks
437422
gulp.task(lint);
@@ -462,23 +447,21 @@ gulp.task('build-bundle-verbose', gulp.series(makeWebpackPkg({
462447
}
463448
}), gulpBundle.bind(null, false)));
464449

465-
gulp.task('build-creative', gulp.series(buildCreative, updateCreativeExample));
466-
467450
// public tasks (dependencies are needed for each task since they can be ran on their own)
468451
gulp.task('test-only', test);
469452
gulp.task('test-all-features-disabled', testTaskMaker({disableFeatures: require('./features.json'), oneBrowser: 'chrome', watch: false}));
470-
gulp.task('test', gulp.series(clean, lint, gulp.parallel('build-creative', gulp.series('test-all-features-disabled', 'test-only'))));
453+
gulp.task('test', gulp.series(clean, lint, gulp.series('test-all-features-disabled', 'test-only')));
471454

472455
gulp.task('test-coverage', gulp.series(clean, testCoverage));
473456
gulp.task(viewCoverage);
474457

475458
gulp.task('coveralls', gulp.series('test-coverage', coveralls));
476459

477-
gulp.task('build', gulp.series(clean, 'build-bundle-prod', 'build-creative'));
460+
gulp.task('build', gulp.series(clean, 'build-bundle-prod'));
478461
gulp.task('build-postbid', gulp.series(escapePostbidConfig, buildPostbid));
479462

480463
gulp.task('serve', gulp.series(clean, lint, gulp.parallel('build-bundle-dev', watch, test)));
481-
gulp.task('serve-fast', gulp.series(clean, gulp.parallel('build-bundle-dev', buildCreative, watchFast)));
464+
gulp.task('serve-fast', gulp.series(clean, gulp.parallel('build-bundle-dev', watchFast)));
482465
gulp.task('serve-prod', gulp.series(clean, gulp.parallel('build-bundle-prod', startLocalServer)));
483466
gulp.task('serve-and-test', gulp.series(clean, gulp.parallel('build-bundle-dev', watchFast, testTaskMaker({watch: true}))));
484467
gulp.task('serve-e2e', gulp.series(clean, 'build-bundle-prod', gulp.parallel(() => startIntegServer(), startLocalServer)));

integrationExamples/gpt/adUnitFloors.html

+1
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,4 @@ <h5>Div-1</h5>
109109
</body>
110110

111111
</html>
112+

integrationExamples/gpt/adnuntius_example.html

-95
This file was deleted.

integrationExamples/gpt/contxtfulRtdProvider_example.html

-91
This file was deleted.

0 commit comments

Comments
 (0)