Haelwenn (lanodan) Monnier
6dc78f5f6f
AP C2S: Remove restrictions and make it go through pipeline
преди 3 години
Alex Gleason
310ef6b70d
Deletions: change User.purge/1 to defp, add CHANGELOG entry
преди 3 години
Alex Gleason
beb1c98ab5
Deletions: don't purge keys so Delete/Undo activities can be signed
преди 3 години
Alex Gleason
43800d83f4
Deletions: allow deactivated users to be deleted
преди 3 години
Alex Gleason
a7929c4d89
Deletions: preserve account status fields during purge, fix checks
преди 3 години
Alex Gleason
01c2d2a296
Also purge the user in User.perform/2
преди 3 години
Alex Gleason
c6d4133727
Deletions: purge the user immediately
преди 3 години
Alex Gleason
be2da95c36
Correctly purge a remote user
преди 3 години
Alex Gleason
281806de75
Activity deletion: fix FunctionClauseError #2686
преди 3 години
Alex Gleason
54af527759
Upgrade Ecto to v3.6.2, remove deprecated ecto_explain
преди 3 години
Haelwenn (lanodan) Monnier
fc6ab78a84
Add test on changing [:instance, :upload_limit]
преди 3 години
Haelwenn (lanodan) Monnier
a851a24036
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 7d350b73f5
.
преди 3 години
Mark Felder
202ee5fd77
Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy
преди 3 години
Alex Gleason
15e2aaa9f6
Fix compile cycle in Pleroma.Tests.AuthTestController
преди 3 години
Mark Felder
6aa7fc15df
Formatting of the comment
преди 3 години
Mark Felder
5f7901cc48
Credo
преди 3 години
Mark Felder
2a47156b87
Lint
преди 3 години
Mark Felder
86bcb87e6c
Fix incorrectly ordered arguments to the function and not properly merging lists.
преди 3 години
Mark Felder
2cf648d419
Add a video thumbnail to the OpenGraph metadata if Media Preview Proxy is enabled.
преди 3 години
Mark Felder
19a49dd757
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 години
Haelwenn (lanodan) Monnier
c839078a75
ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing
преди 3 години
Alex Gleason
45b7325b9e
Refactor skipped plugs into Pleroma.Web functions
Speeds up recompilation by reducing compile cycles
преди 3 години
Alex Gleason
67ec0e6c18
Switch to runtime deps in ActivityPub.SideEffects
Speeds up recompilation by reducing compile cycles
преди 3 години
Alex Gleason
45ab24f2d9
Switch to runtime deps in Pleroma.Instances
Speeds up recompilation by limiting compile cycles
преди 3 години
Mark Felder
9cb8960284
Switch OGP default type from "website" to "article"
This is what Mastodon uses and might fix some link preview bugs I've encountered
преди 3 години
Mark Felder
d70db63084
Set the correct height/width if the data is available when generating opengraph metadata
преди 3 години
Alex Gleason
4faeec2c44
Create AdminAPI.UserView to avoid compile-time dep
Speeds up recompilation
преди 3 години
Mark Felder
aa8cc4e86e
Only use fallback for videos and only add this metadata for images if we really have it.
преди 3 години
Mark Felder
d4ac9445cd
Twittercard metadata for images should also include dimensions if available
преди 3 години
Alex Gleason
1be14cc45f
Ignore runtime deps in Pleroma.Config.Loader with Module.concat/1
Speeds up recompilation
преди 3 години
Mark Felder
5de65ce3e8
Set the correct height/width if the data is available when generating twittercard metadata
преди 3 години
Mark Felder
5c27578bce
Support metadata for video files too
преди 3 години
Alex Gleason
b99f60615c
Fix order of Pleroma.Web.Utils.Params aliases
преди 3 години
Alex Gleason
ec65b7ae29
Pleroma.Web.Params --> Pleroma.Web.Utils.Params
преди 3 години
Alex Gleason
0877b120c3
Pleroma.Web.ControllerHelper.truthy_param?/1 --> Pleroma.Web.Params.truthy_param?/1
Breaks cycle in lib/pleroma/web/api_spec/operations/status_operation.ex
преди 3 години
Alex Gleason
1399b82f7b
Create WrapperAuthenticator and simplify Authenticator behaviour
Speeds up recompilation by reducing compile-time cycles
преди 3 години
Alex Gleason
bdaa1d4512
Upload.Filter: use generic types in @spec
Speeds up recompilation by reducing compile-time deps
преди 3 години
Alex Gleason
d87dfcb5f0
Put custom guards in Web.Utils.Guards
Speeds up recompilation by removing a compile-time cycle on AdminAPI.Search
преди 3 години
Mark Felder
264458531a
Formatting
преди 3 години
feld
bc51dea425
Update lib/mix/tasks/pleroma/database.ex
преди 3 години
Alex Gleason
6fcfa33e4e
Fix MRF.config_descriptions/0
преди 3 години
Alex Gleason
fe4c4a7178
MRF: create MRF.Policy behaviour separate from MRF module
Speeds up recompilation by reducing compile-time deps
преди 3 години
Alex Gleason
1c3fe43d23
ReverseProxy: create Client.Wrapper to call client from config
Speeds up recompilation by reducing compile-time cycles
преди 3 години
Haelwenn (lanodan) Monnier
7d350b73f5
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.
преди 3 години
Mark Felder
f58928cf1c
Add missing deprecation warning left out of !2842
преди 3 години
io
2c401dafa1
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.
преди 3 години
Haelwenn (lanodan) Monnier
11844084d0
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
преди 3 години
Haelwenn (lanodan) Monnier
ab32ea44f0
mix.exs: Apply OTP24 fixes to web_push_encryption
преди 3 години
Haelwenn (lanodan) Monnier
168687eef2
media_proxy: switch from :crypto.hmac to :crypto.mac
преди 3 години
Alex Gleason
9879c18548
Avoid `use Phoenix.Swoosh` to prevent recompiling the Endpoint
Speeds up recompilation by fixing cycles in UserEmail
преди 3 години