Coder Social home page Coder Social logo

awesome-technologies / synapse-admin Goto Github PK

View Code? Open in Web Editor NEW
734.0 22.0 117.0 41.41 MB

Admin console for synapse Matrix homeserver

Home Page: https://awesome-technologies.github.io/synapse-admin/

License: Apache License 2.0

JavaScript 97.78% HTML 1.83% Dockerfile 0.39%
matrix-org react react-admin synapse-admin

synapse-admin's Introduction

GitHub license Build Status build-test gh-pages docker-release github-release

Synapse admin ui

This project is built using react-admin.

Usage

Supported Synapse

It needs at least Synapse v1.52.0 for all functions to work as expected!

You get your server version with the request /_synapse/admin/v1/server_version. See also Synapse version API.

After entering the URL on the login page of synapse-admin the server version appears below the input field.

Prerequisites

You need access to the following endpoints:

  • /_matrix
  • /_synapse/admin

See also Synapse administration endpoints

Use without install

You can use the current version of Synapse Admin without own installation direct via GitHub Pages.

Note: If you want to use the deployment, you have to make sure that the admin endpoints (/_synapse/admin) are accessible for your browser. Remember: You have no need to expose these endpoints to the internet but to your network. If you want your own deployment, follow the Step-By-Step Install Guide below.

Step-By-Step install

You have three options:

  1. Download the tarball and serve with any webserver
  2. Download the source code from github and run using nodejs
  3. Run the Docker container

Steps for 1)

  • make sure you have a webserver installed that can serve static files (any webserver like nginx or apache will do)
  • configure a vhost for synapse admin on your webserver
  • download the .tar.gz from the latest release: https://github.com/Awesome-Technologies/synapse-admin/releases/latest
  • unpack the .tar.gz
  • move or symlink the synapse-admin-x.x.x into your vhosts root dir
  • open the url of the vhost in your browser

Steps for 2)

  • make sure you have installed the following: git, yarn, nodejs
  • download the source code: git clone https://github.com/Awesome-Technologies/synapse-admin.git
  • change into downloaded directory: cd synapse-admin
  • download dependencies: yarn install
  • start web server: yarn start

Steps for 3)

  • run the Docker container from the public docker registry: docker run -p 8080:80 awesometechnologies/synapse-admin or use the docker-compose.yml: docker-compose up -d

    note: if you're building on an architecture other than amd64 (for example a raspberry pi), make sure to define a maximum ram for node. otherwise the build will fail.

    services:
      synapse-admin:
        container_name: synapse-admin
        hostname: synapse-admin
        build:
          context: https://github.com/Awesome-Technologies/synapse-admin.git
          args:
            - BUILDKIT_CONTEXT_KEEP_GIT_DIR=1
          #   - NODE_OPTIONS="--max_old_space_size=1024"
          #   - BASE_PATH="/synapse-admin"
        ports:
          - "8080:80"
        restart: unless-stopped
  • browse to http://localhost:8080

Restricting available homeserver

You can restrict the homeserver(s), so that the user can no longer define it himself.

Edit config.json to restrict either to a single homeserver:

{
  "restrictBaseUrl": "https://your-matrixs-erver.example.com"
}

or to a list of homeservers:

{
  "restrictBaseUrl": [
    "https://your-first-matrix-server.example.com",
    "https://your-second-matrix-server.example.com"
  ]
}

The config.json can be injected into a Docker container using a bind mount.

services:
  synapse-admin:
    ...
    volumes:
      ./config.json:/app/config.json:ro
    ...

Serving Synapse-Admin on a different path

The path prefix where synapse-admin is served can only be changed during the build step.

If you downloaded the source code, use yarn build --base=/my-prefix to set a path prefix.

If you want to build your own Docker container, use the BASE_PATH argument.

We do not support directly changing the path where Synapse-Admin is served in the pre-built Docker container. Instead please use a reverse proxy if you need to move Synapse-Admin to a different base path. If you want to serve multiple applications with different paths on the same domain, you need a reverse proxy anyway.

Example for Traefik:

docker-compose.yml

services:
  traefik:
    image: traefik:mimolette
    restart: unless-stopped
    ports:
      - 80:80
      - 443:443
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro

  synapse-admin:
    image: awesometechnologies/synapse-admin:latest
    restart: unless-stopped
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.synapse-admin.rule=Host(`example.com`)&&PathPrefix(`/admin`)"
      - "traefik.http.routers.synapse-admin.middlewares=admin,admin_path"
      - "traefik.http.middlewares.admin.redirectregex.regex=^(.*)/admin/?"
      - "traefik.http.middlewares.admin.redirectregex.replacement=$${1}/admin/"
      - "traefik.http.middlewares.admin_path.stripprefix.prefixes=/admin"

Screenshots

Screenshots

Development

synapse-admin's People

Contributors

aaronraimist avatar awesome-manuel avatar awesome-michael avatar bigbadmonster17 avatar c-cal avatar candinya avatar csett86 avatar dependabot[bot] avatar dfuchss avatar dklimpel avatar dotwee avatar ezwen avatar fateme-shm avatar fccapria avatar findus23 avatar halkeye avatar iamtakingiteasy avatar mexhigh avatar rkfg avatar rom4nik avatar sakkiii avatar schildbach avatar sebix avatar smoehrle avatar steffospieler avatar teutat3s avatar tgurr avatar wagner-intevation avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

synapse-admin's Issues

Feature: Users role selection should be a list.

Update the role selection option:

Users role selection is now as switch to choose between guest/admin.
But matrix has more level of roles.
This should be a drop down menu like in riot-web settings/roles-permission.

1Quer

Login works but "Not Found" error when looking for records

I have installed synapse-admin with docker.
I am using the same domain as my matrix server to avoid and CORS issues -- something like this:

Sign in works and there are no browser console errors, no web server errors and no errors shown in the docker logs for synapse-admin.
However, I am unable to see details of users or rooms, whenever I try to load these details, a red "Not Found" error is shown on the bottom of the page.

Does anyone have any further suggestions for debugging?

Add a delete room button to the room details page

A lot of my rooms don't show the names because presumably they have been state reset away so I want to click in to them to view the room ID to check which room it is.

screenshot

It would be nice if there was a delete room button somewhere on this page
screenshot

so I could delete the room right away instead of hitting the back button and then trying to remember which of the blank rooms in the list it was so I can select it and delete it.

how to install?

I don't know how to install it, could you explain requirements and how to install it?

Failed to fetch

When I login to synapse admin. I get erro failed to fetch and no user will showed up

Make it possible to change a users avatar

I can see the avatar in the UI but I can't change it. It would be nice to be able to do that, even if for starters it would only work with a URL because I understand that it's difficult to do the whole file upload dance.

NetworkError when attempting to fetch resource

I'm on Synapse admin version 0.5.0. When I log in as admin I get
"NetworkError when attempting to fetch resource" as a red popup bar at the bottom of the page.

Synapse Admin does recognize admin creds, so it's obviously communicating with the homeserver.

What should I look in to for troubleshooting?

Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.

Hi, installed the docker container on my synapse host and can successfully log in with an admin account to synapse-admin but it doesn't show any users or rooms. Synapse-admin shows this message on the bottom:

Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.

Some more info on my workflow:

I started the container using:

sudo docker run -p 8080:80 awesometechnologies/synapse-admin

I redirected synapse-admin to my local mac machine by using an ssh tunnel:

ssh -L 8080:localhost:8080 my-host.fqdn

and viewed the web-ui in my local webrowser (Safari) by accessing this url:

http://localhost:8080

I must have missed something. Thanks for pointing me in the right direction!

all the best
Jojo

After doing it production?

I run perfect with yarn start, but I decided to make it production

Compiled successfully.

File sizes after gzip:

  362.06 KB  build/static/js/2.2b6cdba9.chunk.js
  11.03 KB   build/static/js/main.3804f478.chunk.js
  779 B      build/static/js/runtime-main.610dcd3c.js

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  bit.ly/CRA-deploy

Done in 36.96s.

My question, after compiling it for production supposedly how does it run, anyway? yarn start?

it won't let me manage

My matrix runs http, I access it with a reverse proxy in nginx with https. and to the build of the synapse-admin I did an nginx equal to https.
At the time of access, I put user, pass and the URL created in the nginx, I access synapse, but it does not load me anything.
Captura de pantalla (131)

Too Many Requests on Bulk Server Notices

I tried to send a Server Notice to all the users (~40) of my homeserver, but for more than half of them I get a 429 Too Many Requests as response:

{
	"errcode": "M_LIMIT_EXCEEDED",
	"error": "Too Many Requests",
	"retry_after_ms": 9978
}

Bildschirmfoto von 2020-11-29 21-55-42

Maybe it is possible to not send the requests in parallel and handle the responses to delay the following requests if one gets 429 error.

Production paths are relative to docroot, not current folder

I did a yarn build and then tried to serve the contents of the build folder with Apache webserver. I wanted to serve it from chatserver.example.com/admin but that results in 404s when trying to load chatserver.example.com/static/js/main.78b12af2.chunk.js which is no surprise... the files are in chatserver.example.com/admin/static/js/main.78b12af2.chunk.js

This would be solved if the path in the index.html lacked the initial slash. Eg:

<script src="static/js/2.2e1c8a1a.chunk.js">

EraseData Option

I think it would be very good, that they would implement, room, users and options (Data).
-Users -Rooms -Data

Where possible file deletion can be chosen [timestap or media_size + mtime]

1 - By TIMESTAP or / 2 - Purge Local/Remote Media
https://github.com/matrix-org/synapse/blob/master/docs/admin_api/purge_remote_media.rst

something like this ;)

find /var/lib/matrix-synapse/media/ -type f -size +5M -mtime +120 -exec rm  -r {} \;

Erase size >5MB, older than 120 days (example)

this would be possible? Thank you very much for your work.

"Your session has ended, please reconnect."

I did start this container via
docker run -it --rm --publish 28838:80 --link matrix-synapse --net matrix awesometechnologies/synapse-admin
and wanted to access it through an SSH tunnel.. unexpectedly (because no docs; thought it might notice that it's ON the HS, even attached to it) it asked for a homeserver URL. Ok so I put in the requested information and for a blink, the GUI showed up, then it went back to the login screen with "Your session has ended, please reconnect.". Nothing was logged, except the initial HTTP gets.

Latest Synapse Version doesn't allow new user creation

Hi there,

Running into a strange issue when trying to create a new user. I am able to login, and /_synapse/admin is exposed, but when I create a new user I get this issue on the server side.

SynapseError: 400 - This endpoint can only be used with local users

This is strange to me because I have been able to successfully do this before with other versions of Synapse.

I believe the version of synapse I'm running is v1.22.0, but I'm not sure because I'm using the synapse:latest tag. However, it was only a few days ago. Whereas the version of Synapse I used successfully was from a few weeks ago.

I'm hoping there is a work around because this issue invalidates synapse-admin's use case for me.

I realize this is an issue on Synapse's side, but it really only affects apps like this. Curious if others have seen this issue.

Tests do fail

Dashmoard is loading without any login.

Error: ENOENT: no such file or directory, stat '/var/www/synapse-admin/coverage/lcov-report/index.html'
test file:
----------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files | Unknown | Unknown | Unknown | Unknown | |
----------|----------|----------|----------|----------|-------------------|

run test

 FAIL  tests/features/home/redux/login.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/Root.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/features/common/SidePanel.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/features/home/Login.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/features/common/PageNotFound.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/features/home/App.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/features/common/Layout.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
 FAIL  tests/index.test.js
  ● Test suite failed to run
    TypeError: Cannot read property 'cwd' of undefined
      
      at Object.getCacheKey (node_modules/babel-jest/build/index.js:153:51)
Test Suites: 8 failed, 8 total
Tests:       0 total
Snapshots:   0 total
Time:        0.766s
Ran all test suites.
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/Login.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/App.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/redux/actions.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/redux/initialState.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/redux/constants.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/redux/reducer.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/redux/login.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/route.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/home/index.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/PageNotFound.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/SidePanel.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/redux/actions.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/redux/initialState.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/redux/constants.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/redux/reducer.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/route.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/index.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/features/common/Layout.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/Root.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/index.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/common/configStore.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/common/routeConfig.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/common/rootReducer.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
    Failed to collect coverage from /var/www/synapse-admin/src/common/history.js
    ERROR: TypeError: Cannot read property 'cwd' of undefined
    STACK: TypeError: Cannot read property 'cwd' of undefined
    at Object.getCacheKey (/var/www/synapse-admin/node_modules/babel-jest/build/index.js:153:51)
    at ScriptTransformer._getCacheKey (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:68:26)
    at ScriptTransformer._getFileCachePath (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:93:27)
    at ScriptTransformer.transformSource (/var/www/synapse-admin/node_modules/jest-runtime/build/ScriptTransformer.js:182:32)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/generateEmptyCoverage.js:32:59)
    at module.exports (/var/www/synapse-admin/node_modules/jest/node_modules/jest-cli/build/reporters/CoverageWorker.js:51:20)
    at /var/www/synapse-admin/node_modules/pify/index.js:29:7
    at new Promise ()
    at /var/www/synapse-admin/node_modules/pify/index.js:12:10
    at ret (/var/www/synapse-admin/node_modules/pify/index.js:56:34)
  
----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |  Unknown |  Unknown |  Unknown |  Unknown |                   |
----------|----------|----------|----------|----------|-------------------|

i am not a developer ... dont know this code

Nothing works..

I click a user and I get “element not found”, click on the rooms tab and it says “bad request”. Install on unraid used my url for matrix and local IP and literally nothing on this app works or opens..

SSO Login support

I'd like to manage a homeserver with SSO login, but this only seems to support password login?

Add Moderation Tool

If matrix-org/synapse#8217 is released (it's already merged in develop) you could add a new tab (or something else) for a simple moderation tool, which can handle the reported events. This would be a great feature for all admins.

warnings during docker build

# docker build -t synapse-admin:latest .
Sending build context to Docker daemon  964.6kB
Step 1/8 : FROM node:10-alpine as builder
10-alpine: Pulling from library/node
e7c96db7181b: Pull complete
50958466d97a: Pull complete
56174ae7ed1d: Pull complete
284842a36c0d: Pull complete
Digest: sha256:77c898d0da5e7bfb6e05c9a64de136ba4e03889a72f3c298e95df822a38f450d
Status: Downloaded newer image for node:10-alpine
 ---> b95baba1cfdb
Step 2/8 : WORKDIR /src
 ---> Running in 0358c9d72861
Removing intermediate container 0358c9d72861
 ---> efc67a523905
Step 3/8 : COPY . /src
 ---> 333b4bc993d3
Step 4/8 : RUN yarn --network-timeout=100000 install
 ---> Running in db3a8b2aa80e
yarn install v1.17.3
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning babel-preset-react-app > babel-preset-env > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: use String.prototype.padStart()
warning [email protected]: This project is no longer maintained.
warning rekit-core > trash > xdg-trashdir > @sindresorhus/df > execa > [email protected]: cross-spawn no longer requires a build toolchain, use it instead
warning sw-precache-webpack-plugin > [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
warning sw-precache-webpack-plugin > sw-precache > [email protected]: Please migrate to Workbox: https://developers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning "babel-jest > babel-preset-jest > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > [email protected]" has incorrect peer dependency "webpack@^4.0.0".
warning "rekit-core > [email protected]" has incorrect peer dependency "eslint@^4.9.0".
warning " > [email protected]" has unmet peer dependency "node-sass@^4.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 86.33s.
...

Would also be excellent if you published the image on docker hub!

Feature: Include a default room for new user

During the creation of a new user, it would be nice if you can assign a default room that when the user logins the first time, the user will auto-join to the default room. This similar feature can be configured on the homeserver.yaml but it is for every user.

Also, a view that can show the list of rooms a user is a member is very helpful.

Unable to delete room

Synapse logs show the following when I attempt to delete a room:

(Just pulled the latest image from docker: Synapse-Admin (0.5.0-1-g26b8cea))

2020-10-08 09:43:12,834 - synapse.http.server - 76 - INFO - POST-1901963 - <XForwardedForRequest at 0x7f077a338850 method='POST' uri='/_synapse/admin/v1/rooms/[object%20Object]/delete' clientproto='HTTP/1.0' site=8008> SynapseError: 400 - [object Object] is not a legal room ID

wrong home_server domain in localstorage

Hello, thank you for this nice matrix admin panel!

I noticed that for some reason the home_server variable that's stored in local storage gets set with a wrong value with our instance.

Our synapse server answers at matrix.example.com, but the value in local storage gets set to example.com.
When I change the value by hand, everything works fine. What's weird is that login works fine...
Only after login I got errors about unable to fetch resource (it's trying the wrong domain ofc)

Is this value taken from the synapse instance? Is this a bug or a misconfiguration of our synapse server?

"Bad request" when trying to delete room

When I try to delete a room it tries to send the request and spits out the error "Bad Request" shortly after. I can also see a "checkError400" in the console.

Failed to fetch

after I logged in successfully with an admin account , the synapse-admin says "Failed to fetch"

what can I do to fix it ?

I followed the docker way

Feature: Support homeserver without .well-known URL

I am running the newest version of synapse-admin.
After I click on "Sign in" on the landing page I get the error:

Cannot read property 'm.homeserver' of undefined

When I try a wrong password it shows me correctly:

Authentication failed, please retry

NetworkError when attempting to fetch resource.

I've just setup synapse-admin in a docker container and I am able to login with my account.
However, as soon as I log in I am presented with a red warning message at the bottom of the page stating:
"NetworkError when attempting to fetch resource."

I'm running version 1.11.1 of Synapse and I've made sure that my account is admin.
Any suggestions or ideas as to what could be wrong?

Search Users Function

Is it possible to have a search function to find users based on ID or any part of Display Name?

try access from Apache Reverse Proxy Subdom using Docker image

Hi there,
i am trying to set up synapse-admin:latest docker image with apache reverse proxy.

The reverse proxy settings

ProxyPass "/" "http://127.0.0.1:8766/"
ProxyPassReverse "/" "http://127.0.0.1:8766/"

let me sucessfull login to my own Matrix home server but let not fetching any results like user, rooms or other stuff.
Do i have to setup more directories or Websocket stuff to setting this to work?

Thanks in advance!

yarn install does not work?

I followed the “Steps for 1)” …

… which results in:

root@host:~/synapse-admin# yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
root@host:~/synapse-admin# ls
Dockerfile  LICENSE  README.md  package.json  public  screenshots.jpg  src  yarn.lock

"Your session has ended, please reconnect", logout after succesfull logon from behind Traefik proxy

Running synapse-admin behind Traefik2 reverse proxy gives me the exact same results. User, password & homeserver are validated, the main screen opens (with info ghosted and a spinner top-right) and then returns me to the logon screen with the message "Your session has ended, please reconnect".

  • No info shown on the docker logs
  • Tried :latest and a few older releases
  • Entering a random user or password fails so authentication DOES happen
  • synapse-admin and synapse are both exposed by Traefik on port 443 on subdomains of the same domain

I found related issues 'closed' with the message that updating to the latest release should have fixed it but it does not for me.

docker pull awesometechnologies/synapse-admin

root@vultr:# snap install docker
2020-03-03T09:53:44Z INFO Waiting for restart...
docker 18.09.9 from Canonical✓ installed
root@vultr:
# docker pull awesometechnologies/synapse-admin
Using default tag: latest
latest: Pulling from awesometechnologies/synapse-admin
4167d3e14976: Pull complete
db94a93dfca0: Pull complete
556f669bc8ac: Pull complete
acca8aceb5b6: Pull complete
Digest: sha256:5dde3eede21c9f8459bfadac1db67e4964dcd31ec995415b13e0e31572948094
Status: Downloaded newer image for awesometechnologies/synapse-admin:latest
root@vultr:~# yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.