lain
8b9a0dd4a7
User: Don't error out when following a user that's already followed.
...
This leads to a few situations where it is impossible to follow a user.
5 years ago
Egor Kislitsyn
9ce928d823
Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
rinpatch
026b245dbc
Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
rinpatch
65db5e9f52
Resolve merge conflicts
5 years ago
Sergey Suprunenko
2bbc2a801f
Remove all follower collections but actor's from "cc"
5 years ago
rinpatch
a9eaa55885
Fix fix_explicit_addressing moving follower collection to cc and add tests for it
5 years ago
rinpatch
19c90d47c4
Normalize poll votes to Answer objects
5 years ago
rinpatch
aafe30d94e
Handle poll votes
5 years ago
rinpatch
62e42b03ab
Handle incoming Question objects
5 years ago
Egor Kislitsyn
d474995efa
Add Tests
5 years ago
Alex S
f11e7037c2
test fixes
5 years ago
William Pitcock
0fd0ffcd76
activitypub: transmogrifier: send reject follow if following does not succeed
5 years ago
Egor
b9cdf6d3b9
Use `User.get_cached*` everywhere
6 years ago
Ekaterina Vaartis
aef3a3ca46
Fix tests that used finmoji
6 years ago
rinpatch
35ac672b8d
Remove containment tests from transmogrifier and fix thread visibility solver
6 years ago
rinpatch
d1eb578a57
Refactor tests that used ActivityPub.fetch_object_from_id
6 years ago
rinpatch
ff8d76c670
Refactor all tests that acessed the embeded object
6 years ago
rinpatch
627e5a0a49
Merge branch 'develop' into feature/database-compaction
6 years ago
rinpatch
5d73dca064
Remove inReplyToStatusId
6 years ago
Egor Kislitsyn
cfa6e7289f
Improve Transmogrifier.upgrade_user_from_ap_id/2
6 years ago
Egor Kislitsyn
11c2d6bdc4
change `Repo.get(Activity, id)` => `Activity.get_by_id(id)` in tests
6 years ago
Egor Kislitsyn
1b3d921921
change `Repo.get(User, id)` => `User.get_by_id(id)`
6 years ago
William Pitcock
455bb526f6
test: add test for list sanitization
6 years ago
William Pitcock
fd0aa58ee0
tests: add test for as:Public issues
6 years ago
William Pitcock
414d4b8088
test: add a test for accepting inbound Flag activities
6 years ago
Haelwenn (lanodan) Monnier
a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
William Pitcock
889ad95a2a
tests: add some reserialization tests based on IR differences
6 years ago
lain
2de208817c
Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
lain
762fafe738
Fix buggy test.
6 years ago
Haelwenn (lanodan) Monnier
98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
William Pitcock
cf3099231d
test: transmogrifier: verify directMessage flag is sent outbound based on declared visibility
6 years ago
William Pitcock
21ac35fcc0
tests: add tests for DM sanitizer
6 years ago
William Pitcock
31517bec12
test: add regression test for to/cc clobbering
6 years ago
sxsdv1
868034375c
Add likes to activitypub object representation
...
Top level of the likes OrderedCollection is inlined to get immediate
access to totalItems. Because the count can be returned without scanning
the database for like activities the extra query is saved when the
client only wants to display the total.
6 years ago
sxsdv1
1eb7318831
Prepare all types objects before serialising
...
Activities returned from inbox can include other types of objects like
Article
6 years ago
William Pitcock
3c08d229db
tests: add legal boilerplate
6 years ago
William Pitcock
71f6d9f418
transmogrifier: significantly rework handling of peertube videos, add test
6 years ago
Maksim Pechnikov
89b3729afa
fix warnings
6 years ago
Maksim Pechnikov
dd8aee332c
formatting the code
6 years ago
Maksim Pechnikov
a9e4a97586
update test
6 years ago
Maksim Pechnikov
80bfdb4e7d
update test
6 years ago
William Pitcock
f85949cc69
object: factor out fetching functions into Pleroma.Object.Fetcher module
6 years ago
William Pitcock
e8caecb5c7
object: move object containment out of transmogrifier into it's own module
6 years ago
William Pitcock
4ca4c83871
tests: fix most remaining failures
6 years ago
lain
badbe2656c
More fixes.
6 years ago
William Pitcock
dfcfb184b1
activitypub: transmogrifier: make deletes secure
6 years ago
William Pitcock
55640c4804
tests: add a test to verify the general fake direction protection works in all cases
6 years ago
William Pitcock
dc1d8e13b4
tests: add a testcase for user collision
6 years ago
William Pitcock
1a940cb46e
tests: add tests for contain_origin_from_id()
6 years ago
William Pitcock
b483ae0a72
tests: add a second spoofing variant
6 years ago
William Pitcock
9c8adfb6ef
test: fix more test defects
6 years ago
William Pitcock
d9cb081f07
tests: add additional spoofing tests
6 years ago
William Pitcock
2ab8e28728
transmogrifier tests: fix defective spoofing test
6 years ago
William Pitcock
69b8c0e299
tests: add test for internal data stripping
6 years ago
kaniini
99a8ef967e
Merge branch 'tests/prismo-url-map' into 'develop'
...
Test that prismo url-map transforms into a string
See merge request pleroma/pleroma!414
6 years ago
lain
34bd411781
Unify json ld header handling.
6 years ago
Haelwenn (lanodan) Monnier
c5f26f3ce2
Test that prismo url-map transforms into a string
6 years ago
William Pitcock
d830a243a3
transmogrifier: more robustly handle dereferencing pointer URIs
6 years ago
Haelwenn (lanodan) Monnier
eebe33e86a
transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor
6 years ago
Haelwenn (lanodan) Monnier
2c820e10b8
transmogrifier_test: incoming notices with tag not being an array (kroeg)
6 years ago
William Pitcock
303af9ba4c
tests: add regression tests
6 years ago
William Pitcock
bc36d40bee
tests: add a testcase for verifying that objects without a valid ID are always rejected
6 years ago
William Pitcock
7fbcd4caaf
test: add kroeg fixtures
6 years ago
lambda
be800d7936
Merge branch 'bugfix/block-follow-relationships' into 'develop'
...
fix follow relationship leaks when blocked
See merge request pleroma/pleroma!230
6 years ago
William Pitcock
3707a7fa42
tests: transmogrifier: ensure incoming blocks have the same effect as local blocks
6 years ago
William Pitcock
a2c6778ce6
tests: add regression test for contentMap-only posts
6 years ago
William Pitcock
299ef74f2e
tests: add regression test for locking/unlocking account updates
6 years ago
lain
0a6c897c94
Formatting.
6 years ago
lain
bfce29866f
Make Mastodon follow hack more explicit.
6 years ago
lain
3839a11ef5
Don't treat remote accepts/rejects as local.
...
Also, use specialized functions to get safe data.
6 years ago
William Pitcock
1db0dc3072
tests: add tests to verify the accept request is discarded if no follow activity could be found
6 years ago
William Pitcock
7cf3cf77cf
activitypub transmogrifier: cleanups and tests for incoming accepts/rejects
6 years ago
Francis Dinh
cc5373b846
Fix unblock handling
6 years ago
Francis Dinh
56de0216ae
pass user to User.blocks?/2 instead of ap_id
6 years ago
Francis Dinh
1afd6d37bd
Merge remote-tracking branch 'upstream/develop' into feature/incoming-remote-unfollow
...
Fixed some conflicts in transmogrifier.ex
6 years ago
Francis Dinh
d46393f6ef
Fix test for blocks
6 years ago
Francis Dinh
1e43de0f86
Formatting and add tests for blocks/unblocks
6 years ago
Thog
6f39ecc41b
Support Undo like activities ( Fix #139 )
6 years ago
William Pitcock
4033ed6714
tests: add test for hubzilla follow activity too
6 years ago
William Pitcock
19c96c8a19
tests: add tests for Transmogrifier.maybe_fix_user_object()
6 years ago
Francis Dinh
8d11bae0d5
Revert "Undo formatting in user.ex"
...
This reverts commit e6dc15b96c
.
6 years ago
Francis Dinh
e6dc15b96c
Undo formatting in user.ex
6 years ago
Francis Dinh
d8c842a771
Add support for incoming remote unfollows
6 years ago
Francis Dinh
16b793656d
Add tests for unrepeats
6 years ago
lain
0574df273c
Small cleanup.
7 years ago
lain
9e6ae44729
Formatting fixes.
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
William Pitcock
2aea3bc632
activitypub transmogrifier: rewrite incoming hashtags
7 years ago
lain
5da2355e71
For outgoing objects, fake mastodon style ap id for ostatus.
7 years ago
William Pitcock
59a76ea464
activitypub transmogrifier: rewrite non-http URLs using the object's external URL
...
Signed-off-by: lain <lain@soykaf.club>
7 years ago
lain
d2ad99298e
Handle incoming deletes.
7 years ago
lain
e3629af4da
Handle remote update activities.
7 years ago
lain
b76de1ecd3
Some fixes to AP fetching.
7 years ago
lain
e5fcc51a06
Remove unneccesary subscriptions on update.
7 years ago
lain
01d5ef65fa
More fixes to user upgrading.
7 years ago
lain
aa79d64e0d
Correctly stitch mastodon -> ostatus replies.
7 years ago
lain
eb3f14da86
Missing test skeleton.
7 years ago
lain
37e406ae36
Get avatar and banner from AP users.
7 years ago
lain
4816b09fa7
Add user upgrade function.
7 years ago
lain
810cf8618f
ActivityPub: Fetch missing activities on reply.
7 years ago
lain
297a2c7d3f
Ignore duplicate create activities.
7 years ago
lain
6b6ab592ab
AP: Fix incoming conversations.
7 years ago
lain
539340d914
Handle sensitive property.
7 years ago
lain
20e6190ead
Transmogrify outgoing nsfw.
7 years ago
lain
8ca66b5961
ActivityPub: Add conversation id.
7 years ago
lain
6ab0aba50a
Transmogrify outgoing hashtags.
7 years ago
lain
77c6c424a6
ActivityPub: Make fake Create activities for objects without one.
7 years ago
lain
81ea359a7c
ActivityPub: Handle incoming announces.
7 years ago
lain
e1b12a7782
ActivityPub: Handle incoming likes.
7 years ago
lain
e7b73359e3
ActivityPub: Partly handle incoming follows.
7 years ago
lain
5682e48a25
ActivityPub: tags -> tag.
7 years ago
lain
05ba6ca1b8
Do some transmogrifying for the output.
7 years ago
lain
ef0300889d
Transmogrifier: Handle basic notice creation.
7 years ago