I must be on an older version... I am running 0.3.1 for Drafts. I don't have options for auto save.... but sounds like that's a good thing for me right now 😄

    askvortsov How about a minimum character count for something to be saved as a draft? Or about autosave only working on existing drafts? And at the very least a button that would delete all of a user's drafts? If any of y'all have any other thoughts for how this could be improved, please share

    I totally agree with the purposes but regarding the method, I think it would be even better to consider some global prerequisites . Here are some orientations that - I think - would be suitable for most forums :

    • an admin setting to set autosave enable or disable for all users by default
    • an admin setting to set the default autosave interval for all users
    • a solid configuration that really auto delete all drafts of a sent post (idk if this is available in theory but as of today on discuss.flarum, this is not the case for me)
    a month later

    0.3.2

    Huge thank you to @askvortsov for his hard work on this release 👍

    Updating
    composer require fof/drafts:"*"
    php flarum cache:clear

      I got an error:

      https://flagrow.io/satis could not be fully loaded (The "https://extiverse.com/satis/packages.json" file could not be downloaded (HTTP/2 400 )), package information was loaded from the local cache and may be out of date
      ./composer.json has been updated
      Running composer update fof/drafts
      Loading composer repositories with package information
      https://flagrow.io/satis could not be fully loaded (The "https://extiverse.com/satis/packages.json" file could not be downloaded (HTTP/2 400 )), package information was loaded from the local cache and may be out of date
      Updating dependencies
      Nothing to modify in lock file
      Installing dependencies from lock file (including require-dev)
      Nothing to install, update or remove
      Generating autoload files
      composer/package-versions-deprecated: Generating version class...
      composer/package-versions-deprecated: ...done generating version class
      98 packages you are using are looking for funding.
      Use the `composer fund` command to find out more!

        MikeJones there's no error. It just didn't update anything.

        Maybe you have an outdated Flarum or you already installed the latest version of the extension. You can use php flarum info to check the version of Flarum and the extension.

        You can remove the old flagrow.io/satis endpoint from your composer.json to save Composer some time. If you have Extiverse premium extensions you can directly add the new Extiverse URL as found in your Extiverse settings.

        [deleted] I've 80 orphaned drafts

        I have 500 ahah 🤣

          MikeJones try
          composer update fof/drafts ^0.3.2 --with-all-dependencies

          The error you had is due to a lock on one of the dependent extension

          What time does the scheduler use? Is it server time or the client time?

          The scheduler is not working for me. Getting this error message in log:

          Starting...

          In Builder.php line 479:


          No query results for model [Flarum\Discussion\Discussion].


          drafts:publish [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--] <command>

            Also having a bit of an issue with the scheduler, we can pick a date with no problem but then get no way to set a time at all.

            hi dear devs, add please button "delete all drafts"
            its spamm if more time read topics 🙁

            upd: 😠