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