mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
![Dessalines](/assets/img/avatar_default.png)
* 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>
21 lines
465 B
Bash
Executable File
Vendored
21 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
|