Commit Graph

596 Commits (4271cfb81a8983f5ec6a878cab1fb3fbd164245d)

Author SHA1 Message Date
Egor Kislitsyn 88598c9baf Add profile custom fields to ActivityPub.UserView
5 years ago
rinpatch 9ef31767f2 Merge branch 'feature/mrf-vocabulary' into 'develop'
5 years ago
Ariadne Conill dd0b71ea6d tests: add tests for MRF.describe()
5 years ago
Maksim fea4d89e9f tests for Web/ActivityPub/Relay
5 years ago
Ariadne Conill f7e3b7ff75 tests: add tests for mrf_vocabulary
5 years ago
Ivan Tashkinov 0e1c481a94 [#1149] Added more oban workers. Refactoring.
5 years ago
Ariadne Conill 9cfc289594 MRF: ensure that subdomain_match calls are case-insensitive
5 years ago
Sergey Suprunenko af4cf35e20 Strip internal fields including likes from incoming and outgoing activities
5 years ago
Ivan Tashkinov 267262491e Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Ivan Tashkinov b7fad8d395 [#1149] Oban jobs implementation for :federator_incoming and :federator_outgoing queues.
5 years ago
rinpatch 32018a4ee0 ActivityPub tests: remove assertions of embedded object being updated,
5 years ago
Sergey Suprunenko e8ad116c2a Do not add the "next" key to likes.json if there is no more items
5 years ago
Ivan Tashkinov 23d279e03e [#1149] Replaced RetryQueue with oban-based retries.
5 years ago
rinpatch 301ea0dc04 Add tests for counters being updated on follow
5 years ago
rinpatch 41e0304757 Merge branch 'develop' into feature/hide-follows-remote
5 years ago
Maksim c49a09ed88 tests for Pleroma.Web.ActivityPub.Publisher
5 years ago
Alexander Strizhakov b70e659304 Feature/1087 wildcard option for blocks
5 years ago
Ariadne Conill 56019d53a8 activitypub: publisher: align sharedinbox usage with AP specification rules
5 years ago
rinpatch 196cad46f3 Resolve merge conflicts
5 years ago
Ariadne Conill 3d23a12d75 tests: add test for fetching the internal fetch actor
5 years ago
RX14 96a2890a9e
Add MRF MentionPolicy for dropping posts which mention specific actors
5 years ago
Egor Kislitsyn de13c9bb8f List messages must be visible for mentioned users
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
5 years ago
rinpatch 0c2dcb4c69 Add follow information refetching after following/unfollowing
5 years ago
rinpatch 183da33e00 Add tests for fetch_follow_information_for_user and check object type
5 years ago
rinpatch e8fa477793 Refactor Follows/Followers counter syncronization
5 years ago
rinpatch 97b79efbcd ActivityPub Controller: Actually pass for_user to following/followers
5 years ago
rinpatch 1f6ac7680d ActivityPub User view: Following/Followers refactoring
5 years ago
rinpatch 27ed260eed AP user view: Add a test for hiding totalItems in following/followers
5 years ago
Egor Kislitsyn 9e06873d58 Add `list` to Visibility
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
feld 93a0eeab16 Add license/copyright to all project files
5 years ago
Maksim bb8065a1fd tests MRF filters
5 years ago
Ivan Tashkinov 8a41d34673 [#878] Tests improvements per code review.
5 years ago
Ivan Tashkinov 6fc0c27be3 [#878] Uncommented test statement.
5 years ago
Ivan Tashkinov 829e997223 [#878] Merge remote-tracking branch 'remotes/upstream/develop' into 878-activity-object-decoupling-in-tests
5 years ago
Haelwenn 95c085174d Merge branch 'test-speedup' into 'develop'
5 years ago
lain abe2e8881f Testing: Don't federate in testing.
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
William Pitcock c22f0bfb80 test: add tests for mediaproxy warming policy
5 years ago
Alex S b37ede5df3 log capturing
5 years ago
William Pitcock 21dacd4b15 unbreak polls
5 years ago
William Pitcock 736d8ad6be implement anti link spam MRF
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 ad19bfc7fe Utils: Split update_follow_state and update_follow_state_for_all.
5 years ago
lain 3115b64cfe Transmogrifier: Add tests for incoming follows to locked accounts.
5 years ago
lain 024dfdc39c Typo + Linting.
5 years ago
lain 8b9a0dd4a7 User: Don't error out when following a user that's already followed.
5 years ago
Egor Kislitsyn 6ba9055b51 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Maksim Pechnikov d3d1704e84 Merge branch 'develop' into issue/941
5 years ago
rinpatch bbff7554de Add tests for get_existing_votes
5 years ago
Egor Kislitsyn 9ce928d823 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Maksim Pechnikov 4f2e359687 Merge branch 'develop' into issue/941
5 years ago
kaniini 9f0d0d0805 Merge branch 'feature/mrf-subchain' into 'develop'
5 years ago
Maksim Pechnikov 080e1aa70e add option skip_thread_containment
5 years ago
rinpatch 026b245dbc Merge branch 'develop' into feature/polls-2-electric-boogalo
5 years ago
William Pitcock 38a275b31f test: add tests for subchain policy
5 years ago
rinpatch 65db5e9f52 Resolve merge conflicts
5 years ago
kaniini e706b42f51 Merge branch 'bugfix/visibility-indicator-litepub-dm' into 'develop'
5 years ago
Sergey Suprunenko 2bbc2a801f Remove all follower collections but actor's from "cc"
5 years ago
William Pitcock f2efe24cf8 visibility: if litepub:directMessage is asserted, always report the object as "direct" visibility
5 years ago
rinpatch d9c0650ff9 Mastodon API: Fix lists leaking private posts
5 years ago
rinpatch a9eaa55885 Fix fix_explicit_addressing moving follower collection to cc and add tests for it
5 years ago
William Pitcock 79503ce90f mrf: simple policy: fix matching imported activitypub and ostatus statuses
5 years ago
Egor Kislitsyn a7affbdd6d Fix tests
5 years ago
Egor Kislitsyn f333041a0a Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
William Pitcock 8086c7aed6 tests: add tests for banner and avatar removal
5 years ago
rinpatch 19c90d47c4 Normalize poll votes to Answer objects
5 years ago
William Pitcock 045803346d move key generation functions into Pleroma.Keys module
5 years ago
rinpatch aafe30d94e Handle poll votes
5 years ago
Aaron Tinio 2375e9a95b Add report filtering to MRF.SimplePolicy
5 years ago
rinpatch 5ece901af3 Resolve merge conflicts and remove IO.inspects
5 years ago
Egor Kislitsyn 557f0e33a7 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Aaron Tinio 443cd68a4c Add tests for MRF.SimplePolicy
5 years ago
feld e190b3022b Merge branch 'fix/domain-unblocked-reblogs' into 'develop'
5 years ago
Mark Felder ebb0482116 Merge branch 'develop' into conversations-import
5 years ago
Egor Kislitsyn fc7246d715 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Aaron Tinio 2b6119dfbf Restrict reblogs of activities from blocked domains
5 years ago
Aaron Tinio 64495b96e9 Add test for blocked domains
5 years ago
rinpatch 62e42b03ab Handle incoming Question objects
5 years ago
William Pitcock f09c3afdf5 chase test failures
5 years ago
William Pitcock c7644313e7 test: update obsolete test
5 years ago
lain f168a1cbdc Merge remote-tracking branch 'origin/develop' into conversations-import
5 years ago
lain cbb3451023 CommonAPI: Refactor visibility, forbid public to private replies.
5 years ago
Egor Kislitsyn d474995efa Add Tests
5 years ago
William Pitcock 582bd9d170 tests: fix AP test failures
5 years ago
lain a4598b5e8b Visibility: Make it more resilient.
5 years ago
lain 81d1aa424d Streamer: Stream out Conversations/Participations.
5 years ago
Roman Chvanikov 8af55728e4 Fix tests
5 years ago
lain 45f790becc Merge remote-tracking branch 'origin/develop' into conversations_three
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
5 years ago
Ekaterina Vaartis aef3a3ca46 Fix tests that used finmoji
6 years ago
kaniini 9da8b287f8 Merge branch 'feature/database-compaction' into 'develop'
6 years ago
rinpatch 83589ca6a5 Merge branch 'develop' into feature/database-compaction
6 years ago
rinpatch 2abc09570f Use the preloaded object in tag queries
6 years ago
William Pitcock 36f78c6dcd activitypub: fix filtering of boosts from blocked users
6 years ago
William Pitcock 2140e164d7 activitypub: properly filter out transitive activities concerning blocked users
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 54b82f236b Fix note count test
6 years ago
rinpatch 627e5a0a49 Merge branch 'develop' into feature/database-compaction
6 years ago
William Pitcock 750b369d04 activitypub: allow indirect messages from users being followed at a personal inbox
6 years ago
rinpatch 5d73dca064 Remove inReplyToStatusId
6 years ago
lain 36ec8d9694 ActivityPub: Fix specs.
6 years ago
lambda e19590c93f Merge branch 'improve_upgrade_user_from_ap_id' into 'develop'
6 years ago
Alexander Strizhakov 36c0a10fdf adding language tag
6 years ago
Egor Kislitsyn cfa6e7289f Improve Transmogrifier.upgrade_user_from_ap_id/2
6 years ago
lain 39bcf93007 Merge remote-tracking branch 'origin/develop' into fix-slow-relationships
6 years ago
lain fd07745d1b ActivityPub Utils: Greatly speed up the follow / block activity fetching.
6 years ago
Egor Kislitsyn 9a59c26619 replace `Repo.get_by(User, ap_id: ap_id)` with `User.get_by_ap_id(ap_id)`
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
rinpatch 776bb5137f Fix muting reblogs tests
6 years ago
lambda ff3b09f6b3 Merge branch 'fix/ap-icon' into 'develop'
6 years ago
lain 10a7a4a868 AP UserView: Refactor banner / avatar display code, add test.
6 years ago
eugenijm 568e348588 Increment replies_count on replies (MastoAPI)
6 years ago
William Pitcock 26b0c802c3 fix up missing announcements with preloads
6 years ago
William Pitcock 4a3dd86a55 tests: fix up activity collision test
6 years ago
William Pitcock 73efe95368 activitypub: allow skipping preload in some cases (like certain tests where the preload is obnoxious)
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
kaniini 6d6f48d079 Merge branch 'feature/federated-flags' into 'develop'
6 years ago
Karen Konou da53c079db Refactor to store user ap_id, add tests
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
kaniini 130fc9eae6 Merge branch 'fetch-posts-on-first-federation' into 'develop'
6 years ago
Ekaterina Vaartis b775fded10 Add tests for fetch_ordered_collection
6 years ago
William Pitcock 3c5926fe91 tests: add regression test
6 years ago
rinpatch 992145e64c Merge branch 'bugfix/delete-activity-audience' into 'develop'
6 years ago
Karen Konou 28d5b40d0a Add handling of objects not in database
6 years ago
rinpatch 33c614bce0 Stop adresssing like activities to actor's follower collection on non-public posts
6 years ago
Karen Konou aab86698a5 Expand "to" of delete activities
6 years ago
kaniini c93479c6f5 Merge branch 'count-only-public-statuses' into 'develop'
6 years ago
lambda 9b63fda9c7 Merge branch 'fix/dont-show-dms-in-mentions-timeline' into 'develop'
6 years ago
eugenijm c46950d3b1 Increment user note count only on public activities
6 years ago
rinpatch 1341ee650e [#675] Do not show DMs in mentions timeline
6 years ago
lain c4235f96bd Add `with_muted` param.
6 years ago
lain 9e0686efa6 Move visibility into own module.
6 years ago
KZ 7c722c08f5 Fix: Fixing an outbox related bug when local user activity is empty
6 years ago
William Pitcock e95dbecf3e tests: fix formatting
6 years ago
William Pitcock aa45674be6 tests: add test for fetching AP objects with application/json.
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
lain 9ae79bb71a Add test for muting functionality.
6 years ago
rinpatch d0a94f98e0 more tests for HellthreadPolicy
6 years ago
rinpatch 921571c19b Merge branch 'hellthread-filter-fix' into 'develop'
6 years ago
Karen Konou dca6bee2f7 Rename test, add check for follower collection when delisting
6 years ago
Karen Konou d943c90249 Add tests, change default config values, fix a bug
6 years ago
lambda ea2698beb7 Merge branch 'bugfix/activitypub-reserialization' into 'develop'
6 years ago
kaniini 19756d68f2 Merge branch 'fix/credo-issues-test' into 'develop'
6 years ago
William Pitcock e031cc6473 tests: update tests for totalItems leak fix
6 years ago
William Pitcock 64620d8980 activitypub: user view: do not expose oAuth endpoints for instance users
6 years ago
William Pitcock 889ad95a2a tests: add some reserialization tests based on IR differences
6 years ago
William Pitcock d54c483964 tests: add tests for endpoints
6 years ago
rinpatch 379d04692c Filter summary in keywordpolicy
6 years ago
Haelwenn (lanodan) Monnier 8bb7e19b38
test: de-group alias/es
6 years ago
rinpatch b05a341187 oof
6 years ago
rinpatch 9a23f8f3ea Add tests and fix a typo in docs
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
Ivan Tashkinov 3913b0196e [#582] Made single-pub task call Instance.set_reachable/1 if `set_reachable` is not specified.
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
href b3b0855456 Merge branch '534_federation_targets_reachability' into 'develop'
6 years ago
lain c53b96a024 Fix specs.
6 years ago
Ivan Tashkinov 92753b0cd9 [#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Ivan Tashkinov d3f9e6f6fe [#534] Merged `upstream/develop`.
6 years ago
Ivan Tashkinov 1d2f41642c [#534] Various tweaks. Tests for Instances and Instance.
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 5a84def6a6
Fix the logic in multi-hashtag TLs
6 years ago
Haelwenn (lanodan) Monnier 4ad0ad14ed
Web.ActivityPub.ActivityPub: Simplify multi-hashtag, add tests
6 years ago
Haelwenn (lanodan) Monnier 499a4591a4
Web.ActivityPub.ActivityPubTest: test against inserting activities with content: null
6 years ago
Ivan Tashkinov d99650270b [#534] Federation reachability filtering tests.
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
William Pitcock 13d72826df test: add anti-followbot policy tests
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
Haelwenn (lanodan) Monnier f8ab1b7427
Activity: get_all_by_object_ap_id/1 → get_all_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier b82c6dc536
Activity: all_by_object_ap_id/1 → get_all_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 8d06be35e0 activitypub: utils: add determine_explicit_mentions() and tests
6 years ago
Maxim Filippov 651a1d64b5 Add current user to mentioned
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
6 years ago
sxsdv1 581edd5a91 Add route to get object like activities
6 years ago
sxsdv1 36711e1c83 Handle client submitted activitypub like activity
6 years ago
sxsdv1 1eb7318831 Prepare all types objects before serialising
6 years ago
kaniini e4afe1359b Merge branch 'activitypub-dereference-activity-id' into 'develop'
6 years ago
kaniini 7f5efddd6e Merge branch 'feature/pinned-posts' into 'develop'
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
6 years ago
Egor Kislitsyn 7b6c5f0a9d improve test readability
6 years ago
Egor Kislitsyn 63dbd87568 rename `post` to `status`
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
sxsdv1 2d7da5f437 Don't crash on AP request for tombstone
6 years ago
sxsdv1 4e1cc2bab6 Implement delete activity
6 years ago
sxsdv1 551c3d9391 Split create activity specifics from update_outbox
6 years ago
sxsdv1 569bad8210 Create activity when client posts to outbox
6 years ago
sxsdv1 26dc2dddab Implement ActivityPub inbox view
6 years ago
sxsdv1 aa082ca7b6 Wire up stub routes for client calls of activitypub inbox/outbox
6 years ago
kaniini 3dc5f04976 Merge branch 'carrot-bullying' into 'develop'
6 years ago
kaniini bee6acd51d Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
lain 5811e65e67 Add some hard limits on inserted activities.
6 years ago
Maxim Filippov f75f707f6c Revert Activity tombstones, add ObjectTombstone struct
6 years ago
Maxim Filippov 18a4cbb244 Capitalize "tombstone"
6 years ago
Maxim Filippov 0f412cf6e6 Create tombstone instead of object deletion
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
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
Maksim Pechnikov dd8aee332c formatting the code
6 years ago
Maksim Pechnikov 5c6d47614d all tests passed
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 fe000f82f8 tests: activitypub: fix broken test due to invalid child object
6 years ago
William Pitcock 4ca4c83871 tests: fix most remaining failures
6 years ago
lain 6be0ab1e55 Hide network in ap.
6 years ago
lain badbe2656c More fixes.
6 years ago
William Pitcock f6be980f4f activitypub: object view: avoid leaking private details
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'
6 years ago
lain 34bd411781 Unify json ld header handling.
6 years ago
lain 3b02fd9fb7 Small refactor.
6 years ago
href 7d328c658d
Small wrapper module around Application.get_env/put_env
6 years ago
href 36ca3c1b3e
format
6 years ago
href 2bc924ba45
Get rid of Pleroma.Config in favor of Application
6 years ago