!SwDTmjceJHHroSEIPP:matrix.org

funkwhale

307 Members
Welcome! In this room, you can have general discussions about the project. Use #funkwhale-troubleshooting:matrix.org to report issues or get technical help, and join interesting discussions on our forum at https://governance.funkwhale.audio/g/kQgxNq15/funkwhale Code of conduct (mandatory read): https://funkwhale.audio/code-of-conduct/75 Servers

Load older messages


Timestamp Message
19 Sep 2019
08:11:39@Eliot:matrix.orgEliot Berriot (he/him)I was thinking the same. We could add a uuid column on actors, populate it, and generate ids for new actors using the uuid instead of the username
08:12:05@Eliot:matrix.orgEliot Berriot (he/him)we can't migrate existing ids because, well that would break federation
08:12:34@trwnh:matrix.orgtrwnh (they)i think it would work if you add support for Move an object from one id to another?
08:12:47@trwnh:matrix.orgtrwnh (they)or use a 302 temporary redirect for a while
08:13:16@trwnh:matrix.orgtrwnh (they)after the new ids are cached then you can remove the 302
08:13:42@trwnh:matrix.orgtrwnh (they) alternatively you can just decide to break old iris
08:14:04@trwnh:matrix.orgtrwnh (they)but doing a 302 probably is worth the effort
08:14:04@Eliot:matrix.orgEliot Berriot (he/him)
In reply to @trwnh:matrix.org
i think it would work if you add support for Move an object from one id to another?
hm, not sure if it will be implemented soon
08:14:46@trwnh:matrix.orgtrwnh (they)also a 302 temporary redirect is not terribly hard, so it'd be the simplest of the options
08:15:34@Eliot:matrix.orgEliot Berriot (he/him)the main issue with Move is that there is no specification regarding security
08:16:11@trwnh:matrix.orgtrwnh (they) i actually think a Move is unnecessary and would probably be overkill
08:16:53@trwnh:matrix.orgtrwnh (they)however there is already usage of Move e.g. in mastodon where it requires reciprocal alsoKnownAs on both actors
08:17:22@Eliot:matrix.orgEliot Berriot (he/him)
In reply to @trwnh:matrix.org
however there is already usage of Move e.g. in mastodon where it requires reciprocal alsoKnownAs on both actors
ah, makes sense
08:17:31@trwnh:matrix.orgtrwnh (they)so it could be a much longer term thing to support
08:17:46@Eliot:matrix.orgEliot Berriot (he/him)I've created the issue for actors uuids : https://dev.funkwhale.audio/funkwhale/funkwhale/issues/920
08:19:02@trwnh:matrix.orgtrwnh (they) but since the funkwhale ecosystem is still not at a massive scale it would be much easier to add uuid and do a 302 from, say, /federation/actors/Bob to /federation/actors/<bob's uuid>
08:20:12@trwnh:matrix.orgtrwnh (they)and then 6 months down the road the 302 probably isn't necessary anymore (but could be worth keeping around to allow cross-domain references)
08:20:32@Eliot:matrix.orgEliot Berriot (he/him)it depends on the perspective
08:20:57@Eliot:matrix.orgEliot Berriot (he/him)adding an additional http request for every actor fetch doesn't feel good
08:21:51@Eliot:matrix.orgEliot Berriot (he/him)and also, regardless of the redirection, it wouldn't help with the actual ID change, because the object exposed at /federation/actors/uuid would still have the username-based id
08:22:01@trwnh:matrix.orgtrwnh (they)it would only be temporary, assuming cache invalidation
08:22:23@trwnh:matrix.orgtrwnh (they)i think the object nesting is the harder part
08:22:49@Eliot:matrix.orgEliot Berriot (he/him) as far as I know, ActivityPub clients use the embedded id property and not the URL to infer the object id ?
08:22:52@trwnh:matrix.orgtrwnh (they)but could still be handled by a rewrite
08:23:16@trwnh:matrix.orgtrwnh (they)i dont think you can infer id, you have to know id
08:23:23@trwnh:matrix.orgtrwnh (they)* but could still be handled by a rewrite
08:23:44@Eliot:matrix.orgEliot Berriot (he/him)
In reply to @trwnh:matrix.org
i dont think you can infer id, you have to know id
yes, so I fail to see how the redirection actually help with this?
08:24:08@Eliot:matrix.orgEliot Berriot (he/him) (do you mind if we move to #funkwhale-dev:matrix.org ?)
08:24:21@trwnh:matrix.orgtrwnh (they)for example it may be that url is of the form domain.com/username but id is of the form domain.com/users/username, or users/id, or /u/id, or so on
08:24:34@trwnh:matrix.orgtrwnh (they)i can move to funkwhale dev yes

There are no newer messages yet.


Back to Room List