aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web
AgeCommit message (Collapse)Author
2021-07-27Merge remote-tracking branch 'pleroma/develop' into object-tombstone-visibilityAlex Gleason
2021-07-27Visibility: check Tombstone objects in visible_for_user?/2Alex Gleason
2021-07-22Merge branch 'mkljczk-develop-patch-60115' into 'develop'Haelwenn
MastodonAPI: Fix list timelines Closes mastofe#89 and #2693 See merge request pleroma/pleroma!3477
2021-07-14Merge branch 'admin-api-users-sort' into 'develop'feld
AdminAPI: sort new users at the top Closes #2709 See merge request pleroma/pleroma!3481
2021-07-14Merge remote-tracking branch 'pleroma/develop' into admin-api-users-dateAlex Gleason
2021-07-14AdminAPI: add date to usersAlex Gleason
2021-07-13Merge remote-tracking branch 'pleroma/develop' into admin-api-users-sortAlex Gleason
2021-07-13AdminAPI: sort user results by ID descendingAlex Gleason
2021-07-12Merge branch 'features/ingestion-page' into 'develop'Haelwenn
Pipeline Ingestion: Page See merge request pleroma/pleroma!3097
2021-07-12AP C2S: Remove restrictions and make it go through pipelineHaelwenn (lanodan) Monnier
2021-07-02fix the fucking list timelines on mastofe/soapbox-femarcin mikołajczak
2021-06-30Merge remote-tracking branch 'pleroma/develop' into remote-deletionsAlex Gleason
2021-06-30Deletions: allow deactivated users to be deletedAlex Gleason
2021-06-22Add test on changing [:instance, :upload_limit]Haelwenn (lanodan) Monnier
2021-06-22Downgrade Plug to 1.10.x, revert upload_limit tuple to function changeHaelwenn (lanodan) Monnier
This should fix setting the upload limit in the database as found in: https://queer.hacktivis.me/notice/A8XUZp74Cg7eYNEMxU This reverts commit 7d350b73f58664eb822efaa5f522fcf2bd38f669.
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-04Pipeline Ingestion: PageHaelwenn (lanodan) Monnier
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