Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
317b6c6c
Commit
317b6c6c
authored
Aug 16, 2020
by
Hugo Müller-Downing
Browse files
Start :ssl if not started when running migration or rollback
parent
ec242b47
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
317b6c6c
...
...
@@ -105,6 +105,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
-
Fix edge case where MediaProxy truncates media, usually caused when Caddy is serving content for the other Federated instance.
-
Emoji Packs could not be listed when instance was set to
`public: false`
-
Fix whole_word always returning false on filter get requests
-
Fix SSL not being started for database migrations in OTP release
## [Unreleased (patch)]
...
...
lib/mix/tasks/pleroma/ecto/migrate.ex
View file @
317b6c6c
...
...
@@ -41,6 +41,10 @@ def run(args \\ []) do
load_pleroma
()
{
opts
,
_
}
=
OptionParser
.
parse!
(
args
,
strict:
@switches
,
aliases:
@aliases
)
if
Application
.
get_env
(
:pleroma
,
Pleroma
.
Repo
)[
:ssl
]
do
Application
.
ensure_all_started
(
:ssl
)
end
opts
=
if
opts
[
:to
]
||
opts
[
:step
]
||
opts
[
:all
],
do
:
opts
,
...
...
lib/mix/tasks/pleroma/ecto/rollback.ex
View file @
317b6c6c
...
...
@@ -40,6 +40,10 @@ def run(args \\ []) do
load_pleroma
()
{
opts
,
_
}
=
OptionParser
.
parse!
(
args
,
strict:
@switches
,
aliases:
@aliases
)
if
Application
.
get_env
(
:pleroma
,
Pleroma
.
Repo
)[
:ssl
]
do
Application
.
ensure_all_started
(
:ssl
)
end
opts
=
if
opts
[
:to
]
||
opts
[
:step
]
||
opts
[
:all
],
do
:
opts
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment