akkoma/lib/pleroma/web/activity_pub
Erin Shepherd b387f4a1c1
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test unknown status
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/build-amd64 unknown status
ci/woodpecker/pr/docs unknown status
Don't steal emoji who's shortcodes have dots or colons in their name
Mastodon at the very least seems to prevent the creation of emoji with
dots in their name (and refuses to accept them in federation). It feels
like being cautious in what we accept is reasonable here.

Colons are the emoji separator and so obviously should be blocked.

Perhaps instead of filtering out things like this we should just
do a regex match on `[a-zA-Z0-9_-]`? But that's plausibly a decision
for another day

    Perhaps we should also have a centralised "is this a valid emoji shortcode?"
    function
2024-02-20 11:33:55 +01:00
..
activity_pub Remove deps from Streaming/Persisting behaviors 2021-06-01 13:55:07 -05:00
mrf Don't steal emoji who's shortcodes have dots or colons in their name 2024-02-20 11:33:55 +01:00
object_validator Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
object_validators Support elixir1.15 2023-08-03 17:44:09 +01:00
side_effects Refactor ES on top of search behaviour 2022-06-30 16:28:31 +01:00
views Federate user profile background 2024-02-16 16:35:51 +01:00
activity_pub.ex Federate user profile background 2024-02-16 16:35:51 +01:00
activity_pub_controller.ex Support elixir1.15 2023-08-03 17:44:09 +01:00
builder.ex Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
internal_fetch_actor.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
mrf.ex Support elixir1.15 2023-08-03 17:44:09 +01:00
object_validator.ex Post editing (#202) 2022-09-06 19:24:02 +00:00
pipeline.ex Refactor ES on top of search behaviour 2022-06-30 16:28:31 +01:00
publisher.ex MIX FORMAT 2023-08-15 23:26:22 +01:00
relay.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
side_effects.ex Add ability to auto-approve followbacks 2024-02-13 15:42:37 +01:00
transmogrifier.ex Support elixir1.15 2023-08-03 17:44:09 +01:00
utils.ex Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
visibility.ex local-only-fixed (#138) 2022-08-02 14:46:46 +00:00