Add /@<username> route #279
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#279
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently going to something like https://fediverse.catgirlin.space/@catgirl leads to nothing. This route should either 301 redirect to
/<username>
or return the profile with a canonical (see https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)wowee getting started with the issue that tore pleroma apart are we
this particular route was the one that finally killed pleroma
the question was always "why should the @xyz lead somewhere?" there's no technical reason or anything
What happened with pleroma? Am unfamiliar with the events of it.
delve into this history at your own risk
https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3576
Seems silly to argue about what is seemingly a simple thing. If adding
/@<username>
is something that won't be considered due to this, is there a way to do this from nginx?I think it's more intuitive than user/asdfjsdff
meaningless drama analysis
as far as i'm concerned the issue wasn't actually "why should we have @:user", it was more about gleason abusing his powers and adding hacky code to pleroma be to support specifically soapbox instead of just . adding it to soapbox.
fundamentally i think adding a
@
path is fine, we already have/users/:user
and/user
going to the same place in the frontend, as long as it's discussed beforehand (like we're doing just now)i'm probably missing something, but is there any reason why each frontend can't just handle its own special username paths by handling 404s?
@catgirlinspace You can probably do it with nginx, yeah. See https://git.pleroma.social/pleroma/pleroma/-/blob/develop/installation/pleroma.nginx#L84
Afaict, this is only for redirecting posts, though. You probably want more something like
Whether this should be part of Akkoma or not, I'll leave that up to floaty 🤐 My personal opinion is that more routes means more chance for bugs and collisions with the rest of the API, so shouldn't be added lightly. That doesn't mean I'm opposed to it per sé, but the improvement should be worth the extra potential trouble I think.
On a sidenote; I do prefer
/@<username>
more than/<username>
(which we currently have) because, thanks to the use of the@
, it at least doesn't cause direct collisions with the rest of the API.