Ilja [Fri, 2 Oct 2020 14:03:20 +0000 (16:03 +0200)]
Deprecate and rewrite settings for quarentine settings
* This is for the settings, not yet a DB migration
Ilja [Fri, 2 Oct 2020 12:51:39 +0000 (14:51 +0200)]
Make quarentine work with list of tuples instead of strings
Ilja [Fri, 25 Sep 2020 21:36:19 +0000 (23:36 +0200)]
Add tests for setting `:instance, :quarantined_instances`
No test was done for quarantined instances yet. I added a factory for followers_only notes and checked
* That no followers only post is send when the target server is quarantined
* That a followers only post is send when the target server is not quarantined
Ilja [Thu, 24 Sep 2020 19:01:33 +0000 (21:01 +0200)]
Make mrfSimple work with tuples
* Changed SimplePolicy
* I also grepped in test/ for ':mrf_simple' to see what other things could be affected
Ilja [Wed, 23 Sep 2020 22:34:59 +0000 (00:34 +0200)]
Deprectate strings for SimplePolicy
When strings are detected in the simplepolicy, a warning will be given and the config will be changed to use tuples instead
Haelwenn [Thu, 5 Aug 2021 05:51:22 +0000 (05:51 +0000)]
Merge branch 'staff-plug' into 'develop'
Moderators: add UserIsStaffPlug
See merge request pleroma/pleroma!3495
Alex Gleason [Wed, 4 Aug 2021 16:48:57 +0000 (11:48 -0500)]
Merge remote-tracking branch 'pleroma/develop' into staff-plug
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
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
Alex Gleason [Tue, 27 Jul 2021 13:54:26 +0000 (08:54 -0500)]
Merge remote-tracking branch 'pleroma/develop' into object-tombstone-visibility
Alex Gleason [Tue, 27 Jul 2021 13:54:01 +0000 (08:54 -0500)]
Visibility: check Tombstone objects in visible_for_user?/2
Alex Gleason [Tue, 27 Jul 2021 13:30:38 +0000 (08:30 -0500)]
CHANGELOG: fixed JSON error rendering
Alex Gleason [Tue, 27 Jul 2021 13:29:53 +0000 (08:29 -0500)]
Merge remote-tracking branch 'pleroma/develop' into errorview-json-fix
Alex Gleason [Tue, 27 Jul 2021 13:28:52 +0000 (08:28 -0500)]
Add activity+json to Phoenix :format_encoders
Fixes ErrorView rendering
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
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
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
Alex Gleason [Wed, 14 Jul 2021 14:03:20 +0000 (09:03 -0500)]
CHANGELOG: AdminAPI return date with users
Alex Gleason [Wed, 14 Jul 2021 14:02:55 +0000 (09:02 -0500)]
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-date
Alex Gleason [Wed, 14 Jul 2021 04:51:32 +0000 (23:51 -0500)]
AdminAPI: add date to users
Alex Gleason [Wed, 14 Jul 2021 02:44:42 +0000 (21:44 -0500)]
CHANGELOG: AdminAPI 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
Alex Gleason [Wed, 14 Jul 2021 02:37:25 +0000 (21:37 -0500)]
AdminAPI: sort user results by ID descending
Alex Gleason [Tue, 13 Jul 2021 03:00:44 +0000 (22:00 -0500)]
Moderators: reorganize :admin_api pipeline in Router
Alex Gleason [Tue, 13 Jul 2021 02:57:52 +0000 (21:57 -0500)]
Moderators: add UserIsStaffPlug
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
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
Haelwenn (lanodan) Monnier [Fri, 18 Sep 2020 12:22:27 +0000 (14:22 +0200)]
AP C2S: Remove restrictions and make it go through pipeline
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
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
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
marcin mikołajczak [Fri, 2 Jul 2021 13:03:41 +0000 (13:03 +0000)]
fix the fucking list timelines on mastofe/soapbox-fe
Alex Gleason [Wed, 30 Jun 2021 17:25:20 +0000 (12:25 -0500)]
Deletions: change User.purge/1 to defp, add CHANGELOG entry
Alex Gleason [Wed, 30 Jun 2021 07:02:30 +0000 (02:02 -0500)]
Merge remote-tracking branch 'pleroma/develop' into remote-deletions
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
Alex Gleason [Wed, 30 Jun 2021 06:14:34 +0000 (01:14 -0500)]
Deletions: allow deactivated users to be deleted
Alex Gleason [Wed, 30 Jun 2021 04:56:19 +0000 (23:56 -0500)]
Deletions: preserve account status fields during purge, fix checks
Alex Gleason [Wed, 30 Jun 2021 03:53:33 +0000 (22:53 -0500)]
Also purge the user in User.perform/2
Alex Gleason [Wed, 30 Jun 2021 03:30:48 +0000 (22:30 -0500)]
Deletions: purge the user immediately
Alex Gleason [Wed, 30 Jun 2021 02:45:38 +0000 (21:45 -0500)]
Correctly purge a remote user
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
Alex Gleason [Fri, 25 Jun 2021 02:00:23 +0000 (21:00 -0500)]
Activity deletion: fix FunctionClauseError #2686
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
Alex Gleason [Wed, 23 Jun 2021 18:02:41 +0000 (13:02 -0500)]
Upgrade Ecto to v3.6.2, remove deprecated ecto_explain
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
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
Haelwenn (lanodan) Monnier [Tue, 22 Jun 2021 10:25:25 +0000 (12:25 +0200)]
Add test on changing [:instance, :upload_limit]
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.
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
Alex Gleason [Fri, 11 Jun 2021 13:45:19 +0000 (08:45 -0500)]
Cycles CI: skip unless Elixir code is modified
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
Haelwenn (lanodan) Monnier [Fri, 11 Jun 2021 06:44:27 +0000 (08:44 +0200)]
docs: Remove Erlang Solutions repository
Haelwenn (lanodan) Monnier [Fri, 11 Jun 2021 06:43:36 +0000 (08:43 +0200)]
docs: Use one file to describe dependencies
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
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
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
Alex Gleason [Wed, 9 Jun 2021 18:30:19 +0000 (13:30 -0500)]
Fix compile cycle in Pleroma.Tests.AuthTestController
Alex Gleason [Wed, 9 Jun 2021 18:12:33 +0000 (13:12 -0500)]
Cycles CI: disable cache
Alex Gleason [Wed, 9 Jun 2021 18:08:24 +0000 (13:08 -0500)]
CI: echo $MIX_ENV
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
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
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
Mark Felder [Wed, 9 Jun 2021 16:58:51 +0000 (11:58 -0500)]
Formatting of the comment
Mark Felder [Wed, 9 Jun 2021 16:56:54 +0000 (11:56 -0500)]
Add new Twittercard/OGP changes
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
Mark Felder [Wed, 9 Jun 2021 16:09:14 +0000 (11:09 -0500)]
Credo
Mark Felder [Wed, 9 Jun 2021 16:06:53 +0000 (11:06 -0500)]
Lint
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.
Mark Felder [Wed, 9 Jun 2021 15:06:44 +0000 (10:06 -0500)]
Metadata.Utils.attachment_url/1 was used in this test too
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.
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.
Alex Gleason [Wed, 9 Jun 2021 14:28:22 +0000 (09:28 -0500)]
Use eblurhash 1.1.0 from Hex
Haelwenn (lanodan) Monnier [Wed, 9 Jun 2021 01:43:01 +0000 (03:43 +0200)]
ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing
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
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
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
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
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
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
Mark Felder [Tue, 8 Jun 2021 22:14:30 +0000 (17:14 -0500)]
Switch OGP default type from "website" to "article"
This is what Mastodon uses and might fix some link preview bugs I've encountered
feld [Tue, 8 Jun 2021 22:08:37 +0000 (22:08 +0000)]
Merge branch 'cycles-config-loader-redux' into 'develop'
Recompilation speedup: Ignore runtime deps in Pleroma.Config.Loader with Module.concat/1
See merge request pleroma/pleroma!3458
feld [Tue, 8 Jun 2021 22:07:25 +0000 (22:07 +0000)]
Merge branch 'cycles-user-view' into 'develop'
Recompilation speedup: Create AdminAPI.UserView to avoid compile-time dep
See merge request pleroma/pleroma!3457
Mark Felder [Tue, 8 Jun 2021 21:58:33 +0000 (16:58 -0500)]
Set the correct height/width if the data is available when generating opengraph metadata
Alex Gleason [Tue, 8 Jun 2021 20:58:19 +0000 (15:58 -0500)]
Create AdminAPI.UserView to avoid compile-time dep
Speeds up recompilation
Mark Felder [Tue, 8 Jun 2021 21:31:12 +0000 (16:31 -0500)]
Only use fallback for videos and only add this metadata for images if we really have it.
Mark Felder [Tue, 8 Jun 2021 21:19:12 +0000 (16:19 -0500)]
Twittercard metadata for images should also include dimensions if available
Alex Gleason [Tue, 8 Jun 2021 21:07:51 +0000 (16:07 -0500)]
Ignore runtime deps in Pleroma.Config.Loader with Module.concat/1
Speeds up recompilation
Mark Felder [Tue, 8 Jun 2021 20:59:55 +0000 (15:59 -0500)]
Set the correct height/width if the data is available when generating twittercard metadata
feld [Tue, 8 Jun 2021 20:30:55 +0000 (20:30 +0000)]
Merge branch 'metadata-for-all' into 'develop'
Support metadata for video files too
See merge request pleroma/pleroma!3441
Mark Felder [Tue, 8 Jun 2021 19:49:57 +0000 (14:49 -0500)]
Blurhash varies slightly by computer generating it, so just validate it wasn't nil
feld [Tue, 8 Jun 2021 19:26:17 +0000 (19:26 +0000)]
Merge branch 'improve-og-embed' into 'develop'
Improve opengraph embeds
See merge request pleroma/pleroma!3442
Mark Felder [Tue, 8 Jun 2021 19:05:13 +0000 (14:05 -0500)]
Update test names and verify blurhash is correctly generated for images
Mark Felder [Tue, 8 Jun 2021 19:02:56 +0000 (14:02 -0500)]
Add test for AnalyzeMetadata upload filter fetching dimensions from a video
feld [Tue, 8 Jun 2021 18:06:44 +0000 (18:06 +0000)]
Merge branch 'cycles-params' into 'develop'
Recompilation speedup: break out Pleroma.Web.Params.truthy_param?/1 from ControllerHelper
See merge request pleroma/pleroma!3449
Mark Felder [Tue, 8 Jun 2021 17:56:03 +0000 (12:56 -0500)]
Update scope of AnalyzeMetadata features
Mark Felder [Thu, 3 Jun 2021 21:58:18 +0000 (16:58 -0500)]
Support metadata for video files too
Alex Gleason [Mon, 7 Jun 2021 21:45:33 +0000 (16:45 -0500)]
Fix order of Pleroma.Web.Utils.Params aliases
Alex Gleason [Mon, 7 Jun 2021 21:01:26 +0000 (16:01 -0500)]
Pleroma.Web.Params --> Pleroma.Web.Utils.Params
Alex Gleason [Sat, 22 May 2021 16:41:55 +0000 (11:41 -0500)]
Pleroma.Web.ControllerHelper.truthy_param?/1 --> Pleroma.Web.Params.truthy_param?/1
Breaks cycle in lib/pleroma/web/api_spec/operations/status_operation.ex
feld [Tue, 8 Jun 2021 17:49:24 +0000 (17:49 +0000)]
Merge branch 'cycles-uploads' into 'develop'
Recompilation speedup: use generic types in @spec in Upload.Filter
See merge request pleroma/pleroma!3453