Commit Graph

824 Commits (db6f4496ebb5dbcb680104b2df80410b9dcb8407)

Author SHA1 Message Date
Martin Kühl ff38ffd9f8 Fix the tests
6 years ago
Haelwenn 4a3dbd9d4e Merge branch 'fix/sign-in-with-toot' into 'develop'
6 years ago
kaniini 76c67a41c1 Merge branch 'develop' into 'feature/staff-discovery-api'
6 years ago
William Pitcock d3f6814feb tests: add test for staffAccounts presence in nodeinfo
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
kaniini b7923aa304 Merge branch 'hotfix_broken_likes' into 'develop'
6 years ago
William Pitcock 834515fb51 formatter: don't add XSS emoji
6 years ago
William Pitcock 303af9ba4c tests: add regression tests
6 years ago
Martin Kühl b60d232719 AccountView: `sensitive` is supposed to be a boolean, not a string
6 years ago
Will Pearson 0c2a0e3551 Specify default scope in verify_credentials
6 years ago
lambda 58539e1357 Revert "Merge branch 'feature/rich-text' into 'develop'"
6 years ago
William Pitcock e7871ed05e tests: add tests for evil HTML filtering
6 years ago
William Pitcock 9cac7c957c test: add testcase proving lists system does not leak non-public posts
6 years ago
Henry Jameson 0f1c629d65 better solution, added test.
6 years ago
Haelwenn (lanodan) Monnier 6e030129fb
[MastodonAPI] Add filters
6 years ago
Haelwenn (lanodan) Monnier d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
6 years ago
lambda 46c7c2380c Merge branch 'feature/relay' into 'develop'
6 years ago
kaniini 63094cfd3e Merge branch 'feature/emoji-in-local-users' into 'develop'
6 years ago
William Pitcock 86dca39640 tests: fix formatting
6 years ago
kaniini 0f5bff8c66 Merge branch 'develop' into 'feature/relay'
6 years ago
William Pitcock aab2bdddf4 twitter api: provide object descriptions as attachment description field
6 years ago
William Pitcock bc36d40bee tests: add a testcase for verifying that objects without a valid ID are always rejected
6 years ago
kaniini f6b06d2ac8 Merge branch 'feature/peertube_2' into 'develop'
6 years ago
kaniini a6d4cc8917 Merge branch 'sanitize-bio' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 74c74decf5
Basic peertube support.
6 years ago
ensra 2b5db840ee attempt to add html validation to mastodon api test case
6 years ago
ensra e883587cc3 this should be looking at the follower's bio, not the user's bio.
6 years ago
ensra f533daffdb sync bio sanitization code in tests
6 years ago
kaniini 5fbb14f5ec Merge branch 'bugfix/federation-kroeg' into 'develop'
6 years ago
kaniini 38361e7b5e Merge branch 'fix/put-repeats-at-activitypub-outbox' into 'develop'
6 years ago
William Pitcock 7fbcd4caaf test: add kroeg fixtures
6 years ago
eal 92caa2632b Use Image type for emoji icons.
6 years ago
eal f9d13558c8 CommonAPI: add emoji to user source data on update
6 years ago
lambda 13440a80e1 Merge branch 'feature/invites' into 'develop'
6 years ago
eal ed9738e031 Add tests for emoji in user profiles
6 years ago
eal cee63ad3f7 TwitterAPI user view: add screen_name_html and description_html.
6 years ago
William Pitcock 3026177206 test: use private visibility for twitterapi update consistency test, to ensure that a second activity isn't relayed
6 years ago
hakabahitoyo 9c1b6f11c5 improve test
6 years ago
hakabahitoyo 908cefd84a debug
6 years ago
hakabahitoyo 9c2afb2e71 improve test
6 years ago
lambda 41b0ecef95 Merge branch 'tests/plume' into 'develop'
6 years ago
lambda 54963a6379 Merge branch 'bugfix/activitystreams-notice-urls' into 'develop'
6 years ago
William Pitcock 18cac1e36b test: mastodon attachments: update for added description field
6 years ago
William Pitcock 489453c246 tests: verify media description api support is working
6 years ago
Haelwenn (lanodan) Monnier 24b5a75d09
Add test for Plume Articles
6 years ago
William Pitcock f1a29fc43c test: ostatus controller: add AS2 fetching tests
6 years ago
William Pitcock 4fb64c1d86 testsuite: twitter api: add summary where necessary
6 years ago
lambda fe4387077a Merge branch 'feature/default-scope' into 'develop'
6 years ago
lambda 4a922305af Merge branch 'feature/article-support' into 'develop'
6 years ago
William Pitcock 8546551257 activitypub: switch to using x509 representation for public keys instead of pkcs#1
6 years ago
William Pitcock 66819ea784 twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock 32211c4ada tests: add default_scope where appropriate
6 years ago
lambda fc012491a5 Merge branch 'fix/mutes.json-emptyarray' into 'develop'
6 years ago
Vivian Lim 6160a1b3c0 mix format
6 years ago
Vivian Lim 1299bccc7d return unquoted empty array from /api/qvitter/mutes.json
6 years ago
Vivian Lim 6316003946 fixes- found that TwitterAPI.Controller adds .json suffix already
6 years ago
Haelwenn (lanodan) Monnier 359093d73b
Fake 2.4.0 API
6 years ago
lambda be800d7936 Merge branch 'bugfix/block-follow-relationships' into 'develop'
6 years ago
William Pitcock 590e8d5555 tests: fix a completely bogus mastodon api test
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
Haelwenn (lanodan) Monnier 72c2915ecd
Pleroma.Web.MastodonAPI.StatusView: Fix status.json so it renders threads
6 years ago
lambda 8c7fdcb31b Merge branch 'feature/twitterapi-unrepeat' into 'develop'
6 years ago
Francis Dinh fc15f30a3c fixup test
6 years ago
Francis Dinh 1555c66650 Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
Henry Jameson 9c1cf1befb formatting
6 years ago
Henry Jameson f42ffbe9a8 Initial invites support + tests.
6 years ago
William Pitcock c773f42ca4 tests: update twitterapi user view tests for new locked variable
6 years ago
William Pitcock f8e0942745 twitter api: add approve/deny endpoints
6 years ago
William Pitcock d116af3bee tests: add tests for /api/pleroma/friend_requests
6 years ago
William Pitcock 993312cdb3 twitterapi: add profile setting for locked/unlocked accounts
6 years ago
William Pitcock a0c5b42e29 tests: assert the state prior to mutating it as well as afterward
6 years ago
William Pitcock c99b9b9d92 testsuite: add mastodon api tests
6 years ago
lambda 7f79b467b1 Merge branch 'feature/domain-blocks' into 'develop'
6 years ago
William Pitcock 299ef74f2e tests: add regression test for locking/unlocking account updates
6 years ago
D Anzorge 2cebaa7d3a Add OAuth controller tests
6 years ago
eal 4856962434 MastoAPI: add domain blocking.
6 years ago
lain 8073af6e10 Better error handling for OstatusController.
6 years ago
lain 06439f64d0 Better error handling for ActivityPubController
6 years ago
lain 4856ba596f Better error handling for MastodonApiController.
6 years ago
lain 0f70e83e8c Better error handling in TwitterApiController.
6 years ago
lambda 98b8f08783 Merge branch 'fix/twitterapi-incorrect-follows-you' into 'develop'
6 years ago
eal 935e544e19 TwitterAPI: fix "Follows you" being shown for the wrong user.
6 years ago
lain 349400c06a Fix url guessing attacks.
6 years ago
William Pitcock f569b67cda tests: update for html changes
6 years ago
lain 841ee8e3e4 Simplify DM query.
6 years ago
lain 4b3ec53514 Merge branch 'develop' into csaurus/pleroma-feature/mstdn-direct-api
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.
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
William Pitcock 1f3eb0f470 testsuite: fix module name for CommonAPI.Test (was duplicated with CommonAPI.UtilsTest)
6 years ago
William Pitcock 5f06a1a3c5 testsuite: fix module name for CommonAPI.Test (was duplicated with CommonAPI.UtilsTest)
6 years ago
lambda f3a71f2986 Merge branch 'feature/lists' into 'develop'
6 years ago
lambda c2dcd767cf Merge branch 'feature/incoming-remote-unfollow' into 'develop'
6 years ago
lambda c41012053a Merge branch 'feature/change-password' into 'develop'
6 years ago
eal 3dbd9809d4 MastoAPI: add lists.
6 years ago
lain 0b5bc62b33 Don't save double tags in AP objects we create
6 years ago
lambda 06c97f211f Merge branch 'feature/deps-migration' into 'develop'
6 years ago
Francis Dinh 72b93d13f8 Hook up block/unblock to TwitterAPI
6 years ago
Francis Dinh b2c6ae7d82 Hook up unfollow and (un)block to MastoAPI + tests
6 years ago
csaurus 4fd9df100f Merge branch 'develop' into feature/mstdn-direct-api
6 years ago
Syldexia 69aa7c213a Fixed test
6 years ago
Syldexia d0690622cd Added endpoint for changing passwords
6 years ago
William Pitcock 75cfd9d34d webfinger: fix finding the XRD uri for statusnet instances
6 years ago
Francis Dinh d045b96f95 Add tests for incoming unfollow over OStatus
6 years ago
Francis Dinh cc5373b846 Fix unblock handling
6 years ago
Francis Dinh 89c5de9096 Fix unfollows
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
6 years ago
Thog e55c6f311b
Migrate to comeonin 4 and Cachex 3
6 years ago
lain 413de8e4bc More fixes.
6 years ago
lain ff007af0c2 Return visilility in twitter api, too.
6 years ago
lain 434601a5c3 Return private / direct posts on user timelines, too.
6 years ago
lambda 8b0c222b43 Merge branch 'feature/account-deletion' into 'develop'
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
Syldexia d1366f8d46 Modified deleting an account to run as a task
6 years ago
lambda 7831b38705 Merge branch 'feature/webfinger-mime-ld-json' into 'develop'
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
William Pitcock f32e19f668 webfinger: add tests
6 years ago
Francis Dinh 8d11bae0d5 Revert "Undo formatting in user.ex"
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
lain 1d4bbec6b3 Fix User search.
6 years ago
csaurus d0ad13c12e Add direct_note[_activity]_factory and a couple tests
6 years ago
csaurus 987a52cf6f Post direct status test
6 years ago
Syldexia 98b36d359a Fixed formatting and test
6 years ago
Syldexia 5bfb7b4ce6 Moved account deletion stuff to somewhere that hopefully makes more sense
6 years ago
Syldexia a16117225f Added endpoint for user account deletion
6 years ago
lain 89954a2ce7 Fix format.
6 years ago
lain c7a85de35c Revert "Remove 'unlisted' handling for now."
6 years ago
lain 1027d1f696 Remove 'unlisted' handling for now.
6 years ago
lambda aeff2d6474 Merge branch 'feature/unrepeats' into 'develop'
6 years ago
lain ec531ca281 Add test.
6 years ago
Francis Dinh 16b793656d Add tests for unrepeats
6 years ago
Pierrick Brun 89603eda9e do not create notification for yourself
6 years ago
lain 9810153aeb Streamer: Don't send out stream events for blocked users.
6 years ago
lain c464355d1a Idempotency: Use special cache, keep for 6 hours.
6 years ago
lain 90c4bed0af Don't expire idempotency cache for five minutes.
6 years ago
lain fcd3eca167 MastodonAPI: Support idempotency key.
6 years ago
Francis Dinh 8b4ee0ea51 Fix formatting
6 years ago
lain bc215f5684 Fix format.
6 years ago
lambda b7584edcea Merge branch 'patch-bio' into 'develop'
6 years ago
lambda a7a40bb8f1 Merge branch 'fix/blocked-user-boosts' into 'develop'
6 years ago
Wim Vanderbauwhede 6908f29e0a Added a test (written by @andrewzah) for the MR
6 years ago
Francis Dinh 2d775bf1be Merge branch 'feature/unrepeats' of git.pleroma.social:normandy/pleroma into feature/unrepeats
7 years ago
Francis Dinh e981280fa7 Formatting fixes
7 years ago
Francis Dinh 9e0dd21ed6 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
Francis Dinh 8c0806539c Embed announce activity data instead of linking to it
7 years ago
lain 0574df273c Small cleanup.
7 years ago
eal 22bfeac256 Update note count in ActivityPub.create.
7 years ago
lain 9e6ae44729 Formatting fixes.
7 years ago
Francis Dinh f0798440de Use correct activity for undo
7 years ago
Francis Dinh c5dc7e6e31 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
lain a61e8ac154 Formatting.
7 years ago
eal fa37acfcc7 TwitterAPI: Add Qvitter notification endpoint.
7 years ago
Francis Dinh 7b4f55238e Handle unrepeats via the TwitterAPI
7 years ago
Francis Dinh 687db1bc3a Expose unannounce activity so that it can be tested
7 years ago
Francis Dinh 42279f54cf Return target status in MastoAPI endpoint instead of reblog activity
7 years ago
Francis Dinh 5b0d0b9ab2 Add unreblogging tests
7 years ago
eal 48380aeccc ActivityPub.ex: do not return boosted statuses from blocked users.
7 years ago
Gian Sass 2de2e29df2 Oops
7 years ago
Gian Sass 3a5c0465eb Add unit test for pinned statuses
7 years ago
lain 70bcdf32bd Only search in public data for now.
7 years ago
lain b3b7ab5d9a Load all users at once in timelines.
7 years ago
lain 360c51f1f5 Use context_ids directly if we have them.
7 years ago
lain bc31bee7c4 Generates contexts and ids on insertion time.
7 years ago
lain a4db3a732f Pre-fetch conversation ids.
7 years ago
lain 1b57522bba Fix some test stuff.
7 years ago
lain 2222e5599c Don't fetch anything except ap_id for follower / following
7 years ago
lain 802736679c Remove unused ActivityRepresenter module.
7 years ago
lain e90f8f6c4b TwApi ActivityView: Add delete activities.
7 years ago
lain 1f32ba052c TwApi ActivityView: Add follows.
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain c1d529ee94 TwApi ActivityView: Add announces.
7 years ago
lain 1f1caab138 TwApi ActivityView: Add Like rendering.
7 years ago
lain 361016349f Add ActivityViewTest.
7 years ago
lain e30752bc79 Add basic activity view.
7 years ago
lain 37e5014d3e Reduce OP fetching queries.
7 years ago
lain ff7afe46b9 Don't try to fetch OP if none is there.
7 years ago
Francis Dinh 9556c8f6e7 Forgot to fix one of the links in a test
7 years ago
Francis Dinh 5ba2f4b6d8 Update tests to reflect hashtag link changes
7 years ago
William Pitcock 2aea3bc632 activitypub transmogrifier: rewrite incoming hashtags
7 years ago
lain e3a81fe58f Fetch the same data from json webfinger as from xml webfinger.
7 years ago
lain eb7ce61ca5 Fix hashtags.
7 years ago
lain 5da2355e71 For outgoing objects, fake mastodon style ap id for ostatus.
7 years ago
lain 32ae918843 Clear caches on test.
7 years ago
William Pitcock ff7afc0465 tests: webfinger: test quering a JSON response for activitypub actor URI
7 years ago
William Pitcock 8aa639a450 webfinger: support JSON output
7 years ago
William Pitcock 0ee6e8af26 mastodon api tests: invalidate user cache prior to importing a test reply
7 years ago
William Pitcock 59a76ea464 activitypub transmogrifier: rewrite non-http URLs using the object's external URL
7 years ago
lain 368e085144 Don't validate on missing public key.
7 years ago
lain f29902a241 More signature debugging.
7 years ago
lain fcf1937a40 Correctly handle unlisted messages coming in through Ostatus.
7 years ago
lain b82637f32d Don't use special query for feed.
7 years ago
lain d2ad99298e Handle incoming deletes.
7 years ago
lain e9de04b74b Add support for outgoing update.
7 years ago
lain f61fd00db5 Make likes and announces public.
7 years ago
lain 8a47974217 Fix specs.
7 years ago
lain 4ea2a41014 Fix more specs.
7 years ago
lain d3b0167854 Fix salmon tests.
7 years ago
lain 8e7f63afde Fix specs.
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 fb02300234 Pleroma AP detection mechanism.
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 94db9ac4db Merge branch 'develop' into feature/activitypub
7 years ago
lain 810cf8618f ActivityPub: Fetch missing activities on reply.
7 years ago
lain 5bc810c452 Add moderator function.
7 years ago
lain 95f7e7e2d5 Add some more tests.
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 6046f10431 Actually fix incoming attachments.
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 5e36b750c1 ActivityPub: Fetch an object from an id.
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 5454ec6a6c ActivityPubController: Handle inbox data.
7 years ago
lain ef0300889d Transmogrifier: Handle basic notice creation.
7 years ago
lain a15f572800 OstatusTest: Remove insert_or_update test (moved to User).
7 years ago
lain ae26604378 ActivityPub: Refactor create function.
7 years ago
lain b331cb449a Merge branch 'develop' into feature/activitypub
7 years ago
lain 26ccb768d3 Make test output easier to read.
7 years ago
lain 33a5d0a238 Fix some test warnings.
7 years ago
lain 3c80d9b277 Fix spec.
7 years ago
lain 8cf97ee8e1 ActivityPub: Basic note federation with Mastodon.
7 years ago
lain ce31f3a922 Twitter Representers: Handle Mastodon attachments.
7 years ago
Roger Braun ae1ec858f4 Basic AP user building.
7 years ago
Roger Braun 52200998c9 Merge branch 'develop' into feature/activitypub
7 years ago
lambda 61c16193de Merge branch 'move-backend-images' into 'develop'
7 years ago
Hakaba Hitoyo ea6d1b2b17 move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal 29be70c008 Add remote following of local profiles.
7 years ago
eal ab83e0de6d TwitterAPI: Add is_local to user view.
7 years ago
Roger Braun ad0ab3a57b Merge branch 'hakabahitoyo/pleroma-feature/atom-feed-logo' into develop
7 years ago