Ivan Tashkinov
bc6d1f9ed9
[ #161 ] Refactoring, documentation.
2019-08-14 02:08:52 +00:00
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
Ariadne Conill
d5df62edd8
tests: add tests for mrf_vocabulary
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
b8186c26fa
test: add mock MRF module for describe() testing
2019-08-14 01:50:26 +00:00
Maksim
60c75d6740
#1110 fixed /api/pleroma/healthcheck
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
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
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
Sergey Suprunenko
1310cdc24f
Handle MRF rejections of incoming AP activities
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
rinpatch
2c2c075fd6
Disallow following locked accounts over OStatus
2019-07-31 20:08:59 +00:00
Ariadne Conill
59e60c6db1
ostatus: explicitly disallow protocol downgrade from activitypub
...
This closes embargoed bug #1135 .
2019-07-31 18:57:52 +00:00
Ariadne Conill
f685e887b3
transmogrifier: use User.delete() instead of handrolled user deletion code for remote users
...
Closes #1104
2019-07-28 23:09:55 +00:00
rinpatch
6a35c151c6
Fix not being able to pin unlisted posts
...
Closes #1038
2019-07-28 22:39:10 +00:00
Sachin Joshi
1e5d889aec
preserve the original path/filename (no encoding/decoding) for proxy
2019-07-28 22:37:18 +00:00
Sachin Joshi
ccafecf9be
try to always match the filename for proxy url
2019-07-28 22:36:42 +00:00
lain
ed639376ac
Mastodon Controller: Fix tests.
2019-07-28 22:33:17 +00:00
lain
8123578bf8
Status View: Poll ids are strings.
...
All ids in mastodon are strings, in general.
2019-07-28 22:33:09 +00:00
Ariadne Conill
f1147a3d7f
fix backport
2019-07-14 20:02:39 +00:00
Haelwenn (lanodan) Monnier
c51b2abead
HttpRequestMock: Add 404s on OStatus fetching for info.pleroma.site
2019-07-14 20:00:48 +00:00
Haelwenn (lanodan) Monnier
3e298cc85a
HttpRequestMock: Add missing mocks for object containment tests
2019-07-14 20:00:17 +00:00
Ariadne Conill
cdf2ff8176
nodeinfo: implement MRF transparency exclusions
2019-07-14 19:31:55 +00:00
Haelwenn (lanodan) Monnier
1c79ec2c08
FetcherTest: Containment refute called(OStatus.fetch_activity_from_url)
2019-07-14 19:30:34 +00:00
Ariadne Conill
5e9befc7d4
tests: fix object containment violations in the transmogrifier tests
...
Some objects were not completely rewritten in the tests, which caused object
containment violations. Fix them by rewriting the object IDs to be in an
appropriate namespace.
2019-07-14 19:29:15 +00:00
Ariadne Conill
6d715b7702
security: detect object containment violations at the IR level
...
It is more efficient to check for object containment violations at the IR
level instead of in the protocol handlers. OStatus containment is especially
a tricky situation, as the containment rules don't match those of IR and
ActivityPub.
Accordingly, we just always do a final containment check at the IR level
before the object is added to the IR object graph.
2019-07-14 19:28:47 +00:00
kaniini
0369a5db16
Merge branch 'idempotency-plug' into 'develop'
...
Add IdempotencyPlug and use it in all of the api
Closes #1003
See merge request pleroma/pleroma!1339
2019-06-27 04:20:17 +00:00
Alexander Strizhakov
c6705144a2
don't delete config settings on admin update
2019-06-27 04:19:44 +00:00
Egor Kislitsyn
889a9c3a3f
Polish IdempotencyPlug
2019-06-27 01:53:58 +07:00
Egor Kislitsyn
825077a5b0
Add Idempotency plug
2019-06-26 18:36:58 +07:00
Sergey Suprunenko
d53fb55bb7
Return correct response when reply to a direct message is not direct itself
2019-06-26 10:59:27 +00:00
Maksim Pechnikov
4ad15ad2a9
add ignore hosts and TLDs for rich_media
2019-06-25 22:25:37 +03:00
Maksim Pechnikov
0cb8e710fb
add test
2019-06-25 18:06:08 +03:00
Maksim
a0c4ebb4d7
[ #184 ] small refactoring reset password
2019-06-24 19:01:56 +00:00
Sergey Suprunenko
2c63c67512
Rework user deletion
2019-06-24 18:59:12 +00:00
Eugenij
f2c03425b0
Broadcast conversation update when DM is deleted
2019-06-24 07:14:04 +00:00
kaniini
27b9605de0
Merge branch 'rich_media_titles_two' into 'develop'
...
Rich media titles two
See merge request pleroma/pleroma!1325
2019-06-23 05:43:11 +00:00
Alex S
b37ede5df3
log capturing
2019-06-23 08:16:28 +03:00
Alex S
982cad0268
support for config groups
2019-06-23 08:16:16 +03:00
Alex S
410add1c30
support for tuples with more than 2 values
2019-06-22 17:30:53 +03:00
lain
0e415921cd
Rich Media Parser: Do not return just a title if nothing else is there.
2019-06-22 16:22:59 +02:00
lain
58c4d5312b
Revert "Revert "Merge branch 'fix/ogp-title' into 'develop'""
...
This reverts commit b6af80f769
.
2019-06-22 15:12:57 +02:00