akkoma
4 years agoMerge branch 'fix/missing-config-settings' into 'develop'
feld [Sat, 22 Feb 2020 15:35:33 +0000 (15:35 +0000)]
Merge branch 'fix/missing-config-settings' into 'develop'

Add missing invites_enabled and account_activation_required settings

See merge request pleroma/pleroma!2234

4 years agoAdd missing invites_enabled and account_activation_required settings
Mark Felder [Sat, 22 Feb 2020 15:29:05 +0000 (09:29 -0600)]
Add missing invites_enabled and account_activation_required settings

4 years agoMerge branch 'patch-1' into 'develop'
lain [Fri, 21 Feb 2020 19:34:45 +0000 (19:34 +0000)]
Merge branch 'patch-1' into 'develop'

added why doing a vacuum after restoring a backup is so important

See merge request pleroma/pleroma!2230

4 years agoadded why doing a vacuum after restoring a backup is so important
Igeljäger [Fri, 21 Feb 2020 15:30:52 +0000 (15:30 +0000)]
added why doing a vacuum after restoring a backup is so important

4 years agoMerge branch 'migration-fixes-20' into 'develop'
Haelwenn [Thu, 20 Feb 2020 23:53:52 +0000 (23:53 +0000)]
Merge branch 'migration-fixes-20' into 'develop'

Migrations: Make them not fail for old databases

See merge request pleroma/pleroma!2227

4 years agoMerge branch 'fix/gin-fuzzy' into 'develop'
Haelwenn [Thu, 20 Feb 2020 23:52:45 +0000 (23:52 +0000)]
Merge branch 'fix/gin-fuzzy' into 'develop'

Improve GIN full text search performance

See merge request pleroma/pleroma!2228

4 years agoMerge branch 'single_emoji_reaction' into 'develop'
Haelwenn [Thu, 20 Feb 2020 23:50:40 +0000 (23:50 +0000)]
Merge branch 'single_emoji_reaction' into 'develop'

Single emoji reaction

Closes #1578

See merge request pleroma/pleroma!2226

4 years agoApply database session parameter to improve GIN full text search
Mark Felder [Thu, 20 Feb 2020 21:34:10 +0000 (15:34 -0600)]
Apply database session parameter to improve GIN full text search

4 years agoMigrations: Make them not fail for old databases
lain [Thu, 20 Feb 2020 15:44:31 +0000 (16:44 +0100)]
Migrations: Make them not fail for old databases

4 years agoMerge branch 'require-signature' into 'develop'
lain [Thu, 20 Feb 2020 12:13:21 +0000 (12:13 +0000)]
Merge branch 'require-signature' into 'develop'

Add an option to require fetches to be signed

Closes #1444

See merge request pleroma/pleroma!2071

4 years agoMerge branch 'features/remote-follow-userpage-redirect' into 'develop'
lain [Thu, 20 Feb 2020 12:04:29 +0000 (12:04 +0000)]
Merge branch 'features/remote-follow-userpage-redirect' into 'develop'

remote_follow_controller.ex: Redirect to the user page on success

Closes #1245

See merge request pleroma/pleroma!2123

4 years agoMerge branch 'docs_updating' into 'develop'
lain [Thu, 20 Feb 2020 12:03:21 +0000 (12:03 +0000)]
Merge branch 'docs_updating' into 'develop'

DOCS Add OTP to updating.md

See merge request pleroma/pleroma!2108

4 years agoMerge branch 'feature/new-registrations-digest' into 'develop'
lain [Thu, 20 Feb 2020 11:58:37 +0000 (11:58 +0000)]
Merge branch 'feature/new-registrations-digest' into 'develop'

New users digest email

Closes #1514

See merge request pleroma/pleroma!2128

4 years agoMerge branch 'tests-clear-config-tweaks' into 'develop'
lain [Thu, 20 Feb 2020 11:36:48 +0000 (11:36 +0000)]
Merge branch 'tests-clear-config-tweaks' into 'develop'

Tweaks to `clear_config` calls in tests

See merge request pleroma/pleroma!2209

4 years agoEmoji Reactions: Add documentation
lain [Wed, 19 Feb 2020 16:17:05 +0000 (17:17 +0100)]
Emoji Reactions: Add documentation

4 years agoPleroma API: Add endpoint to get reaction information on a single emoji
lain [Wed, 19 Feb 2020 16:16:45 +0000 (17:16 +0100)]
Pleroma API: Add endpoint to get reaction information on a single emoji

4 years agoMerge branch 'fix/mrf-sample-doc' into 'develop'
feld [Tue, 18 Feb 2020 21:03:01 +0000 (21:03 +0000)]
Merge branch 'fix/mrf-sample-doc' into 'develop'

Update MRF docs, make sample code actually compile

See merge request pleroma/pleroma!2210

4 years agoMerge branch 'develop' into 'fix/mrf-sample-doc'
feld [Tue, 18 Feb 2020 20:58:15 +0000 (20:58 +0000)]
Merge branch 'develop' into 'fix/mrf-sample-doc'

# Conflicts:
#   docs/configuration/mrf.md

4 years agoMerge branch 'fix/mrf-docs' into 'develop'
feld [Tue, 18 Feb 2020 20:57:23 +0000 (20:57 +0000)]
Merge branch 'fix/mrf-docs' into 'develop'

Fix MRF documentation

See merge request pleroma/pleroma!2187

4 years agoMerge branch 'chore/config-descriptions' into 'develop'
feld [Tue, 18 Feb 2020 20:45:31 +0000 (20:45 +0000)]
Merge branch 'chore/config-descriptions' into 'develop'

Additional config description improvements

See merge request pleroma/pleroma!2207

4 years agoMerge branch 'fix/status-view/expires_at' into 'develop'
lain [Tue, 18 Feb 2020 14:56:59 +0000 (14:56 +0000)]
Merge branch 'fix/status-view/expires_at' into 'develop'

Fix `status.expires_at` type

Closes #1573

See merge request pleroma/pleroma!2222

4 years agoMerge remote-tracking branch 'remotes/origin/develop' into tests-clear-config-tweaks
Ivan Tashkinov [Tue, 18 Feb 2020 14:52:31 +0000 (17:52 +0300)]
Merge remote-tracking branch 'remotes/origin/develop' into tests-clear-config-tweaks

# Conflicts:
# test/web/admin_api/admin_api_controller_test.exs

4 years agoMerge branch 'chore/standardize-mrf-behavior' into 'develop'
lain [Tue, 18 Feb 2020 14:36:10 +0000 (14:36 +0000)]
Merge branch 'chore/standardize-mrf-behavior' into 'develop'

Standardize @behaviour usage in MRFs

See merge request pleroma/pleroma!2212

4 years agoMerge branch 'need-reboot-flag' into 'develop'
lain [Tue, 18 Feb 2020 14:32:03 +0000 (14:32 +0000)]
Merge branch 'need-reboot-flag' into 'develop'

need_reboot flag for adminFE

See merge request pleroma/pleroma!2188

4 years agoAdd a test
Egor Kislitsyn [Tue, 18 Feb 2020 13:09:50 +0000 (17:09 +0400)]
Add a test

4 years agoMerge branch 'chore/floki-update' into 'develop'
lain [Tue, 18 Feb 2020 13:09:37 +0000 (13:09 +0000)]
Merge branch 'chore/floki-update' into 'develop'

Update floki to 0.25

See merge request pleroma/pleroma!2217

4 years agoFix `status.expires_at` type
Egor Kislitsyn [Tue, 18 Feb 2020 10:52:11 +0000 (14:52 +0400)]
Fix `status.expires_at` type

4 years agoMerge branch 'update/admin-fe-20200217' into 'develop'
feld [Mon, 17 Feb 2020 22:22:53 +0000 (22:22 +0000)]
Merge branch 'update/admin-fe-20200217' into 'develop'

Update adminFE build

See merge request pleroma/pleroma!2221

4 years agoUpdate adminFE build
Mark Felder [Mon, 17 Feb 2020 21:50:45 +0000 (15:50 -0600)]
Update adminFE build

4 years agoMerge branch 'develop' into chore/floki-update
Mark Felder [Mon, 17 Feb 2020 20:13:05 +0000 (14:13 -0600)]
Merge branch 'develop' into chore/floki-update

4 years agoMerge branch 'upgrade_crypto' into 'develop'
rinpatch [Mon, 17 Feb 2020 11:13:37 +0000 (11:13 +0000)]
Merge branch 'upgrade_crypto' into 'develop'

Update plug_crypto

See merge request pleroma/pleroma!2219

4 years agoUpdate plug_crypto
lain [Mon, 17 Feb 2020 10:41:14 +0000 (11:41 +0100)]
Update plug_crypto

4 years agoMerge branch 'feat/git-attributes-elixir' into 'develop'
rinpatch [Mon, 17 Feb 2020 10:34:32 +0000 (10:34 +0000)]
Merge branch 'feat/git-attributes-elixir' into 'develop'

.gitattributes: use native support for elixir definitions

See merge request pleroma/pleroma!2218

4 years ago.gitattributes: use native support for elixir definitions
rinpatch [Mon, 17 Feb 2020 10:19:04 +0000 (13:19 +0300)]
.gitattributes: use native support for elixir definitions

see https://github.com/elixir-lang/elixir/pull/9823

4 years agoUse floki's new APIs for parsing fragments
rinpatch [Sat, 15 Feb 2020 22:55:26 +0000 (01:55 +0300)]
Use floki's new APIs for parsing fragments

4 years agoMerge branch 'bugfix/link-preview-site_name' into 'develop'
lain [Sat, 15 Feb 2020 12:56:32 +0000 (12:56 +0000)]
Merge branch 'bugfix/link-preview-site_name' into 'develop'

MastodonAPI.StatusView: Do not use site_name

See merge request pleroma/pleroma!2216

4 years agoMastodonAPI.StatusView: Do not use site_name
Haelwenn (lanodan) Monnier [Fri, 14 Feb 2020 23:35:46 +0000 (00:35 +0100)]
MastodonAPI.StatusView: Do not use site_name

site_name allow to spoof the origin of the domain and so hacks like:

<!-- served on https://hacktivis.me/tmp/joinmastodon.org.html -->
<meta property="og:image" content="https://hacktivis.me/datalove/img/meme/pleroma/mastodon%2C%20forbidden%20amuse%20yourself.jpeg" />
<meta property="og:title" content="Mastodon: Forbidden Amuse Yourself" />
<meta property="og:site_name" content="joinmastodon.org" />
<meta http-equiv="refresh" content="0; url=http://joinmastodon.org/">

4 years agoMerge branch 'chores/deps-to-hexpm' into 'develop'
rinpatch [Fri, 14 Feb 2020 18:25:54 +0000 (18:25 +0000)]
Merge branch 'chores/deps-to-hexpm' into 'develop'

Move ex_syslogger & recon to hexpm, update dependencies

See merge request pleroma/pleroma!2213

4 years agoUpdate all dependencies
Haelwenn (lanodan) Monnier [Fri, 14 Feb 2020 18:15:59 +0000 (19:15 +0100)]
Update all dependencies

Upgraded:
  db_connection 2.2.0 => 2.2.1
  earmark 1.4.2 => 1.4.3
  ecto 3.3.1 => 3.3.3
  ecto_sql 3.3.2 => 3.3.4
  esshd 0.1.0 => 0.1.1
  ex_doc 0.21.2 => 0.21.3
  excoveralls 0.12.1 => 0.12.2
  gettext 0.17.1 => 0.17.4
  html_entities 0.5.0 => 0.5.1
  httpoison 1.6.1 => 1.6.2
  joken 2.1.0 => 2.2.0
  jose 1.9.0 => 1.10.1
  nimble_parsec 0.5.1 => 0.5.3
  phoenix 1.4.10 => 1.4.13
  phoenix_ecto 4.0.0 => 4.1.0
  phoenix_html 2.13.3 => 2.14.0
  plug_cowboy 2.1.0 => 2.1.2
  plug_crypto 1.1.0 => 1.1.1
  prometheus 4.4.1 => 4.5.0
  tesla 1.3.0 => 1.3.2

4 years agomix.exs: Move ex_syslogger and recon to hexpm
Haelwenn (lanodan) Monnier [Fri, 14 Feb 2020 18:08:37 +0000 (19:08 +0100)]
mix.exs: Move ex_syslogger and recon to hexpm

4 years agoMerge branch 'update/ferd/recon' into 'develop'
Haelwenn [Fri, 14 Feb 2020 17:58:26 +0000 (17:58 +0000)]
Merge branch 'update/ferd/recon' into 'develop'

Update ferd/recon

See merge request pleroma/pleroma!2211

4 years agoMerge branch 'fix/mrf-sample-doc' of git.pleroma.social:pleroma/pleroma into fix...
Mark Felder [Fri, 14 Feb 2020 17:06:04 +0000 (11:06 -0600)]
Merge branch 'fix/mrf-sample-doc' of git.pleroma.social:pleroma/pleroma into fix/mrf-sample-doc

4 years agoFix MRF docs further. I don't think anyone has actually tested with the old docs.
Mark Felder [Fri, 14 Feb 2020 17:04:27 +0000 (11:04 -0600)]
Fix MRF docs further. I don't think anyone has actually tested with the old docs.

4 years agoStandardize @behaviour usage in MRFs
Mark Felder [Fri, 14 Feb 2020 17:02:24 +0000 (11:02 -0600)]
Standardize @behaviour usage in MRFs

4 years agoApply suggestion to docs/configuration/mrf.md
feld [Fri, 14 Feb 2020 16:55:52 +0000 (16:55 +0000)]
Apply suggestion to docs/configuration/mrf.md

4 years agoUpdate suggested path for location of your custom MRF
Mark Felder [Fri, 14 Feb 2020 16:55:18 +0000 (10:55 -0600)]
Update suggested path for location of your custom MRF

4 years agoUpdate ferd/recon, requested by @tk to support an AMPQ library he's
Mark Felder [Fri, 14 Feb 2020 16:16:12 +0000 (10:16 -0600)]
Update ferd/recon, requested by @tk to support an AMPQ library he's
integrating with an MRF.

Upstream changelog:

2.5.0
- Optional formatting of records in traces (thanks to @bartekgorny)
- Basic support for OTP-22 in recon_alloc (base handling of foreign_blocks type)

4 years agoMake the sample code actually compile
Mark Felder [Thu, 13 Feb 2020 21:19:01 +0000 (15:19 -0600)]
Make the sample code actually compile

4 years agoTweaks to `clear_config` calls in tests in order to prevent side effects on config...
Ivan Tashkinov [Thu, 13 Feb 2020 18:55:47 +0000 (21:55 +0300)]
Tweaks to `clear_config` calls in tests in order to prevent side effects on config during test suite execution.

4 years agoFormatting got me again
Mark Felder [Thu, 13 Feb 2020 18:09:11 +0000 (12:09 -0600)]
Formatting got me again

4 years agoMerge branch 'fix/mrf-transparency-disabling-federation-status' into 'develop'
rinpatch [Thu, 13 Feb 2020 18:08:43 +0000 (18:08 +0000)]
Merge branch 'fix/mrf-transparency-disabling-federation-status' into 'develop'

NodeInfo: Fix federating status not being reported when MRF transparency is disabled

Closes #1568

See merge request pleroma/pleroma!2206

4 years agoEven more description improvements
Mark Felder [Thu, 13 Feb 2020 18:01:13 +0000 (12:01 -0600)]
Even more description improvements

4 years agoAdd missing Oban job for attachments_cleanup
Mark Felder [Thu, 13 Feb 2020 17:49:19 +0000 (11:49 -0600)]
Add missing Oban job for attachments_cleanup

4 years agoMore description cleanup work
Mark Felder [Thu, 13 Feb 2020 17:45:58 +0000 (11:45 -0600)]
More description cleanup work

4 years agoMore description cleanups
Mark Felder [Thu, 13 Feb 2020 17:31:02 +0000 (11:31 -0600)]
More description cleanups

4 years agoMerge branch 'fix/rename-no_attachment_links-setting' into 'develop'
lain [Thu, 13 Feb 2020 17:17:43 +0000 (17:17 +0000)]
Merge branch 'fix/rename-no_attachment_links-setting' into 'develop'

Fix the confusingly named and inverted logic of "no_attachment_links"

See merge request pleroma/pleroma!2202

4 years agoMerge branch 'chore/fast-sanitize-bump-back' into 'develop'
rinpatch [Thu, 13 Feb 2020 16:55:36 +0000 (16:55 +0000)]
Merge branch 'chore/fast-sanitize-bump-back' into 'develop'

deps: update back fast sanitize

See merge request pleroma/pleroma!2205

4 years agoNodeInfo: Fix federating status not being reported when MRF
rinpatch [Thu, 13 Feb 2020 16:53:39 +0000 (19:53 +0300)]
NodeInfo: Fix federating status not being reported when MRF
transparency is disabled

Closes #1568

4 years agodeps: update back fast sanitize
rinpatch [Thu, 13 Feb 2020 16:47:39 +0000 (19:47 +0300)]
deps: update back fast sanitize

it was downgraded to a somewhat ancient version due to an incorrect
merge conflict resolution

4 years agoMerge branch 'develop' into 'fix/rename-no_attachment_links-setting'
feld [Thu, 13 Feb 2020 14:37:55 +0000 (14:37 +0000)]
Merge branch 'develop' into 'fix/rename-no_attachment_links-setting'

# Conflicts:
#   config/description.exs

4 years agoMerge branch 'chore/config-descriptions' into 'develop'
feld [Thu, 13 Feb 2020 14:20:30 +0000 (14:20 +0000)]
Merge branch 'chore/config-descriptions' into 'develop'

Improve config descriptions

See merge request pleroma/pleroma!2201

4 years agoMerge branch 'fix/status_expires_in_validation' into 'develop'
feld [Thu, 13 Feb 2020 14:03:59 +0000 (14:03 +0000)]
Merge branch 'fix/status_expires_in_validation' into 'develop'

Fix `status.expires_in` validation

See merge request pleroma/pleroma!2203

4 years agoFormatting
Mark Felder [Thu, 13 Feb 2020 14:02:33 +0000 (08:02 -0600)]
Formatting

4 years agoFormatting
Mark Felder [Thu, 13 Feb 2020 14:01:39 +0000 (08:01 -0600)]
Formatting

4 years agoUpdate description.exs
feld [Thu, 13 Feb 2020 14:00:33 +0000 (14:00 +0000)]
Update description.exs

4 years agoApply suggestion to config/description.exs
feld [Thu, 13 Feb 2020 13:59:47 +0000 (13:59 +0000)]
Apply suggestion to config/description.exs

4 years agoFix `status.expires_in` validation
Egor Kislitsyn [Wed, 12 Feb 2020 15:43:07 +0000 (19:43 +0400)]
Fix `status.expires_in` validation

4 years agoFix the confusingly named and inverted logic of "no_attachment_links"
Mark Felder [Tue, 11 Feb 2020 21:39:19 +0000 (15:39 -0600)]
Fix the confusingly named and inverted logic of "no_attachment_links"
The setting is now simply "attachment_links" and the boolean value does
what you expect. A double negative is never possible and describing the
functionality is no longer a philospher's worst nightmare.

4 years agoFirst round at cleaning up descriptions
Mark Felder [Tue, 11 Feb 2020 21:21:36 +0000 (15:21 -0600)]
First round at cleaning up descriptions

4 years agoMerge branch 'restore-twitter-api-tests' into 'develop'
feld [Tue, 11 Feb 2020 21:08:37 +0000 (21:08 +0000)]
Merge branch 'restore-twitter-api-tests' into 'develop'

Restore TwitterAPI tests

Closes #1257

See merge request pleroma/pleroma!2200

4 years agoRestore TwitterAPI tests
Egor Kislitsyn [Tue, 11 Feb 2020 20:51:05 +0000 (00:51 +0400)]
Restore TwitterAPI tests

4 years agoMerge branch 'update/admin-fe-20200211' into 'develop'
feld [Tue, 11 Feb 2020 20:08:28 +0000 (20:08 +0000)]
Merge branch 'update/admin-fe-20200211' into 'develop'

Update AdminFE build

See merge request pleroma/pleroma!2198

4 years agoHotlink logo instead of attachment
Egor Kislitsyn [Tue, 11 Feb 2020 19:33:05 +0000 (23:33 +0400)]
Hotlink logo instead of attachment

4 years agoMerge branch 'revert-3fee859b' into 'develop'
lain [Tue, 11 Feb 2020 17:09:48 +0000 (17:09 +0000)]
Merge branch 'revert-3fee859b' into 'develop'

Revert "Merge branch 'feat/floki-fasthtml' into 'develop'"

See merge request pleroma/pleroma!2199

4 years agoRevert "Merge branch 'feat/floki-fasthtml' into 'develop'"
feld [Tue, 11 Feb 2020 16:55:18 +0000 (16:55 +0000)]
Revert "Merge branch 'feat/floki-fasthtml' into 'develop'"

This reverts merge request !2194

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into update/admin-fe...
Mark Felder [Tue, 11 Feb 2020 16:33:41 +0000 (10:33 -0600)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update/admin-fe-20200211

4 years agoUpdate AdminFE build
Mark Felder [Tue, 11 Feb 2020 16:24:38 +0000 (10:24 -0600)]
Update AdminFE build

4 years agoMerge branch 'feat/floki-fasthtml' into 'develop'
lain [Tue, 11 Feb 2020 13:22:35 +0000 (13:22 +0000)]
Merge branch 'feat/floki-fasthtml' into 'develop'

Make Floki use fast_html

See merge request pleroma/pleroma!2194

4 years agoMake Floki use fast_html
rinpatch [Mon, 10 Feb 2020 21:29:25 +0000 (00:29 +0300)]
Make Floki use fast_html

4 years agodeps: update fast_sanitize to 0.1.7
rinpatch [Mon, 10 Feb 2020 21:16:13 +0000 (00:16 +0300)]
deps: update fast_sanitize to 0.1.7

needed to get new fast_html version since 1.0.1 had an attribute parsing
bug

4 years agodeps: update floki to 0.25.0
rinpatch [Mon, 10 Feb 2020 18:52:01 +0000 (21:52 +0300)]
deps: update floki to 0.25.0

needed to make it use fast_html

4 years agoMerge branch 'uguu-uwu-notices-bulge' into 'develop'
lain [Tue, 11 Feb 2020 13:14:05 +0000 (13:14 +0000)]
Merge branch 'uguu-uwu-notices-bulge' into 'develop'

EmojiReactions: Align API endpoints

See merge request pleroma/pleroma!2183

4 years agoUpdate frontend
lain [Tue, 11 Feb 2020 12:59:04 +0000 (13:59 +0100)]
Update frontend

4 years agoMerge remote-tracking branch 'origin/develop' into uguu-uwu-notices-bulge
lain [Tue, 11 Feb 2020 12:58:36 +0000 (13:58 +0100)]
Merge remote-tracking branch 'origin/develop' into uguu-uwu-notices-bulge

4 years agoMerge branch 'doc/unlisted-search' into 'develop'
lain [Tue, 11 Feb 2020 11:44:33 +0000 (11:44 +0000)]
Merge branch 'doc/unlisted-search' into 'develop'

differences_in_mastoapi_responses.md: Add note about unlisted results

Closes #1164

See merge request pleroma/pleroma!2195

4 years agoMerge branch 'oban-crontab-fix' into 'develop'
lain [Tue, 11 Feb 2020 09:55:16 +0000 (09:55 +0000)]
Merge branch 'oban-crontab-fix' into 'develop'

Set oban crontab to false in tests

See merge request pleroma/pleroma!2197

4 years agoMerge branch 'develop' into feature/new-registrations-digest
Egor Kislitsyn [Tue, 11 Feb 2020 09:54:55 +0000 (13:54 +0400)]
Merge branch 'develop' into feature/new-registrations-digest

4 years agoset oban crontab to false in tests
Alexander Strizhakov [Tue, 11 Feb 2020 09:19:06 +0000 (12:19 +0300)]
set oban crontab to false in tests

4 years agoMerge branch 'docs/kyclos' into 'develop'
lain [Tue, 11 Feb 2020 08:04:58 +0000 (08:04 +0000)]
Merge branch 'docs/kyclos' into 'develop'

clients.md: Add Kyclos

See merge request pleroma/pleroma!2196

4 years agoclients.md: Add Kyclos
Haelwenn (lanodan) Monnier [Tue, 11 Feb 2020 01:27:40 +0000 (02:27 +0100)]
clients.md: Add Kyclos

4 years agodifferences_in_mastoapi_responses.md: Add note about unlisted results
Haelwenn (lanodan) Monnier [Tue, 11 Feb 2020 00:58:35 +0000 (01:58 +0100)]
differences_in_mastoapi_responses.md: Add note about unlisted results

Closes: https://git.pleroma.social/pleroma/pleroma/issues/1164
4 years agoMerge branch 'issue/1383' into 'develop'
rinpatch [Tue, 11 Feb 2020 00:04:06 +0000 (00:04 +0000)]
Merge branch 'issue/1383' into 'develop'

[#1383] Switch periodic jobs from quantum to oban

See merge request pleroma/pleroma!2015

4 years agoMerge branch 'docs_backup_restore' into 'develop'
Haelwenn [Mon, 10 Feb 2020 23:53:26 +0000 (23:53 +0000)]
Merge branch 'docs_backup_restore' into 'develop'

DOCS Backup/Restore/Migrate your instance

See merge request pleroma/pleroma!2107

4 years agoDOCS Backup/Restore/Migrate your instance
Ilja [Mon, 10 Feb 2020 23:53:26 +0000 (23:53 +0000)]
DOCS Backup/Restore/Migrate your instance

* Added "Migrate" to the title because these steps can also be used to migrate the instance to another server
* Added an optional step to reinstall pleroma (esp. for migrating servers)
* Currently the steps threw an error 'could not execute query: ERROR: function "activity_visibility already exists with the same argument types'
   * I added a new step to drop and recreate an empty pleroma-database
   * I played around with the `-c` and `-C` options of pg_restore, but dropping and recreating seemd to be the only way I got it working
   * This was tested on Debian Stretch, psql (PostgreSQL) 9.6.15

4 years agoMerge branch 'fix/compilation-error-docs' into 'develop'
rinpatch [Mon, 10 Feb 2020 18:25:12 +0000 (18:25 +0000)]
Merge branch 'fix/compilation-error-docs' into 'develop'

Fix a compilation error under certain circumstances

See merge request pleroma/pleroma!2193

4 years agoMerge branch 'develop' into issue/1383
Maksim Pechnikov [Mon, 10 Feb 2020 17:49:20 +0000 (20:49 +0300)]
Merge branch 'develop' into issue/1383

4 years agoFix a compilation error under certain circumstances
rinpatch [Mon, 10 Feb 2020 15:28:30 +0000 (18:28 +0300)]
Fix a compilation error under certain circumstances

I've noticed that sometimes when switching from develop to stable and back,
develop fails to compile and rm -r ing the _build and deps dirs doesn't
help at all.

This is due to Admin API controller needing to generate JSON description
of the config at compile time.  Evaluating `config/description.exs`
calls `Generator.list_modules_in_dir/2`, which in turn predicts the
module names of files in the directory and tries to convert the
predicted name to *existing* atoms. Sometimes the compiler will
call that function before compiling the modules in the said directory,
so the conversion will of course fail.

This fixes it by removing the requirement of the atoms being existent.
The function is not subjected to any untrusted user input so this should
be safe. An ideal fix would be to block the compilation of docs before
all modules are compiled and then get a list of compiled elixir modules
under the namespace we want instead of directory hacks, but I have not
been able to figure out how to do that.

4 years agoMerge branch 'fix/email-task-otp' into 'develop'
rinpatch [Sun, 9 Feb 2020 12:05:32 +0000 (12:05 +0000)]
Merge branch 'fix/email-task-otp' into 'develop'

Fix email mix task on OTP releases

Closes #1548

See merge request pleroma/pleroma!2191

4 years agoFix email mix task on OTP releases
rinpatch [Sun, 9 Feb 2020 00:27:29 +0000 (03:27 +0300)]
Fix email mix task on OTP releases

Closes pleroma#1548

4 years agoMerge branch 'fix/upload-limit-otp' into 'develop'
lain [Sat, 8 Feb 2020 14:02:36 +0000 (14:02 +0000)]
Merge branch 'fix/upload-limit-otp' into 'develop'

Actually fix upload limit on OTP releases

Closes #1109

See merge request pleroma/pleroma!2185