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
FriendsOfFlarum Drafts
MikeJones 0.3.1 is the latest the setting should be in your user settings page which you can configure on Discuss as well: https://discuss.flarum.org/settings
- Edited
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)
0.3.2
- Fix autosave when no content to save FriendsOfFlarum/drafts44
- Fix drafts saving after a sucessful post FriendsOfFlarum/drafts40
- Fix error when trying to close out of Composer after posting draft & opening a different one FriendsOfFlarum/drafts34
- Add 'delete all drafts' feature
Huge thank you to @askvortsov for his hard work on this release ️
Updating
composer require fof/drafts:"*"
php flarum cache:clear
[deleted]
IanM thanks very much for this. Will this extension be updated in discuss ? I've 80 orphaned drafts I want to delete !
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
[deleted]
clarkwinkelmann I have 500 ahah
Ouch
clarkwinkelmann I am on beta 15 and looked at drafts which is on 0.3.1
So not sure what wrong
[deleted]
askvortsov Double Ouch
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.
- Edited
hi dear devs, add please button "delete all drafts"
its spamm if more time read topics
upd:
TOWUK Already it has updated. Just update the extension.