forked from tsileo/microblog.pub
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
upkeepingNo changes in functionality: likely improving tests and refactoring to improve code qualityNo changes in functionality: likely improving tests and refactoring to improve code quality
Milestone
Description
The @router.post("/actions/new", response_model=None) (link) is one of the foundational actions in this software.
Currently, it packs too much on it, including:
- processing and creating different objects based on post type
- uploading attached files (should be a separate action)
- send "updates" to boxes (currently only creates...?)
- redirects user
I believe that at least file processing should be separated to facilitate functionalities like this one. Moreover, I also think that "updating" the AP boxes should be separated, which would make sense if we go in this direction.
Metadata
Metadata
Assignees
Labels
upkeepingNo changes in functionality: likely improving tests and refactoring to improve code qualityNo changes in functionality: likely improving tests and refactoring to improve code quality