@@ -444,20 +444,24 @@ option will create lots of extra connection traffic.</p>
...
@@ -444,20 +444,24 @@ option will create lots of extra connection traffic.</p>
a middle man between HTTP and XMPP.</p>
a middle man between HTTP and XMPP.</p>
<p>See <aclass="reference external"href="http://metajack.im/2008/09/08/which-bosh-server-do-you-need">here</a> for more information.</p>
<p>See <aclass="reference external"href="http://metajack.im/2008/09/08/which-bosh-server-do-you-need">here</a> for more information.</p>
</div>
</div>
<divclass="section"id="debug">
<h3><aclass="toc-backref"href="#id26">debug</a><aclass="headerlink"href="#debug"title="Permalink to this headline">¶</a></h3>
<p>If set to true, debugging output will be logged to the browser console.</p>
</div>
<divclass="section"id="fullname">
<divclass="section"id="fullname">
<h3><aclass="toc-backref"href="#id26">fullname</a><aclass="headerlink"href="#fullname"title="Permalink to this headline">¶</a></h3>
<h3><aclass="toc-backref"href="#id27">fullname</a><aclass="headerlink"href="#fullname"title="Permalink to this headline">¶</a></h3>
<p>If you are using prebinding, you need to specify the fullname of the currently
<p>If you are using prebinding, you need to specify the fullname of the currently
logged in user.</p>
logged in user.</p>
</div>
</div>
<divclass="section"id="hide-muc-server">
<divclass="section"id="hide-muc-server">
<h3><aclass="toc-backref"href="#id27">hide_muc_server</a><aclass="headerlink"href="#hide-muc-server"title="Permalink to this headline">¶</a></h3>
<h3><aclass="toc-backref"href="#id28">hide_muc_server</a><aclass="headerlink"href="#hide-muc-server"title="Permalink to this headline">¶</a></h3>
<p>Default = False</p>
<p>Default = False</p>
<p>Hide the <ttclass="docutils literal"><spanclass="pre">server</span></tt> input field of the form inside the <ttclass="docutils literal"><spanclass="pre">Room</span></tt> panel of the
<p>Hide the <ttclass="docutils literal"><spanclass="pre">server</span></tt> input field of the form inside the <ttclass="docutils literal"><spanclass="pre">Room</span></tt> panel of the
controlbox. Useful if you want to restrict users to a specific XMPP server of
controlbox. Useful if you want to restrict users to a specific XMPP server of
your choosing.</p>
your choosing.</p>
</div>
</div>
<divclass="section"id="prebind">
<divclass="section"id="prebind">
<h3><aclass="toc-backref"href="#id28">prebind</a><aclass="headerlink"href="#prebind"title="Permalink to this headline">¶</a></h3>
<h3><aclass="toc-backref"href="#id29">prebind</a><aclass="headerlink"href="#prebind"title="Permalink to this headline">¶</a></h3>
<p>Default = False</p>
<p>Default = False</p>
<p>Use this option when you want to attach to an existing XMPP connection that was
<p>Use this option when you want to attach to an existing XMPP connection that was
already authenticated (usually on the backend before page load).</p>
already authenticated (usually on the backend before page load).</p>
...
@@ -478,7 +482,7 @@ have to write a Javascript snippet to attach to the set up connection:</p>
...
@@ -478,7 +482,7 @@ have to write a Javascript snippet to attach to the set up connection:</p>
RID (Request ID), which you use when you attach to the connection.</p>
RID (Request ID), which you use when you attach to the connection.</p>
<h3><aclass="toc-backref"href="#id29">show_controlbox_by_default</a><aclass="headerlink"href="#show-controlbox-by-default"title="Permalink to this headline">¶</a></h3>
<h3><aclass="toc-backref"href="#id30">show_controlbox_by_default</a><aclass="headerlink"href="#show-controlbox-by-default"title="Permalink to this headline">¶</a></h3>
<p>Default = False</p>
<p>Default = False</p>
<p>The “controlbox” refers to the special chatbox containing your contacts roster,
<p>The “controlbox” refers to the special chatbox containing your contacts roster,
status widget, chatrooms and other controls.</p>
status widget, chatrooms and other controls.</p>
...
@@ -488,7 +492,7 @@ the page with class <em>toggle-online-users</em>.</p>
...
@@ -488,7 +492,7 @@ the page with class <em>toggle-online-users</em>.</p>
page load.</p>
page load.</p>
</div>
</div>
<divclass="section"id="xhr-user-search">
<divclass="section"id="xhr-user-search">
<h3><aclass="toc-backref"href="#id30">xhr_user_search</a><aclass="headerlink"href="#xhr-user-search"title="Permalink to this headline">¶</a></h3>
<h3><aclass="toc-backref"href="#id31">xhr_user_search</a><aclass="headerlink"href="#xhr-user-search"title="Permalink to this headline">¶</a></h3>
<p>Default = False</p>
<p>Default = False</p>
<p>There are two ways to add users.</p>
<p>There are two ways to add users.</p>
<ulclass="simple">
<ulclass="simple">
...
@@ -501,28 +505,21 @@ be used.</p>
...
@@ -501,28 +505,21 @@ be used.</p>
</div>
</div>
</div>
</div>
<divclass="section"id="minification">
<divclass="section"id="minification">
<h1><aclass="toc-backref"href="#id31">Minification</a><aclass="headerlink"href="#minification"title="Permalink to this headline">¶</a></h1>
<h1><aclass="toc-backref"href="#id32">Minification</a><aclass="headerlink"href="#minification"title="Permalink to this headline">¶</a></h1>
<h2><aclass="toc-backref"href="#id32">Minifying Javascript</a><aclass="headerlink"href="#minifying-javascript"title="Permalink to this headline">¶</a></h2>
<h2><aclass="toc-backref"href="#id33">Minifying Javascript and CSS</a><aclass="headerlink"href="#minifying-javascript-and-css"title="Permalink to this headline">¶</a></h2>
<p>Please make sure to read the section <aclass="reference internal"href="#development">Development</a> and that you have installed
all development dependencies (long story short, you can run <ttclass="docutils literal"><spanclass="pre">npm</span><spanclass="pre">install</span></tt>
and then <ttclass="docutils literal"><spanclass="pre">grunt</span><spanclass="pre">fetch</span></tt>).</p>
<p>We use <aclass="reference external"href="http://requirejs.org">require.js</a> to keep track of <em>Converse.js</em> and its dependencies and to
<p>We use <aclass="reference external"href="http://requirejs.org">require.js</a> to keep track of <em>Converse.js</em> and its dependencies and to
to bundle them together in a single minified file fit for deployment to a
to bundle them together in a single minified file fit for deployment to a
production site.</p>
production site.</p>
<p>To use the require.js’s optimization tool, you’ll need Node and it’s package
<p>To minify the Javascript and CSS, run the following command:</p>