the-turk/flarum-quiet-edits

Do not mark posts as Edited based on some conditions.

Installs: 165

Dependents: 0

Suggesters: 2

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 4

Type:flarum-extension

0.1.2 2020-05-08 18:50 UTC

README

MIT license Latest Stable Version Total Downloads

Lately i've been obsessed with edit functions. 😂

As i promised in @Kylo#121339, this is a preparation for next version of my Diff extension. I'm not sure if i picked the right title for this extension 🤔. Anyways, edits made within the grace period immediately after posting will not be considered as formal edits. You can also ignore whitespace and case differences independently from the grace period.

  • And again, it's based on @jfcherng's diff repository.
  • Extension's icon made by Freepik.

It raises new events for developers, called PostWasRevisedQuietly & PostWasRevisedLoudly

Settings

Requirements

php ext-iconv

You can check your php version by running php -v and check if iconv is installed by running php --ri iconv (which should display iconv support => enabled).

Installation

Use Bazaar or install manually:

composer require the-turk/flarum-quiet-edits

Updating

composer update the-turk/flarum-quiet-edits
php flarum cache:clear

Usage

Enable the extension. The grace period is 120 seconds, whitespace and case differences will be ignored by default.

Links