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
feld [Tue, 8 Jun 2021 17:45:10 +0000 (17:45 +0000)]
Merge branch 'cycles-authenticator' into 'develop'
Recompilation speedup: create WrapperAuthenticator and simplify Authenticator behaviour
See merge request pleroma/pleroma!3454
Alex Gleason [Mon, 7 Jun 2021 23:07:54 +0000 (18:07 -0500)]
Create WrapperAuthenticator and simplify Authenticator behaviour
Speeds up recompilation by reducing compile-time cycles
Alex Gleason [Mon, 7 Jun 2021 22:07:40 +0000 (17:07 -0500)]
Upload.Filter: use generic types in @spec
Speeds up recompilation by reducing compile-time deps
feld [Mon, 7 Jun 2021 21:22:23 +0000 (21:22 +0000)]
Merge branch 'fix/config-test-warning' into 'develop'
Fix test warnings
See merge request pleroma/pleroma!3452
feld [Mon, 7 Jun 2021 21:21:35 +0000 (21:21 +0000)]
Merge branch 'pleromapi' into 'develop'
Add Raspberry Pi install instructions
See merge request pleroma/pleroma!3430
feld [Mon, 7 Jun 2021 21:21:10 +0000 (21:21 +0000)]
Merge branch 'cycles-guard' into 'develop'
Recompilation speedup: Put custom guards in Web.Utils.Guards
See merge request pleroma/pleroma!3451
Mark Felder [Mon, 7 Jun 2021 21:10:24 +0000 (16:10 -0500)]
Channel name was incorrect. We left it as chat:public for backwards compatibility.
Mark Felder [Mon, 7 Jun 2021 21:09:47 +0000 (16:09 -0500)]
Test was named incorrectly and did not execute
Mark Felder [Mon, 7 Jun 2021 21:06:53 +0000 (16:06 -0500)]
Fix test warnings
Alex Gleason [Mon, 7 Jun 2021 20:51:52 +0000 (15:51 -0500)]
Put custom guards in Web.Utils.Guards
Speeds up recompilation by removing a compile-time cycle on AdminAPI.Search
Mark Felder [Mon, 7 Jun 2021 20:47:50 +0000 (15:47 -0500)]
Formatting
feld [Mon, 7 Jun 2021 20:11:45 +0000 (20:11 +0000)]
Merge branch 'fix/prune-hashtags' into 'develop'
get prune_objects to work again
See merge request pleroma/pleroma!3397
feld [Mon, 7 Jun 2021 20:10:20 +0000 (20:10 +0000)]
Merge branch 'cycles-mrf-policy' into 'develop'
Recompilation speedup: create MRF.Policy behaviour separate from MRF module
See merge request pleroma/pleroma!3450
feld [Mon, 7 Jun 2021 20:07:59 +0000 (20:07 +0000)]
Update CHANGELOG.md
feld [Mon, 7 Jun 2021 20:07:27 +0000 (20:07 +0000)]
Update CHANGELOG.md
feld [Mon, 7 Jun 2021 20:06:36 +0000 (20:06 +0000)]
Merge branch 'develop' into 'fix/prune-hashtags'
# Conflicts:
# CHANGELOG.md
feld [Mon, 7 Jun 2021 20:05:18 +0000 (20:05 +0000)]
Update CHANGELOG.md
feld [Mon, 7 Jun 2021 20:04:27 +0000 (20:04 +0000)]
Update CHANGELOG.md
feld [Mon, 7 Jun 2021 20:02:28 +0000 (20:02 +0000)]
Update lib/mix/tasks/pleroma/database.ex
feld [Mon, 7 Jun 2021 19:58:37 +0000 (19:58 +0000)]
Merge branch 'fix/plug_parser_multipart' into 'develop'
web endpoint: Use Config.get directly instead of a tuple
See merge request pleroma/pleroma!3445
Alex Gleason [Mon, 7 Jun 2021 19:51:25 +0000 (14:51 -0500)]
Fix MRF.config_descriptions/0
Alex Gleason [Mon, 7 Jun 2021 19:22:08 +0000 (14:22 -0500)]
MRF: create MRF.Policy behaviour separate from MRF module
Speeds up recompilation by reducing compile-time deps
feld [Mon, 7 Jun 2021 17:03:51 +0000 (17:03 +0000)]
Merge branch 'notification-settings-docs-fix' into 'develop'
Docs: /api/v1/pleroma/notification_settings --> /api/pleroma/notification_settings
See merge request pleroma/pleroma!3448
feld [Mon, 7 Jun 2021 17:03:19 +0000 (17:03 +0000)]
Merge branch 'cycles-reverse-proxy' into 'develop'
Recompilation speedup: create Dynamic client for ReverseProxy
See merge request pleroma/pleroma!3440
Alex Gleason [Mon, 7 Jun 2021 16:18:14 +0000 (11:18 -0500)]
Docs: /api/v1/pleroma/notification_settings --> /api/pleroma/notification_settings
Alex Gleason [Sat, 5 Jun 2021 02:12:37 +0000 (21:12 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-reverse-proxy
Alex Gleason [Wed, 2 Jun 2021 21:34:32 +0000 (16:34 -0500)]
ReverseProxy: create Client.Wrapper to call client from config
Speeds up recompilation by reducing compile-time cycles
feld [Fri, 4 Jun 2021 20:57:28 +0000 (20:57 +0000)]
Merge branch 'chore/otp24-changelog' into 'develop'
Document OTP 24 support
See merge request pleroma/pleroma!3447
feld [Fri, 4 Jun 2021 20:55:21 +0000 (20:55 +0000)]
Merge branch 'fix/clear_config_warning' into 'develop'
Fix warning for misuse of clear_config/2
See merge request pleroma/pleroma!3446
Mark Felder [Fri, 4 Jun 2021 20:50:10 +0000 (15:50 -0500)]
Document OTP 24 support so we remember to add it to the official release notes / announcement
Mark Felder [Fri, 4 Jun 2021 20:35:56 +0000 (15:35 -0500)]
Fix warning for misuse of clear_config/2
The old warning message was producing an improperly formatted suggestion.
Haelwenn [Fri, 4 Jun 2021 18:53:09 +0000 (18:53 +0000)]
Merge branch 'tests/openapi-everywhere' into 'develop'
Put OpenAPI ~everywhere in tests
See merge request pleroma/pleroma!3324
Haelwenn (lanodan) Monnier [Fri, 4 Jun 2021 17:57:48 +0000 (19:57 +0200)]
web endpoint: Use Config.get directly instead of a tuple
Fixes a lot of warnings like the following while running the testsuite:
warning: passing a {module, function, args} tuple to Plug.Parsers.MULTIPART is deprecated. Please see Plug.Parsers.MULTIPART module docs for better approaches to configuration
This might mean no more dynamic configuration but there seems to be the same limitation two lines underneath anyway.
feld [Fri, 4 Jun 2021 17:37:30 +0000 (17:37 +0000)]
Merge branch 'fix/missing-deprecation' into 'develop'
Add missing deprecation warning left out of !2842
See merge request pleroma/pleroma!3444
feld [Fri, 4 Jun 2021 17:36:36 +0000 (17:36 +0000)]
Merge branch 'bugfix/erlang-24' into 'develop'
Erlang 24 compatibility
Closes #2647
See merge request pleroma/pleroma!3405
Mark Felder [Fri, 4 Jun 2021 17:30:10 +0000 (12:30 -0500)]
Add missing deprecation warning left out of !2842
io [Fri, 4 Jun 2021 04:15:54 +0000 (04:15 +0000)]
Improve opengraph embeds
This brings them more in line with Mastodon.
- Deduplicates display name from the title and content
- Removes arbitrary limits on the size of the embedded image
- Removes angled double quotes from embed descriptions. These would normally just indicate that the content is a quote, but that is already implied by the content being in an embed.
Haelwenn (lanodan) Monnier [Mon, 31 May 2021 08:41:31 +0000 (10:41 +0200)]
MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != []
Since mime 1.6.0:
warning: MIME.valid?/1 is deprecated. Use MIME.extensions(type) != [] instead
As for the bitstring(type) part it's because MIME.extensions only expects a string.
https://github.com/elixir-plug/mime/issues/43
Haelwenn (lanodan) Monnier [Mon, 31 May 2021 08:14:12 +0000 (10:14 +0200)]
request_builder_test: mode :read got removed
Haelwenn (lanodan) Monnier [Mon, 31 May 2021 08:06:06 +0000 (10:06 +0200)]
factory: Fix article_factory
Haelwenn (lanodan) Monnier [Sat, 22 May 2021 16:04:13 +0000 (18:04 +0200)]
mix: Update pot to ~> 1.0
Haelwenn (lanodan) Monnier [Sat, 22 May 2021 15:55:40 +0000 (17:55 +0200)]
mix.exs: Apply OTP24 fixes to web_push_encryption
Haelwenn (lanodan) Monnier [Sat, 22 May 2021 15:48:35 +0000 (17:48 +0200)]
mix: Update dependencies
Haelwenn (lanodan) Monnier [Sat, 15 May 2021 11:15:02 +0000 (13:15 +0200)]
media_proxy: switch from :crypto.hmac to :crypto.mac
Haelwenn (lanodan) Monnier [Sat, 15 May 2021 11:08:00 +0000 (13:08 +0200)]
mix: Switch hackney & gun to releases
Haelwenn (lanodan) Monnier [Sat, 15 May 2021 10:40:37 +0000 (12:40 +0200)]
Update all dependencies
Haelwenn [Thu, 3 Jun 2021 15:52:16 +0000 (15:52 +0000)]
Merge branch 'chore/rename-chat' into 'develop'
Rename the non-federating Chat feature to Shout
See merge request pleroma/pleroma!2842
rinpatch [Wed, 2 Jun 2021 17:18:10 +0000 (17:18 +0000)]
Merge branch 'chore/cicd_skip_nonsense' into 'develop'
Skip CI/CD automatically under certain conditions
See merge request pleroma/pleroma!3439
Mark Felder [Wed, 2 Jun 2021 17:09:41 +0000 (12:09 -0500)]
Don't generate new specs unless they've changed.
Mark Felder [Wed, 2 Jun 2021 17:00:45 +0000 (12:00 -0500)]
Skip build, test, analysis/lint when we don't make code changes
feld [Wed, 2 Jun 2021 16:53:37 +0000 (16:53 +0000)]
Merge branch 'Snow-develop-patch-01683' into 'develop'
Update docs/description for allow_relay
See merge request pleroma/pleroma!3438
Mark Felder [Wed, 2 Jun 2021 16:26:26 +0000 (11:26 -0500)]
Update wording for relays in docs and config description
Mark Felder [Wed, 2 Jun 2021 16:21:04 +0000 (11:21 -0500)]
Formatting
feld [Wed, 2 Jun 2021 16:11:49 +0000 (16:11 +0000)]
Merge branch 'cycles-email' into 'develop'
Recompilation speedup: Avoid `use Phoenix.Swoosh` to prevent recompiling the Endpoint
See merge request pleroma/pleroma!3436
Mark Felder [Tue, 1 Jun 2021 21:53:32 +0000 (16:53 -0500)]
disableChat / disableShout didn't actually do anything for PleromaFE
Alex Gleason [Tue, 1 Jun 2021 21:17:43 +0000 (16:17 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-email
Alex Gleason [Sat, 22 May 2021 19:48:13 +0000 (14:48 -0500)]
Avoid `use Phoenix.Swoosh` to prevent recompiling the Endpoint
Speeds up recompilation by fixing cycles in UserEmail
feld [Tue, 1 Jun 2021 19:41:37 +0000 (19:41 +0000)]
Merge branch 'cycles-streaming' into 'develop'
Recompilation speedup: Remove deps from Streaming/Persisting behaviors
See merge request pleroma/pleroma!3434
feld [Tue, 1 Jun 2021 19:39:36 +0000 (19:39 +0000)]
Merge branch 'cycles-uploader' into 'develop'
Recompilation speedup: Remove deps from Uploader behaviour
See merge request pleroma/pleroma!3435
Mark Felder [Tue, 1 Jun 2021 19:34:13 +0000 (14:34 -0500)]
Keep original Shoutbox channel name as chat:public
There is no sane / high level workaround for merging users who join shout:public and chat:public.
Alex Gleason [Tue, 1 Jun 2021 19:20:31 +0000 (14:20 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-uploader
Alex Gleason [Sat, 22 May 2021 20:30:14 +0000 (15:30 -0500)]
Remove deps from Uploader behaviour
Speeds up recompilation by limiting compile-time deps
Alex Gleason [Tue, 1 Jun 2021 18:56:40 +0000 (13:56 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-streaming
Alex Gleason [Tue, 1 Jun 2021 18:55:07 +0000 (13:55 -0500)]
Remove deps from Streaming/Persisting behaviors
Speeds up recompilation by limiting compile-time deps
Mark Felder [Tue, 1 Jun 2021 17:57:18 +0000 (12:57 -0500)]
Add "chat" back as a feature for backwards compat.
Legacy PleromaFE uses this to identify if ShoutBox is available.
Mark Felder [Tue, 1 Jun 2021 16:55:51 +0000 (11:55 -0500)]
Wire up join requests to the old "chat:public" channel into the new "shout:public" channel
Mark Felder [Fri, 28 May 2021 19:10:37 +0000 (14:10 -0500)]
Forgot to move migration test when rebasing
Mark Felder [Thu, 20 May 2021 19:30:29 +0000 (14:30 -0500)]
We want clear_config/2 in all tests now
Roman Chvanikov [Fri, 7 Aug 2020 09:18:55 +0000 (12:18 +0300)]
Update test for RenameInstanceChat migration
Roman Chvanikov [Fri, 7 Aug 2020 09:18:36 +0000 (12:18 +0300)]
Add RenameInstanceChat migration
Mark Felder [Thu, 6 Aug 2020 21:37:17 +0000 (16:37 -0500)]
Add a test for the migration
Mark Felder [Tue, 4 Aug 2020 15:45:28 +0000 (10:45 -0500)]
Update description file for new shout config setting location
Mark Felder [Tue, 4 Aug 2020 15:42:52 +0000 (10:42 -0500)]
Move shout configuration from :instance, update docs and changelog
Mark Felder [Mon, 3 Aug 2020 23:41:49 +0000 (18:41 -0500)]
More confusingly named legacy chat code renamed to shout
Mark Felder [Mon, 3 Aug 2020 23:34:58 +0000 (18:34 -0500)]
Ensure we actually start ShoutChannel
Mark Felder [Mon, 3 Aug 2020 23:00:16 +0000 (18:00 -0500)]
Update PleromaFE settings for the old chat box
Mark Felder [Mon, 3 Aug 2020 22:58:27 +0000 (17:58 -0500)]
Just call it shout
Mark Felder [Mon, 3 Aug 2020 22:08:35 +0000 (17:08 -0500)]
Rename the non-federating Chat feature to Shout
feld [Tue, 1 Jun 2021 16:43:51 +0000 (16:43 +0000)]
Merge branch 'cycles-constants' into 'develop'
Recompilation speedup: move as_local_public/0 into ActivityPub.Utils
See merge request pleroma/pleroma!3431
Alex Gleason [Tue, 1 Jun 2021 16:32:30 +0000 (11:32 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-constants
feld [Tue, 1 Jun 2021 16:19:41 +0000 (16:19 +0000)]
Merge branch 'cycles-frontend-static' into 'develop'
Recompilation speedup: make Router a runtime dep of FrontendStatic
See merge request pleroma/pleroma!3429
feld [Tue, 1 Jun 2021 16:15:27 +0000 (16:15 +0000)]
Merge branch 'cycles-base-url' into 'develop'
Deprecate Pleroma.Web.base_url/0
See merge request pleroma/pleroma!3432
Haelwenn [Tue, 1 Jun 2021 01:51:38 +0000 (01:51 +0000)]
Merge branch 'features/validators-note' into 'develop'
Pipeline Ingestion: Note
Closes #290
See merge request pleroma/pleroma!2984
Alex Gleason [Mon, 31 May 2021 21:49:46 +0000 (16:49 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-base-url
Alex Gleason [Mon, 31 May 2021 20:09:11 +0000 (15:09 -0500)]
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
Alex Gleason [Mon, 31 May 2021 18:39:15 +0000 (13:39 -0500)]
Pleroma.Constants.as_local_public/0 --> Pleroma.Web.ActivityPub.Utils.as_local_public/0
Move as_local_public/0 to stop making modules depend on Web at compile-time
Haelwenn [Mon, 31 May 2021 17:42:36 +0000 (17:42 +0000)]
Merge branch 'docs/goto-libera' into 'develop'
Changing references of freenode to libera.chat
See merge request pleroma/pleroma!3415
Guy Sheffer [Mon, 31 May 2021 16:17:49 +0000 (19:17 +0300)]
Add Raspberry Pi install instructions