aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/mastodon_api
AgeCommit message (Collapse)Author
2022-10-08Merge branch 'release/2.4.4' into mergeback/2.4.4Tusooa Zhu
2022-09-16Merge branch 'remove_from_followers' into 'develop'tusooa
MastoAPI: POST /api/v1/accounts/:id/remove_from_followers See merge request pleroma/pleroma!3647
2022-09-14Fix wrong relationship directionTusooa Zhu
2022-09-04Merge branch 'fix/federation-context-issues' into 'develop'tusooa
Fix reply context fixing (Pleroma replies to Misskey threads) and removal of context objects See merge request pleroma/pleroma!3717
2022-09-03Merge branch 'from/upstream-develop/tusooa/edits' into 'develop'Haelwenn
Editing Closes #1429, #2859, and #2288 See merge request pleroma/pleroma!3678
2022-08-20Expose availability of GET /main/ostatus via instanceTusooa Zhu
2022-08-19LintTusooa Zhu
2022-08-19Disconnect streaming sessions when token is revokedTusooa Zhu
2022-08-10StatusView: implement pleroma.context fieldHélène
This field replaces the now deprecated conversation_id field, and now exposes the ActivityPub object `context` directly via the MastoAPI instead of relying on StatusNet-era data concepts.
2022-08-09StatusView: clear MSB on calculated conversation_idHélène
This field seems to be a left-over from the StatusNet era. If your application uses `pleroma.conversation_id`: this field is deprecated. It is currently stubbed instead by doing a CRC32 of the context, and clearing the MSB to avoid overflow exceptions with signed integers on the different clients using this field (Java/Kotlin code, mostly; see Husky and probably other mobile clients.) This should be removed in a future version of Pleroma. Pleroma-FE currently depends on this field, as well.
2022-08-09CommonFields: remove context_idHélène
2022-08-09Object: remove context_id fieldHélène
30 to 70% of the objects in the object table are simple JSON objects containing a single field, 'id', being the context's ID. The reason for the creation of an object per context seems to be an old relic from the StatusNet era, and has only been used nowadays as an helper for threads in Pleroma-FE via the `pleroma.conversation_id` field in status views. An object per context was created, and its numerical ID (table column) was used and stored as 'context_id' in the object and activity along with the full 'context' URI/string. This commit removes this field and stops creation of objects for each context, which will also allow incoming activities to use activity IDs as contexts, something which was not possible before, or would have been very broken under most circumstances. The `pleroma.conversation_id` field has been reimplemented in a way to maintain backwards-compatibility by calculating a CRC32 of the full context URI/string in the object, instead of relying on the row ID for the created context object.
2022-08-02Merge branch 'from/upstream-develop/tusooa/2871-fix-local-public' into 'develop'Haelwenn
local only fixes Closes #2871 See merge request pleroma/pleroma!3660
2022-07-31Use `duration` param for mute expiration durationmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-28Merge branch 'from/upstream-develop/tusooa/2384-pagination' into 'develop'Haelwenn
Make mutes and blocks behave the same as other lists Closes #2384 See merge request pleroma/pleroma!3693
2022-07-23Merge branch 'mute-expiration' into 'develop'tusooa
MastoAPI: Show mutes expiration date See merge request pleroma/pleroma!3682
2022-07-17Merge branch 'notification_types' into 'develop'tusooa
MastoAPI: Use `types` for filtering notifications See merge request pleroma/pleroma!3648
2022-07-13Merge branch 'short-description' into 'develop'tusooa
Add short_description instance field Closes #2865 See merge request pleroma/pleroma!3651
2022-07-12Make mutes and blocks behave the same as other listsTusooa Zhu
2022-07-03Merge branch 'develop' into 'from/upstream-develop/tusooa/edits'Tusooa Zhu
# Conflicts: # lib/pleroma/constants.ex
2022-07-03Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop'Haelwenn
Server announcements (1st pass) See merge request pleroma/pleroma!3643
2022-06-25Unify the logic of updating objectsTusooa Zhu
2022-06-21Add editing to featuresTusooa Zhu
2022-06-16Store mutes expiration datemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-11Show original status at the first of historyTusooa Zhu
2022-06-11Workaround with_index does not support function in Elixir 1.9Tusooa Zhu
2022-06-11Expose history and source apis to anon usersTusooa Zhu
2022-06-09Fix incorrectly cached content after editingTusooa Zhu
2022-06-08Return the corresponding object id in attachment viewTusooa Zhu
2022-06-05Return update notification in mastodon apiTusooa Zhu
2022-06-04Expose content type of status sourcesTusooa Zhu
2022-06-03Show edited_at in MastodonAPI/showTusooa Zhu
2022-05-31Implement mastodon api for editing statusTusooa Zhu
2022-05-30Implement viewing sourceTusooa Zhu
2022-05-29Implement mastodon api for showing edit historyTusooa Zhu
2022-05-06Show local-only statuses in public timeline for authenticated usersTusooa Zhu
Ref: fix-local-public
2022-04-02Restrict mastodon api announcements to logged-in users onlyTusooa Zhu
2022-03-29Add short_description fieldmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-20Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop'Haelwenn
Translate backend-rendered pages See merge request pleroma/pleroma!3634
2022-03-16Use `types` for filtering notificationsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-16Use reject_follow_requestmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-16POST /api/v1/accounts/:id/remove_from_followersmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-08Remove GET /api/v1/announcements/:idTusooa Zhu
2022-03-08Show only visible announcements in MastodonAPITusooa Zhu
2022-03-08Correct docstring for AnnouncementController.showTusooa Zhu
2022-03-08Implement POST /api/v1/announcements/:id/dismissTusooa Zhu
2022-03-08Implement GET /api/v1/announcements/:idTusooa Zhu
2022-03-08Implement announcement read relationshipsTusooa Zhu
2022-03-02Allow user to register with custom languageTusooa Zhu
2022-03-02Allow update_credentials to update User.languageTusooa Zhu