[oXygen-user] Disabling commits to other then git master branch in Web Author
oXygen XML Editor Support (Gabriel Titerlea)
support at oxygenxml.com
Wed Nov 20 06:03:40 CST 2019
Hello,
> It is possible to modify WebAuthor CSS using framework?
Yes, you can write your CSS using JavaScript [1] in a /style/ HTML
element that you can append to the /head /HTML element.
But we have decided to implement your request and we have released a
beta version of the Git plugin which includes the option to prevent
users from committing on a new branch.
You can download the beta version of the Git plugin from here [2]. See
the /web-author-github-plugin-22.0-plugin.jar/ file.
After downloading the /plugin.jar/ file you can install in in Web Author
by following the instructions found here [3].
The find the new "Allow users to commit on a new branch." option you can
visit the Git plugin configuration page [4] and click the Git section.
Best,
Gabriel
[1]
https://www.oxygenxml.com/doc/versions/21.1.1.0/ug-waCustom/topics/customizing_frameworks.html?hl=Adding%20JavaScript%20Code%20to%20a%20Framework#customizing_frameworks__adding_javascript_code_to_a_framework
[2]
https://github.com/oxygenxml/web-author-github-plugin/releases/tag/22.0-b1
[3]
https://www.oxygenxml.com/doc/versions/21.1.1.0/ug-waCustom/topics/webapp-configure-plugins.html?hl=Uploading%20a%20New%20Plugin
[4]
https://www.oxygenxml.com/doc/versions/21.1.1.0/ug-webauthor/topics/webapp-configure-plugins.html#webapp-configure-plugins__configure_a_plugin
Gabriel Titerlea
https://www.oxygenxml.com
On 18-Nov-19 17:58, Jirka Kosek wrote:
> On 15.11.2019 10:21, oXygen XML Editor Support (Gabriel Titerlea) wrote:
>>> Is it possible to disable this option in the dialog box?
>> We don't have an easy method for disabling this option. The only way to
>> do this is to load a CSS file [1] that hides the checkbox.
>> But the problem with this approach is that the dialog structure may
>> change in future versions of Web Author, so we do not recommend doing this.
> I understand risk and I would like to use this as an interim solution.
> However we are not using plugin only framework for configuration. It is
> possible to modify WebAuthor CSS using framework? I suppose that
> modifying just CSS for document type wouldn't have any effect because
> WebAuthor preprocess it.
>
>> I registered an issue in our issue tracker. We'll consider adding an
>> option that will allow the Web Author administrator to choose whether to
>> allow users to create branches or not.
>> We will let you know when this feature is available if we decide to
>> implement it.
> Many thanks.
>
> Jirka
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20191120/4bd4e0e7/attachment.html>
More information about the oXygen-user
mailing list