backend: implement not forwarding block activities #212

Merged
norm merged 12 commits from non-federating-blocks into main 2022-11-17 21:24:40 +00:00

12 commits

Author SHA1 Message Date
667d791c85
fix migration syntax error
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline failed
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-11-16 17:29:26 -05:00
7356e47e07
only show federateBlocks field to owner 2022-11-16 17:29:26 -05:00
b858d11d9c
remove federateBlocks check for unblock activities 2022-11-16 17:29:26 -05:00
7fbf6798d3
translate comments and add return types 2022-11-16 17:29:25 -05:00
fadeecb532
Revert "send reject follow if federateBlocks is false"
This reverts commit 9c9b5bb44c.
2022-11-16 17:29:25 -05:00
232d857999
make migration plain JS 2022-11-16 17:29:25 -05:00
24636e8ee0
send reject follow if federateBlocks is false 2022-11-16 17:29:24 -05:00
82350eaa05
update sinon and move to backend package.json
Also add types for sinon.
2022-11-16 17:29:24 -05:00
6c9d7edf14
add en-US strings for federateBlocks 2022-11-16 17:29:24 -05:00
953bc1ef25
fix tests 2022-11-16 17:29:23 -05:00
deb945f9ee
Add unit tests for block & unblock federation 2022-11-16 17:29:23 -05:00
b3dbdcdc6a
backend: implement not forwarding block activities
Each user can select if they want their block & unblock activities to be
forwarded or not.

Changelog: Added
2022-11-16 17:29:23 -05:00