]> Untitled Git - lemmy.git/commitdiff
Rename federation-test to federation, puller.rs to fetcher.rs
authorFelix <me@nutomic.com>
Fri, 10 Apr 2020 11:37:35 +0000 (13:37 +0200)
committerFelix <me@nutomic.com>
Fri, 10 Apr 2020 11:37:35 +0000 (13:37 +0200)
.gitignore
docker/federation/Dockerfile [moved from docker/federation-test/Dockerfile with 100% similarity]
docker/federation/docker-compose.yml [moved from docker/federation-test/docker-compose.yml with 96% similarity]
docker/federation/nginx.conf [moved from docker/federation-test/nginx.conf with 100% similarity]
docker/federation/run-federation-test.bash [moved from docker/federation-test/run-federation-test.bash with 67% similarity]
server/src/apub/community.rs
server/src/apub/fetcher.rs [moved from server/src/apub/puller.rs with 100% similarity]
server/src/apub/mod.rs
server/src/apub/post.rs
server/src/main.rs

index 5e221b03828c692dffef140ce8128a4ec99d49ad..5e9fd40d6d156b03ec276d5f84fdefd186399b8e 100644 (file)
@@ -6,7 +6,7 @@ ansible/passwords/
 # docker build files
 docker/lemmy_mine.hjson
 docker/dev/env_deploy.sh
-docker/federation-test/volumes
+docker/federation/volumes
 docker/dev/volumes
 
 # local build files
similarity index 96%
rename from docker/federation-test/docker-compose.yml
rename to docker/federation/docker-compose.yml
index 91f167c46a440e0840044b1f6cf4629b7545180f..f251a4f971b4c8105dd685534553bbd6b2915c54 100644 (file)
@@ -17,7 +17,7 @@ services:
     restart: "always"
 
   lemmy_alpha:
-    image: lemmy-federation-test:latest
+    image: lemmy-federation:latest
     environment:
       - LEMMY_HOSTNAME=lemmy_alpha:8540
       - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_alpha:5432/lemmy
@@ -47,7 +47,7 @@ services:
     restart: always
 
   lemmy_beta:
-    image: lemmy-federation-test:latest
+    image: lemmy-federation:latest
     environment:
       - LEMMY_HOSTNAME=lemmy_beta:8550
       - LEMMY_DATABASE_URL=postgres://lemmy:password@postgres_beta:5432/lemmy
similarity index 67%
rename from docker/federation-test/run-federation-test.bash
rename to docker/federation/run-federation-test.bash
index b9f150a079682dd1fb77c7c5648b6a35f669e71b..7cf26206f812ec78581a2f55590f38eb6be45580 100755 (executable)
@@ -9,6 +9,6 @@ pushd ../../server/ || exit
 cargo build
 popd || exit
 
-sudo docker build ../../ -f Dockerfile -t lemmy-federation-test:latest
+sudo docker build ../../ -f Dockerfile -t lemmy-federation:latest
 
 sudo docker-compose up
\ No newline at end of file
index 444ee44037143a374e74c728c840628ec5138ffc..59c9329b4732dcf5b45c0819b2883a058bb4c6c0 100644 (file)
@@ -1,4 +1,4 @@
-use crate::apub::puller::{fetch_remote_object, fetch_remote_user};
+use crate::apub::fetcher::{fetch_remote_object, fetch_remote_user};
 use crate::apub::*;
 use crate::db::community::{Community, CommunityForm};
 use crate::db::community_view::CommunityFollowerView;
index eb3097c7a363fe47f9a4e3d44b76fe7fe6905ad6..3718350764865f5bc6092d3388e599a12958ecd6 100644 (file)
@@ -1,8 +1,8 @@
 pub mod activities;
 pub mod community;
+pub mod fetcher;
 pub mod inbox;
 pub mod post;
-pub mod puller;
 pub mod user;
 use crate::Settings;
 use openssl::{pkey::PKey, rsa::Rsa};
index 8458e8c9174a69b25567ae3f0ca94e8b2600d212..48c8b2db2222d37da4df50c19208c2e0dd61115e 100644 (file)
@@ -1,4 +1,4 @@
-use crate::apub::puller::{fetch_remote_community, fetch_remote_user};
+use crate::apub::fetcher::{fetch_remote_community, fetch_remote_user};
 use crate::apub::{create_apub_response, make_apub_endpoint, EndpointType};
 use crate::convert_datetime;
 use crate::db::community::Community;
index c1bec7e02b9f771beb295f4dc0b69383e0420318..9f78d43e234eb534a14c75088b0808abe0c5953e 100644 (file)
@@ -7,7 +7,7 @@ use actix_web::*;
 use diesel::r2d2::{ConnectionManager, Pool};
 use diesel::PgConnection;
 use failure::Error;
-use lemmy_server::apub::puller::fetch_all;
+use lemmy_server::apub::fetcher::fetch_all;
 use lemmy_server::db::code_migrations::run_advanced_migrations;
 use lemmy_server::routes::{api, federation, feeds, index, nodeinfo, webfinger, websocket};
 use lemmy_server::settings::Settings;