Integrate multiple Bottle applications #80
Labels
No labels
bug
enhancement
good first issue
halted
help wanted
security
wait for upstream
wait to be tested
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: b3yond/ticketfrei#80
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Author: @b3yond Posted at: 12.01.2019 10:30
We want to rework our architecture. #79
For this, we need to support that the bots can have their frontend functions in their own webui.py. frontend.py will still be the parent bottle application and will keep the functions for user management etc.
According to the documentation, it should be possible to mount the bot Bottle applications to integrate them into the frontend: https://bottlepy.org/docs/dev/api.html#bottle.Bottle.mount
Let's find out how this works and what we need to consider.
The folder structure could become a problem; to make the website secure, it should not have write access to code which is executed by the backend or anything else. On the other hand we need to import templates from the bot directories. No solution for this yet.
Author: @b3yond Posted at: 27.01.2019 22:16
The templates are already split up for the different bots: #85