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
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
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
Haelwenn (lanodan) Monnier [Wed, 26 May 2021 04:14:45 +0000 (06:14 +0200)]
Changing references of freenode to libera.chat
Haelwenn [Mon, 31 May 2021 14:40:46 +0000 (14:40 +0000)]
Merge branch 'weblate-pleroma-pleroma' into 'develop'
Translations update from Weblate
See merge request pleroma/pleroma!3373
Alex Gleason [Sun, 30 May 2021 17:58:24 +0000 (12:58 -0500)]
Snow [Tue, 11 May 2021 01:39:31 +0000 (01:39 +0000)]
Translated using Weblate (Chinese (Traditional))
Currently translated at 5.6% (6 of 106 strings)
Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/zh_Hant/
Snow [Thu, 25 Mar 2021 06:35:52 +0000 (06:35 +0000)]
Translated using Weblate (Chinese (Traditional))
Currently translated at 0.9% (1 of 106 strings)
Translation: Pleroma/Pleroma backend
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma/zh_Hant/
Snow [Mon, 15 Mar 2021 15:10:17 +0000 (15:10 +0000)]
Added translation using Weblate (Chinese (Traditional))
Haelwenn [Sun, 30 May 2021 17:42:48 +0000 (17:42 +0000)]
Merge branch 'ffmpeg' into 'develop'
Add ffmpeg to docker image
See merge request pleroma/pleroma!3428
Alex Gleason [Sun, 30 May 2021 17:12:58 +0000 (12:12 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-frontend-static
Alex Gleason [Fri, 21 May 2021 22:37:34 +0000 (17:37 -0500)]
FrontendStatic: make Router a runtime dep
Speeds up recompilation by removing compile-time cycles
shibao [Sun, 30 May 2021 14:27:58 +0000 (10:27 -0400)]
Add ffmpeg
feld [Sat, 29 May 2021 21:50:07 +0000 (21:50 +0000)]
Merge branch 'cycles-views' into 'develop'
Recompilation speedup: Create real Views for all Controllers
See merge request pleroma/pleroma!3425
feld [Sat, 29 May 2021 21:19:25 +0000 (21:19 +0000)]
Merge branch 'cycles-html' into 'develop'
Recompilation speedup: Break out activity-specific HTML functions into Pleroma.Activity.HTML
See merge request pleroma/pleroma!3426
feld [Sat, 29 May 2021 21:16:57 +0000 (21:16 +0000)]
Merge branch 'cycles-gun' into 'develop'
Recompilation speedup: use runtime deps in Pleroma.Gun
See merge request pleroma/pleroma!3422
feld [Sat, 29 May 2021 19:20:47 +0000 (19:20 +0000)]
Merge branch 'cycles-config' into 'develop'
Recompilation speedup: use runtime deps in Pleroma.Config
See merge request pleroma/pleroma!3424
feld [Sat, 29 May 2021 19:16:06 +0000 (19:16 +0000)]
Merge branch 'cycles-pipeline' into 'develop'
Recompilation speedup: switch to runtime deps in ActivityPub.Pipeline
See merge request pleroma/pleroma!3427
Alex Gleason [Sat, 29 May 2021 18:32:57 +0000 (13:32 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-pipeline
Alex Gleason [Fri, 21 May 2021 21:58:20 +0000 (16:58 -0500)]
ActivityPub.Pipeline: switch to runtime deps
Speed up recompilation by breaking compile-time cycles
Alex Gleason [Sat, 29 May 2021 17:29:58 +0000 (12:29 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-html
Alex Gleason [Sat, 22 May 2021 21:44:51 +0000 (16:44 -0500)]
Break out activity-specific HTML functions into Pleroma.Activity.HTML
Fixes cycles in lib/pleroma/ecto_type/activity_pub/object_validators/safe_text.ex
Alex Gleason [Sat, 29 May 2021 17:17:24 +0000 (12:17 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-views
Alex Gleason [Sat, 22 May 2021 19:59:12 +0000 (14:59 -0500)]
Create real Views for all Controllers
This makes views depend on each other at runtime instead of compile-time
Alex Gleason [Sat, 29 May 2021 17:01:37 +0000 (12:01 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-plugs
Alex Gleason [Fri, 21 May 2021 18:04:57 +0000 (13:04 -0500)]
Config: use runtime deps instead of module attributes
Speeds up recompilation time by breaking compile-time cycles
Alex Gleason [Sat, 29 May 2021 16:35:57 +0000 (11:35 -0500)]
Merge remote-tracking branch 'pleroma/develop' into cycles-gun