summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-12-20Bad rebase, revert to develop branch versionMark Felder
2022-12-20Bring back :send_user_agent for test env only.Mark Felder
Too many tests break as they don't include injected user agent in expected response
2022-12-20We should keep the expires header too. If cache-control is also served, ↵Mark Felder
expires is ignored.
2022-12-20Tests WIPMark Felder
Remove the :send_user_agent setting. We should always send the user agent. Remove duplicate setting of the user agent from ReverseProxy module
2022-12-20Remove the Hackney follow_redirectMark Felder
Change the get_media/4 to get_media/3 as we don't need to special case following redirects anymore and we probably should have always been following redirects anyway
2022-12-20Finch everywhereMark Felder
2022-12-20Merge branch 'from/upstream/develop/tusooa/mrf-updates' into 'develop'lain
MRFs with Updates See merge request pleroma/pleroma!3808
2022-12-19Merge branch 'develop' into 'fix/2980-rss-feed-generation'lain
# Conflicts: # CHANGELOG.md
2022-12-19Fix TwitterCard meta tagsMark Felder
TwitterCard meta tags are supposed to use the attributes "name" and "content". OpenGraph tags use the attributes "property" and "content". Twitter itself is smart enough to detect broken meta tags and discover the TwitterCard using "property" and "content", but other platforms that only implement parsing of TwitterCards and not OpenGraph may fail to correctly detect the tags as they're under the wrong attributes. > "Open Graph protocol also specifies the use of property and content attributes for markup while > Twitter cards use name and content. Twitter’s parser will fall back to using property and content, > so there is no need to modify existing Open Graph protocol markup if it already exists." [0] [0] https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started
2022-12-19remove pub_date() -- use to_rfc2822 insteadfaried nawaz
_tag_activity.xml.eex used activity_content() instead of activity_description(), and did not escape html properly.
2022-12-19fix: add xmlns:thr for in-reply-to refsfaried nawaz
2022-12-19fix: feed item title was escaped twicefaried nawaz
2022-12-19Implement RFC2822 timestamp formattingMark Felder
2022-12-19fix atom and rss feeds for users and tagsfaried nawaz
Changes: - make the XML closer to spec (RSS does not pass w3c's validator, but works) - fix dates (RFC3339 for Atom, doc says RFC822 for RSS but RFC1123 is closer) - fix attachment/enclosure links (but see below) - set feed item title to post's "summary" if present - pruned several elements that validators did not like - examples: ap_enabled, user banner urls. Specs: - https://www.rssboard.org/rss-specification - https://validator.w3.org/feed/docs/atom.html - https://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared Validators: - https://validator.w3.org/feed/ - https://rssatom.com/feedvalidator.php Attachment/enclosure links should have a "length" field (mandatory according to the spec). This is not present in the object's data map.
2022-12-16Merge branch 'fix-2856' into 'develop'tusooa
Uploading an avatar media exceeding max size returns a 413 Closes #2856 See merge request pleroma/pleroma!3804
2022-12-16Merge branch 'update-deps' into 'develop'lain
Update to Phoenix 1.6, Elixir 1.11, and chase dependencies See merge request pleroma/pleroma!3766
2022-12-15AudioVideoValidator: Fix embedded attachment requirementsLain Soykaf
2022-12-15StatusView: Fix warningLain Soykaf
2022-12-15AttachmentValidator: Actually require urlLain Soykaf
2022-12-15Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update-depsLain Soykaf
2022-12-15Make SimplePolicy Update-awaretusooa
This is inspired by https://akkoma.dev/AkkomaGang/akkoma/commit/d5828f1c5e54ca236e50ef7837bfba3d1e665854
2022-12-15Make TagPolicy Update-awaretusooa
This is inspired by https://akkoma.dev/AkkomaGang/akkoma/commit/d5828f1c5e54ca236e50ef7837bfba3d1e665854
2022-12-14Fix failure when registering a user with no email when approval requiredtusooa
2022-12-11Return 413 when an actor's banner or background exceeds the size limitduponin
2022-12-11Uploading an avatar media exceeding max size returns a 413duponin
Until now it was returning a 500 because the upload plug were going through the changeset and ending in the JSON encoder, which raised because struct has to @derive the encoder.
2022-12-09Merge branch 'from/upstream-develop/tusooa/report-fake' into 'develop'Haelwenn
Report an Object, not a Create Activity Closes #2986 See merge request pleroma/pleroma!3788
2022-11-28Change follow_operation schema to use type BooleanLikeave
2022-11-20Merge branch 'akoma/deactivated-users' into 'develop'Haelwenn
Timeline query performance improvements See merge request pleroma/pleroma!3779
2022-11-20Fix unit teststusooa
2022-11-20Fix report apitusooa
2022-11-19Flag an Object, not an Activitytusooa
2022-11-17Update http_security_plug.exHJ
2022-11-17Update lib/pleroma/web/plugs/http_security_plug.exHJ
2022-11-17try to fix ruffle on chromeHenry Jameson
2022-11-14Merge branch 'develop' into 'akoma/deactivated-users'akoma/deactivated-usersfeld
# Conflicts: # CHANGELOG.md
2022-11-14Merge branch 'akkoma/delete-improvements' into 'develop'lain
Alter priority of Delete activities to be lowest See merge request pleroma/pleroma!3782
2022-11-14Merge branch 'bugfix/reset-unreachable-on-fetch' into 'develop'lain
Object.Fetcher: Set reachable on successful fetch See merge request pleroma/pleroma!3780
2022-11-13Alter priority of Delete activities to be lowestMark Felder
This will prevent a user with a large number of posts from negatively affecting performance of the outgoing federation queue if they delete their account.
2022-11-13Merge branch 'fix-typo-in-csp-report-to-header-name' into 'develop'Haelwenn
Fix typo in CSP Report-To header name See merge request pleroma/pleroma!3768
2022-11-13Deletes do not generate notifications of any kind, so skip tryingMark Felder
2022-11-13Object.Fetcher: Set reachable on successful fetchHaelwenn (lanodan) Monnier
2022-11-12Add same optimized join for excluding invisible usersMark Felder
2022-11-12Fix reports which do not have a userMark Felder
The check for deactivated users was being applied to report activities.
2022-11-12Extract deactivated users query to a joinFloatingGhost
2022-11-12Merge branch 'oban-timeouts' into 'develop'feld
Define sane Oban Worker timeouts See merge request pleroma/pleroma!3777
2022-11-12Merge branch 'from/upstream-develop/tusooa/no-strip-report' into 'develop'tusooa
Give admin the choice to not strip reported statuses Closes #2887 See merge request pleroma/pleroma!3773
2022-11-11Define sane Oban Worker timeoutsMark Felder
2022-11-11Remove Quack logging backendMark Felder
2022-11-09Render a generated reported activity properlytusooa
2022-11-09Do not strip reported statuses when configured not totusooa