mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 19:33:44 +00:00
deploy: 97fb38eca6
This commit is contained in:
1 parent
e2a91a342b
commit
72721d8412
113 files changed
+175
-120
No files matched your search
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
@@ -2137,12 +2137,30 @@ These limits are applied in addition to the <code>max_upload_size</code> limit a
|
||||
<p>An empty list means no limits are applied.</p>
|
||||
<p>These settings can be overridden using the <code>get_media_upload_limits_for_user</code> module API <a href="../../modules/media_repository_callbacks.html#get_media_upload_limits_for_user">callback</a>.</p>
|
||||
<p>Defaults to <code>[]</code>.</p>
|
||||
<p>Options for each entry include:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p><code>time_period</code> (duration): The time period over which the limit applies. Required.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>max_size</code> (byte size): Amount of data that can be uploaded in the time period by the user. Required.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>info_uri</code> (string): URI returned to the client for where the user can find information about the upload limit and how users can reduce their upload usage or request an upload limit increase. Optional. If not set, Synapse serves a built-in page (customisable via the <code>media_upload_limit_exceeded.html</code> template) and uses its URL instead.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>can_upgrade</code> (boolean): Value returned to the client for whether the limit can be increased. Defaults to <code>false</code>.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">media_upload_limits:
|
||||
- time_period: 1h
|
||||
max_size: 100M
|
||||
info_uri: https://example.com/quota#hour
|
||||
- time_period: 1w
|
||||
max_size: 500M
|
||||
info_uri: https://example.com/quota
|
||||
can_upgrade: true
|
||||
</code></pre>
|
||||
<hr>
|
||||
<h3 id="max_image_pixels"><a class="header" href="#max_image_pixels"><code>max_image_pixels</code></a></h3>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../../toc-4dc10a98.js"></script>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
const path_to_root = "../../../../";
|
||||
const default_light_theme = "light";
|
||||
const default_dark_theme = "navy";
|
||||
window.path_to_searchindex_js = "../../../../searchindex-0c866e16.js";
|
||||
window.path_to_searchindex_js = "../../../../searchindex-b6154f44.js";
|
||||
</script>
|
||||
<!-- Start loading toc.js asap -->
|
||||
<script src="../../../../toc-4dc10a98.js"></script>
|
||||
|
||||
Reference in new issue
Block a user