Add docs about emoji stealing #364

Merged
floatingghost merged 5 commits from timorl/akkoma:cinnamon-hate into develop 2022-12-30 02:58:07 +00:00
Contributor

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.

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.
timorl force-pushed cinnamon-hate from 5360ad1f61 to fa9c7eae56 2022-12-13 11:43:34 +00:00 Compare
floatingghost reviewed 2022-12-14 12:54:03 +00:00
floatingghost left a comment
Owner

a few nits to pick

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

typo, messages
Author
Contributor

Fixed.

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

`coolemoji.space` and `spiceenthusiasts.biz`*,* any emoji

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 on

two things first, missing a comma here ``` `coolemoji.space` and `spiceenthusiasts.biz`*,* any emoji ``` 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 on
Author
Contributor

Ugh, 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.

Ugh, 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

probably best not to insinuate illegality, just a "this may not obey emoji licensing restrictions" should be sufficient
Author
Contributor

Changed, but left the Nintendo ""joke"", I hope this is fine.

Changed, but left the Nintendo ""joke"", I hope this is fine.
First-time contributor

It might be preferable to keep the documentation strictly related to Akkoma.

It might be preferable to keep the documentation strictly related to Akkoma.
Author
Contributor

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?

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?
timorl added 1 commit 2022-12-14 20:12:29 +00:00
timorl force-pushed cinnamon-hate from 0b3ccf9147 to 393e0c481e 2022-12-14 20:13:42 +00:00 Compare
timorl added 1 commit 2022-12-16 17:00:44 +00:00
ci/woodpecker/pr/woodpecker Pipeline is pending Details
376fb2609a
Merge branch 'develop' into cinnamon-hate
timorl added 1 commit 2022-12-16 18:43:36 +00:00
ci/woodpecker/pr/woodpecker Pipeline is pending Details
af2c3d6e1e
Merge branch 'develop' into cinnamon-hate

seems fine currently, thanks~

seems fine currently, thanks~
floatingghost merged commit bca1c43dcb into develop 2022-12-30 02:58:07 +00:00
floatingghost deleted branch cinnamon-hate 2022-12-30 02:58:07 +00:00
Sign in to join this conversation.
No description provided.