projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ecc201
)
Enable dedupe by default
author
rinpatch
<rinpatch@sdf.org>
Fri, 15 Mar 2019 09:11:13 +0000
(12:11 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 15 Mar 2019 09:11:13 +0000
(12:11 +0300)
config/config.exs
patch
|
blob
|
history
config/test.exs
patch
|
blob
|
history
diff --git
a/config/config.exs
b/config/config.exs
index f889e3259f4568384982a460afcbfd54f4aa5e4c..326c4b601388732cf951a6555ad6f0c94dc1fd1e 100644
(file)
--- a/
config/config.exs
+++ b/
config/config.exs
@@
-34,7
+34,7
@@
config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "https://captcha.kotobank.
# Upload configuration
config :pleroma, Pleroma.Upload,
uploader: Pleroma.Uploaders.Local,
- filters: [],
+ filters: [
Pleroma.Upload.Filter.Dedupe
],
link_name: true,
proxy_remote: false,
proxy_opts: [
diff --git
a/config/test.exs
b/config/test.exs
index a3f36c9e169ff142ca00e14a588de81e8eb27712..3691e5bd1070af80c04b8bcf260adf47074b9d57 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-17,7
+17,7
@@
config :pleroma, Pleroma.Captcha,
# Print only warnings and errors during test
config :logger, level: :warn
-config :pleroma, Pleroma.Upload, link_name: false
+config :pleroma, Pleroma.Upload,
filters: [],
link_name: false
config :pleroma, Pleroma.Uploaders.Local, uploads: "test/uploads"