From: Roland Häder Date: Sun, 28 May 2023 16:16:00 +0000 (+0200) Subject: Let's do this proper. Here you go, FSF! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=925dad521c7855781eaa11cbce8b6bfdb43d3f7b;p=fba.git Let's do this proper. Here you go, FSF! --- diff --git a/api.py b/api.py index f53a684..fb76f9b 100644 --- a/api.py +++ b/api.py @@ -1,3 +1,19 @@ +# Fedi API Block - An aggregator for fetching blocking data from fediverse nodes +# Copyright (C) 2023 Free Software Foundation +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + from fastapi import FastAPI, Request, HTTPException, responses, Query from fastapi.templating import Jinja2Templates from datetime import datetime diff --git a/fba.py b/fba.py index f54789c..c871b77 100644 --- a/fba.py +++ b/fba.py @@ -1,3 +1,19 @@ +# Fedi API Block - An aggregator for fetching blocking data from fediverse nodes +# Copyright (C) 2023 Free Software Foundation +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import bs4 import hashlib import re diff --git a/fetch_blocks.py b/fetch_blocks.py index 71cf74f..2e0ff2d 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -1,3 +1,19 @@ +# Fedi API Block - An aggregator for fetching blocking data from fediverse nodes +# Copyright (C) 2023 Free Software Foundation +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import reqto import time import bs4 diff --git a/fetch_instances.py b/fetch_instances.py index c5188fd..81deda0 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -1,3 +1,19 @@ +# Fedi API Block - An aggregator for fetching blocking data from fediverse nodes +# Copyright (C) 2023 Free Software Foundation +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import sqlite3 import sys import json