Browse Source

Rename federation-test to federation, puller.rs to fetcher.rs

pull/269/head
Felix 2 years ago
parent
commit
752f1d171a
  1. 2
      .gitignore
  2. 0
      docker/federation/Dockerfile
  3. 4
      docker/federation/docker-compose.yml
  4. 0
      docker/federation/nginx.conf
  5. 2
      docker/federation/run-federation-test.bash
  6. 2
      server/src/apub/community.rs
  7. 0
      server/src/apub/fetcher.rs
  8. 2
      server/src/apub/mod.rs
  9. 2
      server/src/apub/post.rs
  10. 2
      server/src/main.rs

2
.gitignore

@ -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

docker/federation-test/Dockerfile → docker/federation/Dockerfile

docker/federation-test/docker-compose.yml → docker/federation/docker-compose.yml

docker/federation-test/nginx.conf → docker/federation/nginx.conf

docker/federation-test/run-federation-test.bash → docker/federation/run-federation-test.bash

2
server/src/apub/community.rs

@ -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;

server/src/apub/puller.rs → server/src/apub/fetcher.rs

2
server/src/apub/mod.rs

@ -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};

2
server/src/apub/post.rs

@ -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;

2
server/src/main.rs

@ -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;

Loading…
Cancel
Save