Commit Graph

8 Commits

Author SHA1 Message Date
JSey c467d7f691 BUG: phpBB lists not properly converted
bbcode-to-md happily ignores all phpBB's lists. The list syntax is
    [list][*]item 1
    [*]item 2
    [/list]
and 
    [list=1][*]item 1
    [*]item 2
    [/list]
respectively for [ul] and [ol]s. Luckily, phpBB adds closing tags for [*] items. My workaround simply converts phpBBs lists into bbcode using [ul] and [ol] which then can be converted by the standard bbcode-to-md code.
2014-10-28 20:02:33 +01:00
Régis Hanol e7f251c105 LOTS of changes to properly handle post/topic revisions
FIX: history revision can now properly be hidden
FIX: PostRevision serializer is now entirely dynamic to properly handle
hidden revisions
FIX: default history modal to "side by side" view on mobile
FIX: properly hiden which revision has been hidden
UX: inline category/user/wiki/post_type changes with the revision
details
FEATURE: new '/posts/:post_id/revisions/latest' endpoint to retrieve
latest revision
UX: do not show the hide/show revision button on mobile (no room for
them)
UX: remove CSS transitions on the buttons in the history modal
FIX: PostRevisor now handles all the changes that might create new
revisions
FIX: PostRevision.ensure_consistency! was wrong due to off by 1
mistake...
refactored topic's callbacks for better readability
extracted 'PostRevisionGuardian'
2014-10-27 22:06:43 +01:00
JSey 19f623c7d7 FEATURE: import phpBB avatars
This code adds all three avatar types to the import. Uploaded avatars and default gallery avatars are converted, hotlinked are pulled from the remote web site and stored as local. Beware, though: this is currently done during the importer run and can consume loong periods of time if many downloads fail with timeouts.

A minor fix concerns attachments to posts with white space in the real_name, this is handled properly now.
2014-10-19 20:33:01 +02:00
Neil Lalonde 2737575b9c remove debug puts 2014-10-07 17:23:50 -04:00
Neil Lalonde cea2fe5ee9 FEATURE: import attachments in phpbb3 importer 2014-10-07 16:47:41 -04:00
Marty Kube b2826e9189 phpbb category names can be longer than 50 chars and are rejected during import 2014-08-03 20:44:02 -04:00
Neil Lalonde 02158e59b2 FEATURE: phpbb import script: update links to other topics so they refer to the new site; fix weird links that break after import 2014-07-10 19:21:56 -04:00
Neil Lalonde c113b5d270 FEATURE: phpbb 3 import script 2014-07-09 11:18:29 -04:00