kaniini [Fri, 4 Oct 2019 18:23:33 +0000 (18:23 +0000)]
Merge branch 'chore/1.1-changelog-fixup' into 'maint/1.1'
Sync 1.1.0 changelog with develop
See merge request pleroma/pleroma!1787
rinpatch [Fri, 4 Oct 2019 18:19:17 +0000 (21:19 +0300)]
Remove entries from develop that were in the section for some reason
rinpatch [Fri, 4 Oct 2019 18:17:29 +0000 (21:17 +0300)]
Add back streaming fix entry
rinpatch [Fri, 4 Oct 2019 18:13:35 +0000 (21:13 +0300)]
Sync 1.1.0 changelog with develop
Mostly !1724 backport, but as a new commit because it was easier
this way
kaniini [Fri, 4 Oct 2019 17:39:28 +0000 (17:39 +0000)]
Merge branch 'bugfix/widen-streamer-blocks-for-1.1' into 'maint/1.1'
widen streaming API blocks (for 1.1)
See merge request pleroma/pleroma!1785
kaniini [Fri, 4 Oct 2019 17:39:20 +0000 (17:39 +0000)]
Merge branch 'backport/1.1-mastoapi-nickname-fix' into 'maint/1.1'
Backport !1777 to 1.1
See merge request pleroma/pleroma!1786
rinpatch [Thu, 3 Oct 2019 22:05:50 +0000 (01:05 +0300)]
Fix get_cached_by_nickname_or_id not allowing to get local users by
nickname
Closes #1293
Ariadne Conill [Fri, 4 Oct 2019 16:45:14 +0000 (16:45 +0000)]
tests: add missing ExUnit.CaptureLog
Ariadne Conill [Fri, 4 Oct 2019 16:15:54 +0000 (16:15 +0000)]
application: fix up after_supervisor_start removal backport
Ariadne Conill [Fri, 4 Oct 2019 15:45:06 +0000 (15:45 +0000)]
update changelog
Ariadne Conill [Fri, 4 Oct 2019 15:42:25 +0000 (15:42 +0000)]
streamer: worker: actually use should_send? consistently
Ariadne Conill [Fri, 4 Oct 2019 15:41:55 +0000 (15:41 +0000)]
streamer: worker: check for lack of intersectionality between a user's blocklist and an activity's recipientlist
Ariadne Conill [Fri, 4 Oct 2019 15:21:45 +0000 (15:21 +0000)]
streamer: add missing copyright headers
Ariadne Conill [Fri, 4 Oct 2019 15:17:32 +0000 (15:17 +0000)]
tests: streamer: add a test for blocked transitive activities
Steven Fuchs [Tue, 17 Sep 2019 14:44:52 +0000 (14:44 +0000)]
remove remaining errors from tests
Egor Kislitsyn [Mon, 16 Sep 2019 10:03:37 +0000 (17:03 +0700)]
Revert "Merge branch 'revert-
4fabf83a' into 'develop'"
This reverts commit
fe7fd331263007e0fb2877ef7370a09a9704da36, reversing
changes made to
4fabf83ad01352442906d79187aeab4c777f4df8.
rinpatch [Fri, 4 Oct 2019 13:23:01 +0000 (13:23 +0000)]
Merge branch 'remove-dynamic-config-from-1.1' into 'maint/1.1'
Remove in-db configuration references from 1.1
See merge request pleroma/pleroma!1781
rinpatch [Fri, 4 Oct 2019 12:51:48 +0000 (15:51 +0300)]
Remove in-db configuration references from 1.1
It's still too unstable to be used.
kaniini [Mon, 30 Sep 2019 16:40:46 +0000 (16:40 +0000)]
Merge branch 'chore/maint-1.1-1.1.0-rc1' into 'maint/1.1'
Pleroma 1.0.90 (aka 1.1 RC1).
See merge request pleroma/pleroma!1754
Ariadne Conill [Mon, 30 Sep 2019 16:38:34 +0000 (16:38 +0000)]
Pleroma 1.0.90 (aka 1.1 RC1).
kaniini [Mon, 30 Sep 2019 16:37:45 +0000 (16:37 +0000)]
Merge branch 'cherry-pick-compact-undos' into 'maint/1.1'
Transmogrifier: Handle compact objects in undos.
See merge request pleroma/pleroma!1753
lain [Mon, 30 Sep 2019 16:13:05 +0000 (18:13 +0200)]
Transmogrifier: Handle compact objects in undos.
rinpatch [Mon, 30 Sep 2019 16:16:22 +0000 (16:16 +0000)]
Merge branch 'cherry-pick-
7c9b023a' into 'maint/1.1'
Backport !1749 to 1.1
See merge request pleroma/pleroma!1751
kaniini [Mon, 30 Sep 2019 15:37:03 +0000 (15:37 +0000)]
Merge branch 'ci/build-otp-maint' into 'develop'
CI: Enable OTP release building for maint/* branches
See merge request pleroma/pleroma!1749
(cherry picked from commit
7c9b023a918c84b60ae6547289a083c671a3659b)
71315800 CI: Enable OTP release building for maint/* branches
kaniini [Mon, 30 Sep 2019 15:35:47 +0000 (15:35 +0000)]
Merge branch 'chore/pleroma-fe-
20190930-to-maint' into 'maint/1.1'
maint/1.1: update pleroma fe
See merge request pleroma/pleroma!1750
Ariadne Conill [Mon, 30 Sep 2019 15:34:19 +0000 (15:34 +0000)]
update pleroma fe
rinpatch [Thu, 26 Sep 2019 06:11:52 +0000 (06:11 +0000)]
Merge branch 'backport/1.1-hackney-and-outbox-fixes' into 'maint/1.1'
Backport/1.1 hackney and outbox fixes
See merge request pleroma/pleroma!1718
rinpatch [Thu, 26 Sep 2019 06:03:20 +0000 (09:03 +0300)]
Linting
rinpatch [Wed, 25 Sep 2019 13:38:45 +0000 (13:38 +0000)]
Apply suggestion to lib/pleroma/web/activity_pub/views/user_view.ex
rinpatch [Wed, 25 Sep 2019 13:36:46 +0000 (16:36 +0300)]
Credo considered harmful
rinpatch [Wed, 25 Sep 2019 13:26:47 +0000 (16:26 +0300)]
Remove useless with clause
rinpatch [Wed, 25 Sep 2019 13:20:48 +0000 (13:20 +0000)]
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
rinpatch [Wed, 25 Sep 2019 12:59:04 +0000 (15:59 +0300)]
Don't embed the first page in inboxes/outboxes and refactor the views to
follow View/Controller pattern
Note that I mentioned the change in 1.1 section because I intend to
backport this, if this is not needed I will move it back to Unreleased.
Haelwenn (lanodan) Monnier [Wed, 25 Sep 2019 21:16:35 +0000 (23:16 +0200)]
mix.lock: Bump hackney to 1.15.2
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1267
kaniini [Thu, 19 Sep 2019 19:04:44 +0000 (19:04 +0000)]
Merge branch 'update/admin-fe-stable' into 'maint/1.1'
Update AdminFE for 1.1 branch
See merge request pleroma/pleroma!1693
Mark Felder [Wed, 18 Sep 2019 18:52:11 +0000 (13:52 -0500)]
Update AdminFE for 1.1 branch
Latest build of AdminFE with Settings disabled as the feature is not stable yet
rinpatch [Tue, 17 Sep 2019 19:49:10 +0000 (19:49 +0000)]
Merge branch 'cherry-pick-
764931fc' into 'maint/1.1'
Cherry pick tesla update to 1.1
See merge request pleroma/pleroma!1687
feld [Tue, 17 Sep 2019 19:37:29 +0000 (19:37 +0000)]
Merge branch 'deps/update-tesla' into 'develop'
Update Tesla to 1.3
Closes #1262
See merge request pleroma/pleroma!1684
(cherry picked from commit
764931fc9f5eecc30c1ccb3b5bacf6338fcdf706)
8d812c28 Update Tesla to 1.3
rinpatch [Sat, 14 Sep 2019 18:14:54 +0000 (18:14 +0000)]
Merge branch 'cherry-pick-
3ae448b5' into 'maint/1.1'
Backport a test fix to 1.1
See merge request pleroma/pleroma!1671
rinpatch [Sat, 14 Sep 2019 12:36:08 +0000 (12:36 +0000)]
Merge branch 'fix-tests' into 'develop'
Fix `Activity.all_by_actor_and_id/2` test
See merge request pleroma/pleroma!1668
(cherry picked from commit
3ae448b592214b43af1d079c997c6f6b91d31aeb)
b870ae08 Fix `Activity.all_by_actor_and_id/2` test
rinpatch [Sat, 14 Sep 2019 18:14:21 +0000 (18:14 +0000)]
Merge branch 'cherry-pick-
9c64a257' into 'maint/1.1'
Backport config.md readdition to 1.1
See merge request pleroma/pleroma!1670
rinpatch [Sat, 14 Sep 2019 17:26:35 +0000 (17:26 +0000)]
Merge branch 'config-changes' into 'develop'
two separate files for config.md and generated config.md
See merge request pleroma/pleroma!1666
(cherry picked from commit
9c64a25713790fefa8b5c419aeadf55113c17073)
69faec03 markdown generation to the new file
c625fe6f config.md back
4da0da9a don't track generated_config.md
rinpatch [Sat, 14 Sep 2019 12:34:21 +0000 (12:34 +0000)]
Merge branch 'backport/fav-reblog-access-control' into 'maint/1.1'
Backport/fav reblog access control
See merge request pleroma/pleroma!1669
rinpatch [Sat, 14 Sep 2019 10:50:08 +0000 (10:50 +0000)]
Apply suggestion to test/web/mastodon_api/mastodon_api_controller_test.exs
rinpatch [Sat, 14 Sep 2019 10:46:35 +0000 (10:46 +0000)]
Apply suggestion to test/web/mastodon_api/mastodon_api_controller_test.exs
rinpatch [Fri, 13 Sep 2019 22:50:15 +0000 (01:50 +0300)]
Mastodon API: Respect post privacy in favourited/reblogged endpoints
lain [Fri, 13 Sep 2019 14:48:00 +0000 (14:48 +0000)]
Merge branch 'cleanup-activity' into 'develop'
Cleanup `Pleroma.Activity` and add more tests
See merge request pleroma/pleroma!1623
Haelwenn [Fri, 13 Sep 2019 12:46:16 +0000 (12:46 +0000)]
Merge branch 'feature/change-email' into 'develop'
Add email change endpoint
Closes #1156
See merge request pleroma/pleroma!1580
rinpatch [Fri, 13 Sep 2019 12:36:24 +0000 (12:36 +0000)]
Merge branch 'admin-config-description' into 'develop'
Admin config description
Closes #1178 and #1209
See merge request pleroma/pleroma!1611
Egor Kislitsyn [Wed, 28 Aug 2019 07:50:58 +0000 (14:50 +0700)]
Add a note about compatibility with Mastodon
Egor Kislitsyn [Fri, 13 Sep 2019 06:09:35 +0000 (13:09 +0700)]
Add email change endpoint
Egor Kislitsyn [Tue, 3 Sep 2019 14:33:02 +0000 (21:33 +0700)]
Add more tests for Pleroma.Activity
Egor Kislitsyn [Tue, 3 Sep 2019 14:58:30 +0000 (21:58 +0700)]
Cleanup Pleroma.Activity and Pleroma.Web.ActivityPub.Utils
kaniini [Fri, 13 Sep 2019 03:31:16 +0000 (03:31 +0000)]
Merge branch 'fix/admin-api-docs' into 'develop'
Fix admin api docs for creating users
See merge request pleroma/pleroma!1660
Angelina Filippova [Fri, 13 Sep 2019 03:31:16 +0000 (03:31 +0000)]
Fix admin api docs for creating users
Haelwenn [Thu, 12 Sep 2019 20:21:56 +0000 (20:21 +0000)]
Merge branch 'fix/error-log-double-quotes' into 'develop'
Fix double quotes in error logs
See merge request pleroma/pleroma!1656
Mark Felder [Thu, 12 Sep 2019 17:29:08 +0000 (12:29 -0500)]
Fix associated test as well
Mark Felder [Wed, 11 Sep 2019 21:16:09 +0000 (16:16 -0500)]
Fix double quotes in error logs
Example:
pleroma: [error] Couldn't fetch ""https://pleroma.soykaf.com/objects/
6288a14b-0623-40fc-a26a-
0d358f8a11ca"", error: nil
kaniini [Wed, 11 Sep 2019 20:47:25 +0000 (20:47 +0000)]
Merge branch 'feature/jason-view-render' into 'develop'
Use Jason for rendering responses
See merge request pleroma/pleroma!1655
rinpatch [Wed, 11 Sep 2019 20:04:01 +0000 (23:04 +0300)]
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](https://github.com/phoenixframework/phoenix/blob/
3bfb9f6e900c9a2e31cb95736e2cb5bdad329b61/lib/phoenix.ex#L58-L59)
Haelwenn [Wed, 11 Sep 2019 17:47:19 +0000 (17:47 +0000)]
Merge branch 'patch-5' into 'develop'
Mastodon API: URI encode hashtag name in generated URLs
See merge request pleroma/pleroma!1642
lain [Wed, 11 Sep 2019 11:21:03 +0000 (11:21 +0000)]
Merge branch 'fix/oom-parallel-rendering' into 'develop'
Revert "Parallelize template rendering"
See merge request pleroma/pleroma!1654
rinpatch [Tue, 10 Sep 2019 20:08:15 +0000 (23:08 +0300)]
Add extended benchmark
Alex S [Wed, 11 Sep 2019 06:32:58 +0000 (09:32 +0300)]
web_cache_ttl description
Alex S [Tue, 3 Sep 2019 17:11:32 +0000 (20:11 +0300)]
refactoring
Alex S [Tue, 3 Sep 2019 17:06:22 +0000 (20:06 +0300)]
little refactor
Alex S [Tue, 3 Sep 2019 16:22:25 +0000 (19:22 +0300)]
some changes
Alex S [Tue, 3 Sep 2019 09:32:00 +0000 (12:32 +0300)]
placeholder for config.md
Alex S [Tue, 3 Sep 2019 09:31:43 +0000 (12:31 +0300)]
little fix
Alex S [Tue, 3 Sep 2019 09:30:44 +0000 (12:30 +0300)]
bump ex_doc version
Alex S [Tue, 3 Sep 2019 08:56:21 +0000 (11:56 +0300)]
formatting
Alex S [Tue, 3 Sep 2019 06:45:54 +0000 (09:45 +0300)]
don't add behaviour to suggestions
Alexander Strizhakov [Tue, 3 Sep 2019 06:45:16 +0000 (06:45 +0000)]
Apply suggestion to config/description.exs
Alexander Strizhakov [Tue, 3 Sep 2019 06:45:02 +0000 (06:45 +0000)]
Apply suggestion to config/description.exs
Alex S [Fri, 30 Aug 2019 17:14:18 +0000 (20:14 +0300)]
little fix
Alex S [Fri, 30 Aug 2019 16:59:13 +0000 (19:59 +0300)]
typo fix
Alex S [Fri, 30 Aug 2019 16:14:01 +0000 (19:14 +0300)]
some changes
Alex S [Fri, 30 Aug 2019 11:27:55 +0000 (14:27 +0300)]
fix
Alex S [Fri, 30 Aug 2019 11:09:07 +0000 (14:09 +0300)]
changelog
Alex S [Fri, 30 Aug 2019 11:04:21 +0000 (14:04 +0300)]
expanding regex sigils to use modifiers
Alex S [Fri, 30 Aug 2019 10:22:21 +0000 (13:22 +0300)]
mix docs generates config.md
Alex S [Fri, 30 Aug 2019 10:21:48 +0000 (13:21 +0300)]
description formatters
Alex S [Fri, 30 Aug 2019 10:20:09 +0000 (13:20 +0300)]
description.exs
Alex S [Fri, 30 Aug 2019 09:00:36 +0000 (12:00 +0300)]
deleting old config.md file
rinpatch [Tue, 10 Sep 2019 19:01:45 +0000 (22:01 +0300)]
Revert "Parallelize template rendering"
This reverts commit
1ad71592adb47762287aec8c36d0fca565c38362.
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.
lain [Tue, 10 Sep 2019 18:53:41 +0000 (18:53 +0000)]
Merge branch 'fix/tests' into 'develop'
Fix tests for `Activity.all_by_ids_with_object/1`
See merge request pleroma/pleroma!1652
Egor Kislitsyn [Tue, 10 Sep 2019 18:08:37 +0000 (01:08 +0700)]
Fix `Activity.all_by_ids_with_object/1` test
lain [Tue, 10 Sep 2019 17:04:12 +0000 (17:04 +0000)]
Merge branch 'statuses-by-ids' into 'develop'
Add an endpoint to get multiple statuses by IDs
Closes #1240
See merge request pleroma/pleroma!1621
Egor Kislitsyn [Tue, 3 Sep 2019 09:58:33 +0000 (16:58 +0700)]
Add note about limit to the doc
Egor Kislitsyn [Tue, 3 Sep 2019 09:23:03 +0000 (16:23 +0700)]
Add an endpoint to get multiple statuses by IDs
feld [Mon, 9 Sep 2019 18:53:09 +0000 (18:53 +0000)]
Merge branch 'cache-plug' into 'develop'
Add Pleroma.Plugs.Cache
Closes #1174
See merge request pleroma/pleroma!1612
minibikini [Mon, 9 Sep 2019 18:53:08 +0000 (18:53 +0000)]
Add Pleroma.Plugs.Cache
feld [Mon, 9 Sep 2019 18:39:44 +0000 (18:39 +0000)]
Merge branch 'update-changelog' into 'develop'
Update CHANGELOG (add a note about !1649)
See merge request pleroma/pleroma!1650
Egor Kislitsyn [Mon, 9 Sep 2019 18:30:02 +0000 (01:30 +0700)]
Update CHANGELOG (add a note about !1649)
feld [Mon, 9 Sep 2019 18:21:29 +0000 (18:21 +0000)]
Merge branch 'fix/read-inbox' into 'develop'
Fix `ActivityPubController.read_inbox/2`
Closes #1248
See merge request pleroma/pleroma!1649
Egor Kislitsyn [Mon, 9 Sep 2019 18:11:57 +0000 (01:11 +0700)]
Fix `ActivityPubController.read_inbox/2`
shadowfacts [Sat, 7 Sep 2019 19:50:45 +0000 (19:50 +0000)]
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.
kaniini [Fri, 6 Sep 2019 23:25:30 +0000 (23:25 +0000)]
Merge branch 'chore/query-optimization' into 'develop'
chore: query optimization
Closes #1224
See merge request pleroma/pleroma!1640
Ariadne Conill [Fri, 6 Sep 2019 23:14:29 +0000 (23:14 +0000)]
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.
Ariadne Conill [Fri, 6 Sep 2019 23:11:26 +0000 (23:11 +0000)]
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.