any help with doing some pre checks with this plugin ? a test to see if uid=1 so that users can't access this embed
Clear post history
Is there a safe way to clear the post history for db optimize. I know I can disable post history but its nice to have it enabled.
A clear function would be nice or "clear all except x posts"
Hm... to be honest I never really thought about implementing a function like this purely because the post diffs themselves don't take up a large portion of the database (unless, of course, someone's making thousands of edits to a single post )
Could be part of a "cleanup" admin page, but honestly it's not really that urgent to leave it around, no?
Are you on Redis or Mongo? There is likely a command you can just run to clean it all up.
Using mongodb, but its kinda dangerous with raw queries. Need to make backup first.
Maybe add a low prio TODO for a "cleanup" admin page
How is the data for post history stored, any tips on making this manual query?