Skip to content
KodHisar
Menu
TR

HisarBlok 0.6–0.8: a multilingual forum, migration from eight forum packages and signed updates

Three releases: forum and member pages in every site language, migration from eight forum packages including Discourse, Flarum, Invision and vBulletin 5, and an updater that opens nothing without a valid signature and rolls itself back when something goes wrong.

Three releases have shipped since 0.5. Every item is from the changelog.

0.6 — the forum and members in every language

Forum and member pages are now built in every language of the site: /forum/ and /en/forum/, /uye/giris/ and /en/account/sign-in/. A category belongs to one language or to all; a topic takes its category's language and keeps one address. A member has one account for all languages; mails go out in the member's language, which they can pick on their account page. None of the existing Turkish addresses changed.

0.7 — forum migration

Importers for vBulletin 5, Discourse, Flarum and Invision Community 4 join the existing phpBB, MyBB, SMF, vBulletin 3–4 and XenForo ones. Categories, topics, posts and members come across; members sign in with their old passwords, which are upgraded to a strong hash on first sign-in. Old addresses are redirected permanently, but never over a page that is live on the site. One fix is worth saying plainly: the older forum importers never ran from the command line at all.

0.8 — signed and atomic updates

tools/update.php unpacks a new version only if its signature checks out, takes a backup first, switches the code in one move and, if a migration fails, brings back both the code and the database by itself. An interrupted update is finished or undone with --recover, and --undo reverses the last one. The tool runs as the site's own account and refuses to run as root. We made that decision after three separate security audits: keeping root support safe meant a far larger attack surface than not offering it at all.

Status

About 3,950 tests and 19 browser scenarios. HisarBlok is still in development; the source code and a download package are coming soon.

← All posts