Rename project to pl

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-04-28 23:02:11 +02:00
parent 0bf8a2e38c
commit 0e608c98b2
6 changed files with 7 additions and 16 deletions

View file

@ -1,4 +1,4 @@
A fork of Pleroma/Rebased. More information soon. `pl`. A fork of Pleroma/Rebased. More information soon.
--- ---

View file

@ -1,10 +1,10 @@
{ {
"name": "Rebased", "name": "pl",
"description": "Rebased, the recommended backend for Soapbox written in Elixir.", "description": "Federated social media software, a fork of Pleroma/Rebased",
"keywords": [ "keywords": [
"fediverse" "fediverse"
], ],
"website": "https://soapbox.pub", "website": "https://github.com/mkljczk/pl",
"dokku": { "dokku": {
"plugins": [ "plugins": [
"postgres" "postgres"

View file

@ -190,10 +190,7 @@ defp common_information(instance) do
title: Keyword.get(instance, :name), title: Keyword.get(instance, :name),
version: "#{@mastodon_api_level} (compatible; #{Pleroma.Application.compat_version()})", version: "#{@mastodon_api_level} (compatible; #{Pleroma.Application.compat_version()})",
languages: Keyword.get(instance, :languages, ["en"]), languages: Keyword.get(instance, :languages, ["en"]),
rules: render(__MODULE__, "rules.json"), rules: render(__MODULE__, "rules.json")
soapbox: %{
version: Soapbox.version()
}
} }
end end

View file

@ -1,5 +0,0 @@
defmodule Soapbox do
@version "3.0.0"
def version, do: @version
end

View file

@ -1,12 +1,12 @@
defmodule Pleroma.Mixfile do defmodule Pleroma.Mixfile do
use Mix.Project use Mix.Project
@build_name "soapbox" @build_name "pl"
def project do def project do
[ [
app: :pleroma, app: :pleroma,
name: "Rebased", name: "pl",
compat_name: "Pleroma", compat_name: "Pleroma",
version: version("2.6.52"), version: version("2.6.52"),
elixir: "~> 1.11", elixir: "~> 1.11",

View file

@ -58,7 +58,6 @@ test "get instance information", %{conn: conn} do
assert result["pleroma"]["vapid_public_key"] assert result["pleroma"]["vapid_public_key"]
assert result["pleroma"]["stats"]["mau"] == 0 assert result["pleroma"]["stats"]["mau"] == 0
assert result["pleroma"]["oauth_consumer_strategies"] == [] assert result["pleroma"]["oauth_consumer_strategies"] == []
assert result["soapbox"]["version"] =~ "."
assert email == from_config_email assert email == from_config_email
assert thumbnail == from_config_thumbnail assert thumbnail == from_config_thumbnail