projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove chromium input hilight that clashes with our own
[akkoma]
/
lib
/
pleroma
/
application.ex
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index f775cd53dca89d97580ec78bd275d96e5d4c1747..d2523c045bec60182164498625ae7dafc9cea6f7 100644
(file)
--- a/
lib/pleroma/application.ex
+++ b/
lib/pleroma/application.ex
@@
-6,11
+6,13
@@
defmodule Pleroma.Application do
use Application
import Supervisor.Spec
use Application
import Supervisor.Spec
- @name
"Pleroma"
+ @name
Mix.Project.config()[:name]
@version Mix.Project.config()[:version]
@version Mix.Project.config()[:version]
+ @repository Mix.Project.config()[:source_url]
def name, do: @name
def version, do: @version
def named_version(), do: @name <> " " <> @version
def name, do: @name
def version, do: @version
def named_version(), do: @name <> " " <> @version
+ def repository, do: @repository
def user_agent() do
info = "#{Pleroma.Web.base_url()} <#{Pleroma.Config.get([:instance, :email], "")}>"
def user_agent() do
info = "#{Pleroma.Web.base_url()} <#{Pleroma.Config.get([:instance, :email], "")}>"
@@
-106,9
+108,10
@@
defmodule Pleroma.Application do
hackney_pool_children() ++
[
worker(Pleroma.Web.Federator.RetryQueue, []),
hackney_pool_children() ++
[
worker(Pleroma.Web.Federator.RetryQueue, []),
- worker(Pleroma.Web.Federator, []),
worker(Pleroma.Stats, []),
worker(Pleroma.Stats, []),
- worker(Pleroma.Web.Push, [])
+ worker(Pleroma.Web.Push, []),
+ worker(Pleroma.Jobs, []),
+ worker(Task, [&Pleroma.Web.Federator.init/0], restart: :temporary)
] ++
streamer_child() ++
chat_child() ++
] ++
streamer_child() ++
chat_child() ++
@@
-132,7
+135,7
@@
defmodule Pleroma.Application do
[]
end ++
if Pleroma.Config.get([Pleroma.Uploader, :proxy_remote]) do
[]
end ++
if Pleroma.Config.get([Pleroma.Uploader, :proxy_remote]) do
- [:upload
proxy
]
+ [:upload]
else
[]
end
else
[]
end