aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web
AgeCommit message (Collapse)Author
2021-06-14Merge remote-tracking branch 'pleroma/develop' into frontend-enableAlex Gleason
2021-06-14Fix FrontendControllerAlex Gleason
2021-06-14Frontends: refactor with %Frontend{} structAlex Gleason
2021-06-10Merge branch 'fix/twittercard-video-dimensions' into 'develop'feld
Generate Twittercard/OGP metadata with correct dimensions See merge request pleroma/pleroma!3456
2021-06-10Add note about video thumbnails for code spelunkers unfamiliar with Media ↵Mark Felder
Preview Proxy
2021-06-09Formatting of the commentMark Felder
2021-06-09CredoMark Felder
2021-06-09LintMark Felder
2021-06-09Fix incorrectly ordered arguments to the function and not properly merging ↵Mark Felder
lists.
2021-06-09Add a video thumbnail to the OpenGraph metadata if Media Preview Proxy is ↵Mark Felder
enabled.
2021-06-09Remove Metadata.Utils.attachment_url/1Mark Felder
This was a wasteful shortcut to MediaProxy.preview_url/1 and we don't always want the preview_url in the metadata anyway.
2021-06-09ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressingHaelwenn (lanodan) Monnier
2021-06-09Merge branch 'cycles-plug-deps' into 'develop'Haelwenn
Refactor skipped plugs into Pleroma.Web functions See merge request pleroma/pleroma!3463
2021-06-08Refactor skipped plugs into Pleroma.Web functionsAlex Gleason
Speeds up recompilation by reducing compile cycles
2021-06-08Switch to runtime deps in ActivityPub.SideEffectsAlex Gleason
Speeds up recompilation by reducing compile cycles
2021-06-08Switch OGP default type from "website" to "article"Mark Felder
This is what Mastodon uses and might fix some link preview bugs I've encountered
2021-06-08Merge branch 'cycles-user-view' into 'develop'feld
Recompilation speedup: Create AdminAPI.UserView to avoid compile-time dep See merge request pleroma/pleroma!3457
2021-06-08Set the correct height/width if the data is available when generating ↵Mark Felder
opengraph metadata
2021-06-08Create AdminAPI.UserView to avoid compile-time depAlex Gleason
Speeds up recompilation
2021-06-08Only use fallback for videos and only add this metadata for images if we ↵Mark Felder
really have it.
2021-06-08Twittercard metadata for images should also include dimensions if availableMark Felder
2021-06-08Set the correct height/width if the data is available when generating ↵Mark Felder
twittercard metadata
2021-06-08Merge branch 'improve-og-embed' into 'develop'feld
Improve opengraph embeds See merge request pleroma/pleroma!3442
2021-06-08Fix order of Pleroma.Web.Utils.Params aliasesAlex Gleason
2021-06-08Pleroma.Web.Params --> Pleroma.Web.Utils.ParamsAlex Gleason
2021-06-08Pleroma.Web.ControllerHelper.truthy_param?/1 --> ↵Alex Gleason
Pleroma.Web.Params.truthy_param?/1 Breaks cycle in lib/pleroma/web/api_spec/operations/status_operation.ex
2021-06-07Create WrapperAuthenticator and simplify Authenticator behaviourAlex Gleason
Speeds up recompilation by reducing compile-time cycles
2021-06-07Put custom guards in Web.Utils.GuardsAlex Gleason
Speeds up recompilation by removing a compile-time cycle on AdminAPI.Search
2021-06-07FormattingMark Felder
2021-06-07Merge branch 'cycles-mrf-policy' into 'develop'feld
Recompilation speedup: create MRF.Policy behaviour separate from MRF module See merge request pleroma/pleroma!3450
2021-06-07Merge branch 'fix/plug_parser_multipart' into 'develop'feld
web endpoint: Use Config.get directly instead of a tuple See merge request pleroma/pleroma!3445
2021-06-07Fix MRF.config_descriptions/0Alex Gleason
2021-06-07MRF: create MRF.Policy behaviour separate from MRF moduleAlex Gleason
Speeds up recompilation by reducing compile-time deps
2021-06-04Merge branch 'tests/openapi-everywhere' into 'develop'Haelwenn
Put OpenAPI ~everywhere in tests See merge request pleroma/pleroma!3324
2021-06-04web endpoint: Use Config.get directly instead of a tupleHaelwenn (lanodan) Monnier
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.
2021-06-04Improve opengraph embedsio
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.
2021-06-03MIME.valid?(type) → is_bitstring(type) && MIME.extensions(type) != []Haelwenn (lanodan) Monnier
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
2021-06-03media_proxy: switch from :crypto.hmac to :crypto.macHaelwenn (lanodan) Monnier
2021-06-03Merge branch 'chore/rename-chat' into 'develop'Haelwenn
Rename the non-federating Chat feature to Shout See merge request pleroma/pleroma!2842
2021-06-01Keep original Shoutbox channel name as chat:publicMark Felder
There is no sane / high level workaround for merging users who join shout:public and chat:public.
2021-06-01Merge remote-tracking branch 'pleroma/develop' into cycles-streamingAlex Gleason
2021-06-01Remove deps from Streaming/Persisting behaviorsAlex Gleason
Speeds up recompilation by limiting compile-time deps
2021-06-01Add "chat" back as a feature for backwards compat.Mark Felder
Legacy PleromaFE uses this to identify if ShoutBox is available.
2021-06-01Wire up join requests to the old "chat:public" channel into the new ↵Mark Felder
"shout:public" channel
2021-06-01Move shout configuration from :instance, update docs and changelogMark Felder
2021-06-01Rename the non-federating Chat feature to ShoutMark Felder
2021-06-01Merge remote-tracking branch 'pleroma/develop' into cycles-constantsAlex Gleason
2021-06-01Merge branch 'cycles-frontend-static' into 'develop'feld
Recompilation speedup: make Router a runtime dep of FrontendStatic See merge request pleroma/pleroma!3429
2021-06-01Merge branch 'cycles-base-url' into 'develop'feld
Deprecate Pleroma.Web.base_url/0 See merge request pleroma/pleroma!3432
2021-06-01Merge branch 'features/validators-note' into 'develop'Haelwenn
Pipeline Ingestion: Note Closes #290 See merge request pleroma/pleroma!2984