summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-27ArticleNotePageValidator: fix replies fixingHélène
Some software, like GoToSocial, expose replies as ActivityPub Collections, but do not expose any item array directly in the object, causing validation to fail via the ObjectID validator. Now, Pleroma will drop that field in this situation too.
2022-11-27fix resolution of GTS user keysFloatingGhost
2022-11-27Make local-only posts stream in local timelineTusooa Zhu
2022-11-27Do not stream out Create of ChatMessageTusooa Zhu
2022-11-27Make mutes and blocks behave the same as other listsTusooa Zhu
2022-11-27Transmogrifier: Use validating regex for "mediaType"Haelwenn (lanodan) Monnier
2022-11-27AttachmentValidator: Use custom ecto type and regex for "mediaType"Haelwenn (lanodan) Monnier
2022-11-27EctoType: Add MIME validatorHaelwenn (lanodan) Monnier
2022-11-27Delete report notifs when demoting from superuserIlja
When someone isn't a superuser any more, they shouldn't see the reporsts any more either. Here we delete the report notifications from a user when that user gets updated from being a superuser to a non-superuser.
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'feld
# 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
2022-11-07ObjectAgePolicy: Make strip_followers behavior for followers-only explicitHaelwenn (lanodan) Monnier
2022-11-04Fix typo in CSP Report-To header nameThomas Citharel
The header name was Report-To, not Reply-To. In any case, that's now being changed to the Reporting-Endpoints HTTP Response Header. https://w3c.github.io/reporting/#header https://github.com/w3c/reporting/issues/177 CanIUse says the Report-To header is still supported by current Chrome and friends. https://caniuse.com/mdn-http_headers_report-to It doesn't have any data for the Reporting-Endpoints HTTP header, but this article says Chrome 96 supports it. https://web.dev/reporting-api/ (Even though that's come out one year ago, that's not compatible with Network Error Logging which's still using the Report-To version of the API) Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03Update to Phoenix 1.6 and chase dependenciesMark Felder
Also bump minimum Elixir to 1.11