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