Skip to content

Commit b779f04

Browse files
Merge branch 'release/0.3.9'
2 parents dde621b + ab02793 commit b779f04

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

Resources/Private/Frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@eliashaeussler/typo3-warming",
33
"description": "Frontend for EXT:warming, an extension for TYPO3 CMS that warms up Frontend caches based on an XML sitemap",
4-
"version": "0.3.8",
4+
"version": "0.3.9",
55
"license": "GPL-2.0-or-later",
66
"scripts": {
77
"build": "cross-env NODE_ENV=production webpack",

Resources/Private/Frontend/src/scripts/modules/Backend/Modal/CacheWarmupProgressModal.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ class CacheWarmupProgressModal {
9494
const failedCount = progress.getNumberOfFailedUrls();
9595
const {current, total} = progress.progress;
9696

97-
this.$progressBar.addClass('active');
97+
this.$progressBar.addClass('progress-bar-animated active');
9898
this.$progressBar.attr('aria-valuenow', current);
9999
this.$progressBar.attr('aria-valuemax', total);
100100
this.$progressBar.css('width', `${percent}%`);
101101
this.$progressBar.html(`${percent.toFixed(2)}%`);
102102

103103
if (failedCount > 0) {
104-
this.$progressBar.addClass('progress-bar-warning');
104+
this.$progressBar.addClass('progress-bar-warning bg-warning');
105105
this.$failedCounter.show().html(
106106
Util.formatString(TYPO3.lang[LanguageKeys.modalProgressFailedCounter], failedCount.toString())
107107
);
@@ -113,9 +113,9 @@ class CacheWarmupProgressModal {
113113

114114
if (progress.isFinished()) {
115115
this.$progressBar
116-
.removeClass('active')
117-
.removeClass('progress-bar-warning')
118-
.addClass(failedCount > 0 ? 'progress-bar-danger' : 'progress-bar-success');
116+
.removeClass('progress-bar-animated active')
117+
.removeClass('progress-bar-warning bg-warning')
118+
.addClass(failedCount > 0 ? 'progress-bar-danger bg-danger' : 'progress-bar-success bg-success');
119119
}
120120
}
121121

@@ -163,9 +163,9 @@ class CacheWarmupProgressModal {
163163
* @private
164164
*/
165165
private buildInitialModalContent(): JQuery {
166-
const $content = $('<div>');
166+
const $content = $('<div class="d-flex flex-column gap-3">');
167167

168-
this.$progressBar = $('<div class="progress-bar progress-bar-striped">')
168+
this.$progressBar = $('<div class="progress-bar progress-bar-striped progress-bar-animated active">')
169169
.attr('role', 'progressbar')
170170
.attr('aria-valuemin', 0)
171171
.attr('aria-valuemax', 0)

Resources/Private/Frontend/src/scripts/modules/Backend/Modal/CacheWarmupReportModal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class CacheWarmupReportModal {
122122
$('<a>')
123123
.attr('href', url)
124124
.attr('target', '_blank')
125-
.addClass('btn btn-default btn-sm')
125+
.addClass('btn btn-default btn-sm nowrap')
126126
.html(`${viewPageIcon} ${TYPO3.lang[LanguageKeys.modalReportActionView]}`)
127127
)
128128
);

Resources/Public/JavaScript/Backend/ContextMenu/CacheWarmupContextMenuAction.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Resources/Public/JavaScript/Backend/Modal/CacheWarmupProgressModal.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Resources/Public/JavaScript/Backend/Modal/CacheWarmupReportModal.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Resources/Public/JavaScript/Backend/Toolbar/CacheWarmupMenu.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

captainhook.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"enabled": true,
1515
"actions": [
1616
{
17-
"action": ".Build/bin/ec -e .Build",
17+
"action": ".Build/bin/ec --git-only",
1818
"options": [],
1919
"conditions": [
2020
{

codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
comment:
22
behavior: new
3+
require_changes: true

ext_emconf.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@
2424
'title' => 'Warming',
2525
'description' => 'Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.',
2626
'category' => 'be',
27-
'version' => '0.3.8',
27+
'version' => '0.3.9',
2828
'state' => 'beta',
2929
'clearCacheOnLoad' => true,
3030
'author' => 'Elias Häußler',
3131
'author_email' => 'elias@haeussler.dev',
32-
'author_company' => 'familie redlich digital GmbH',
3332
'constraints' => [
3433
'depends' => [
3534
'typo3' => '10.4.0-11.5.99',

0 commit comments

Comments
 (0)