Maksim Pechnikov
b4cf74c106
added prepare html for RichMedia.Parser
4 vuotta sitten
rinpatch
5c5ebd3861
Mastodon API: Respect post privacy in favourited/reblogged endpoints
4 vuotta sitten
rinpatch
ac4a748fad
Disallow NULLs in deliveries
4 vuotta sitten
Alex S
69faec031d
markdown generation to the new file
4 vuotta sitten
rinpatch
8900cb68ae
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
4 vuotta sitten
rinpatch
05f8a066a1
Apply suggestion to lib/pleroma/delivery.ex
4 vuotta sitten
rinpatch
2784962dba
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
4 vuotta sitten
rinpatch
3896a51b8a
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
4 vuotta sitten
rinpatch
5170170483
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
4 vuotta sitten
rinpatch
fb96facc32
Remove unused functions and fix credo issues
4 vuotta sitten
rinpatch
ce23529d91
Use delivery info when federating deletes
4 vuotta sitten
Egor Kislitsyn
25d8216804
Add email change endpoint
4 vuotta sitten
Egor Kislitsyn
39dc9b470c
Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.Utils
4 vuotta sitten
rinpatch
b0e6058021
Parse http signature for request to objects/activities
4 vuotta sitten
rinpatch
dabc4a00f5
Put the cache with the right key when using a tracking function
4 vuotta sitten
rinpatch
769fb778d4
Track object/create activity fetches
4 vuotta sitten
Mark Felder
74e4c72c4a
Fix double quotes in error logs
Example:
pleroma: [error] Couldn't fetch ""https://pleroma.soykaf.com/objects/6288a14b-0623-40fc-a26a-0d358f8a11ca "", error: nil
4 vuotta sitten
rinpatch
56828abf6d
Use Jason for rendering responses
Although Jason readme says Phoenix 1.4+ already does it by default, [it actually does it only for new projects](3bfb9f6e90/lib/phoenix.ex (L58-L59))
4 vuotta sitten
rinpatch
5a76d5d239
Add extended benchmark
4 vuotta sitten
Alex S
38b29779c3
refactoring
4 vuotta sitten
Alex S
be32d90a0c
little refactor
4 vuotta sitten
Alex S
5ff12e7df1
some changes
4 vuotta sitten
Alex S
57dc59d98d
little fix
4 vuotta sitten
Alex S
35757b6d0e
don't add behaviour to suggestions
4 vuotta sitten
Alex S
0624e06a9c
little fix
4 vuotta sitten
Alex S
8f5ee7db06
typo fix
4 vuotta sitten
Alex S
6721301086
some changes
4 vuotta sitten
Alex S
0559c82bdb
fix
4 vuotta sitten
Alex S
a1f2dfb10a
expanding regex sigils to use modifiers
4 vuotta sitten
Alex S
511d93fa54
mix docs generates config.md
4 vuotta sitten
Alex S
67e4300931
description formatters
4 vuotta sitten
rinpatch
43f02dfe38
Revert "Parallelize template rendering"
This reverts commit 1ad71592ad
.
Since it had no limit on the number on concurrent processes it OOM killed
instances while rendering hellthreads. When I tried introducing a
concurrency limit with Task.async_stream/manual folds it lead to about 3 times
worse performance on threads larger than 1000 activities (we are talking
30s vs 1.2 minutes), I think this is not worth the about 1.5 times
performance increase on smaller threads when using it.
4 vuotta sitten
Egor Kislitsyn
b40b10b53d
Add an endpoint to get multiple statuses by IDs
4 vuotta sitten
minibikini
11e12b5761
Add Pleroma.Plugs.Cache
4 vuotta sitten
Egor Kislitsyn
e0f84d0043
Fix `ActivityPubController.read_inbox/2`
4 vuotta sitten
shadowfacts
e5c6bf3673
Mastodon API: URI encode hashtag name in generated URLs
Otherwise hashtags with word characters other than those allowed in URLs (e.g. Japanese characters) produce hashtag URLs that are invalid.
4 vuotta sitten
Ariadne Conill
40a61532ca
activity: when restricting deactivated users, precalculate the user list
the PostgreSQL query planner is easily confused due to the complexity of
certain queries we make. while we plan to simplify these queries through
unification of activities and objects, we are not yet there. it has been
discovered that using a precalculated list of deactivated users encourages
the query planner to prefer simpler indices instead of the
activity_visibility index.
accordingly, drop the subquery and precalc the user list instead.
4 vuotta sitten
Ariadne Conill
5effb2cbca
activitypub: help ecto build a better query for thread mute filtering
using an indexed value in thread_mute table helps ecto build a better query.
4 vuotta sitten
Egor Kislitsyn
40b3289c26
Refactor `add_link_headers/7` -> `add_link_headers/3`
4 vuotta sitten
rinpatch
3523bdcf26
Call TrailingFormatPlug for /api/pleroma/emoji
Apparently Pleroma-FE still calls it with trailing '.json'
4 vuotta sitten
rinpatch
26fe6f70c9
Move checking for restrict_local to User.get_cached_by_id_or_nickname
4 vuotta sitten
rinpatch
b312ca3d52
Mastodon API Poll view: Fix handling of polls without an end date
4 vuotta sitten
rinpatch
558969a0fd
Do not crash if one notification failed to render
4 vuotta sitten
Sadposter
cb99cfcc65
don't try to truncate non-strings
4 vuotta sitten
Sadposter
2975da284b
truncate remote user bio/display name
4 vuotta sitten
rinpatch
3face45467
Mastodon API: Add `pleroma.thread_muted` to Status entity
Needed for pleroma-fe!941
4 vuotta sitten
rinpatch
7c3838090f
Apply suggestion to lib/pleroma/notification.ex
4 vuotta sitten
rinpatch
c2b6c1b089
Extend `/api/pleroma/notifications/read` to mark multiple notifications
as read and make it respond with Mastoapi entities
4 vuotta sitten
rinpatch
cc1d1ee406
Mastdon API: Add ability to get a remote account by nickname to
`/api/v1/accounts/:id`
4 vuotta sitten
Maxim Filippov
b15cfd80ef
Return "total" optionally
4 vuotta sitten