Put versioning code from TCEmain in version extension - part #1
|Priority:||Should have||Due date:|
|Assignee:||Benjamin Mack||% Done:||
This patch is the first version to put a lot of the workspace code out of tcemain so it is only used when the versioning extension is installed. It moves the following "features" in cmdmap hooks:
- processing cmd "version"
- swapping versions
- everything about stage changes
- everything about notifications
- page / branch versioning
Additionally, it adds new hooks in the cmdmap method so you can now define your own commands (maybe helpful for DAM as well?), and hook in before and after anything in the cmdmap.
This removes around 1000 lines of code from TCEmain.
(issue imported from #M15740)