Content
View differences
Updated by Eric Schubert 11 days ago
### Technical stuff
* introduce module `wikis` in code base
* new model `WikiIntegration`
* 2 sub models: `XWikiWikiIntegration`, `InternalWikiIntegration`
* XWiki
* insert URL to wiki (in XWiki an instance can host multiple wikis)
* alternative: URL to wiki instance and then selecting and creating wikis from that wiki instance (new admin interaction)
* generate a UUID for identification from the other side (XWiki)
* maybe instead of having an identifier per wiki integration have an instance ID
* consume an identifier from XWiki to identify them
* Authentication strategy
* OIDC
* bidirectional OAuth2
* existent model `Wiki`
* reworked to be the object referencing `WikiIntegration`
* replacing `Project` reference with `ProjectWiki` reference
* dropping status ❓
* new model `ProjectWiki`
* created when configuring a project to have access to a wiki
* `WikiPage` can only point to a `Wiki`, that has a `InternalWikiIntegration`
* `Wiki` needs to refer to its integration type when calling any queries or commands
**Class diagram**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:457px;" src="/api/v3/attachments/919765/content">
### Hints
* renaming an xwiki a wiki **could** work
* we would need to update all inline page links
* better: do not use URLs in description text, but use inline page link blocks - e.g. `[[wiki:page-id]]`
* introduce module `wikis` in code base
* new model `WikiIntegration`
* 2 sub models: `XWikiWikiIntegration`, `InternalWikiIntegration`
* XWiki
* insert URL to wiki (in XWiki an instance can host multiple wikis)
* generate a UUID for identification from the other side (XWiki)
* maybe instead of having an identifier per wiki integration have an instance ID
* consume an identifier from XWiki to identify them
* Authentication strategy
* OIDC
* bidirectional OAuth2
* existent model `Wiki`
* reworked to be the object referencing `WikiIntegration`
* replacing `Project` reference with `ProjectWiki` reference
* dropping status ❓
* new model `ProjectWiki`
* created when configuring a project to have access to a wiki
* `WikiPage` can only point to a `Wiki`, that has a `InternalWikiIntegration`
* `Wiki` needs to refer to its integration type when calling any queries or commands
**Class diagram**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:457px;" src="/api/v3/attachments/919765/content">
* renaming an xwiki
* we would need to update all inline page links
* better: do not use URLs in description text, but use inline page link blocks - e.g. `[[wiki:page-id]]`