GitHub/WoltLab/com.woltlab.wcf.exporter.git
20 months agoRelease 5.5.10 5.5.10
Alexander Ebert [Thu, 16 Mar 2023 15:55:46 +0000 (16:55 +0100)]
Release 5.5.10

20 months agoFix PHP codestyle
Tim Düsterhus [Fri, 3 Mar 2023 11:42:29 +0000 (12:42 +0100)]
Fix PHP codestyle

20 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Fri, 3 Mar 2023 11:13:08 +0000 (12:13 +0100)]
Merge branch '5.4' into 5.5

20 months agoDrop useless javascript.yml workflow 5.4.final
Tim Düsterhus [Tue, 31 May 2022 14:52:13 +0000 (16:52 +0200)]
Drop useless javascript.yml workflow

20 months agoFix error when handling values of GROUP_CONCAT (WBB3)
Marcel Werk [Thu, 23 Feb 2023 14:38:40 +0000 (15:38 +0100)]
Fix error when handling values of GROUP_CONCAT (WBB3)

21 months agoRelease 5.5.9 5.5.9
Alexander Ebert [Fri, 17 Feb 2023 11:11:12 +0000 (12:11 +0100)]
Release 5.5.9

21 months agoFix issue when importing comments from wordpress
Marcel Werk [Thu, 16 Feb 2023 11:19:03 +0000 (12:19 +0100)]
Fix issue when importing comments from wordpress

Comments assigned to a parent comment that no longer exists resulted in an error.

21 months agoFix issue when importing articles from wordpress
Marcel Werk [Tue, 14 Feb 2023 12:31:38 +0000 (13:31 +0100)]
Fix issue when importing articles from wordpress

The 'comment' column was removed with version 5.5

22 months agoRelease 5.5.8 5.5.8
Alexander Ebert [Thu, 19 Jan 2023 13:25:50 +0000 (14:25 +0100)]
Release 5.5.8

22 months agoUnescape HTML entities in user titles
Alexander Ebert [Tue, 10 Jan 2023 11:44:24 +0000 (12:44 +0100)]
Unescape HTML entities in user titles

22 months agoMerge pull request #73 from WoltLab/thread-user-status-export
Marcel Werk [Wed, 4 Jan 2023 11:14:56 +0000 (12:14 +0100)]
Merge pull request #73 from WoltLab/thread-user-status-export

Add support for thread user status export (WoltLab Suite Forum 5.5)

22 months agoAdd support for thread user status export (WoltLab Suite Forum 5.5)
Marcel Werk [Wed, 14 Dec 2022 16:35:02 +0000 (17:35 +0100)]
Add support for thread user status export (WoltLab Suite Forum 5.5)

23 months agoFix code style
Tim Düsterhus [Wed, 14 Dec 2022 16:38:22 +0000 (17:38 +0100)]
Fix code style

see 25c97d4549107d8b580011931cc3ddba03f78887
see bmewburn/vscode-intelephense#2303

23 months agoApply auto-format
Marcel Werk [Wed, 14 Dec 2022 16:00:45 +0000 (17:00 +0100)]
Apply auto-format

23 months agoRelease 5.5.7 5.5.7
Alexander Ebert [Thu, 24 Nov 2022 17:10:24 +0000 (18:10 +0100)]
Release 5.5.7

2 years agoRemove the query LIMIT and OFFSET from the attachment export
Alexander Ebert [Mon, 24 Oct 2022 15:17:00 +0000 (17:17 +0200)]
Remove the query LIMIT and OFFSET from the attachment export

2 years agoDrop the superfluous `ORDER BY` clause
Alexander Ebert [Mon, 24 Oct 2022 14:47:17 +0000 (16:47 +0200)]
Drop the superfluous `ORDER BY` clause

This was required for the previous query that used `LIMIT … OFFSET` to fetch the data.

2 years agoFilter out defective polls that do not contain poll options
Alexander Ebert [Sat, 22 Oct 2022 11:13:28 +0000 (13:13 +0200)]
Filter out defective polls that do not contain poll options

2 years agoImprove the performance of the attachment export
Alexander Ebert [Sat, 22 Oct 2022 11:13:06 +0000 (13:13 +0200)]
Improve the performance of the attachment export

The query caused a full table scan, slowing down each cycle dramatically.

2 years agoRelease 5.5.6 5.5.6
Alexander Ebert [Tue, 18 Oct 2022 14:51:44 +0000 (16:51 +0200)]
Release 5.5.6

2 years agoFix typo in phpBB exporters
Tim Düsterhus [Wed, 5 Oct 2022 14:31:35 +0000 (16:31 +0200)]
Fix typo in phpBB exporters

2 years agoRelease 5.5.5 5.5.5
Alexander Ebert [Thu, 22 Sep 2022 16:07:36 +0000 (18:07 +0200)]
Release 5.5.5

2 years agoUpdate for PHP CS Fixer 3.11.0
Tim Düsterhus [Wed, 21 Sep 2022 14:57:49 +0000 (16:57 +0200)]
Update for PHP CS Fixer 3.11.0

2 years agoUpdate for PHP CS Fixer 3.10.0
Tim Düsterhus [Tue, 30 Aug 2022 15:25:01 +0000 (17:25 +0200)]
Update for PHP CS Fixer 3.10.0

2 years agoDisable `return_assignment` in .php-cs-fixer.dist.php
Tim Düsterhus [Tue, 30 Aug 2022 15:24:43 +0000 (17:24 +0200)]
Disable `return_assignment` in .php-cs-fixer.dist.php

2 years agoRelease 5.5.4 5.5.4
Alexander Ebert [Fri, 19 Aug 2022 13:00:32 +0000 (15:00 +0200)]
Release 5.5.4

2 years agoMerge branch '5.4' into 5.5
Alexander Ebert [Fri, 19 Aug 2022 12:56:04 +0000 (14:56 +0200)]
Merge branch '5.4' into 5.5

2 years agoRelease 5.4.22 5.4.22
Alexander Ebert [Fri, 19 Aug 2022 12:54:19 +0000 (14:54 +0200)]
Release 5.4.22

2 years agoMerge branch '5.4' into 5.5
Tim Düsterhus [Wed, 20 Jul 2022 13:07:17 +0000 (15:07 +0200)]
Merge branch '5.4' into 5.5

2 years agoFix incorrect use of `<void/>` 5.5.3
Alexander Ebert [Wed, 20 Jul 2022 12:25:17 +0000 (14:25 +0200)]
Fix incorrect use of `<void/>`

2 years agoRelease 5.5.3
Alexander Ebert [Wed, 20 Jul 2022 12:04:08 +0000 (14:04 +0200)]
Release 5.5.3

2 years agoFix converting of Wordpress messages
Marcel Werk [Wed, 20 Jul 2022 11:44:29 +0000 (13:44 +0200)]
Fix converting of Wordpress messages

Improved converting of paragraphs and quotes.

2 years agoRelease 5.5.3 dev 1 5.5.3_dev_1
Alexander Ebert [Fri, 15 Jul 2022 13:16:08 +0000 (15:16 +0200)]
Release 5.5.3 dev 1

2 years agoUpdate for PHP CS Fixer 3.9.2
Tim Düsterhus [Tue, 12 Jul 2022 09:35:29 +0000 (11:35 +0200)]
Update for PHP CS Fixer 3.9.2

2 years agoRelease 5.5.0 5.5.0
Alexander Ebert [Wed, 6 Jul 2022 11:57:06 +0000 (13:57 +0200)]
Release 5.5.0

2 years agoRelease 5.5.0 RC 3 5.5.0_RC_3
Alexander Ebert [Fri, 1 Jul 2022 15:50:39 +0000 (17:50 +0200)]
Release 5.5.0 RC 3

2 years agoUpdate gsactions/commit-message-checker
Tim Düsterhus [Fri, 1 Jul 2022 09:41:36 +0000 (11:41 +0200)]
Update gsactions/commit-message-checker

2 years agoFix code style in Flarum1xExporter
Tim Düsterhus [Thu, 30 Jun 2022 15:27:39 +0000 (17:27 +0200)]
Fix code style in Flarum1xExporter

2 years agoMerge pull request #71 from WoltLab/vb5-fixes
Tim Düsterhus [Thu, 30 Jun 2022 15:26:56 +0000 (17:26 +0200)]
Merge pull request #71 from WoltLab/vb5-fixes

vBulletin 5 Improvements

2 years agovB5: Take `channel.category` into account when deciding on the boardType
Tim Düsterhus [Thu, 30 Jun 2022 14:12:04 +0000 (16:12 +0200)]
vB5: Take `channel.category` into account when deciding on the boardType

Apparently newer vBulletin 5 versions no longer set the `CANCONTAINTHREADS` bit
in channel options.

2 years agovB 5: Add support for file system attachments
Tim Düsterhus [Fri, 19 Nov 2021 13:25:08 +0000 (14:25 +0100)]
vB 5: Add support for file system attachments

2 years agoRelease 5.5.0 RC 2 5.5.0_RC_2
Alexander Ebert [Mon, 20 Jun 2022 15:38:24 +0000 (17:38 +0200)]
Release 5.5.0 RC 2

2 years agoFlarum: Faithfully reproduce post replies
Tim Düsterhus [Fri, 17 Jun 2022 08:08:12 +0000 (10:08 +0200)]
Flarum: Faithfully reproduce post replies

Flarum supports a mention with an attached Post ID to indicate a reply. This
pattern does not directly translate into WoltLab Suite, without creating very
odd-looking posts. Import those as a simple link with an arrow as the link
text.

2 years agoFlarum: Force any line breaks to be hard line breaks
Tim Düsterhus [Fri, 17 Jun 2022 07:50:25 +0000 (09:50 +0200)]
Flarum: Force any line breaks to be hard line breaks

Apparently Flarum's Markdown flavor interprets all line breaks within the
entered text content as hard breaks, instead of soft wrapping of the source.

2 years agoFlarum: Insert line breaks between paragraphs
Tim Düsterhus [Fri, 17 Jun 2022 07:44:57 +0000 (09:44 +0200)]
Flarum: Insert line breaks between paragraphs

2 years agoRelease 5.5.0 RC 1 5.5.0_RC_1
Alexander Ebert [Tue, 7 Jun 2022 11:19:23 +0000 (13:19 +0200)]
Release 5.5.0 RC 1

2 years agoFlarum: Convert `[center]` and `[size=x]` BBCodes
Tim Düsterhus [Tue, 7 Jun 2022 08:16:05 +0000 (10:16 +0200)]
Flarum: Convert `[center]` and `[size=x]` BBCodes

2 years agoMerge pull request #70 from WoltLab/flarum
Tim Düsterhus [Tue, 7 Jun 2022 07:06:40 +0000 (09:06 +0200)]
Merge pull request #70 from WoltLab/flarum

Add Flarum exporter

2 years agoFix code style in Flarum1xExporter
Tim Düsterhus [Fri, 3 Jun 2022 14:25:56 +0000 (16:25 +0200)]
Fix code style in Flarum1xExporter

2 years agoAdd objectType.xml to upgrade from 5.4
Tim Düsterhus [Fri, 3 Jun 2022 14:19:27 +0000 (16:19 +0200)]
Add objectType.xml to upgrade from 5.4

2 years agoFlarum: Strip `>` in front of code blocks
Tim Düsterhus [Mon, 30 May 2022 10:09:00 +0000 (12:09 +0200)]
Flarum: Strip `>` in front of code blocks

This avoids a rendering issue with Parsedown, which would strip the indentation
in the code block, possibly breaking YAML et al.

2 years agoFlarum: Add support for the "Friends of Flarum" poll extension
Tim Düsterhus [Mon, 30 May 2022 10:08:33 +0000 (12:08 +0200)]
Flarum: Add support for the "Friends of Flarum" poll extension

2 years agoInitial import of Flarum 1.x exporter
Tim Düsterhus [Tue, 17 May 2022 08:28:20 +0000 (10:28 +0200)]
Initial import of Flarum 1.x exporter

2 years agoMerge branch '5.4' into 5.5
Tim Düsterhus [Fri, 3 Jun 2022 14:17:31 +0000 (16:17 +0200)]
Merge branch '5.4' into 5.5

2 years agoRevert "Removed the upgrade instructions from 5.4.*"
Tim Düsterhus [Thu, 2 Jun 2022 14:06:52 +0000 (16:06 +0200)]
Revert "Removed the upgrade instructions from 5.4.*"

This reverts commit d18f797a8164d1a5d3015df9e4866faf779d3287.

2 years agoRelease 5.4.17 5.4.17
Alexander Ebert [Wed, 1 Jun 2022 14:42:11 +0000 (16:42 +0200)]
Release 5.4.17

2 years agoMerge branch '5.4' into 5.5
Tim Düsterhus [Tue, 31 May 2022 14:50:40 +0000 (16:50 +0200)]
Merge branch '5.4' into 5.5

2 years agoUpdate to setup-node@v3
Tim Düsterhus [Tue, 31 May 2022 14:50:32 +0000 (16:50 +0200)]
Update to setup-node@v3

2 years agoRelease 5.5.0 Beta 3 5.5.0_Beta_3
Alexander Ebert [Fri, 20 May 2022 14:24:30 +0000 (16:24 +0200)]
Release 5.5.0 Beta 3

2 years agoSupport for meta tags from articles (WoltLab Suite 5)
Marcel Werk [Sat, 14 May 2022 11:00:30 +0000 (13:00 +0200)]
Support for meta tags from articles (WoltLab Suite 5)

2 years agoAdd the 5.5 branch to GitHub workflows
Tim Düsterhus [Tue, 10 May 2022 15:32:20 +0000 (17:32 +0200)]
Add the 5.5 branch to GitHub workflows

2 years agoRelease 5.5.0 Beta 1 5.5.0_Beta_1
Alexander Ebert [Tue, 10 May 2022 14:40:46 +0000 (16:40 +0200)]
Release 5.5.0 Beta 1

2 years agoRemoved the upgrade instructions from 5.4.*
Alexander Ebert [Tue, 10 May 2022 14:15:40 +0000 (16:15 +0200)]
Removed the upgrade instructions from 5.4.*

2 years agoReplace `StringUtil::getHash()` by `\sha1()`
Tim Düsterhus [Fri, 6 May 2022 09:56:57 +0000 (11:56 +0200)]
Replace `StringUtil::getHash()` by `\sha1()`

see WoltLab/WCF#4279

2 years agoAdd PHP 8.1 to the php.yml workflow
Tim Düsterhus [Thu, 5 May 2022 12:51:28 +0000 (14:51 +0200)]
Add PHP 8.1 to the php.yml workflow

2 years agoMerge branch '5.4'
Marcel Werk [Sun, 1 May 2022 17:10:59 +0000 (19:10 +0200)]
Merge branch '5.4'

2 years agoMerge pull request #69 from WoltLab/wbb3-attachment-performance
Marcel Werk [Sun, 1 May 2022 17:08:41 +0000 (19:08 +0200)]
Merge pull request #69 from WoltLab/wbb3-attachment-performance

Improve import performance for attachments (WBB3.x)

2 years agoMerge pull request #68 from WoltLab/vb5-poll-reply
Marcel Werk [Fri, 22 Apr 2022 09:13:15 +0000 (11:13 +0200)]
Merge pull request #68 from WoltLab/vb5-poll-reply

vBulletin 5: Fix the import of replies to polls

2 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 19 Apr 2022 08:42:05 +0000 (10:42 +0200)]
Merge branch '5.4'

2 years agoRelease 5.4.16 5.1.16 5.4.16
Alexander Ebert [Thu, 14 Apr 2022 14:58:40 +0000 (16:58 +0200)]
Release 5.4.16

2 years agoFixed wrong order of query parameters
Marcel Werk [Tue, 12 Apr 2022 12:13:09 +0000 (14:13 +0200)]
Fixed wrong order of query parameters

2 years agoSwitched position of containerType/containerID
Marcel Werk [Tue, 12 Apr 2022 12:11:40 +0000 (14:11 +0200)]
Switched position of containerType/containerID

2 years agoUse limit/offset for fetching the attachments
Marcel Werk [Tue, 12 Apr 2022 12:00:40 +0000 (14:00 +0200)]
Use limit/offset for fetching the attachments

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 7 Apr 2022 07:34:57 +0000 (09:34 +0200)]
Merge branch '5.4'

2 years agoRemove the codestyle workflow from branches that are not master
Tim Düsterhus [Thu, 7 Apr 2022 07:34:42 +0000 (09:34 +0200)]
Remove the codestyle workflow from branches that are not master

2 years agoRemove trailing whitespace in WBB3xExporter
Tim Düsterhus [Thu, 7 Apr 2022 07:20:55 +0000 (09:20 +0200)]
Remove trailing whitespace in WBB3xExporter

2 years agoFix code style
Marcel Werk [Wed, 6 Apr 2022 16:44:34 +0000 (18:44 +0200)]
Fix code style

2 years agoImprove import performance for attachments (WBB3.x)
Marcel Werk [Wed, 6 Apr 2022 16:41:26 +0000 (18:41 +0200)]
Improve import performance for attachments (WBB3.x)

Closes #64

2 years agoUpdate update instructions for 5.5
Tim Düsterhus [Wed, 6 Apr 2022 13:41:59 +0000 (15:41 +0200)]
Update update instructions for 5.5

2 years agovBulletin 5: Fix the import of replies to polls
Tim Düsterhus [Wed, 6 Apr 2022 09:05:49 +0000 (11:05 +0200)]
vBulletin 5: Fix the import of replies to polls

Fixes #67

2 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 4 Apr 2022 12:30:40 +0000 (14:30 +0200)]
Merge branch '5.4'

2 years agovb 3/4: Fix import of boardType
Tim Düsterhus [Mon, 4 Apr 2022 12:19:52 +0000 (14:19 +0200)]
vb 3/4: Fix import of boardType

This was accidentally broken in a337ae310fcbfc2f19a229e22c4e7710202b508a.

2 years agoFixed MySQL8 incompatibility
Marcel Werk [Mon, 28 Mar 2022 13:43:07 +0000 (15:43 +0200)]
Fixed MySQL8 incompatibility

2 years agoSupport for gallery import from IPB3
Marcel Werk [Mon, 28 Mar 2022 13:41:25 +0000 (15:41 +0200)]
Support for gallery import from IPB3

2 years agoRelease 5.4.15 5.4.15
Alexander Ebert [Thu, 17 Mar 2022 16:43:58 +0000 (17:43 +0100)]
Release 5.4.15

2 years agoMerge branch '5.4'
Tim Düsterhus [Mon, 14 Mar 2022 10:29:25 +0000 (11:29 +0100)]
Merge branch '5.4'

2 years agoFix formatting in XoborExporter
Tim Düsterhus [Thu, 10 Mar 2022 11:28:51 +0000 (12:28 +0100)]
Fix formatting in XoborExporter

2 years agoRelease 5.4.15 dev 1 5.4.15_dev_1
Alexander Ebert [Thu, 10 Mar 2022 13:54:38 +0000 (14:54 +0100)]
Release 5.4.15 dev 1

2 years agoMerge branch '5.4'
Tim Düsterhus [Wed, 9 Mar 2022 14:29:38 +0000 (15:29 +0100)]
Merge branch '5.4'

2 years agoUpgrade to `actions/checkout@v3`
Tim Düsterhus [Wed, 9 Mar 2022 14:21:52 +0000 (15:21 +0100)]
Upgrade to `actions/checkout@v3`

2 years agoUse `\str_starts_with()` instead of `\strpos()` in WBB4xExporter
Tim Düsterhus [Fri, 4 Mar 2022 11:00:59 +0000 (12:00 +0100)]
Use `\str_starts_with()` instead of `\strpos()` in WBB4xExporter

2 years agoMerge branch '5.4'
Tim Düsterhus [Fri, 4 Mar 2022 10:59:57 +0000 (11:59 +0100)]
Merge branch '5.4'

2 years agoWBB 4.x: Fix PHP 8.1 compatibility with NULL values in board title / description
Tim Düsterhus [Fri, 4 Mar 2022 10:59:04 +0000 (11:59 +0100)]
WBB 4.x: Fix PHP 8.1 compatibility with NULL values in board title / description

> Message: strpos(): Passing null to parameter #1 ($haystack) of type string is
> deprecated

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 3 Mar 2022 11:25:32 +0000 (12:25 +0100)]
Merge branch '5.4'

2 years agoUse `vb5Argon2` as password algorithm
Tim Düsterhus [Mon, 21 Feb 2022 09:06:52 +0000 (10:06 +0100)]
Use `vb5Argon2` as password algorithm

See WoltLab/WCF@d29c66fda64ffdaaf16db07e04a67f7b6d6f93fd
See d7f9e04924a657800e31e70958389856f8215a50

2 years agoRelease 5.4.14 5.4.14
Alexander Ebert [Tue, 15 Feb 2022 13:37:02 +0000 (14:37 +0100)]
Release 5.4.14

2 years agoRelease 5.4.14 dev 1 5.4.14_dev_1
Alexander Ebert [Thu, 10 Feb 2022 17:03:34 +0000 (18:03 +0100)]
Release 5.4.14 dev 1

2 years agoFix calls to ->getConfig() in XF2xExporter
Tim Düsterhus [Fri, 4 Feb 2022 09:06:22 +0000 (10:06 +0100)]
Fix calls to ->getConfig() in XF2xExporter

2 years agoFix call to ->getConfig() in XF12xExporter::exportUserAvatars()
Tim Düsterhus [Fri, 4 Feb 2022 09:05:09 +0000 (10:05 +0100)]
Fix call to ->getConfig() in XF12xExporter::exportUserAvatars()

2 years agoClean up the `$methods` array
Tim Düsterhus [Fri, 4 Feb 2022 09:03:54 +0000 (10:03 +0100)]
Clean up the `$methods` array

This was performed using:

    <?php

    namespace wcf\system\exporter;

    use ReflectionProperty;

    class AbstractExporter {}

    $files = glob('files/lib/system/exporter/*.php');

    foreach ($files as $file) {
     require($file);
     $class = 'wcf\\system\\exporter\\'.basename($file, ".class.php");
     echo $class, \PHP_EOL;

     $obj = new $class();
     $prop = new ReflectionProperty($class, 'methods');
     $prop->setAccessible(true);
     $methods = $prop->getValue($obj);

     foreach ($methods as $method) {
     $method = 'export'.$method;

     if (!\method_exists($obj, $method)) {
     echo $method, \PHP_EOL;
     }
     }

     foreach (\get_class_methods($obj) as $method) {
     if (!\str_starts_with($method, 'export')) {
     continue;
     }

     if (!\in_array(\preg_replace('/^export/', '', $method), $methods)) {
     echo $method, \PHP_EOL;
     }
     }
    }