Realtime Collaborative Form Editor (EXPERIMENTAL)
Collaboratively edit wiki forms in realtime with friends and colleagues |
Type | XAR |
Category | Application |
Developed by | |
Active Installs | 2 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
Description
RtForm is a Realtime Collaborative Form Editor which extends the XWiki form and XWiki objects editors.
Use Realtime Form
If a document is currently being edited in Realtime, the normal "This document has been locked for editing" screen will appear but will allow you to join the Realtime Collaborative Session if applicable.
Since objects in XWiki are shared between all the translations of a page but they can also contain the "content" of the document, RtForm is only available while editing the default language of the page. If a user tries to edit the form of a translated page, he will be infrm that he can access a realtime verson of the form using the default language.
And of course if you are uncomfortable with realtime editing, you can click on the ALLOW REALTIME COLLABORATION checkbox to return to normal editing at any time and your preferences will be preserved.
Configuration
You can configure the Realtime Form extension in the wiki administration. The configuration is available in the section Realtime Editors of the Applications category
Here you can find all the configurable elements of the different realtime extensions There are currently 2 configurable fields about the Forms:
- Enable RTForm for all classes of the wiki:
- If set to "---" (empty), it means that the configuration from the main wiki will be used instead of the current one. If you are already in the main wiki, "---" is equivalent to "Yes".
- If set to "Yes", Realtime Form is enabled on all the wiki pages edited with the "Inline form" or the "Object" editors.
- If set to "No", Realtime Form is disabled in the wiki, but it can then be enabled for specific classes (see below)
- List of classes allowed to use Realtime Form
- Here you can choose the list of classes allowed to enable Realtime Form. All pages containing an object of one of these classes will have Realtime Form enabled when edited with the "Inline form" or "Object" editor.
- Only the classes with a bounded sheet are displayed in that list. If you want to enable realtime with another class, you can add it in the list using the input field.
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.
You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:
- Log in the wiki with a user having Administration rights
- Go to the Administration page and select the Import category
- Follow the on-screen instructions to upload the downloaded XAR
- Click on the uploaded XAR and follow the instructions
- You'll also need to install all dependent Extensions that are not already installed in your wiki
Release Notes
v1.6
Use the new Realtime Frontend with reconnecting websockets to re-enable editing after a connection failure
v1.5
Ability to add non-listed classes in the configurable field (for the old applications that don't use a sheet)
Ability to force RTForm in an application with $xwiki.jsx.use('RTForm.MakeRealtime') (ignore the configurable fields)
v1.4
Add a configurable class to enable RTForm on the whole wiki or only on selected classes.
In a subwiki, if it is not configured, the main wiki configuration will be used instead.
v1.3
Update the toolbar style
Update the RTFrontend dependency to version 1.4
v1.2.1
Remove the "Join the realtime form (object) session" button since the RTForm/object mode is disabled
v1.2
Fix an issue causing the Wysiwyg editors in form to be in read-only mode
v1.1
Disable RTForm in the object editor which has a wrong behavior when an object is added to the document.
Improve the style of RTForm (toolbar and green-shadow on realtime fields)
Add configurable elements in the admin interface:
- Allow RTForm in the whole wiki: RTForm is available in all pages when using "Inline form" editing
- Allow RTForm for selected classes: only the classes using a sheet are available here
Dependencies
Dependencies for this extension (yannflory:rtform 1.6):