mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
e336e5bcc0
* Re-organizing federation tests. #746 #1040 * Add more checks in inbox, plus some refactoring (#76) Merge branch 'main' into more-inbox-permissions Move check_community_ban() into helper function Move slur check into helper functions Move Claims::decode and site ban check into helper function Note: this changes behaviour in that site ban is checked in more places now. we could easily add a boolean parameter check_for_site_ban to get the previous behaviour back Rewrite user_inbox and community_inbox in the same way as shared_inbox Add check against instance allowlist etc in shared_inbox Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev> Co-authored-by: Felix Ableitner <me@nutomic.com> Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76 * Adding verbose to test results. Co-authored-by: nutomic <nutomic@noreply.yerbamate.dev> Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev> Co-authored-by: Felix Ableitner <me@nutomic.com>
20 lines
465 B
Bash
Executable file
Vendored
20 lines
465 B
Bash
Executable file
Vendored
#!/bin/bash
|
|
set -e
|
|
|
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . down
|
|
sudo rm -rf volumes
|
|
|
|
pushd ../../server/
|
|
cargo build
|
|
popd
|
|
|
|
pushd ../../ui
|
|
yarn
|
|
popd
|
|
|
|
mkdir -p volumes/pictrs_{alpha,beta,gamma}
|
|
sudo chown -R 991:991 volumes/pictrs_{alpha,beta,gamma}
|
|
|
|
sudo docker build ../../ --file ../federation/Dockerfile --tag lemmy-federation:latest
|
|
|
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . up
|