Skip to content

Commit 32d529b

Browse files
author
GitHub Workflow
committed
Update guide to version 337
1 parent f75c272 commit 32d529b

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

guide/latest/cockpit-file.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ <h2>Synopsis</h2>
9797
<p>You can use the <code class="code">max_read_size</code> option to limit
9898
the amount of data that is read. If the file is larger than the
9999
given number of bytes, no data is read and the channel is closed with
100-
problem code <code class="code">too-large</code>. The default limit is 16 MiB.</p>
100+
problem code <code class="code">too-large</code>. The default limit is 16 MiB. The
101+
limit can be completely removed by setting it to -1.</p>
101102
<p>To write to a file, use code like this:
102103
</p>
103104
<pre class="programlisting">

guide/latest/cockpit-login.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ <h2>cockpit.js: User Session</h2>
8484
</tbody>
8585
</table></div>
8686
<p>Returns a promise that completes once the user information is available.</p>
87+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
88+
<h3 class="title">Warning</h3>
89+
<p>
90+
<code class="code">cockpit.user()</code> is soft-deprecated since Cockpit 336, if
91+
your page does not need to maintain compatibility with older Cockpit
92+
versions you can use<a class="link" href="cockpit-util.html#cockpit-info" title="cockpit.info">cockpit.info</a> to
93+
obtain the user information.
94+
</p>
95+
</div>
8796
</div>
8897
<div class="refsection">
8998
<a name="cockpit-permission"></a><h2>Permission lookup</h2>

guide/latest/cockpit.conf.5.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ <h2><span class="refentrytitle">cockpit.conf</span></h2>
5656
<td>
5757
<p>By default cockpit will not accept crossdomain websocket connections. Use this
5858
setting to allow access from alternate domains. Origins should include scheme, host
59-
and port, if necessary.</p>
59+
and port, if necessary. Wildcards and glob expressions are permitted.</p>
6060
<div class="informalexample"><pre class="programlisting">
6161
[WebService]
62-
Origins = https://somedomain1.com https://somedomain2.com:9090
62+
Origins = https://somedomain1.com https://somedomain2.com:9090 https://*.somedomain3.com
6363
</pre></div>
6464
</td>
6565
</tr>

guide/latest/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="titlepage">
1717
<div>
1818
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Cockpit Guide</p></th></tr></table></div>
19-
<div><p class="releaseinfo">Documentation for Cockpit 336.2
19+
<div><p class="releaseinfo">Documentation for Cockpit 337
2020
--
2121
latest version available at:
2222
<a class="ulink" href="https://cockpit-project.org/guide/latest" target="_top">https://cockpit-project.org/guide/latest/</a></p></div>

0 commit comments

Comments
 (0)