aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/common_api
AgeCommit message (Collapse)Author
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-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-06-08Return the corresponding object id in attachment viewTusooa Zhu
2022-06-04Expose content type of status sourcesTusooa Zhu
2022-02-25Copyright bump for 2022Sean King
2022-02-06Max media attachment countmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-14Merge branch 'builder-note' into 'develop'Haelwenn
CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1 See merge request pleroma/pleroma!3511
2021-08-14Builder.note/1: return {:ok, map(), keyword()} like other Builder functionsAlex Gleason
2021-08-14CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1Alex Gleason
2021-08-11maybe_notify_subscribers: Don't create notifications from ingested messagesHaelwenn (lanodan) Monnier
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-01Merge remote-tracking branch 'pleroma/develop' into cycles-constantsAlex Gleason
2021-05-31Pleroma.Constants.as_local_public/0 --> ↵Alex Gleason
Pleroma.Web.ActivityPub.Utils.as_local_public/0 Move as_local_public/0 to stop making modules depend on Web at compile-time
2021-04-30Merge remote-tracking branch 'upstream/develop' into earmarkAlex Gleason
2021-04-30Remove Pleroma.Formatter.minify/2Alex Gleason
2021-03-22Copy emoji in the subject from parent postrinpatch
Sometimes people put emoji in the subject, which results in the subject looking broken if someone replies to it from a server that does not have the said emoji under the same shortcode. This patch solves the problem by extending the emoji set available in the summary to that of the parent post.
2021-03-19Merge branch 'fix/remove_auto_nsfw' into 'develop'rinpatch
Remove sensitive setting #nsfw See merge request pleroma/pleroma!3223
2021-03-01Store application details in the object under the generator key, not ↵Mark Felder
application key
2021-02-27Remove sensitive-property setting #nsfw, create HashtagPolicyHaelwenn (lanodan) Monnier
2021-02-09Ensure we capture the application details into the objectMark Felder
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2021-01-04Object: Rework how Object.normalize workslain
Now it defaults to not fetching, and the option is named.
2020-12-28Revert "Merge branch 'features/hashtag-column' into 'develop'"Haelwenn
This reverts merge request !2824
2020-12-22Insert text representation of hashtags into object["hashtags"]Haelwenn (lanodan) Monnier
Includes a new mix task: pleroma.database fill_old_hashtags
2020-12-11Refactor Earmark code, fix testsAlex Gleason
2020-12-11Upgrade Earmark to v1.4.10Alex Gleason
2020-11-11Fix formattingEgor Kislitsyn
2020-11-11Add `local` visibilityEgor Kislitsyn
2020-10-27Merge branch 'develop' into 'feature/local-only-scope'minibikini
# Conflicts: # CHANGELOG.md
2020-10-15Add Pleroma.Constants.as_local_public/0Egor Kislitsyn
2020-10-15Add local-only statusesEgor Kislitsyn
2020-10-13Merge branch 'develop' into chore/elixir-1.11Mark Felder
2020-10-13alias alphabetically orderAlexander Strizhakov
2020-10-13AuthenticationPlug module nameAlexander Strizhakov
2020-10-13other files consistencyAlexander Strizhakov
2020-10-07Fix duplicate @doc entriesMark Felder
2020-09-17Fix MRF reject for ChatMessageHaelwenn (lanodan) Monnier
2020-09-11Merge remote-tracking branch 'upstream/develop' into chat-moderationAlex Gleason
2020-09-11MastodonAPI.StatusView.get_user/1 --> CommonAPI.get_user/1Alex Gleason
2020-09-10schedule activity expiration in ObanAlexander Strizhakov
2020-08-31Notification: Small refactor.lain
2020-08-28marks notifications as read after muteMaksim Pechnikov
2020-08-17Make notifications about new statuses from muted threads readSergey Suprunenko
2020-08-12ActivityPub: Remove `reject`, move everything to the Pipeline.lain
2020-08-11ActivityPub: Remove ActivityPub.acceptlain
Switch to the pipeline in CommonAPI and SideEffects
2020-07-15SideEffects: port ones from ActivityPub.do_create and ActivityPub.insertHaelwenn (lanodan) Monnier
2020-07-15Fix multiple-choice poll detectionHaelwenn (lanodan) Monnier
2020-07-09Use the Pleroma.Config aliasMark Felder