akkoma
2 years agoInstance: add v2_suggestions feature
Alex Gleason [Sat, 27 Nov 2021 04:45:49 +0000 (22:45 -0600)]
Instance: add v2_suggestions feature

2 years agov2 Suggestions: also filter out users you follow
Alex Gleason [Sat, 27 Nov 2021 03:42:28 +0000 (21:42 -0600)]
v2 Suggestions: also filter out users you follow

2 years agov2 Suggestions: actually flter out dismissed suggestions
Alex Gleason [Sat, 27 Nov 2021 03:02:14 +0000 (21:02 -0600)]
v2 Suggestions: actually flter out dismissed suggestions

2 years agov2 Suggestions: dismiss a suggestion
Alex Gleason [Sat, 27 Nov 2021 02:19:29 +0000 (20:19 -0600)]
v2 Suggestions: dismiss a suggestion

2 years agov2 Suggestions: add index on is_suggested column
Alex Gleason [Fri, 26 Nov 2021 21:32:01 +0000 (15:32 -0600)]
v2 Suggestions: add index on is_suggested column

2 years agoAdminAPI: suggest a user through the API
Alex Gleason [Fri, 26 Nov 2021 21:19:01 +0000 (15:19 -0600)]
AdminAPI: suggest a user through the API

2 years agov2 Suggestions: don't skip visibility check
Alex Gleason [Fri, 26 Nov 2021 20:46:29 +0000 (14:46 -0600)]
v2 Suggestions: don't skip visibility check

2 years agov2 Suggestions: rudimentary API response
Alex Gleason [Fri, 26 Nov 2021 20:33:27 +0000 (14:33 -0600)]
v2 Suggestions: rudimentary API response

2 years agov2 Suggestions: return empty array
Alex Gleason [Thu, 25 Nov 2021 20:57:36 +0000 (14:57 -0600)]
v2 Suggestions: return empty array

3 years agoMerge branch 'release/2.4.1' into 'stable'
Haelwenn [Sun, 29 Aug 2021 18:48:53 +0000 (18:48 +0000)]
Merge branch 'release/2.4.1' into 'stable'

Release: 2.4.1

See merge request pleroma/pleroma!3501

3 years agoRelease 2.4.1
Haelwenn (lanodan) Monnier [Sat, 28 Aug 2021 16:31:56 +0000 (18:31 +0200)]
Release 2.4.1

3 years agomix pleroma.database set_text_search_config now runs concurrently and infinitely
someone [Sun, 15 Aug 2021 17:49:12 +0000 (13:49 -0400)]
mix pleroma.database set_text_search_config now runs concurrently and infinitely

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3514

3 years agoSelecting MRF policies didn't work as intended any more
Ilja [Sat, 14 Aug 2021 11:42:32 +0000 (13:42 +0200)]
Selecting MRF policies didn't work as intended any more

* Policies were put under a new module (Pleroma.Web.ActivityPub.MRF.Policy instead of Pleroma.Web.ActivityPub.MRF), but this wasn't changed in the Pleroma.Web.ActivityPub.MRF @mrf_config_descriptions
* I don't have a unit test to prevent similar problems in the future because I don't find a proper way to do it
    * The descriptions in the unit tests are defined in the unit tests, so if someone changes module names in the code, the tests wont see it
    * The list is generated in Pleroma.Docs.Generator.list_behaviour_implementations, but I can't do a check in the when clause of the function to see if the provided module is a behaviour or not.

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3509

3 years agoMake activity search properly use GIN indexes
Tusooa Zhu [Sat, 28 Aug 2021 01:43:50 +0000 (21:43 -0400)]
Make activity search properly use GIN indexes

The original approach to search in GIN indexes is to use
`to_tsvector(text)` in the WHERE clause of the query. According to
postgres docs [pdoc], this method does not make use of the index,
while `to_tsvector(config, text)` does. This commit changed the
query to use the two-argument `to_tsvector()`.

[pdoc]: https://www.postgresql.org/docs/12/textsearch-tables.html

To obtain the search config in use, we make a query to the db first.
The `::regconfig::oid` hack is needed because Postgrex does not support
regconfig type directly [postgrexbug]. I use the conversion from and to
`oid` instead of `text` because I tested in the actual DB and querying
using the conversion via `text` is slow just as the one-argument
`to_tsvector()` variant.

[postgrexbug]: https://github.com/elixir-ecto/postgrex/issues/502

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3519

Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2758
3 years agoList available frontends also when no static/frontends folder is present yet
Ilja [Sat, 14 Aug 2021 18:42:12 +0000 (18:42 +0000)]
List available frontends also when no static/frontends folder is present yet

* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array.
* Installing still works since the folder is created during installation already

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3510

3 years agoAdd Admin-FE menu for StealEmojiPolicy
Sam Therapy [Sat, 14 Aug 2021 16:08:39 +0000 (11:08 -0500)]
Add Admin-FE menu for StealEmojiPolicy

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3512

3 years agoStreamer: fix crash in MastodonAPI.StatusView
Alex Gleason [Fri, 13 Aug 2021 15:25:42 +0000 (10:25 -0500)]
Streamer: fix crash in MastodonAPI.StatusView

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3508

3 years agoActivity.Search: fallback on status resolution on DB Timeout
Haelwenn (lanodan) Monnier [Thu, 12 Aug 2021 08:29:53 +0000 (10:29 +0200)]
Activity.Search: fallback on status resolution on DB Timeout

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3507

3 years agoAdminAPI: hotfix for nil report objects
Alex Gleason [Wed, 11 Aug 2021 14:38:16 +0000 (09:38 -0500)]
AdminAPI: hotfix for nil report objects

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3504

3 years agomaybe_notify_subscribers: Don't create notifications from ingested replies
Haelwenn (lanodan) Monnier [Wed, 11 Aug 2021 17:45:49 +0000 (19:45 +0200)]
maybe_notify_subscribers: Don't create notifications from ingested replies

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3505

3 years agoTwitterAPI: Make change_email require body params instead of query
Haelwenn (lanodan) Monnier [Tue, 10 Aug 2021 18:33:00 +0000 (20:33 +0200)]
TwitterAPI: Make change_email require body params instead of query

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3503

3 years agoTwitterAPI: Make change_password require body params instead of query
Haelwenn (lanodan) Monnier [Tue, 10 Aug 2021 17:42:03 +0000 (19:42 +0200)]
TwitterAPI: Make change_password require body params instead of query

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3503

3 years agoObjectAgePolicy: Fix pattern matching on published
Haelwenn (lanodan) Monnier [Tue, 10 Aug 2021 05:41:06 +0000 (07:41 +0200)]
ObjectAgePolicy: Fix pattern matching on published

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3500

3 years agoMake the OPT recomendation clearer
Ilja [Tue, 10 Aug 2021 06:09:31 +0000 (06:09 +0000)]
Make the OPT recomendation clearer

AFAIK OTP releases are the recomended way of installing, but

  * People seem unaware of that and use from source installations because they use the guide with the name of their distro
  * People don't know what OTP releases are or what it means

I added a warning on all installation-from-source guides and added the same explanation on the two OTP pages (the miigration to OTP and installing OTP)

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3485

3 years agofix: stream out Create Activity
kPherox [Mon, 9 Aug 2021 09:03:58 +0000 (09:03 +0000)]
fix: stream out Create Activity

Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3499

3 years agoMerge branch 'release/2.4.0' into 'stable'
Haelwenn [Sun, 8 Aug 2021 14:37:15 +0000 (14:37 +0000)]
Merge branch 'release/2.4.0' into 'stable'

Release/2.4.0

See merge request pleroma/pleroma!3493

3 years agoUpdate PleromaFE Bundle (2.4.0)
Haelwenn (lanodan) Monnier [Sun, 8 Aug 2021 13:21:03 +0000 (15:21 +0200)]
Update PleromaFE Bundle (2.4.0)

based on 51d3d8d255de221f7ac99e41f2f8e56c7d6a21a9

3 years agoCHANGELOG.md: Fix instances of 2020 being actually 2021
matildepark [Fri, 6 Aug 2021 06:41:58 +0000 (08:41 +0200)]
CHANGELOG.md: Fix instances of 2020 being actually 2021

3 years agoRelease 2.4.0
Haelwenn (lanodan) Monnier [Sun, 1 Aug 2021 05:41:24 +0000 (07:41 +0200)]
Release 2.4.0

3 years agoUpdate AdminFE bundle
Haelwenn (lanodan) Monnier [Sun, 1 Aug 2021 06:26:05 +0000 (08:26 +0200)]
Update AdminFE bundle

3 years agoMerge branch 'object-tombstone-visibility' into 'develop'
feld [Tue, 27 Jul 2021 16:25:34 +0000 (16:25 +0000)]
Merge branch 'object-tombstone-visibility' into 'develop'

Visibility: check Tombstone objects in visible_for_user?/2

See merge request pleroma/pleroma!3490

3 years agoMerge branch 'errorview-json-fix' into 'develop'
feld [Tue, 27 Jul 2021 16:24:53 +0000 (16:24 +0000)]
Merge branch 'errorview-json-fix' into 'develop'

Fix errors in ErrorView

See merge request pleroma/pleroma!3489

3 years agoMerge remote-tracking branch 'pleroma/develop' into object-tombstone-visibility
Alex Gleason [Tue, 27 Jul 2021 13:54:26 +0000 (08:54 -0500)]
Merge remote-tracking branch 'pleroma/develop' into object-tombstone-visibility

3 years agoVisibility: check Tombstone objects in visible_for_user?/2
Alex Gleason [Tue, 27 Jul 2021 13:54:01 +0000 (08:54 -0500)]
Visibility: check Tombstone objects in visible_for_user?/2

3 years agoCHANGELOG: fixed JSON error rendering
Alex Gleason [Tue, 27 Jul 2021 13:30:38 +0000 (08:30 -0500)]
CHANGELOG: fixed JSON error rendering

3 years agoMerge remote-tracking branch 'pleroma/develop' into errorview-json-fix
Alex Gleason [Tue, 27 Jul 2021 13:29:53 +0000 (08:29 -0500)]
Merge remote-tracking branch 'pleroma/develop' into errorview-json-fix

3 years agoAdd activity+json to Phoenix :format_encoders
Alex Gleason [Tue, 27 Jul 2021 13:28:52 +0000 (08:28 -0500)]
Add activity+json to Phoenix :format_encoders
Fixes ErrorView rendering

3 years agoMerge branch 'mkljczk-develop-patch-60115' into 'develop'
Haelwenn [Thu, 22 Jul 2021 18:41:11 +0000 (18:41 +0000)]
Merge branch 'mkljczk-develop-patch-60115' into 'develop'

MastodonAPI: Fix list timelines

Closes mastofe#89 and #2693

See merge request pleroma/pleroma!3477

3 years agoMerge branch 'admin-api-users-sort' into 'develop'
feld [Wed, 14 Jul 2021 14:39:14 +0000 (14:39 +0000)]
Merge branch 'admin-api-users-sort' into 'develop'

AdminAPI: sort new users at the top

Closes #2709

See merge request pleroma/pleroma!3481

3 years agoMerge branch 'admin-api-users-date' into 'develop'
feld [Wed, 14 Jul 2021 14:35:21 +0000 (14:35 +0000)]
Merge branch 'admin-api-users-date' into 'develop'

AdminAPI: add created_at date to users

See merge request pleroma/pleroma!3482

3 years agoCHANGELOG: AdminAPI return date with users
Alex Gleason [Wed, 14 Jul 2021 14:03:20 +0000 (09:03 -0500)]
CHANGELOG: AdminAPI return date with users

3 years agoMerge remote-tracking branch 'pleroma/develop' into admin-api-users-date
Alex Gleason [Wed, 14 Jul 2021 14:02:55 +0000 (09:02 -0500)]
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-date

3 years agoAdminAPI: add date to users
Alex Gleason [Wed, 14 Jul 2021 04:51:32 +0000 (23:51 -0500)]
AdminAPI: add date to users

3 years agoCHANGELOG: AdminAPI users sort
Alex Gleason [Wed, 14 Jul 2021 02:44:42 +0000 (21:44 -0500)]
CHANGELOG: AdminAPI users sort

3 years agoMerge remote-tracking branch 'pleroma/develop' into admin-api-users-sort
Alex Gleason [Wed, 14 Jul 2021 03:47:47 +0000 (22:47 -0500)]
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-sort

3 years agoAdminAPI: sort user results by ID descending
Alex Gleason [Wed, 14 Jul 2021 02:37:25 +0000 (21:37 -0500)]
AdminAPI: sort user results by ID descending

3 years agoMerge branch 'features/ingestion-page' into 'develop'
Haelwenn [Mon, 12 Jul 2021 05:05:49 +0000 (05:05 +0000)]
Merge branch 'features/ingestion-page' into 'develop'

Pipeline Ingestion: Page

See merge request pleroma/pleroma!3097

3 years agoMerge branch 'features/validators-apc2s' into 'develop'
Haelwenn [Mon, 12 Jul 2021 05:01:36 +0000 (05:01 +0000)]
Merge branch 'features/validators-apc2s' into 'develop'

AP C2S: Remove restrictions and make it go through pipeline

See merge request pleroma/pleroma!3203

3 years agoAP C2S: Remove restrictions and make it go through pipeline
Haelwenn (lanodan) Monnier [Fri, 18 Sep 2020 12:22:27 +0000 (14:22 +0200)]
AP C2S: Remove restrictions and make it go through pipeline

3 years agoMerge branch 'update/linkify' into 'develop'
feld [Thu, 8 Jul 2021 17:44:52 +0000 (17:44 +0000)]
Merge branch 'update/linkify' into 'develop'

Update Linkify

See merge request pleroma/pleroma!3478

3 years agoUpdate Linkify to fix crash on posts with a URL we failed to parse correctly
Mark Felder [Thu, 8 Jul 2021 17:33:17 +0000 (12:33 -0500)]
Update Linkify to fix crash on posts with a URL we failed to parse correctly

3 years agoMerge branch 'remote-deletions' into 'develop'
feld [Tue, 6 Jul 2021 20:05:05 +0000 (20:05 +0000)]
Merge branch 'remote-deletions' into 'develop'

Fix user deletion problems

See merge request pleroma/pleroma!3476

3 years agofix the fucking list timelines on mastofe/soapbox-fe
marcin mikołajczak [Fri, 2 Jul 2021 13:03:41 +0000 (13:03 +0000)]
fix the fucking list timelines on mastofe/soapbox-fe

3 years agoDeletions: change User.purge/1 to defp, add CHANGELOG entry
Alex Gleason [Wed, 30 Jun 2021 17:25:20 +0000 (12:25 -0500)]
Deletions: change User.purge/1 to defp, add CHANGELOG entry

3 years agoMerge remote-tracking branch 'pleroma/develop' into remote-deletions
Alex Gleason [Wed, 30 Jun 2021 07:02:30 +0000 (02:02 -0500)]
Merge remote-tracking branch 'pleroma/develop' into remote-deletions

3 years agoDeletions: don't purge keys so Delete/Undo activities can be signed
Alex Gleason [Wed, 30 Jun 2021 06:48:17 +0000 (01:48 -0500)]
Deletions: don't purge keys so Delete/Undo activities can be signed

3 years agoDeletions: allow deactivated users to be deleted
Alex Gleason [Wed, 30 Jun 2021 06:14:34 +0000 (01:14 -0500)]
Deletions: allow deactivated users to be deleted

3 years agoDeletions: preserve account status fields during purge, fix checks
Alex Gleason [Wed, 30 Jun 2021 04:56:19 +0000 (23:56 -0500)]
Deletions: preserve account status fields during purge, fix checks

3 years agoAlso purge the user in User.perform/2
Alex Gleason [Wed, 30 Jun 2021 03:53:33 +0000 (22:53 -0500)]
Also purge the user in User.perform/2

3 years agoDeletions: purge the user immediately
Alex Gleason [Wed, 30 Jun 2021 03:30:48 +0000 (22:30 -0500)]
Deletions: purge the user immediately

3 years agoCorrectly purge a remote user
Alex Gleason [Wed, 30 Jun 2021 02:45:38 +0000 (21:45 -0500)]
Correctly purge a remote user

3 years agoMerge branch 'fix-2686' into 'develop'
Haelwenn [Fri, 25 Jun 2021 04:52:19 +0000 (04:52 +0000)]
Merge branch 'fix-2686' into 'develop'

Activity deletion: fix FunctionClauseError, fixes #2686

Closes #2686

See merge request pleroma/pleroma!3475

3 years agoActivity deletion: fix FunctionClauseError #2686
Alex Gleason [Fri, 25 Jun 2021 02:00:23 +0000 (21:00 -0500)]
Activity deletion: fix FunctionClauseError #2686

3 years agoMerge branch 'ecto-upgrade' into 'develop'
feld [Wed, 23 Jun 2021 20:17:01 +0000 (20:17 +0000)]
Merge branch 'ecto-upgrade' into 'develop'

Upgrade Ecto to v3.6.2, remove deprecated ecto_explain

See merge request pleroma/pleroma!3473

3 years agoUpgrade Ecto to v3.6.2, remove deprecated ecto_explain
Alex Gleason [Wed, 23 Jun 2021 18:02:41 +0000 (13:02 -0500)]
Upgrade Ecto to v3.6.2, remove deprecated ecto_explain

3 years agoMerge branch 'bugfix/upload-limit-plug' into 'develop'
Haelwenn [Tue, 22 Jun 2021 23:27:32 +0000 (23:27 +0000)]
Merge branch 'bugfix/upload-limit-plug' into 'develop'

Downgrade Plug to 1.10.x, revert upload_limit tuple to function change

See merge request pleroma/pleroma!3472

3 years agoMerge branch 'docs/dependencies-rewrite' into 'develop'
feld [Tue, 22 Jun 2021 16:52:19 +0000 (16:52 +0000)]
Merge branch 'docs/dependencies-rewrite' into 'develop'

Rewrite docs related to dependencies

See merge request pleroma/pleroma!3466

3 years agoAdd test on changing [:instance, :upload_limit]
Haelwenn (lanodan) Monnier [Tue, 22 Jun 2021 10:25:25 +0000 (12:25 +0200)]
Add test on changing [:instance, :upload_limit]

3 years agoDowngrade Plug to 1.10.x, revert upload_limit tuple to function change
Haelwenn (lanodan) Monnier [Tue, 22 Jun 2021 09:12:53 +0000 (11:12 +0200)]
Downgrade Plug to 1.10.x, revert upload_limit tuple to function change

This should fix setting the upload limit in the database as found in:
https://queer.hacktivis.me/notice/A8XUZp74Cg7eYNEMxU

This reverts commit 7d350b73f58664eb822efaa5f522fcf2bd38f669.

3 years agoMerge branch 'cycles-ci-skip' into 'develop'
Haelwenn [Fri, 11 Jun 2021 22:25:41 +0000 (22:25 +0000)]
Merge branch 'cycles-ci-skip' into 'develop'

Cycles CI: skip unless Elixir code is modified

See merge request pleroma/pleroma!3467

3 years agoCycles CI: skip unless Elixir code is modified
Alex Gleason [Fri, 11 Jun 2021 13:45:19 +0000 (08:45 -0500)]
Cycles CI: skip unless Elixir code is modified

3 years agodocs/…/opt_en.md: Reuse /main/ repository url for the /community/ repo
Haelwenn (lanodan) Monnier [Fri, 11 Jun 2021 06:46:38 +0000 (08:46 +0200)]
docs/…/opt_en.md: Reuse /main/ repository url for the /community/ repo

3 years agodocs: Remove Erlang Solutions repository
Haelwenn (lanodan) Monnier [Fri, 11 Jun 2021 06:44:27 +0000 (08:44 +0200)]
docs: Remove Erlang Solutions repository

3 years agodocs: Use one file to describe dependencies
Haelwenn (lanodan) Monnier [Fri, 11 Jun 2021 06:43:36 +0000 (08:43 +0200)]
docs: Use one file to describe dependencies

3 years agoMerge branch 'fix/twittercard-video-dimensions' into 'develop'
feld [Thu, 10 Jun 2021 15:03:58 +0000 (15:03 +0000)]
Merge branch 'fix/twittercard-video-dimensions' into 'develop'

Generate Twittercard/OGP metadata with correct dimensions

See merge request pleroma/pleroma!3456

3 years agoAdd note about video thumbnails for code spelunkers unfamiliar with Media Preview...
Mark Felder [Thu, 10 Jun 2021 14:56:43 +0000 (09:56 -0500)]
Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy

3 years agoMerge branch 'cycles-ci' into 'develop'
feld [Wed, 9 Jun 2021 19:04:40 +0000 (19:04 +0000)]
Merge branch 'cycles-ci' into 'develop'

Prevent compile-time cycles in CI

See merge request pleroma/pleroma!3420

3 years agoFix compile cycle in Pleroma.Tests.AuthTestController
Alex Gleason [Wed, 9 Jun 2021 18:30:19 +0000 (13:30 -0500)]
Fix compile cycle in Pleroma.Tests.AuthTestController

3 years agoCycles CI: disable cache
Alex Gleason [Wed, 9 Jun 2021 18:12:33 +0000 (13:12 -0500)]
Cycles CI: disable cache

3 years agoCI: echo $MIX_ENV
Alex Gleason [Wed, 9 Jun 2021 18:08:24 +0000 (13:08 -0500)]
CI: echo $MIX_ENV

3 years agoAdd cycles test to .gitlab-ci.yml
Alex Gleason [Sun, 23 May 2021 23:31:07 +0000 (18:31 -0500)]
Add cycles test to .gitlab-ci.yml
Thank you @jb55@bitcoinhackers.org for the awk syntax

3 years agoMerge branch 'refactor/ingestion-activity-context' into 'develop'
feld [Wed, 9 Jun 2021 17:17:41 +0000 (17:17 +0000)]
Merge branch 'refactor/ingestion-activity-context' into 'develop'

ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing

See merge request pleroma/pleroma!3462

3 years agoMerge branch 'eblurhash-hex' into 'develop'
feld [Wed, 9 Jun 2021 17:08:37 +0000 (17:08 +0000)]
Merge branch 'eblurhash-hex' into 'develop'

Use eblurhash 1.1.0 from Hex

See merge request pleroma/pleroma!3464

3 years agoFormatting of the comment
Mark Felder [Wed, 9 Jun 2021 16:58:51 +0000 (11:58 -0500)]
Formatting of the comment

3 years agoAdd new Twittercard/OGP changes
Mark Felder [Wed, 9 Jun 2021 16:56:54 +0000 (11:56 -0500)]
Add new Twittercard/OGP changes

3 years agoTest that videos only get image thumbnails in OGP metadata when we can produce them...
Mark Felder [Wed, 9 Jun 2021 16:46:31 +0000 (11:46 -0500)]
Test that videos only get image thumbnails in OGP metadata when we can produce them with Preview Proxy

3 years agoCredo
Mark Felder [Wed, 9 Jun 2021 16:09:14 +0000 (11:09 -0500)]
Credo

3 years agoLint
Mark Felder [Wed, 9 Jun 2021 16:06:53 +0000 (11:06 -0500)]
Lint

3 years agoFix incorrectly ordered arguments to the function and not properly merging lists.
Mark Felder [Wed, 9 Jun 2021 16:05:24 +0000 (11:05 -0500)]
Fix incorrectly ordered arguments to the function and not properly merging lists.

3 years agoMetadata.Utils.attachment_url/1 was used in this test too
Mark Felder [Wed, 9 Jun 2021 15:06:44 +0000 (10:06 -0500)]
Metadata.Utils.attachment_url/1 was used in this test too

3 years agoAdd a video thumbnail to the OpenGraph metadata if Media Preview Proxy is enabled.
Mark Felder [Wed, 9 Jun 2021 15:02:41 +0000 (10:02 -0500)]
Add a video thumbnail to the OpenGraph metadata if Media Preview Proxy is enabled.

3 years agoRemove Metadata.Utils.attachment_url/1
Mark Felder [Wed, 9 Jun 2021 14:58:29 +0000 (09:58 -0500)]
Remove Metadata.Utils.attachment_url/1

This was a wasteful shortcut to MediaProxy.preview_url/1 and we don't
always want the preview_url in the metadata anyway.

3 years agoUse eblurhash 1.1.0 from Hex
Alex Gleason [Wed, 9 Jun 2021 14:28:22 +0000 (09:28 -0500)]
Use eblurhash 1.1.0 from Hex

3 years agoObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing
Haelwenn (lanodan) Monnier [Wed, 9 Jun 2021 01:43:01 +0000 (03:43 +0200)]
ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing

3 years agoMerge branch 'cycles-plug-deps' into 'develop'
Haelwenn [Wed, 9 Jun 2021 02:20:00 +0000 (02:20 +0000)]
Merge branch 'cycles-plug-deps' into 'develop'

Refactor skipped plugs into Pleroma.Web functions

See merge request pleroma/pleroma!3463

3 years agoMerge branch 'cycles-side-effects' into 'develop'
Haelwenn [Wed, 9 Jun 2021 01:54:38 +0000 (01:54 +0000)]
Merge branch 'cycles-side-effects' into 'develop'

Recompilation speedup: Switch to runtime deps in ActivityPub.SideEffects

See merge request pleroma/pleroma!3460

3 years agoMerge branch 'cycles-instances' into 'develop'
Haelwenn [Wed, 9 Jun 2021 01:53:31 +0000 (01:53 +0000)]
Merge branch 'cycles-instances' into 'develop'

Recompilation speedup: Switch to runtime deps in Pleroma.Instances

See merge request pleroma/pleroma!3459

3 years agoRefactor skipped plugs into Pleroma.Web functions
Alex Gleason [Wed, 9 Jun 2021 00:14:12 +0000 (19:14 -0500)]
Refactor skipped plugs into Pleroma.Web functions
Speeds up recompilation by reducing compile cycles

3 years agoSwitch to runtime deps in ActivityPub.SideEffects
Alex Gleason [Tue, 8 Jun 2021 23:18:25 +0000 (18:18 -0500)]
Switch to runtime deps in ActivityPub.SideEffects
Speeds up recompilation by reducing compile cycles

3 years agoSwitch to runtime deps in Pleroma.Instances
Alex Gleason [Tue, 8 Jun 2021 23:03:21 +0000 (18:03 -0500)]
Switch to runtime deps in Pleroma.Instances
Speeds up recompilation by limiting compile cycles