Commit Graph

5767 Commits

Author SHA1 Message Date
Ivan Tashkinov
1a46a13d15 [#161] Limited replies depth on incoming federation in order to prevent memory leaks on recursive replies fetching. 2019-08-14 02:08:52 +00:00
Ivan Tashkinov
e652f83e5a Apply suggestion to docs/config.md 2019-08-14 02:08:52 +00:00
Ariadne Conill
606ccbab03 update changelog to cover MRF describe API. 2019-08-14 01:50:26 +00:00
Ariadne Conill
4681747ec1 docs tweak 2019-08-14 01:50:26 +00:00
Ariadne Conill
c7a3a15c3d mrf_vocabulary: add describe API support 2019-08-14 01:50:26 +00:00
Ariadne Conill
b3afc0bb32 update changelog for mrf_vocabulary 2019-08-14 01:50:26 +00:00
Ariadne Conill
d5df62edd8 tests: add tests for mrf_vocabulary 2019-08-14 01:50:26 +00:00
Ariadne Conill
7a5e1d64a5 docs: document mrf_vocabulary module settings 2019-08-14 01:50:26 +00:00
Ariadne Conill
eed36278a6 MRF: add vocabulary policy module 2019-08-14 01:50:26 +00:00
Ariadne Conill
fb77dc50aa fix credo 2019-08-14 01:50:26 +00:00
Ariadne Conill
3af51afdd7 tests: fix up nodeinfo tests 2019-08-14 01:50:26 +00:00
Ariadne Conill
c9468c9a59 tests: add tests for MRF.describe() 2019-08-14 01:50:26 +00:00
Ariadne Conill
4ccd3410a8 nodeinfo: use MRF.describe() instead of hardcoded MRF transparency stuff 2019-08-14 01:50:26 +00:00
Ariadne Conill
7e2bc39f3c MRF: add describe() to all modules, add base MRF configuration to base describe() 2019-08-14 01:50:26 +00:00
Ariadne Conill
b8186c26fa test: add mock MRF module for describe() testing 2019-08-14 01:50:26 +00:00
Ariadne Conill
e13edc2d3b MRF: add describe() for gathering and describing the MRF configuration 2019-08-14 01:50:26 +00:00
Ariadne Conill
29db8dc799 config: remove legacy activitypub accept_blocks setting
Anyone who is interested in dropping blocks can write their own MRF
policy at this point.  This setting predated the MRF framework.

Disabling the side effect (unsubscription) is still a config option
per policy.
2019-08-14 01:50:26 +00:00
Ariadne Conill
54405919d8 changelog updates 2019-08-14 01:50:26 +00:00
rinpatch
5af3c00072 Do not fetch the reply object in fix_type unless the object has the
`name` key and use a depth limit when fetching it
2019-08-14 01:50:22 +00:00
Maksim
60c75d6740 #1110 fixed /api/pleroma/healthcheck 2019-08-14 01:50:22 +00:00
Ariadne Conill
14efbcf1f9 add removed section to changelog 2019-08-14 01:50:22 +00:00
Ariadne Conill
4d0dd04653 MRF: ensure that subdomain_match calls are case-insensitive 2019-08-14 01:50:22 +00:00
Sergey Suprunenko
25c818ed6f Redirect not logged-in users to the MastoFE login page on private instances 2019-08-14 01:50:22 +00:00
Ariadne Conill
f7028ae8ac tests: mastodon account views: add missing CommonAPI alias 2019-08-14 01:50:22 +00:00
Sergey Suprunenko
48bd4ee933 Strip internal fields including likes from incoming and outgoing activities 2019-08-14 01:50:22 +00:00
rinpatch
7e412fd88a Do not rembed the object after updating it 2019-08-14 01:50:22 +00:00
rinpatch
f0c32364b7 OStatus tests: stop relying on embedded objects 2019-08-14 01:50:22 +00:00
rinpatch
e5161961bd ActivityPub tests: remove assertions of embedded object being updated,
because the objects are no longer supposed to be embedded
2019-08-14 01:50:22 +00:00
rinpatch
1807d3a115 OStatus Announce Representer: Do not depend on the object being embedded
in the Create activity
2019-08-14 01:50:21 +00:00
rinpatch
b85840b536 Stop depending on the embedded object in restrict_favorited_by 2019-08-14 01:50:21 +00:00
Ariadne Conill
a7b947534c chase changelog updates 2019-08-14 01:50:21 +00:00
Alexander Strizhakov
b9def3758a Feature/1087 wildcard option for blocks 2019-08-14 01:50:21 +00:00
Sachin Joshi
e08b97853f add listener port and ip option for 'pleroma.instance gen' and enable its test 2019-08-14 01:50:21 +00:00
Ariadne Conill
8a8fe57670 tasks: relay: add list task 2019-08-14 01:50:21 +00:00
Sergey Suprunenko
1310cdc24f Handle MRF rejections of incoming AP activities 2019-08-14 01:50:21 +00:00
Haelwenn (lanodan) Monnier
54d4ceec5c tasks/pleroma/user.ex: Fix documentation of --max-use and --expire-at
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1155

[ci skip]
2019-08-14 01:50:21 +00:00
Haelwenn (lanodan) Monnier
f270e33208 tasks/pleroma/instance.ex: Change :upload_dir to :uploads_dir
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1058
2019-08-14 01:50:21 +00:00
Ariadne Conill
d2c3c64da5 update changelog for lanodan's change 2019-08-14 01:50:21 +00:00
Haelwenn (lanodan) Monnier
65bd927cf2 templates/layout/app.html.eex: Style anchors
[ci skip]
2019-08-14 01:50:21 +00:00
Ariadne Conill
951d8c28d1 update changelog for thibg's change 2019-08-14 01:50:21 +00:00
Thibaut Girka
a3654d9479 Return profile URL in MastodonAPI's url field 2019-08-14 01:50:21 +00:00
Thibaut Girka
b29dcc8c1b Simplify logic to mention.js url field
`User.profile_url` already fallbacks to ap_id
2019-08-14 01:50:21 +00:00
Thibaut Girka
6525fbac95 Return profile URL when available instead of actor URI for MastodonAPI mention URL
Fixes #1165
2019-08-14 01:50:21 +00:00
rinpatch
ba21d515d6 Mastodon API: Fix thread mute detection
It was calling CommonAPI.thread_muted? with post author's account
instead of viewer's one.
2019-08-14 01:50:21 +00:00
rinpatch
dcd30e3ceb Mastodon API: Set follower/following counters to 0 when hiding
followers/following is enabled

We are already doing that in AP representation, so I think we should do
it here as well for consistency.
2019-08-14 01:50:21 +00:00
kaniini
9c499435f0 Merge branch 'release/1.0.4' into 'master'
1.0.4 release

See merge request pleroma/pleroma!1519
2019-08-01 16:41:09 +00:00
Ariadne Conill
455f2934b7 mix: update version to 1.0.4 2019-08-01 16:39:59 +00:00
rinpatch
8998620d71 Fix Invalid SemVer version generation
when the current branch does not have commits ahead of tag/checked out on a tag
2019-08-01 16:39:50 +00:00
kaniini
0eff6349a0 Merge branch 'release/1.0.3' into 'master'
1.0.3 release

See merge request pleroma/pleroma!1514
2019-07-31 20:27:09 +00:00
Ariadne Conill
2536628cac mix: update version to 1.0.3 2019-07-31 20:16:12 +00:00