Forráskód Böngészése

deploy: 3692f7fd33ec2a28991ab325a46df5e7eba1f056

anoadragon453 2 éve
szülő
commit
f413dd0f5e
5 módosított fájl, 16 hozzáadás és 2 törlés
  1. 8 1
      v1.41/print.html
  2. 0 0
      v1.41/searchindex.js
  3. 0 0
      v1.41/searchindex.json
  4. 5 0
      v1.41/upgrade.html
  5. 3 1
      v1.41/workers.html

+ 8 - 1
v1.41/print.html

@@ -1577,6 +1577,11 @@ custom template directory for all aforementioned features. Template file names r
 unchanged. See <a href="https://matrix-org.github.io/synapse/latest/templates.html">the related documentation</a>
 for more information and examples.</p>
 <p>We plan to remove support for these settings in October 2021.</p>
+<h2 id="_synapseadminv1usersuseridmedia-must-be-handled-by-media-workers"><a class="header" href="#_synapseadminv1usersuseridmedia-must-be-handled-by-media-workers"><code>/_synapse/admin/v1/users/{userId}/media</code> must be handled by media workers</a></h2>
+<p>The <a href="https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository">media repository worker documentation</a>
+has been updated to reflect that calls to <code>/_synapse/admin/v1/users/{userId}/media</code>
+must now be handled by media repository workers. This is due to the new <code>DELETE</code> method
+of this endpoint modifying the media store.</p>
 <h1 id="upgrading-to-v1390"><a class="header" href="#upgrading-to-v1390">Upgrading to v1.39.0</a></h1>
 <h2 id="deprecation-of-the-current-third-party-rules-module-interface"><a class="header" href="#deprecation-of-the-current-third-party-rules-module-interface">Deprecation of the current third-party rules module interface</a></h2>
 <p>The current third-party rules module interface is deprecated in favour of the new generic
@@ -8389,10 +8394,12 @@ For example:</p>
 ^/_synapse/admin/v1/user/.*/media.*$
 ^/_synapse/admin/v1/media/.*$
 ^/_synapse/admin/v1/quarantine_media/.*$
+^/_synapse/admin/v1/users/.*/media$
 </code></pre>
 <p>You should also set <code>enable_media_repo: False</code> in the shared configuration
 file to stop the main synapse running background jobs related to managing the
-media repository.</p>
+media repository. Note that doing so will prevent the main process from being
+able to handle the above endpoints.</p>
 <p>In the <code>media_repository</code> worker configuration file, configure the http listener to
 expose the <code>media</code> resource. For example:</p>
 <pre><code class="language-yaml">    worker_listeners:

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
v1.41/searchindex.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
v1.41/searchindex.json


+ 5 - 0
v1.41/upgrade.html

@@ -292,6 +292,11 @@ custom template directory for all aforementioned features. Template file names r
 unchanged. See <a href="https://matrix-org.github.io/synapse/latest/templates.html">the related documentation</a>
 for more information and examples.</p>
 <p>We plan to remove support for these settings in October 2021.</p>
+<h2 id="_synapseadminv1usersuseridmedia-must-be-handled-by-media-workers"><a class="header" href="#_synapseadminv1usersuseridmedia-must-be-handled-by-media-workers"><code>/_synapse/admin/v1/users/{userId}/media</code> must be handled by media workers</a></h2>
+<p>The <a href="https://matrix-org.github.io/synapse/latest/workers.html#synapseappmedia_repository">media repository worker documentation</a>
+has been updated to reflect that calls to <code>/_synapse/admin/v1/users/{userId}/media</code>
+must now be handled by media repository workers. This is due to the new <code>DELETE</code> method
+of this endpoint modifying the media store.</p>
 <h1 id="upgrading-to-v1390"><a class="header" href="#upgrading-to-v1390">Upgrading to v1.39.0</a></h1>
 <h2 id="deprecation-of-the-current-third-party-rules-module-interface"><a class="header" href="#deprecation-of-the-current-third-party-rules-module-interface">Deprecation of the current third-party rules module interface</a></h2>
 <p>The current third-party rules module interface is deprecated in favour of the new generic

+ 3 - 1
v1.41/workers.html

@@ -517,10 +517,12 @@ For example:</p>
 ^/_synapse/admin/v1/user/.*/media.*$
 ^/_synapse/admin/v1/media/.*$
 ^/_synapse/admin/v1/quarantine_media/.*$
+^/_synapse/admin/v1/users/.*/media$
 </code></pre>
 <p>You should also set <code>enable_media_repo: False</code> in the shared configuration
 file to stop the main synapse running background jobs related to managing the
-media repository.</p>
+media repository. Note that doing so will prevent the main process from being
+able to handle the above endpoints.</p>
 <p>In the <code>media_repository</code> worker configuration file, configure the http listener to
 expose the <code>media</code> resource. For example:</p>
 <pre><code class="language-yaml">    worker_listeners:

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott