Add docs about emoji stealing #364
No reviewers
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#364
Loading…
Reference in a new issue
No description provided.
Delete branch "timorl/akkoma:cinnamon-hate"
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?
I managed to steal some emoji, but I had to figure out the specifics the hard way. This should make it easier for future criminals.
Feel free to close if this documentation was omitted on purpose, I can imagine some reasons for why it might have.
5360ad1f61
tofa9c7eae56
a few nits to pick
@ -70,0 +72,4 @@
Managing your emoji can be hard work, and you just want to have the cool emoji your friends use? As usual, crime comes to the rescue!
You can use the `Pleroma.Web.ActivityPub.MRF.StealEmojiPolicy` Message Rewrite Facility to automatically add to your instance emoji that massages from specific servers contain. Note that this happens on message processing, so the emoji will be added only after your instance receives some interaction containing emoji _after_ configuring this.
typo, messages
Fixed.
@ -70,0 +74,4 @@
You can use the `Pleroma.Web.ActivityPub.MRF.StealEmojiPolicy` Message Rewrite Facility to automatically add to your instance emoji that massages from specific servers contain. Note that this happens on message processing, so the emoji will be added only after your instance receives some interaction containing emoji _after_ configuring this.
To activate this you have to configure it in your configuration file (`prod.secret.exs` or `dev.secret.exs`). For example if you wanted to steal from `coolemoji.space` and `spiceenthusiasts.biz` any emoji that is not related to cinnamon and not larger than about 10K you would add the following:
two things
first, missing a comma here
second, can you link to
/configuration/cheatsheet/#mrf_steal_emoji
instead of mentioning the file by name? OTP users will have a different file and so onUgh, the comma made me doubt the whole sentence was well-structured, so I reorganized it, maybe it's better now? Maybe it still needs commas somewhere?
I linked there and to the general section about MRF, but neither actually mentions where the config should go (although it is pretty easy to figure out :P). Also fyi, this same file higher up mentions both these files in the exact same way.
@ -70,0 +92,4 @@
size_limit: 10000
```
Note that this _might_ actually be illegal in some ways, due to emoji pack licensing. It's extremely unlikely that anyone will care, but keep this in mind for when Nintendo starts their own instance.
probably best not to insinuate illegality, just a "this may not obey emoji licensing restrictions" should be sufficient
Changed, but left the Nintendo ""joke"", I hope this is fine.
It might be preferable to keep the documentation strictly related to Akkoma.
As in "don't write docs for emoji stealing at all, because that's just an MRF" or "keep the docs serious"? For the latter I should probably rewrite more parts of this PR than just the Nintendo thing. Or did you mean something else entirely?
0b3ccf9147
to393e0c481e
seems fine currently, thanks~