Feature Wiki

Information about planned and released features

Tabs

WOPI-Action Administration

1 Initial Problem

Currently, you can only activate WOPI and enter the Discovery URL in the administration. An info message shows the file extensions for which "edit" actions are currently available.

However, WOPI enables more actions than just "edit" actions; the list of possible actions is as follows:

 <xs:simpleType name="st_wopi-action-values">
   <xs:restriction base="xs:string">
     <xs:enumeration value="view" />
     <xs:enumeration value="edit" />
     <xs:enumeration value="mobileView" />
     <xs:enumeration value="embedview" />
     <xs:enumeration value="embededit" />
     <xs:enumeration value="present" />
     <xs:enumeration value="presentservice" />
     <xs:enumeration value="attend" />
     <xs:enumeration value="attendservice" />
     <xs:enumeration value="editnew" />
     <xs:enumeration value="imagepreview" />
     <xs:enumeration value="interactivepreview" />
     <xs:enumeration value="formsubmit" />
     <xs:enumeration value="formedit" />
     <xs:enumeration value="rest" />
     <xs:enumeration value="preloadview" />
     <xs:enumeration value="preloadedit" />
     <xs:enumeration value="rtc" />
     <xs:enumeration value="getinfo" />
     <xs:enumeration value="convert" />
     <xs:enumeration value="syndicate" />
     <xs:enumeration value="legacywebservice" />
     <xs:enumeration value="collab" />
     <xs:enumeration value="formpreview" />
     <xs:enumeration value="documentchat" />
   </xs:restriction>
 </xs:simpleType>

2 Conceptual Summary

The settings for WOPI can currently be found in the administration under "Extending ILIAS" and "Third Party Software". All WOPI settings will now be a separate administration item in the menu under "Extending ILIAS". This now contains two tabs as a result of the implementation:

  • Settings (previous form for entering the WOPi discovery URL)
  • Actions

The new Actions tab contains the administration of the available actions provided by the WOPi discovery URL. The following action types are supported in a first version:

  • edit
  • view
  • convert

The tab contains a UI\Table\Presentation with the respective title (consisting of file extension and action) and additional data, such as the target format for convert actions.

The following actions are available as multi and single actions:

  • Activate/deactivate (depending on status)

By deactivating an action, it is no longer available for components that want to edit or display a file via the action.

Above the table there is a UI\Filter for filtering by "File extension" (text), action (select) and status (select).

3 User Interface Modifications

3.1 List of Affected Views

  • Administration > WOPI

3.2 User Interface Details

see description above in Conceptual Summary

3.3 New User Interface Concepts

None

3.4 Accessibility Implications

The use of existing UI components does not introduce any new implications for accessibility.

4 Technical Information

The implementation takes place entirely in the WOPI component.

5 Privacy

No new personal data is collected or processed as a result of the implementation of the feature. 

6 Security

The implementation of the feature does not introduce any new attack vectors. there are no further special security-related considerations to be made.

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

10 Implementation

{ The maintainer has to give a description of the final implementation and add screenshots if possible. }

Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

Privacy

Information in privacy.md of component: updated on {date} by {user} | no change required

Approval

Approved at {date} by {user}.

Last edited: 30. Apr 2024, 21:19, Schmid, Fabian [fschmid]