Skip to content

Archipel GUI's property list file

Cyril Peponnet edited this page Apr 4, 2015 · 3 revisions

General

Archipel UI use Info.plist stored in the web root dir.

This file is used to store default UI configuration at first login. Afterward the UI configuration is stored using a private xml storage provided by the XMPP Server. This storage is done per user.

Connection

You can set the service template used to automatiquely fill the XMPP Service field.

<!--
        Connection informations
    -->

    <!-- This will be used as default XMPP resource -->
    <key>TNArchipelXMPPResource</key>
    <string>ArchipelController</string>

    <!-- This is template for auto guessing the XMPP service.
        '@DOMAIN@' will be replaced by user JID's domain
     -->
    <key>TNArchipelServiceTemplate</key>
    <string>ws://@DOMAIN@:5280</string>

If you planned to use secured websocket, you can update ws://@DOMAIN@:5280 by wss://@DOMAIN@:5280 depending on how you configured your ejabberd server

In the .plist file you can also force the service and domain using:

    <!-- Set this to one to force using a specific XMPP service
        In that case, the service field will be hidden, and users
        won't be able to change it. THIS IS NOT A SECURITY PARAMETER!
        This is only UI flavor
     -->
    <key>TNArchipelForceService</key>
    <integer>0</integer>

    <!-- Set this to one to force using a specific JID domain
        So your users will only have to enter their JID node instead
        of the bare JID. THIS IS NOT A SECURITY PARAMETER!
        This is only UI flavor
     -->
    <key>TNArchipelForceJIDDomain</key>
    <integer>0</integer>

    <!-- This will be used a forced service URL if
        TNArchipelForceService is set to 1
    -->
    <key>TNArchipelForcedServiceURL</key>
    <string>ws://archipelproject.org:5280</string>

    <!-- This will be used a forced JID domain if
        TNArchipelForceJIDDomain is set to 1
        -->
    <key>TNArchipelForcedJIDDomain</key>
    <string>archipelproject.org</string>

Using force service will automatiquely hidde the XMPP service field.

Modules

In modules/modules.plist you will find the list of loaded modules. If you want to disable one module, just remove it from that file.

Clone this wiki locally