Merge tag '0.8.2' into amp.chat
Change-Id: I791cad80267ddaa61966d3c2da9767e1a6a3c589
This commit is contained in:
commit
af51cca461
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
This project is built using [react-admin](https://marmelab.com/react-admin/).
|
This project is built using [react-admin](https://marmelab.com/react-admin/).
|
||||||
|
|
||||||
It needs at least Synapse v1.32.0 for all functions to work as expected!
|
It needs at least Synapse v1.34.0 for all functions to work as expected!
|
||||||
|
|
||||||
You get your server version with the request `/_synapse/admin/v1/server_version`.
|
You get your server version with the request `/_synapse/admin/v1/server_version`.
|
||||||
See also [Synapse version API](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/version_api.rst).
|
See also [Synapse version API](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/version_api.rst).
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "synapse-admin",
|
"name": "synapse-admin",
|
||||||
"version": "AMP/2021.05",
|
"version": "AMP/2021.07",
|
||||||
"description": "Admin GUI for the Matrix.org server Synapse",
|
"description": "Admin GUI for the Matrix.org server Synapse",
|
||||||
"author": "Awesome Technologies Innovationslabor GmbH",
|
"author": "Awesome Technologies Innovationslabor GmbH",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
@ -171,10 +171,14 @@ const RoomDirectoryFilter = ({ ...props }) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const FilterableRoomDirectoryList = ({ dispatch, ...props }) => {
|
export const FilterableRoomDirectoryList = ({
|
||||||
|
roomDirectoryFilters,
|
||||||
|
dispatch,
|
||||||
|
...props
|
||||||
|
}) => {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
const translate = useTranslate();
|
const translate = useTranslate();
|
||||||
const filter = props.roomDirectoryFilters;
|
const filter = roomDirectoryFilters;
|
||||||
const roomIdFilter = filter && filter.room_id ? true : false;
|
const roomIdFilter = filter && filter.room_id ? true : false;
|
||||||
const topicFilter = filter && filter.topic ? true : false;
|
const topicFilter = filter && filter.topic ? true : false;
|
||||||
const canonicalAliasFilter = filter && filter.canonical_alias ? true : false;
|
const canonicalAliasFilter = filter && filter.canonical_alias ? true : false;
|
||||||
@ -242,7 +246,7 @@ export const FilterableRoomDirectoryList = ({ dispatch, ...props }) => {
|
|||||||
|
|
||||||
function mapStateToProps(state) {
|
function mapStateToProps(state) {
|
||||||
return {
|
return {
|
||||||
roomdirectoryfilters:
|
roomDirectoryFilters:
|
||||||
state.admin.resources.room_directory.list.params.displayedFilters,
|
state.admin.resources.room_directory.list.params.displayedFilters,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ import { DeviceRemoveButton } from "./devices";
|
|||||||
import { makeStyles } from "@material-ui/core/styles";
|
import { makeStyles } from "@material-ui/core/styles";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
const redirect = (basePath, id, data) => {
|
const redirect = () => {
|
||||||
return {
|
return {
|
||||||
pathname: "/importcsv",
|
pathname: "/importcsv",
|
||||||
};
|
};
|
||||||
|
@ -292,8 +292,7 @@ const de = {
|
|||||||
send_failure: "Beim Versenden ist ein Fehler aufgetreten.",
|
send_failure: "Beim Versenden ist ein Fehler aufgetreten.",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
send:
|
send: "Diese API löscht die lokalen Medien von der Festplatte des eigenen Servers. Dies umfasst alle lokalen Miniaturbilder und Kopien von Medien. Diese API wirkt sich nicht auf Medien aus, die sich in externen Medien-Repositories befinden.",
|
||||||
"Diese API löscht die lokalen Medien von der Festplatte des eigenen Servers. Dies umfasst alle lokalen Miniaturbilder und Kopien von Medien. Diese API wirkt sich nicht auf Medien aus, die sich in externen Medien-Repositories befinden.",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pushers: {
|
pushers: {
|
||||||
@ -322,8 +321,7 @@ const de = {
|
|||||||
send_failure: "Beim Versenden ist ein Fehler aufgetreten.",
|
send_failure: "Beim Versenden ist ein Fehler aufgetreten.",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
send:
|
send: 'Sendet eine Serverbenachrichtigung an die ausgewählten Nutzer. Hierfür muss das Feature "Server Notices" auf dem Server aktiviert sein.',
|
||||||
'Sendet eine Serverbenachrichtigung an die ausgewählten Nutzer. Hierfür muss das Feature "Server Notices" auf dem Server aktiviert sein.',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
user_media_statistics: {
|
user_media_statistics: {
|
||||||
|
@ -288,8 +288,7 @@ const en = {
|
|||||||
send_failure: "An error has occurred.",
|
send_failure: "An error has occurred.",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
send:
|
send: "This API deletes the local media from the disk of your own server. This includes any local thumbnails and copies of media downloaded. This API will not affect media that has been uploaded to external media repositories.",
|
||||||
"This API deletes the local media from the disk of your own server. This includes any local thumbnails and copies of media downloaded. This API will not affect media that has been uploaded to external media repositories.",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pushers: {
|
pushers: {
|
||||||
@ -318,8 +317,7 @@ const en = {
|
|||||||
send_failure: "An error has occurred.",
|
send_failure: "An error has occurred.",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
send:
|
send: 'Sends a server notice to the selected users. The feature "Server Notices" has to be activated at the server.',
|
||||||
'Sends a server notice to the selected users. The feature "Server Notices" has to be activated at the server.',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
user_media_statistics: {
|
user_media_statistics: {
|
||||||
|
@ -245,8 +245,7 @@ const zh = {
|
|||||||
send_failure: "出现了一个错误。",
|
send_failure: "出现了一个错误。",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
send:
|
send: "这个API会删除您硬盘上的本地媒体。包含了任何的本地缓存和下载的媒体备份。这个API不会影响上传到外部媒体存储库上的媒体文件。",
|
||||||
"这个API会删除您硬盘上的本地媒体。包含了任何的本地缓存和下载的媒体备份。这个API不会影响上传到外部媒体存储库上的媒体文件。",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pushers: {
|
pushers: {
|
||||||
@ -275,8 +274,7 @@ const zh = {
|
|||||||
send_failure: "出现了一个错误。",
|
send_failure: "出现了一个错误。",
|
||||||
},
|
},
|
||||||
helper: {
|
helper: {
|
||||||
send:
|
send: '向选中的用户发送服务器提示。服务器配置中的 "服务器提示(Server Notices)" 选项需要被设置为启用。',
|
||||||
'向选中的用户发送服务器提示。服务器配置中的 "服务器提示(Server Notices)" 选项需要被设置为启用。',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
user_media_statistics: {
|
user_media_statistics: {
|
||||||
|
@ -107,9 +107,8 @@ const resourceMap = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
delete: params => ({
|
delete: params => ({
|
||||||
endpoint: `/_synapse/admin/v1/rooms/${params.id}/delete`,
|
endpoint: `/_synapse/admin/v1/rooms/${params.id}`,
|
||||||
body: { block: false },
|
body: { block: false },
|
||||||
method: "POST",
|
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
reports: {
|
reports: {
|
||||||
|
Loading…
Reference in New Issue
Block a user