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

Homogenise all mentions of Groups to Communities (including error messages) #6003

Closed
AmandineLP opened this issue Jan 18, 2018 · 6 comments
Closed
Labels
A-Spaces Spaces, groups, communities Help Wanted Extra attention is needed P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround S-Tolerable Low/no impact on users T-Defect

Comments

@AmandineLP
Copy link
Contributor

some error messages still mention Group rather than Community

image

@lampholder lampholder added T-Defect ui/ux P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround S-Tolerable Low/no impact on users Help Wanted Extra attention is needed A-Spaces Spaces, groups, communities labels Jan 22, 2018
@lampholder lampholder changed the title Remove mentions of Groups Homogenise all mentions of Groups to Communities (including error messages) Jan 22, 2018
@lampholder
Copy link
Member

As @t3chguy says matrix-org/matrix-react-sdk#1714 fixes some instances of this but possibly not all.

@lukebarnard1
Copy link
Contributor

A scan of the code reveals no remaining instances of the word "group" in the text, at least where it should be "community". Any remaining ones will be error messages that we pass thru from Synapse.

@lampholder lampholder modified the milestones: RW008 - Candidates, Temporary Bug Bin Apr 24, 2018
@ara4n
Copy link
Member

ara4n commented Sep 12, 2018

From a quick inspection:

Matthews-MacBook-Pro:synapse matthew$ grep -ri 'group' . | fgrep \" | grep -i error | fgrep .py:
./groups/groups_server.py:            raise SynapseError(400, "Group not on this server")
./groups/groups_server.py:            raise SynapseError(404, "Unknown group")
./groups/groups_server.py:            raise SynapseError(404, "Unknown group")
./groups/groups_server.py:                raise SynapseError(403, "User is not admin in group")
./groups/groups_server.py:            raise SynapseError(404, "Unknown group")
./groups/groups_server.py:            raise SynapseError(403, "User not in group")
./groups/groups_server.py:            raise SynapseError(403, "User not invited to group")
./groups/groups_server.py:            raise SynapseError(403, "Group is not publicly joinable")
./groups/groups_server.py:                raise SynapseError(403, "User is not admin in group")
./groups/groups_server.py:            raise SynapseError(400, "Group already exists")
./groups/attestations.py:            raise SynapseError(400, "Attestation has incorrect group_id")
./groups/attestations.py:            raise SynapseError(400, "Neither user not group are on this server")
./storage/group_server.py:            raise SynapseError(400, "room not in group")
./storage/group_server.py:            raise SynapseError(400, "user not in group")
./federation/transport/server.py:            raise SynapseError(403, "group_id doesn't match origin")

@lampholder
Copy link
Member

We also leak the 'group' word in the riot url:

http://riot.im/app/#/group/+example_community_zappa:matrix.org

@ara4n
Copy link
Member

ara4n commented Sep 12, 2018

The right solution here is surely for synapse to return proper error codes for all of these different scenarios which can then be i18nized correctly on clients. It doesn't feel like a bug that at the API level and synapse impl level we systematically call them groups though, just as long as that doesn't leak to the user.

@jryans jryans removed the Z-UI/UX label Mar 9, 2021
@SimonBrandner
Copy link
Contributor

Spaces are now in beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Spaces Spaces, groups, communities Help Wanted Extra attention is needed P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround S-Tolerable Low/no impact on users T-Defect
Projects
None yet
Development

No branches or pull requests

6 participants