Skip to content

Commit

Permalink
Merge branch 'release/36.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Sep 16, 2024
2 parents e33d58a + adcbf14 commit fa7fb68
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 30 deletions.
1 change: 1 addition & 0 deletions Documentation/Technical/Changelog/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Double check if you have cleared all caches after installing a new LUX version t

| Version | Date | State | TYPO3 | Description |
|------------|------------|----------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 36.4.0 | 2024-09-16 | Feature | `11.5 + 12.4` | Add a Modern.js file to add frontend JS with a basic bot detection (this file is not yet added per default in TypoScript and only for testing reasons available at the moment) |
| 36.3.1 | 2024-08-20 | Task | `11.5 + 12.4` | Fix a crosslink from lead detail view in Analysis module back to companies view |
| 36.3.0 | 2024-08-16 | Task | `11.5 + 12.4` | Add more KI user agents to blocklist, fix company scoring value in list view |
| 36.2.0 | 2024-08-05 | Task | `11.5 + 12.4` | Add main configuration to stop/enable exception logging, extend lists of bots/spider user agent to prevent unneeded tracking |
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Build/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
18
10 changes: 10 additions & 0 deletions Resources/Private/Build/JavaScript/Frontend/Modern.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { load } from '@fingerprintjs/botd';

(async () => {
const botDetection = await load({ monitoring: false });
const { bot: isBot } = await botDetection.detect();

if (!isBot) {
await import('./Lux');
}
})();
20 changes: 20 additions & 0 deletions Resources/Private/Build/build.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { defineBuildConfig } from "unbuild";

export default defineBuildConfig({
entries: [
{
builder: "rollup",
name: "index",
input: "./JavaScript/Frontend/Modern",
outDir: "../../Public/JavaScript/Lux/modern",
},
],
rollup: {
esbuild: {
minify: true,
}
},
outDir: "../../Public/JavaScript/Lux/modern",
clean: true,
failOnWarn: false,
});
57 changes: 29 additions & 28 deletions Resources/Private/Build/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
{
"name": "lux",
"description": "Living User Experience - LUX - the marketing automation tool for TYPO3.",
"author": "in2code",
"private": true,
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"gulp": "^4.0.2",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.0.0",
"gulp-uglify": "^3.0.2",
"rollup": "^2.61.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.54.3"
},
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js build",
"watch": "./node_modules/gulp/bin/gulp.js default"
},
"dependencies": {
"@fingerprintjs/fingerprintjs": "^2.1.0",
"basiclightbox": "^5.0.0",
"ua-parser-js": "^0.7.31"
}
"name": "lux",
"description": "Living User Experience - LUX - the marketing automation tool for TYPO3.",
"author": "in2code",
"private": true,
"scripts": {
"build": "./node_modules/gulp/bin/gulp.js build && unbuild",
"watch": "./node_modules/gulp/bin/gulp.js default"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@fingerprintjs/botd": "^1.9.1",
"@fingerprintjs/fingerprintjs": "^2.1.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"basiclightbox": "^5.0.0",
"gulp": "^4.0.2",
"gulp-plumber": "^1.2.1",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.0.0",
"gulp-uglify": "^3.0.2",
"rollup": "^2.61.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.54.3",
"typescript": "^5.6.2",
"ua-parser-js": "^0.7.31",
"unbuild": "^2.0.0"
}
}
5 changes: 5 additions & 0 deletions Resources/Public/JavaScript/Lux/modern/chunks/Lux.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Resources/Public/JavaScript/Lux/modern/index.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'description' => 'Living User Experience - LUX - the Marketing Automation tool for TYPO3.
Turn your visitors to leads. Identification and profiling of your visitors within your TYPO3 website.',
'category' => 'plugin',
'version' => '36.3.1',
'version' => '36.4.0',
'author' => 'Alex Kellner',
'author_email' => '[email protected]',
'author_company' => 'in2code.de',
Expand Down

0 comments on commit fa7fb68

Please sign in to comment.