{"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","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","ConfirmationNumber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ACd6I,aAAcA,EACdioB,aAAcA,GACdO,aAAc,CACZ,eAAC,KAAD,CAAwB3tB,KAAK,gBAAgBqP,UAAWgO,IAA7C,eAPf,UAUE,eAACuQ,EAAA,EAAD,CACExtB,KAAK,QACLwU,KAAMlE,GACN5P,OAAQyR,GACRsb,KAAM5a,GACNlH,KAAM+hB,OAER,eAACF,EAAA,EAAD,CAAUxtB,KAAK,QAAQwU,KAAM6B,GAAUsX,KAAM/X,GAAUjK,KAAMiiB,MAC7D,eAACJ,EAAA,EAAD,CACExtB,KAAK,wBACLwU,KAAMoI,GACNjR,KAAMkiB,OAER,eAACL,EAAA,EAAD,CACExtB,KAAK,UACLwU,KAAMwC,GACN2W,KAAM5W,GACNpL,KAAMmiB,OAER,eAACN,EAAA,EAAD,CACExtB,KAAK,iBACLwU,KAAMJ,GACNzI,KAAMoiB,OAER,eAACP,EAAA,EAAD,CACExtB,KAAK,sBACLwU,KAAM+P,GACN7jB,OAAQ8jB,GACRiJ,KAAM/I,GACN/Y,KAAMqiB,OAER,eAACR,EAAA,EAAD,CAAUxtB,KAAK,gBACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,YACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,iBACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,gBACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,iBACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,YACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,kBACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,wBACf,eAACwtB,EAAA,EAAD,CAAUxtB,KAAK,mBErFnBiuB,IAASzS,OAAO,eAAC,GAAD,IAASkH,SAASwL,eAAe,W","file":"static/js/main.0fc4bdf5.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