Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Send server notices to all users at once #287

Open
erebion opened this issue Sep 9, 2022 · 10 comments
Open

Feature Request: Send server notices to all users at once #287

erebion opened this issue Sep 9, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@erebion
Copy link

erebion commented Sep 9, 2022

Being able to send server notices to users is really useful, sending them to 1k7 users meant I had to use the dev tools of my browser to edit the amount of users that are shown to an amount that isn't officially supported.

It'd be great to be able to just choose "Send Server Notice To All Users".

@dklimpel
Copy link
Contributor

dklimpel commented Sep 9, 2022

Related to: #90
Missing upstream feature: matrix-org/synapse#5501

@erebion
Copy link
Author

erebion commented Sep 9, 2022

Synapse-Admin can already get a list of all users and you can disable rate limiting for the admin user.

matrix-org/synapse#6286

What exactly is still stopping us there?

@dklimpel
Copy link
Contributor

dklimpel commented Sep 9, 2022

Is the issue only the pagination for max. 1000 users?
image

@erebion
Copy link
Author

erebion commented Sep 9, 2022

Is the issue only the pagination for max. 1000 users?

Yes, I'd just need a way to select all users at once. Being able to Select 1000 ist not enough.

My suggestion: A button "Send Server Notice To All Users" and then all users get selected and I can send them all a message.

Maybe a warning that it can take a while for large servers and also that it could run into rate limiting if it has not been disabled for the user account running the action.

@Justinzobel
Copy link

Maybe a warning that it can take a while for large servers and also that it could run into rate limiting if it has not been disabled for the user account running the action.

Ideally the UI would check the user running it and give it no rate limit before starting the send.

@Justinzobel
Copy link

I've just installed this on our test instance and am liking it quite a bit. Hoping one day it will be part of Matrix itself!

@erebion
Copy link
Author

erebion commented Sep 10, 2022

give it no rate limit

Is there a way to do that without direct database access?

@Justinzobel
Copy link

give it no rate limit

Is there a way to do that without direct database access?

Synapse-Admin would just call the Admin API as mentioned above and then query the rate limit to ensure it succeded before sending the messages.

@Justinzobel
Copy link

Does Synapse Admin already support background job requests to the API that are detached from the UI? If so this mass sending is already possible. I only ask if it can handle background jobs as large servers would cause a UI timeout while waiting for the send to finish.

@roughnecks
Copy link

How do I select all local users?

@awesome-michael awesome-michael added the enhancement New feature or request label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants