soapbox-fe --> soapbox

This commit is contained in:
Alex Gleason 2022-09-13 15:26:28 -05:00
parent 98ccf6cbdc
commit f5e77a3eaa
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
6 changed files with 15 additions and 15 deletions

View file

@ -775,11 +775,11 @@
"https://git.pleroma.social/pleroma/admin-fe/-/jobs/artifacts/${ref}/download?job=build",
"ref" => "develop"
},
"soapbox-fe" => %{
"name" => "soapbox-fe",
"git" => "https://gitlab.com/soapbox-pub/soapbox-fe",
"soapbox" => %{
"name" => "soapbox",
"git" => "https://gitlab.com/soapbox-pub/soapbox",
"build_url" =>
"https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/${ref}/download?job=build-production",
"https://gitlab.com/soapbox-pub/soapbox/-/jobs/artifacts/${ref}/download?job=build-production",
"ref" => "develop",
"build_dir" => "static"
},

View file

@ -24,7 +24,7 @@ Currently, known `<frontend>` values are:
- [kenoma](http://git.pleroma.social/lambadalambda/kenoma)
- [pleroma-fe](http://git.pleroma.social/pleroma/pleroma-fe)
- [fedi-fe](https://git.pleroma.social/pleroma/fedi-fe)
- [soapbox-fe](https://gitlab.com/soapbox-pub/soapbox-fe)
- [soapbox](https://gitlab.com/soapbox-pub/soapbox)
You can still install frontends that are not configured, see below.

View file

@ -6,7 +6,7 @@ defmodule Pleroma.Web.Utils.Colors do
alias Pleroma.Web.Utils.Colors.RGB
# Adapted from:
# https://gitlab.com/soapbox-pub/soapbox-fe/-/blob/develop/app/soapbox/utils/colors.ts
# https://gitlab.com/soapbox-pub/soapbox/-/blob/develop/app/soapbox/utils/colors.ts
@intensity_map %{
50 => 0.95,
100 => 0.9,

View file

@ -65,10 +65,10 @@
<h2>Almost done...</h2>
<p>Congrats! 🎉 You've installed Rebased. Now you just need to install a frontend.</p>
<h2>Installing Soapbox</h2>
<p>To install <a href="https://gitlab.com/soapbox-pub/soapbox-fe" target="_blank">Soapbox</a>, SSH into the server and download a .zip of the latest build:</p>
<code>curl -L https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/develop/download?job=build-production -o soapbox-fe.zip</code>
<p>To install <a href="https://gitlab.com/soapbox-pub/soapbox" target="_blank">Soapbox</a>, SSH into the server and download a .zip of the latest build:</p>
<code>curl -L https://gitlab.com/soapbox-pub/soapbox/-/jobs/artifacts/develop/download?job=build-production -o soapbox.zip</code>
<p>Then unpack it into the <code class="inline">instance</code> directory:</p>
<code>busybox unzip soapbox-fe.zip -o -d /opt/pleroma/instance</code>
<code>busybox unzip soapbox.zip -o -d /opt/pleroma/instance</code>
<p><strong>That's it!</strong> Just refresh this page.</p>
</main>
</body>

View file

@ -111,24 +111,24 @@ test "it downloads and unzips unknown frontends" do
end
test "enabling a primary frontend" do
capture_io(fn -> Frontend.run(["enable", "soapbox-fe"]) end)
capture_io(fn -> Frontend.run(["enable", "soapbox"]) end)
primary = Pleroma.Config.get([:frontends, :primary])
assert primary["name"] == "soapbox-fe"
assert primary["name"] == "soapbox"
end
test "enabling an admin frontend" do
capture_io(fn -> Frontend.run(["enable", "soapbox-fe", "--admin"]) end)
capture_io(fn -> Frontend.run(["enable", "soapbox", "--admin"]) end)
primary = Pleroma.Config.get([:frontends, :admin])
assert primary["name"] == "soapbox-fe"
assert primary["name"] == "soapbox"
end
test "raise if configurable_from_database is disabled" do
clear_config(:configurable_from_database, false)
assert_raise(RuntimeError, fn ->
capture_io(fn -> Frontend.run(["enable", "soapbox-fe"]) end)
capture_io(fn -> Frontend.run(["enable", "soapbox"]) end)
end)
end
end

View file

@ -345,7 +345,7 @@ test "does not require authentication on non-federating instances", %{
end
describe "notice compatibility routes" do
test "Soapbox FE", %{conn: conn} do
test "Soapbox", %{conn: conn} do
user = insert(:user)
note_activity = insert(:note_activity, user: user)