Add support for blog deletion #282
No reviewers
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#282
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "blog-deletion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fix #181
At the moment it is done in a similar way to user deletion, i.e. post deletion is not federated, whereas it should probably be. Tell me if I have to implement that part too before merging.
There is a new string to translate ("Delete this blog") however I don't know well how gettext work so I did not add it to
.po
sI think article deletion should be federated, but we could probably implement it in another PR.
To add the new string to the
.po
files, just add this topo/plume.pot
(the template used for the.po
)You should probably delete
BlogAuthor
s linked to this blog too.I was testing if changes I was doing would work, then I noticed I did not have entry from previous attempts. Delete is set to cascade on blog_authors, so we don't actually need to delete blog_authors, databases do it by themselves
Edit:
Actually most entities are deleted in cascade, we could even let the database delete posts (but this would mean no deletion federation)
Thank you!