Update quotes and mentions when username is changed

That cribsheet is detailed to the way our migration worked.

Just rename your account with the GUI. This changes ownership and rebakes all your posts.

So what is left over are posts in response to you. This means that any @mentions are a straight replacement "@paul " for "@paula " and rebake. The only thing you won’t be able to catch is “Hey Paul” or “As Paul wrote”, but these will be self evident from within the context of the posts.

2 Mi Piace

Sollevo questo argomento soprattutto per questo caso:

Innanzitutto, ora permettete nomi utente UTF-8… quindi… :sweat_smile:

Inoltre, è stato scoperto questo problema: Unicode username with Σ as the final char leads to an error loading profile page

Per farla breve, ci sono incongruenze tra il modo in cui JavaScript, Ruby e PostgreSQL gestiscono vari caratteri UTF-8 (ad esempio, nella conversione maiuscole/minuscole). Penso che il problema sopra menzionato potrebbe rendere i caratteri UTF-8 non sicuri nei nomi utente, se non viene implementato un altro metodo di routing che coinvolga l’ID utente.

Quindi, è un’opportunità per riesaminare questa decisione :slight_smile:

Aggiungo solo una nota qui per dire che, quando viene modificato un nome utente, le citazioni e i menzioni vengono aggiornate automaticamente. Modificare un nome utente non interromperà le citazioni e i menzioni.

8 Mi Piace