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
feld
bc51dea425
Update lib/mix/tasks/pleroma/database.ex
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
Alex Gleason
9879c18548
Avoid `use Phoenix.Swoosh` to prevent recompiling the Endpoint
Speeds up recompilation by fixing cycles in UserEmail
il y a 3 ans
Mark Felder
0be7eada92
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.
il y a 3 ans
Alex Gleason
8a5ceb7e53
Remove deps from Uploader behaviour
Speeds up recompilation by limiting compile-time deps
il y a 3 ans
Alex Gleason
a744c47e9a
Remove deps from Streaming/Persisting behaviors
Speeds up recompilation by limiting compile-time deps
il y a 3 ans
Mark Felder
2743c66693
Add "chat" back as a feature for backwards compat.
Legacy PleromaFE uses this to identify if ShoutBox is available.
il y a 3 ans
Mark Felder
48a0ea2fc3
Wire up join requests to the old "chat:public" channel into the new "shout:public" channel
il y a 3 ans
Mark Felder
d6432a65da
Move shout configuration from :instance, update docs and changelog
il y a 3 ans
Mark Felder
4a181982c3
More confusingly named legacy chat code renamed to shout
il y a 3 ans
Mark Felder
a3cff59659
Ensure we actually start ShoutChannel
il y a 3 ans
Mark Felder
ff00b354fa
Rename the non-federating Chat feature to Shout
il y a 3 ans
Alex Gleason
51a9f97e87
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
il y a 3 ans
Alex Gleason
10dfe81479
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
il y a 3 ans
Alex Gleason
721c966842
FrontendStatic: make Router a runtime dep
Speeds up recompilation by removing compile-time cycles
il y a 3 ans
Alex Gleason
fa543a9361
ActivityPub.Pipeline: switch to runtime deps
Speed up recompilation by breaking compile-time cycles
il y a 3 ans
Alex Gleason
3ff9c5e2a6
Break out activity-specific HTML functions into Pleroma.Activity.HTML
Fixes cycles in lib/pleroma/ecto_type/activity_pub/object_validators/safe_text.ex
il y a 3 ans
Alex Gleason
c9e4200ed2
Create real Views for all Controllers
This makes views depend on each other at runtime instead of compile-time
il y a 3 ans
Alex Gleason
32d263cb90
Config: use runtime deps instead of module attributes
Speeds up recompilation time by breaking compile-time cycles
il y a 3 ans
Alex Gleason
0ada3fe823
Gun: use runtime deps in ConnectionPool
Speed up recompilation time by breaking compile-time cycles
il y a 3 ans
Alex Gleason
3ebede4b51
Gun: make Gun.API a runtime dep
Speed up recompilation by breaking a compile-time cycle
il y a 3 ans
Alex Gleason
c23b81e399
Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0
Reduce recompilation time by breaking compile-time cycles
il y a 3 ans
Alex Gleason
fda34591ce
Don't make MediaProxy be a compile-dep of Router
Speeds up recompilation by removing MediaProxy as a compile-time dep of Router
il y a 3 ans
Alex Gleason
21787546c0
Router: move StaticFEPlug to a pipeline
Speed up recompilation by breaking a cycle. Removes StaticFEPlug as a compile-time dep of Router.
il y a 3 ans
Mark Felder
4694853766
Provide totalItems field for featured collections
il y a 3 ans
Mark Felder
05d678c070
Expose user email address to user/owner; not publicly.
il y a 3 ans
Alex Gleason
07fed0fda2
Switch to aliasing `Router.Helpers` instead of importing
il y a 3 ans
Mark Felder
c64cbee26c
Fixed checking for Upload Filter required commands
il y a 3 ans
Mark Felder
4ab3ef07d0
Check AnalyzeMetadata filter's required commands
eblurhash:magick uses "convert"
Fetching image metadata uses "mogrify"
il y a 3 ans