Ivan Tashkinov
10ff01acd9
[ #1304 ] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.
5 years ago
lain
6e4f52f8a2
Introduce new ingestion pipeline structure, implement internal Likes with it.
5 years ago
lain
37812740c4
Transmogrifier: Correctly save incoming ids for Accept/Reject.
5 years ago
lain
9b963064eb
Transmogrifier: Actually store who deleted a note.
5 years ago
Egor Kislitsyn
059005ff82
Replace `user.following` with Pleroma.FollowingRelationship
5 years ago
lain
29647dfd09
Transmogrifier: Save correct ids for incoming deletes.
5 years ago
lain
91e90aa807
Merge branch 'misskey-compat' into 'reactions'
...
Transmogrifier: Handle misskey likes with reactions like EmojiReactions.
See merge request pleroma/pleroma!1783
5 years ago
lain
61097ba6ab
Merge branch 'develop' into 'reactions'
...
# Conflicts:
# CHANGELOG.md
5 years ago
kaniini
45b7f03f89
Merge branch 'accept-embedded-announce-object' into 'develop'
...
Import object from self-Announce whenever possible
See merge request pleroma/pleroma!1770
5 years ago
lain
4b8524f392
ActivityPub / Transmogrifier: Correctly store incoming Update id.
5 years ago
Thibaut Girka
b1ff66dc5f
Add test for handling Announces with inlined object from different origin
5 years ago
Thibaut Girka
977e711e22
Import object from self-Announce whenever possible
5 years ago
lain
6a85f7d1ea
Transmogrifier: Extend misskey like compatibility.
5 years ago
lain
43a211bcb1
Transmogrifier: Handle misskey likes with reactions like EmojiReactions.
5 years ago
lain
c9043c6c80
Transmogrifier: Handle incoming Undos for EmojiReactions.
5 years ago
Egor Kislitsyn
1c6e1055c8
Add CustomEmojiController
5 years ago
lain
557223b2b5
Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Thibaut Girka
86880b9821
Inline object when Announcing a self-owned private object
5 years ago
lain
dae744478e
Transmogrifier: Handle compact objects in undos.
5 years ago
lain
6068d2254e
PleromaAPIController: Fixes and refactoring.
5 years ago
Egor Kislitsyn
c55facf78b
Fix warning in TransmogrifierTest
5 years ago
lain
b923842e96
Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Ariadne Conill
71eff09e56
common api: make sure the generated IR is actually federatable
5 years ago
Ariadne Conill
e7309d3b60
test: transmogrifier: add test proving that transmogrifier can handle outgoing listens
5 years ago
Ariadne Conill
172c74a77b
activitypub: transmogrifier: implement support for Listen activities
5 years ago
Maksim Pechnikov
d4ed3a35b8
Merge branch 'develop' into test/activity_pub/transmogrifier.ex
5 years ago
Haelwenn (lanodan) Monnier
447514dfa2
Bump copyright years of files changed in 2019
...
Done via the following command:
git diff 1e6c102bfc
--stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
5 years ago
Ivan Tashkinov
6bcedb693c
[ #1149 ] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
...
# Conflicts:
# docs/config.md
# mix.lock
5 years ago
lain
a7f31bf06c
Merge remote-tracking branch 'origin/develop' into reactions
5 years ago
Maksim Pechnikov
2b40e57a72
Merge branch 'develop' into test/activity_pub/transmogrifier.ex
5 years ago
Mark Felder
102eb4455c
Fix associated test as well
5 years ago
lain
8d4b661ecb
Transmogrifier: Strip internal emoji reaction fields.
5 years ago
Maksim Pechnikov
007e0c1ce1
added tests
5 years ago
Maksim Pechnikov
fcf604fa43
added tests
5 years ago
Maksim Pechnikov
a31af93e1d
added tests /activity_pub/transmogrifier.ex
5 years ago
Ivan Tashkinov
e890ea7e82
[ #1149 ] Added Oban job for "activity_expiration". Merged remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
...
# Conflicts:
# config/config.exs
5 years ago
lain
a0b21c8928
Transmogrifier: Handle incoming emoji reactions.
5 years ago
kPherox
d74efde94e
Update test for custom profile fields
5 years ago
Ivan Tashkinov
7101ba1a21
Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov
256ff09aa8
[ #1149 ] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
...
# Conflicts:
# lib/pleroma/application.ex
# lib/pleroma/scheduled_activity_worker.ex
# lib/pleroma/web/federator/retry_queue.ex
# lib/pleroma/web/oauth/token/clean_worker.ex
# test/user_test.exs
# test/web/federator_test.exs
5 years ago
Maksim Pechnikov
85bd8a4e31
fixed clear config after test
5 years ago
Ivan Tashkinov
8778c16dac
Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Egor Kislitsyn
e457fcc479
Add `:max_remote_account_fields` config option
5 years ago
Egor Kislitsyn
f7bbf99caa
Use info.fields instead of source_data for remote users
5 years ago
Egor Kislitsyn
5178f960c3
Support user attachment update in Transmogrifier
5 years ago
Ivan Tashkinov
0e1c481a94
[ #1149 ] Added more oban workers. Refactoring.
5 years ago
Sergey Suprunenko
af4cf35e20
Strip internal fields including likes from incoming and outgoing activities
5 years ago
rinpatch
196cad46f3
Resolve merge conflicts
5 years ago
Egor Kislitsyn
64a946643e
Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Ariadne Conill
841314c2d5
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.
5 years ago
rinpatch
e8fa477793
Refactor Follows/Followers counter syncronization
...
- Actually sync counters in the database instead of info cache (which got
overriden after user update was finished anyway)
- Add following count field to user info
- Set hide_followers/hide_follows for remote users based on http status
codes for the first collection page
5 years ago
Egor Kislitsyn
182f7bbb11
Merge branch 'develop' into feature/addressable-lists
5 years ago
Alex S
beba7bbc85
removing synchronization worker
5 years ago
Alex S
f8786fa6f2
adding following_address field to user
5 years ago
Sergey Suprunenko
2d2b50ccca
Send and handle "Delete" activity for deleted users
5 years ago
Ivan Tashkinov
829e997223
[ #878 ] Merge remote-tracking branch 'remotes/upstream/develop' into 878-activity-object-decoupling-in-tests
...
# Conflicts:
# lib/pleroma/object.ex
# test/web/activity_pub/transmogrifier_test.exs
# test/web/ostatus/ostatus_test.exs
5 years ago
Ivan Tashkinov
daff85a985
[ #878 ] Refactored assumptions on embedded object presence in tests. Adjusted note factory to not embed object into activity.
5 years ago
Ivan Tashkinov
2b9d914089
[ #161 ] Refactoring, documentation.
5 years ago
Ivan Tashkinov
5b7b1040b3
[ #161 ] Limited replies depth on incoming federation in order to prevent memory leaks on recursive replies fetching.
5 years ago
Alex S
2e2edcb461
capturing errors
5 years ago
rinpatch
dffc9f060a
replace missing mock with a 404
5 years ago
rinpatch
d020f68e87
Transmogrifier: Do not crash if inReplyTo does not exist and can't be fetched
5 years ago
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