{"version":3,"sources":["synapse/authProvider.js","synapse/dataProvider.js","components/ServerNotices.js","components/devices.js","components/media.js","components/users.js","components/RoomDirectory.js","components/rooms.js","components/EventReports.js","components/LoginPage.js","components/statistics.js","components/ImportFeature.js","components/RegistrationTokens.js","i18n/de.js","i18n/en.js","App.js","i18n/zh.js","index.js"],"names":["authProvider","login","base_url","username","password","loginToken","process","REACT_APP_SERVER","console","log","options","method","body","JSON","stringify","Object","assign","device_id","localStorage","getItem","initial_device_display_name","type","token","user","replace","setItem","login_api_url","window","decodeURIComponent","fetchUtils","fetchJson","then","json","home_server","user_id","access_token","logout","logout_api_url","authenticated","removeItem","Promise","resolve","checkError","status","reject","checkAuth","getPermissions","jsonClient","url","mxcUrlToHttp","mxcUrl","homeserver","ret","exec","serverName","mediaId","resourceMap","users","path","map","u","id","name","avatar_src","avatar_url","is_guest","admin","deactivated","creation_ts_ms","creation_ts","data","total","create","endpoint","delete","params","erase","rooms","r","room_id","alias","canonical_alias","members","joined_members","is_encrypted","encryption","federatable","public","total_rooms","block","reports","er","devices","d","reference","connections","c","room_members","m","room_state","rs","event_id","state","length","pushers","p","pushkey","joined_rooms","jr","users_media","um","media_id","delete_media","before_ts","size_gt","keep_profiles","protect_media","pm","quarantine_media","qm","servernotices","n","content","msgtype","user_media_statistics","usms","forward_extremities","fe","count","room_directory","rd","guest_access","total_room_count_estimate","visibility","registration_tokens","rt","filterNullValues","key","value","getSearchOrder","order","dataProvider","getList","resource","filter","guests","search_term","valid","pagination","page","perPage","sort","field","from","query","limit","order_by","dir","res","endpoint_url","getOne","getMany","all","ids","responses","getManyReference","ref","headers","update","updateMany","createMany","cre","del","deleteMany","ServerNoticeDialog","open","loading","onClose","onSend","translate","useTranslate","ServerNoticeToolbar","props","Toolbar","SaveButton","label","disabled","pristine","Button","onClick","Dialog","DialogTitle","DialogContent","DialogContentText","SimpleForm","toolbar","submitOnEnter","redirect","save","TextInput","source","fullWidth","multiline","rows","resettable","validate","required","ServerNoticeButton","record","useState","setOpen","notify","useNotify","useCreate","handleDialogClose","values","payload","onSuccess","onFailure","ServerNoticeBulkButton","selectedIds","unselectAll","useUnselectAll","useMutation","error","useStyles","makeStyles","theme","deleteButton","color","palette","main","backgroundColor","alpha","DeviceRemoveButton","classes","refresh","useRefresh","removeDevice","className","classnames","Confirm","isOpen","onConfirm","title","translateOptions","display_name","DeleteMediaDialog","DeleteMediaToolbar","icon","DateTimeInput","defaultValue","parse","v","Date","isNaN","getTime","NumberInput","min","step","BooleanInput","DeleteMediaButton","useDelete","deleteOne","ProtectMediaButton","quarantined_by","Tooltip","_","safe_from_quarantine","arrow","QuarantineMediaButton","pathname","small","height","width","large","float","date_format","year","month","day","hour","minute","second","UserListActions","currentSort","filters","displayedFilters","exporter","filterValues","permanentFilter","basePath","hasCreate","showFilter","onUnselectItems","maxResults","rest","TopToolbar","sanitizeListRestProps","cloneElement","context","CreateButton","ExportButton","component","Link","to","style","transform","fontSize","defaultProps","UserPagination","Pagination","rowsPerPageOptions","UserFilter","Filter","SearchInput","alwaysOn","UserBulkActionButtons","BulkDeleteButton","confirmTitle","mutationMode","AvatarField","Avatar","src","UserList","List","filterDefaultValues","actions","bulkActionButtons","Datagrid","rowClick","sortBy","TextField","BooleanField","DateField","showTime","validateUser","maxLength","regex","validateAddress","generateRandomUser","Array","fill","x","Math","floor","crypto","getRandomValues","Uint32Array","join","UserEditToolbar","DeleteButton","smart_count","UserCreate","Create","autoComplete","PasswordInput","ArrayInput","SimpleFormIterator","disableReordering","SelectInput","choices","UserTitle","displayname","UserEdit","Edit","TabbedForm","FormTab","sortable","helperText","ReferenceManyField","target","addLabel","ReferenceField","link","ArrayField","NumberField","RoomDirectoryPagination","RoomDirectoryDeleteButton","confirmContent","RoomDirectoryBulkDeleteButton","RoomDirectoryBulkSaveButton","RoomDirectorySaveButton","RoomDirectoryBulkActionButtons","RoomDirectoryFilter","Chip","marginBottom","RoomDirectoryList","connect","roomDirectoryFilters","resources","list","dispatch","roomIdFilter","topicFilter","topic","canonicalAliasFilter","helper_forward_extremities","fontFamily","margin","RoomPagination","EncryptionField","emptyText","get","ariaLabel","Typography","variant","htmlColor","RoomTitle","RoomShowActions","roomDirectoryStatus","RoomShow","Show","TabbedShowLayout","Tab","SelectField","RoomBulkActionButtons","RoomFilter","RoomNameField","useRecordContext","RoomList","roomFilters","localMembersFilter","joined_local_members","stateEventsFilter","state_events","versionFilter","version","federateableFilter","ReportPagination","ReportShow","ReportList","display","flexDirection","minHeight","alignItems","justifyContent","background","backgroundRepeat","backgroundSize","card","minWidth","marginTop","avatar","secondary","hint","grey","form","padding","input","serverVersion","marginLeft","LoginPage","useLogin","setLoading","supportPassAuth","setSupportPassAuth","locale","useLocale","setLocale","useSetLocale","cfg_base_url","ssoBaseUrl","setSSOBaseUrl","location","href","ssoToken","history","replaceState","split","baseUrl","auth","catch","alert","message","renderInput","meta","touched","inputProps","handleSSO","ssoFullUrl","encodeURIComponent","UserData","formData","useForm","setServerVersion","useEffect","match","versionUrl","authMethodUrl","supportPass","supportSSO","flows","forEach","f","autoFocus","onBlur","extractHomeServer","wellKnownUrl","change","initialValues","onSubmit","errors","render","handleSubmit","noValidate","Card","Select","onChange","e","MenuItem","FormDataConsumer","formDataProps","CardActions","button","CircularProgress","size","thickness","Notification","ListActions","useListContext","UserMediaStatsPagination","UserMediaStatsFilter","UserMediaStatsList","expectedFields","optionalFields","TranslatableOption","text","ImportFeature","setValues","setError","stats","setStats","dryRun","setDryRun","progress","setProgress","importResults","setImportResults","skippedRecords","setSkippedRecords","conflictMode","setConflictMode","passwordMode","setPasswordMode","useridMode","setUseridMode","useDataProvider","onFileChange","a","file","files","toFixed","parseCsv","header","skipEmptyLines","complete","result","verifyCsv","eF","oF","fields","includes","user_types","default","line","idx","undefined","user_type","is_admin","push","row","runImport","doImport","results","unparseCsv","erroredRecords","succeededRecords","changeStats","toAdmin","toGuest","toRegular","replacedPassword","entriesDone","entriesCount","done","entry","userRecord","overwriteData","retries","submitRecord","recordData","alreadyExists","Error","newRecordData","warn","okToSubmit","totalRecordCount","wasDryRun","onConflictModeChanged","onUseridModeChanged","statsCards","CardHeader","CardContent","NativeSelect","enabled","toString","FormControlLabel","control","Checkbox","checked","conflictCards","errorCards","isArray","uploadCard","resultsCard","element","document","createElement","Blob","URL","createObjectURL","download","appendChild","click","startImportCard","ev","allCards","cardContainer","Title","defaultTitle","validateToken","validateUsesAllowed","number","validateLength","maxValue","dateParser","dateFormatter","pad","getFullYear","getMonth","slice","getDate","getHours","getMinutes","RegistrationTokenFilter","RegistrationTokenList","RegistrationTokenCreate","alwaysEnableSaveButton","RegistrationTokenEdit","format","de","germanMessages","synapseadmin","welcome","server_version","username_error","protocol_error","url_error","sso_sign_in","invalid_user_id","tabs","sso","details","basic","detail","permission","import_users","at_entry","required_field","invalid_value","unreasonably_big","already_in_progress","id_exits","goToPdf","cards","importstats","users_total","guest_count","admin_count","conflicts","mode","stop","skip","all_ids_present","count_ids_present","ignore","passwords","all_passwords_present","count_passwords_present","use_passwords","upload","explanation","startImport","simulate_only","run_import","successful","skipped","download_skipped","with_error","simulated_only","email","msisdn","threepid","show_deactivated","medium","threepids","address","consent_version","auth_provider","helper","deactivate","action","joined_local_devices","creator","join_rules","history_visibility","enums","knock","invite","private","can_join","forbidden","invited","joined","shared","world_readable","unencrypted","received_ts","score","reason","event_json","origin","origin_server_ts","formatted_body","algorithm","last_seen","ip","user_agent","last_seen_ts","last_seen_ip","success","failure","media_length","media_type","upload_name","created_ts","last_access_ts","send","send_success","send_failure","none","app","app_display_name","app_id","device_display_name","kind","lang","profile_tag","media_count","depth","state_group","sender","guest_can_join","uses_allowed","pending","completed","expiry_time","ra","unselect","auth_check_error","toggle_hidden","toggle_visible","notification","logged_out","empty","navigation","skip_nav","en","englishMessages","messages","zh","chineseMessages","i18nProvider","polyglotI18nProvider","resolveBrowserLocale","App","Admin","disableTelemetry","loginPage","customRoutes","Resource","edit","UserIcon","show","RoomIcon","EqualizerIcon","ReportIcon","FolderSharedIcon","Conf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DaC,GAtDH,kBACV,gBAACC,EAAA,EAAD,CACEC,kBAAgB,EAChBC,UAAWjV,GACXpc,aAAcA,EACd6I,aAAcA,EACdkoB,aAAcA,GACdO,aAAc,CACZ,eAAC,KAAD,CAAwB5tB,KAAK,gBAAgBqP,UAAWiO,IAA7C,eAPf,UAUE,eAACuQ,EAAA,EAAD,CACEztB,KAAK,QACLyU,KAAMnE,GACN5P,OAAQyR,GACRub,KAAM5a,GACNnH,KAAMgiB,OAER,eAACF,EAAA,EAAD,CAAUztB,KAAK,QAAQyU,KAAM6B,GAAUsX,KAAM/X,GAAUlK,KAAMkiB,MAC7D,eAACJ,EAAA,EAAD,CACEztB,KAAK,wBACLyU,KAAMoI,GACNlR,KAAMmiB,OAER,eAACL,EAAA,EAAD,CACEztB,KAAK,UACLyU,KAAMwC,GACN2W,KAAM5W,GACNrL,KAAMoiB,OAER,eAACN,EAAA,EAAD,CACEztB,KAAK,iBACLyU,KAAMJ,GACN1I,KAAMqiB,OAER,eAACP,EAAA,EAAD,CACEztB,KAAK,sBACLyU,KAAM+P,GACN9jB,OAAQ+jB,GACRiJ,KAAM/I,GACNhZ,KAAMsiB,OAER,eAACR,EAAA,EAAD,CAAUztB,KAAK,gBACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,YACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,iBACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,gBACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,iBACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,YACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,kBACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,wBACf,eAACytB,EAAA,EAAD,CAAUztB,KAAK,mBErFnBkuB,IAASzS,OAAO,eAAC,GAAD,IAASkH,SAASwL,eAAe,W","file":"static/js/main.1575eb56.chunk.js","sourcesContent":["import { fetchUtils } from \"react-admin\";\n\nconst authProvider = {\n // called when the user attempts to log in\n login: ({ base_url, username, password, loginToken }) => {\n // force homeserver for protection in case the form is manipulated\n base_url = process.env.REACT_APP_SERVER || base_url;\n\n console.log(\"login \");\n const options = {\n method: \"POST\",\n body: JSON.stringify(\n Object.assign(\n {\n device_id: localStorage.getItem(\"device_id\"),\n initial_device_display_name: \"Synapse Admin\",\n },\n loginToken\n ? {\n type: \"m.login.token\",\n token: loginToken,\n }\n : {\n type: \"m.login.password\",\n user: username,\n password: password,\n }\n )\n ),\n };\n\n // use the base_url from login instead of the well_known entry from the\n // server, since the admin might want to access the admin API via some\n // private address\n base_url = base_url.replace(/\\/+$/g, \"\");\n localStorage.setItem(\"base_url\", base_url);\n\n const decoded_base_url = window.decodeURIComponent(base_url);\n const login_api_url = decoded_base_url + \"/_matrix/client/r0/login\";\n\n return fetchUtils.fetchJson(login_api_url, options).then(({ json }) => {\n localStorage.setItem(\"home_server\", json.home_server);\n localStorage.setItem(\"user_id\", json.user_id);\n localStorage.setItem(\"access_token\", json.access_token);\n localStorage.setItem(\"device_id\", json.device_id);\n });\n },\n // called when the user clicks on the logout button\n logout: () => {\n console.log(\"logout\");\n\n const logout_api_url =\n localStorage.getItem(\"base_url\") + \"/_matrix/client/r0/logout\";\n const access_token = localStorage.getItem(\"access_token\");\n\n const options = {\n method: \"POST\",\n user: {\n authenticated: true,\n token: `Bearer ${access_token}`,\n },\n };\n\n if (typeof access_token === \"string\") {\n fetchUtils.fetchJson(logout_api_url, options).then(({ json }) => {\n localStorage.removeItem(\"access_token\");\n });\n }\n return Promise.resolve();\n },\n // called when the API returns an error\n checkError: ({ status }) => {\n console.log(\"checkError \" + status);\n if (status === 401 || status === 403) {\n return Promise.reject();\n }\n return Promise.resolve();\n },\n // called when the user navigates to a new location, to check for authentication\n checkAuth: () => {\n const access_token = localStorage.getItem(\"access_token\");\n console.log(\"checkAuth \" + access_token);\n return typeof access_token === \"string\"\n ? Promise.resolve()\n : Promise.reject();\n },\n // called when the user navigates to a new location, to check for permissions / roles\n getPermissions: () => Promise.resolve(),\n};\n\nexport default authProvider;\n","import { fetchUtils } from \"react-admin\";\nimport { stringify } from \"query-string\";\n\n// Adds the access token to all requests\nconst jsonClient = (url, options = {}) => {\n const token = localStorage.getItem(\"access_token\");\n console.log(\"httpClient \" + url);\n if (token != null) {\n options.user = {\n authenticated: true,\n token: `Bearer ${token}`,\n };\n }\n return fetchUtils.fetchJson(url, options);\n};\n\nconst mxcUrlToHttp = mxcUrl => {\n const homeserver = localStorage.getItem(\"base_url\");\n const re = /^mxc:\\/\\/([^/]+)\\/(\\w+)/;\n var ret = re.exec(mxcUrl);\n console.log(\"mxcClient \" + ret);\n if (ret == null) return null;\n const serverName = ret[1];\n const mediaId = ret[2];\n return `${homeserver}/_matrix/media/r0/thumbnail/${serverName}/${mediaId}?width=24&height=24&method=scale`;\n};\n\nconst resourceMap = {\n users: {\n path: \"/_synapse/admin/v2/users\",\n map: u => ({\n ...u,\n id: u.name,\n avatar_src: mxcUrlToHttp(u.avatar_url),\n is_guest: !!u.is_guest,\n admin: !!u.admin,\n deactivated: !!u.deactivated,\n // need timestamp in milliseconds\n creation_ts_ms: u.creation_ts * 1000,\n }),\n data: \"users\",\n total: json => json.total,\n create: data => ({\n endpoint: `/_synapse/admin/v2/users/@${data.id}:${localStorage.getItem(\n \"home_server\"\n )}`,\n body: data,\n method: \"PUT\",\n }),\n delete: params => ({\n endpoint: `/_synapse/admin/v1/deactivate/${params.id}`,\n body: { erase: true },\n method: \"POST\",\n }),\n },\n rooms: {\n path: \"/_synapse/admin/v1/rooms\",\n map: r => ({\n ...r,\n id: r.room_id,\n alias: r.canonical_alias,\n members: r.joined_members,\n is_encrypted: !!r.encryption,\n federatable: !!r.federatable,\n public: !!r.public,\n }),\n data: \"rooms\",\n total: json => {\n return json.total_rooms;\n },\n delete: params => ({\n endpoint: `/_synapse/admin/v1/rooms/${params.id}`,\n body: { block: false },\n }),\n },\n reports: {\n path: \"/_synapse/admin/v1/event_reports\",\n map: er => ({\n ...er,\n id: er.id,\n }),\n data: \"event_reports\",\n total: json => json.total,\n },\n devices: {\n map: d => ({\n ...d,\n id: d.device_id,\n }),\n data: \"devices\",\n total: json => {\n return json.total;\n },\n reference: id => ({\n endpoint: `/_synapse/admin/v2/users/${id}/devices`,\n }),\n delete: params => ({\n endpoint: `/_synapse/admin/v2/users/${params.user_id}/devices/${params.id}`,\n }),\n },\n connections: {\n path: \"/_synapse/admin/v1/whois\",\n map: c => ({\n ...c,\n id: c.user_id,\n }),\n data: \"connections\",\n },\n room_members: {\n map: m => ({\n id: m,\n }),\n reference: id => ({\n endpoint: `/_synapse/admin/v1/rooms/${id}/members`,\n }),\n data: \"members\",\n total: json => {\n return json.total;\n },\n },\n room_state: {\n map: rs => ({\n ...rs,\n id: rs.event_id,\n }),\n reference: id => ({\n endpoint: `/_synapse/admin/v1/rooms/${id}/state`,\n }),\n data: \"state\",\n total: json => {\n return json.state.length;\n },\n },\n pushers: {\n map: p => ({\n ...p,\n id: p.pushkey,\n }),\n reference: id => ({\n endpoint: `/_synapse/admin/v1/users/${id}/pushers`,\n }),\n data: \"pushers\",\n total: json => {\n return json.total;\n },\n },\n joined_rooms: {\n map: jr => ({\n id: jr,\n }),\n reference: id => ({\n endpoint: `/_synapse/admin/v1/users/${id}/joined_rooms`,\n }),\n data: \"joined_rooms\",\n total: json => {\n return json.total;\n },\n },\n users_media: {\n map: um => ({\n ...um,\n id: um.media_id,\n }),\n reference: id => ({\n endpoint: `/_synapse/admin/v1/users/${id}/media`,\n }),\n data: \"media\",\n total: json => {\n return json.total;\n },\n delete: params => ({\n endpoint: `/_synapse/admin/v1/media/${localStorage.getItem(\n \"home_server\"\n )}/${params.id}`,\n }),\n },\n delete_media: {\n delete: params => ({\n endpoint: `/_synapse/admin/v1/media/${localStorage.getItem(\n \"home_server\"\n )}/delete?before_ts=${params.before_ts}&size_gt=${\n params.size_gt\n }&keep_profiles=${params.keep_profiles}`,\n method: \"POST\",\n }),\n },\n protect_media: {\n map: pm => ({ id: pm.media_id }),\n create: params => ({\n endpoint: `/_synapse/admin/v1/media/protect/${params.media_id}`,\n method: \"POST\",\n }),\n delete: params => ({\n endpoint: `/_synapse/admin/v1/media/unprotect/${params.media_id}`,\n method: \"POST\",\n }),\n },\n quarantine_media: {\n map: qm => ({ id: qm.media_id }),\n create: params => ({\n endpoint: `/_synapse/admin/v1/media/quarantine/${localStorage.getItem(\n \"home_server\"\n )}/${params.media_id}`,\n method: \"POST\",\n }),\n delete: params => ({\n endpoint: `/_synapse/admin/v1/media/unquarantine/${localStorage.getItem(\n \"home_server\"\n )}/${params.media_id}`,\n method: \"POST\",\n }),\n },\n servernotices: {\n map: n => ({ id: n.event_id }),\n create: data => ({\n endpoint: \"/_synapse/admin/v1/send_server_notice\",\n body: {\n user_id: data.id,\n content: {\n msgtype: \"m.text\",\n body: data.body,\n },\n },\n method: \"POST\",\n }),\n },\n user_media_statistics: {\n path: \"/_synapse/admin/v1/statistics/users/media\",\n map: usms => ({\n ...usms,\n id: usms.user_id,\n }),\n data: \"users\",\n total: json => {\n return json.total;\n },\n },\n forward_extremities: {\n map: fe => ({\n ...fe,\n id: fe.event_id,\n }),\n reference: id => ({\n endpoint: `/_synapse/admin/v1/rooms/${id}/forward_extremities`,\n }),\n data: \"results\",\n total: json => {\n return json.count;\n },\n delete: params => ({\n endpoint: `/_synapse/admin/v1/rooms/${params.id}/forward_extremities`,\n }),\n },\n room_directory: {\n path: \"/_matrix/client/r0/publicRooms\",\n map: rd => ({\n ...rd,\n id: rd.room_id,\n public: !!rd.public,\n guest_access: !!rd.guest_access,\n avatar_src: mxcUrlToHttp(rd.avatar_url),\n }),\n data: \"chunk\",\n total: json => {\n return json.total_room_count_estimate;\n },\n create: params => ({\n endpoint: `/_matrix/client/r0/directory/list/room/${params.id}`,\n body: { visibility: \"public\" },\n method: \"PUT\",\n }),\n delete: params => ({\n endpoint: `/_matrix/client/r0/directory/list/room/${params.id}`,\n body: { visibility: \"private\" },\n method: \"PUT\",\n }),\n },\n registration_tokens: {\n path: \"/_synapse/admin/v1/registration_tokens\",\n map: rt => ({\n ...rt,\n id: rt.token,\n }),\n data: \"registration_tokens\",\n total: json => {\n return json.registration_tokens.length;\n },\n create: params => ({\n endpoint: \"/_synapse/admin/v1/registration_tokens/new\",\n body: params,\n method: \"POST\",\n }),\n delete: params => ({\n endpoint: `/_synapse/admin/v1/registration_tokens/${params.id}`,\n }),\n },\n};\n\nfunction filterNullValues(key, value) {\n // Filtering out null properties\n if (value === null) {\n return undefined;\n }\n return value;\n}\n\nfunction getSearchOrder(order) {\n if (order === \"DESC\") {\n return \"b\";\n } else {\n return \"f\";\n }\n}\n\nconst dataProvider = {\n getList: (resource, params) => {\n console.log(\"getList \" + resource);\n const { user_id, name, guests, deactivated, search_term, valid } =\n params.filter;\n const { page, perPage } = params.pagination;\n const { field, order } = params.sort;\n const from = (page - 1) * perPage;\n const query = {\n from: from,\n limit: perPage,\n user_id: user_id,\n search_term: search_term,\n name: name,\n guests: guests,\n deactivated: deactivated,\n valid: valid,\n order_by: field,\n dir: getSearchOrder(order),\n };\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n const endpoint_url = homeserver + res.path;\n const url = `${endpoint_url}?${stringify(query)}`;\n\n return jsonClient(url).then(({ json }) => ({\n data: json[res.data].map(res.map),\n total: res.total(json, from, perPage),\n }));\n },\n\n getOne: (resource, params) => {\n console.log(\"getOne \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n const endpoint_url = homeserver + res.path;\n return jsonClient(`${endpoint_url}/${params.id}`).then(({ json }) => ({\n data: res.map(json),\n }));\n },\n\n getMany: (resource, params) => {\n console.log(\"getMany \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n const endpoint_url = homeserver + res.path;\n return Promise.all(\n params.ids.map(id => jsonClient(`${endpoint_url}/${id}`))\n ).then(responses => ({\n data: responses.map(({ json }) => res.map(json)),\n total: responses.length,\n }));\n },\n\n getManyReference: (resource, params) => {\n console.log(\"getManyReference \" + resource);\n const { page, perPage } = params.pagination;\n const { field, order } = params.sort;\n const from = (page - 1) * perPage;\n const query = {\n from: from,\n limit: perPage,\n order_by: field,\n dir: getSearchOrder(order),\n };\n\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n const ref = res[\"reference\"](params.id);\n const endpoint_url = `${homeserver}${ref.endpoint}?${stringify(query)}`;\n\n return jsonClient(endpoint_url).then(({ headers, json }) => ({\n data: json[res.data].map(res.map),\n total: res.total(json, from, perPage),\n }));\n },\n\n update: (resource, params) => {\n console.log(\"update \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n const endpoint_url = homeserver + res.path;\n return jsonClient(`${endpoint_url}/${params.data.id}`, {\n method: \"PUT\",\n body: JSON.stringify(params.data, filterNullValues),\n }).then(({ json }) => ({\n data: res.map(json),\n }));\n },\n\n updateMany: (resource, params) => {\n console.log(\"updateMany \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n const endpoint_url = homeserver + res.path;\n return Promise.all(\n params.ids.map(id => jsonClient(`${endpoint_url}/${id}`), {\n method: \"PUT\",\n body: JSON.stringify(params.data, filterNullValues),\n })\n ).then(responses => ({\n data: responses.map(({ json }) => json),\n }));\n },\n\n create: (resource, params) => {\n console.log(\"create \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n if (!(\"create\" in res)) return Promise.reject();\n\n const create = res[\"create\"](params.data);\n const endpoint_url = homeserver + create.endpoint;\n return jsonClient(endpoint_url, {\n method: create.method,\n body: JSON.stringify(create.body, filterNullValues),\n }).then(({ json }) => ({\n data: res.map(json),\n }));\n },\n\n createMany: (resource, params) => {\n console.log(\"createMany \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n if (!(\"create\" in res)) return Promise.reject();\n\n return Promise.all(\n params.ids.map(id => {\n params.data.id = id;\n const cre = res[\"create\"](params.data);\n const endpoint_url = homeserver + cre.endpoint;\n return jsonClient(endpoint_url, {\n method: cre.method,\n body: JSON.stringify(cre.body, filterNullValues),\n });\n })\n ).then(responses => ({\n data: responses.map(({ json }) => json),\n }));\n },\n\n delete: (resource, params) => {\n console.log(\"delete \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n if (\"delete\" in res) {\n const del = res[\"delete\"](params);\n const endpoint_url = homeserver + del.endpoint;\n return jsonClient(endpoint_url, {\n method: \"method\" in del ? del.method : \"DELETE\",\n body: \"body\" in del ? JSON.stringify(del.body) : null,\n }).then(({ json }) => ({\n data: json,\n }));\n } else {\n const endpoint_url = homeserver + res.path;\n return jsonClient(`${endpoint_url}/${params.id}`, {\n method: \"DELETE\",\n body: JSON.stringify(params.data, filterNullValues),\n }).then(({ json }) => ({\n data: json,\n }));\n }\n },\n\n deleteMany: (resource, params) => {\n console.log(\"deleteMany \" + resource);\n const homeserver = localStorage.getItem(\"base_url\");\n if (!homeserver || !(resource in resourceMap)) return Promise.reject();\n\n const res = resourceMap[resource];\n\n if (\"delete\" in res) {\n return Promise.all(\n params.ids.map(id => {\n const del = res[\"delete\"]({ ...params, id: id });\n const endpoint_url = homeserver + del.endpoint;\n return jsonClient(endpoint_url, {\n method: \"method\" in del ? del.method : \"DELETE\",\n body: \"body\" in del ? JSON.stringify(del.body) : null,\n });\n })\n ).then(responses => ({\n data: responses.map(({ json }) => json),\n }));\n } else {\n const endpoint_url = homeserver + res.path;\n return Promise.all(\n params.ids.map(id =>\n jsonClient(`${endpoint_url}/${id}`, {\n method: \"DELETE\",\n body: JSON.stringify(params.data, filterNullValues),\n })\n )\n ).then(responses => ({\n data: responses.map(({ json }) => json),\n }));\n }\n },\n};\n\nexport default dataProvider;\n","import React, { Fragment, useState } from \"react\";\nimport {\n Button,\n SaveButton,\n SimpleForm,\n TextInput,\n Toolbar,\n required,\n useCreate,\n useMutation,\n useNotify,\n useTranslate,\n useUnselectAll,\n} from \"react-admin\";\nimport MessageIcon from \"@material-ui/icons/Message\";\nimport IconCancel from \"@material-ui/icons/Cancel\";\nimport Dialog from \"@material-ui/core/Dialog\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\n\nconst ServerNoticeDialog = ({ open, loading, onClose, onSend }) => {\n const translate = useTranslate();\n\n const ServerNoticeToolbar = props => (\n