Egor Kislitsyn
7b5c81b391
Add a note about compatibility with Mastodon
2019-09-13 13:09:37 +07:00
Egor Kislitsyn
25d8216804
Add email change endpoint
2019-09-13 13:09:35 +07:00
kaniini
5ca643b80d
Merge branch 'fix/admin-api-docs' into 'develop'
...
Fix admin api docs for creating users
See merge request pleroma/pleroma!1660
2019-09-13 03:31:16 +00:00
Angelina Filippova
528a88a686
Fix admin api docs for creating users
2019-09-13 03:31:16 +00:00
Haelwenn
51609217c2
Merge branch 'fix/error-log-double-quotes' into 'develop'
...
Fix double quotes in error logs
See merge request pleroma/pleroma!1656
2019-09-12 20:21:56 +00:00
Mark Felder
102eb4455c
Fix associated test as well
2019-09-12 12:29:08 -05:00
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
2019-09-11 16:16:09 -05:00
kaniini
50269e9cac
Merge branch 'feature/jason-view-render' into 'develop'
...
Use Jason for rendering responses
See merge request pleroma/pleroma!1655
2019-09-11 20:47:25 +00:00
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)
)
2019-09-11 23:06:31 +03:00
Haelwenn
46ae62d159
Merge branch 'patch-5' into 'develop'
...
Mastodon API: URI encode hashtag name in generated URLs
See merge request pleroma/pleroma!1642
2019-09-11 17:47:19 +00:00
lain
fb7332aec7
Merge branch 'fix/oom-parallel-rendering' into 'develop'
...
Revert "Parallelize template rendering"
See merge request pleroma/pleroma!1654
2019-09-11 11:21:03 +00:00
rinpatch
5a76d5d239
Add extended benchmark
2019-09-11 11:13:17 +03:00
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.
2019-09-10 22:01:45 +03:00
lain
69800055f1
Merge branch 'fix/tests' into 'develop'
...
Fix tests for `Activity.all_by_ids_with_object/1`
See merge request pleroma/pleroma!1652
2019-09-10 18:53:41 +00:00
Egor Kislitsyn
3d12e05f43
Fix `Activity.all_by_ids_with_object/1` test
2019-09-11 01:08:37 +07:00
lain
d8b76c79f2
Merge branch 'statuses-by-ids' into 'develop'
...
Add an endpoint to get multiple statuses by IDs
Closes #1240
See merge request pleroma/pleroma!1621
2019-09-10 17:04:12 +00:00
Egor Kislitsyn
30f0cec49a
Add note about limit to the doc
2019-09-10 13:39:45 +07:00
Egor Kislitsyn
b40b10b53d
Add an endpoint to get multiple statuses by IDs
2019-09-10 13:39:45 +07:00
feld
ceb2e09126
Merge branch 'cache-plug' into 'develop'
...
Add Pleroma.Plugs.Cache
Closes #1174
See merge request pleroma/pleroma!1612
2019-09-09 18:53:09 +00:00
minibikini
11e12b5761
Add Pleroma.Plugs.Cache
2019-09-09 18:53:08 +00:00
feld
bce16f4557
Merge branch 'update-changelog' into 'develop'
...
Update CHANGELOG (add a note about !1649 )
See merge request pleroma/pleroma!1650
2019-09-09 18:39:44 +00:00
Egor Kislitsyn
e34de00052
Update CHANGELOG (add a note about !1649 )
2019-09-10 01:30:02 +07:00
feld
edbaf78176
Merge branch 'fix/read-inbox' into 'develop'
...
Fix `ActivityPubController.read_inbox/2`
Closes #1248
See merge request pleroma/pleroma!1649
2019-09-09 18:21:29 +00:00
Egor Kislitsyn
e0f84d0043
Fix `ActivityPubController.read_inbox/2`
2019-09-10 01:11:57 +07:00
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.
2019-09-07 19:50:45 +00:00
kaniini
c45013df8e
Merge branch 'chore/query-optimization' into 'develop'
...
chore: query optimization
Closes #1224
See merge request pleroma/pleroma!1640
2019-09-06 23:25:30 +00:00
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.
2019-09-06 23:14:29 +00:00
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.
2019-09-06 23:11:26 +00:00
rinpatch
130bc8e0d5
Merge branch 'chore/changelog-prioritize-twitterapi-removal' into 'develop'
...
Prioritize the removal of TwitterAPI and :accept_blocks in the changelog
See merge request pleroma/pleroma!1638
2019-09-06 15:29:03 +00:00
rinpatch
f92dc82dda
Prioritize the removal of TwitterAPI and :accept_blocks in the changelog
2019-09-06 18:28:01 +03:00
rinpatch
896ffabe37
Merge branch 'so-long-twitterapi' into 'develop'
...
Removing TwitterAPI
See merge request pleroma/pleroma!1605
2019-09-06 08:43:38 +00:00
rinpatch
d0e0f2380d
Merge branch 'update-frontend-e75ac9dd' into 'develop'
...
Update frontend bundle to e75ac9dd
See merge request pleroma/pleroma!1635
2019-09-06 08:41:30 +00:00
rinpatch
16e6be340d
Update frontend bundle to e75ac9dd
2019-09-06 11:31:44 +03:00
rinpatch
592ce8a74f
Merge branch 'hotifx/emoji-trailing' into 'develop'
...
Call TrailingFormatPlug for /api/pleroma/emoji
See merge request pleroma/pleroma!1634
2019-09-05 19:23:52 +00:00
rinpatch
3523bdcf26
Call TrailingFormatPlug for /api/pleroma/emoji
...
Apparently Pleroma-FE still calls it with trailing '.json'
2019-09-05 22:21:20 +03:00
Haelwenn
fe7cf44c40
Merge branch 'feature/mastoapi-accounts-external' into 'develop'
...
Mastdon API: Add ability to get a remote account by nickname to `/api/v1/accounts/:id`
See merge request pleroma/pleroma!1622
2019-09-05 12:48:27 +00:00
rinpatch
26fe6f70c9
Move checking for restrict_local to User.get_cached_by_id_or_nickname
2019-09-05 15:39:10 +03:00
rinpatch
9d4fc9aa35
Merge branch 'fix/endless-poll-handling' into 'develop'
...
Mastodon API Poll view: Fix handling of polls without an end date
See merge request pleroma/pleroma!1631
2019-09-05 09:11:16 +00:00
rinpatch
b312ca3d52
Mastodon API Poll view: Fix handling of polls without an end date
2019-09-05 12:03:39 +03:00
rinpatch
3e30f6e198
Merge branch 'fix/safe-render-notifications' into 'develop'
...
Do not crash if one notification failed to render
See merge request pleroma/pleroma!1630
2019-09-05 05:47:06 +00:00
rinpatch
558969a0fd
Do not crash if one notification failed to render
2019-09-05 08:32:49 +03:00
rinpatch
3b8d64ee24
Merge branch 'dockerfile-touchups' into 'develop'
...
Update Dockerfile + some touchups to docker.exs
See merge request pleroma/pleroma!1624
2019-09-04 20:22:41 +00:00
Ashlynn Anderson
053b17f57e
Switch to alpine:3.9 to avoid dlsym errors
2019-09-04 14:56:26 -04:00
Haelwenn
e72531bfac
Merge branch 'feat/mastoapi-status-threadmuted' into 'develop'
...
Mastodon API: Add `pleroma.thread_muted` to Status entity
See merge request pleroma/pleroma!1626
2019-09-04 11:26:34 +00:00
rinpatch
3face45467
Mastodon API: Add `pleroma.thread_muted` to Status entity
...
Needed for pleroma-fe!941
2019-09-04 14:17:23 +03:00
Haelwenn
e54694748b
Merge branch 'feature/mastoapi-read-notifications' into 'develop'
...
Extend `/api/pleroma/notifications/read` to mark multiple notifications as read and make it respond with Mastoapi entities
See merge request pleroma/pleroma!1625
2019-09-04 10:46:49 +00:00
rinpatch
328b2612cd
Clarify that read notifications are returned
2019-09-04 13:39:39 +03:00
rinpatch
377aa9fb90
Apply suggestion to docs/api/pleroma_api.md
2019-09-04 10:37:43 +00:00
rinpatch
7c3838090f
Apply suggestion to lib/pleroma/notification.ex
2019-09-04 10:14:15 +00:00
rinpatch
c2b6c1b089
Extend `/api/pleroma/notifications/read` to mark multiple notifications
...
as read and make it respond with Mastoapi entities
2019-09-04 12:38:27 +03:00