Alex Gleason
167e14416b
AdminAPI: add date to users
2 лет назад
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 лет назад
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
eb7313b0d3
Pipeline Ingestion: Page
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 лет назад