Skip to content

Commit 40cd428

Browse files
committed
Merge branch '6.2' into 6.3
2 parents 2b44908 + 0d53ae8 commit 40cd428

113 files changed

Lines changed: 232 additions & 158 deletions

File tree

Some content is hidden

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

com.woltlab.wcf/package.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
66
<packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
77
<isapplication>1</isapplication>
8-
<version>6.2.1 dev 1</version>
9-
<date>2026-03-02</date>
8+
<version>6.2.1 dev 2</version>
9+
<date>2026-03-06</date>
1010
</packageinformation>
1111

1212
<authorinformation>
@@ -98,10 +98,9 @@ tar cvf com.woltlab.wcf/files_pre_check.tar -C wcfsetup/install/files/ \
9898
<instruction type="script">acp/update_com.woltlab.wcf_6.2_cleanUpDsStore.php</instruction>
9999
</instructions>
100100

101-
<instructions type="update" fromversion="6.2.0">
101+
<instructions type="update" fromversion="6.2.1 dev 1">
102102
<instruction type="acpTemplate">acptemplates_update.tar</instruction>
103103
<instruction type="file">files_update.tar</instruction>
104104
<instruction type="template">templates_update.tar</instruction>
105-
<instruction type="language"/>
106105
</instructions>
107106
</package>

com.woltlab.wcf/templates/shared_benchmark.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="benchmark">
2-
{if ENABLE_DEBUG_MODE}<button class="benchmarkDetailsButton">{/if}
2+
{if ENABLE_DEBUG_MODE}<button type="button" class="benchmarkDetailsButton">{/if}
33
Execution time: {$__wcf->getBenchmark()->getExecutionTime()}s ({#($__wcf->getBenchmark()->getExecutionTime()-$__wcf->getBenchmark()->getQueryExecutionTime())/$__wcf->getBenchmark()->getExecutionTime()*100}% PHP, {#$__wcf->getBenchmark()->getQueryExecutionTime()/$__wcf->getBenchmark()->getExecutionTime()*100}% SQL) | SQL queries: {#$__wcf->getBenchmark()->getQueryCount()} | Memory-Usage: {$__wcf->getBenchmark()->getMemoryUsage()}
44
{if ENABLE_DEBUG_MODE}</button>{/if}
55

ts/WoltLabSuite/Core/Component/Image/Cropper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class ExactImageCropper extends ImageCropper {
357357

358358
if (sizes.length === 0) {
359359
const smallestSize =
360-
this.configuration.sizes.length > 1 ? this.configuration.sizes[this.configuration.sizes.length - 1] : undefined;
360+
this.configuration.sizes.length > 0 ? this.configuration.sizes[this.configuration.sizes.length - 1] : undefined;
361361
throw new Error(
362362
getPhrase("wcf.upload.error.image.tooSmall", {
363363
width: smallestSize?.width,

ts/WoltLabSuite/Core/Component/Quote/Message.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,12 +631,13 @@ function getElementBoundaries(selection: Selection | null): ElementBoundaries {
631631
const rect = selection.getRangeAt(0).getBoundingClientRect();
632632

633633
const scrollTop = window.scrollY;
634+
634635
return {
635636
bottom: rect.bottom + scrollTop,
636637
height: rect.height,
637638
left: rect.left,
638639
right: rect.right,
639640
top: rect.top + scrollTop,
640-
width: rect.height,
641+
width: rect.width,
641642
};
642643
}

ts/WoltLabSuite/Core/Component/Quote/Storage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export function clearQuotesForEditor(editorId: string): void {
171171
usedQuotes.get(editorId)?.forEach((uuid) => {
172172
for (const [key, quotes] of storage.quotes) {
173173
const quote = quotes.get(uuid);
174-
if (quote?.rawMessage !== null) {
174+
if (quote !== undefined && quote.rawMessage !== null) {
175175
fullQuotes.push(key);
176176
}
177177

@@ -207,7 +207,7 @@ function storeQuote(objectType: string, message: Message, quote: Quote): string
207207
storage.messages.set(key, message);
208208

209209
for (const [uuid, q] of storage.quotes.get(key)!) {
210-
if ((q.rawMessage !== null && q.rawMessage === null) || q.message === quote.message) {
210+
if ((q.rawMessage !== null && q.rawMessage === quote.rawMessage) || q.message === quote.message) {
211211
return uuid;
212212
}
213213
}

wcfsetup/install/files/acp/templates/boxList.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<nav class="contentHeaderNavigation">
99
<ul>
1010
<li>
11-
<button class="button jsButtonBoxAdd">
11+
<button type="button" class="button jsButtonBoxAdd">
1212
{icon name='plus'}
1313
<span>{lang}wcf.acp.box.add{/lang}</span>
1414
</button>

wcfsetup/install/files/acp/templates/devtoolsProjectSync.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ul>
1111
{if $object->validate() === ''}
1212
<li>
13-
<button class="button" id="devtoolsSyncAll">
13+
<button type="button" class="button" id="devtoolsSyncAll">
1414
{icon name='arrows-rotate' type='solid'}
1515
{lang}wcf.acp.devtools.sync.syncAll{/lang}
1616
</button>

wcfsetup/install/files/acp/templates/packageUpdateUnauthorizedPaidUpgrade.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
</section>
66
<div class="formSubmit">
77
<a href="https://pluginstore.woltlab.com/file/{$pluginStoreFileID}" target="_blank" class="button buttonPrimary">{lang}wcf.acp.package.update.purchaseRequired.button.purchase{/lang}</a>
8-
<button style="display: none">{* dummy button for compatibility with the JS module *}</button>
9-
</div>
8+
<button type="button" style="display: none">{* dummy button for compatibility with the JS module *}</button>
9+
</div>

wcfsetup/install/files/acp/templates/pageList.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<nav class="contentHeaderNavigation">
99
<ul>
1010
<li>
11-
<button class="button jsButtonPageAdd">
11+
<button type="button" class="button jsButtonPageAdd">
1212
{icon name='plus'}
1313
<span>{lang}wcf.acp.page.add{/lang}</span>
1414
</button>

wcfsetup/install/files/acp/templates/rebuildData.tpl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<nav class="contentHeaderNavigation">
2828
<ul>
29-
<li><button class="button jsRebuildAll">{icon name='down-long'} <span>{lang}wcf.acp.rebuildData.rebuildAll{/lang}</span></button></li>
29+
<li><button type="button" class="button jsRebuildAll">{icon name='down-long'} <span>{lang}wcf.acp.rebuildData.rebuildAll{/lang}</span></button></li>
3030
{event name='contentHeaderNavigation'}
3131
</ul>
3232
</nav>
@@ -49,9 +49,10 @@
4949
<dl class="wide">
5050
<dd>
5151
<button
52-
class="button small jsRebuildDataWorker"
53-
data-nicevalue="{$offset}"
54-
data-class-name="{$worker->getClassName()}"
52+
type="button"
53+
class="button small jsRebuildDataWorker"
54+
data-nicevalue="{$offset}"
55+
data-class-name="{$worker->getClassName()}"
5556
>{$worker->getName()}</button>
5657
<small>{$worker->getDescription()}</small>
5758
</dd>

0 commit comments

Comments
 (0)