Commit Graph

8365 Commits

Author SHA1 Message Date
Alex S
0624e06a9c little fix 2019-09-11 09:25:33 +03:00
Alex S
8f5ee7db06 typo fix 2019-09-11 09:25:33 +03:00
Alex S
6721301086 some changes 2019-09-11 09:25:33 +03:00
Alex S
0559c82bdb fix 2019-09-11 09:25:33 +03:00
Alex S
68e45a327f changelog 2019-09-11 09:25:33 +03:00
Alex S
a1f2dfb10a expanding regex sigils to use modifiers 2019-09-11 09:25:33 +03:00
Alex S
511d93fa54 mix docs generates config.md 2019-09-11 09:25:33 +03:00
Alex S
67e4300931 description formatters 2019-09-11 09:25:33 +03:00
Alex S
171cefd889 description.exs 2019-09-11 09:25:33 +03:00
Alex S
ab4960cc7f deleting old config.md file 2019-09-11 09:25:33 +03:00
Maksim Pechnikov
fcf604fa43 added tests 2019-09-11 07:23:33 +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
Maksim Pechnikov
a31af93e1d added tests /activity_pub/transmogrifier.ex 2019-09-10 16:43:10 +03: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
Maxim Filippov
d1abf7a358 Merge branch 'develop' into feature/moderation-log-filters 2019-09-10 01:23:20 +03: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
Ivan Tashkinov
b63faf9819 [#1234] Mastodon 2.4.3 hierarchical scopes initial support (WIP). 2019-09-08 15:00:03 +03:00
Ivan Tashkinov
c3f00447af Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue 2019-09-08 08:41:10 +03: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
Maksim Pechnikov
8c6cdff3cc Merge branch 'develop' into issue/1218 2019-09-07 22:17:32 +03:00
Maksim Pechnikov
39f99dc6cd Merge branch 'develop' into support/tests 2019-09-07 22:13:43 +03: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
Maksim Pechnikov
ab2f21e470 tests for mastodon_api_controller.ex 2019-09-06 21:50:00 +03:00
Alex S
b3f6f6a409 generating remote users 2019-09-06 20:14:02 +03: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
Alex S
252e5db45c docs fixes 2019-09-06 16:37:18 +03:00
Maksim Pechnikov
eb74c3d5c7 Merge branch 'develop' into issue/1218 2019-09-06 14:01:07 +03:00
Ivan Tashkinov
ca1ba1e272 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
# Conflicts:
#	test/web/twitter_api/twitter_api_controller_test.exs
2019-09-06 13:26:05 +03:00
Egor Kislitsyn
40b3289c26 Refactor add_link_headers/7 -> add_link_headers/3 2019-09-06 17:08:47 +07: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
Maxim Filippov
736165c082 Reverse reports list 2019-09-05 16:54:34 +03:00
Alex S
a1125bd564 generatoin and fetching 2019-09-05 16:02:20 +03:00
Alex S
79dde58044 one more temp commit 2019-09-05 16:02:20 +03:00
Alex S
db690bede9 temp commit 2019-09-05 16:02:20 +03:00