diff --git a/lib/mix/tasks/pleroma/activity.ex b/lib/mix/tasks/pleroma/activity.ex new file mode 100644 index 000000000..e03966e18 --- /dev/null +++ b/lib/mix/tasks/pleroma/activity.ex @@ -0,0 +1,23 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2018 Pleroma Authors +# SPDX-License-Identifier: AGPL-3.0-only + +defmodule Mix.Tasks.Pleroma.Activity do + alias Pleroma.Activity + require Logger + import Mix.Pleroma + use Mix.Task + + @shortdoc "A collection of activity debug tasks" + @moduledoc """ + A collection of activity related tasks + + mix pleroma.activity get + """ + def run(["get", id | _rest]) do + start_pleroma() + id + |> Activity.get_by_id() + |> IO.inspect() + end +end diff --git a/priv/static/index.html b/priv/static/index.html index 6e84ec3da..e58c4380b 100644 --- a/priv/static/index.html +++ b/priv/static/index.html @@ -1,5 +1 @@ -<<<<<<< HEAD -Pleroma
-======= -Pleroma
->>>>>>> 456668b490e9ee47cf773a8563a9f3a3765ce348 +Pleroma
\ No newline at end of file diff --git a/priv/static/sw-pleroma.js b/priv/static/sw-pleroma.js index d90d692de..3851dc49f 100644 Binary files a/priv/static/sw-pleroma.js and b/priv/static/sw-pleroma.js differ