Commit Graph

1200 Commits (be8350baa2f8c9cf9be3f53ee4a0041dada1386f)

Author SHA1 Message Date
Karen Konou a0d732ec55 it works!!
6 years ago
Karen Konou 4430a0ad12 added another test
6 years ago
Karen Konou 09189c3a7c Made a test!
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
Haelwenn 1220a17146 Merge branch 'bugfix/rich-media-card' into 'develop'
6 years ago
William Pitcock 26670b09a7 tests: add a rich media card that contains all relevant fields
6 years ago
William Pitcock 6eb8c1eb92 test: add some regression tests for the rich media card rendering
6 years ago
Egor Kislitsyn 5b1d7c3c56 fix tests
6 years ago
Egor Kislitsyn 6f05f448f8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
eugenijm 035eaeb9b8 Allow to configure visibility for admin and moderator badges
6 years ago
eugenijm 398c81f9c8 Add is_admin and is_moderator boolean fields to the user view
6 years ago
William Pitcock 73e6a1f1dd test: twitterapi: fix another possible test failure case
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago
William Pitcock c4d317ccb6 test: twitterapi: fix the test breakage for real
6 years ago
Egor Kislitsyn 3a3a3996b7 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
lambda 69a38644bc Merge branch '589-fix-cache' into 'develop'
6 years ago
lain e61f0be951 Unbreak all the tests.
6 years ago
lain 505a084058 Still do caching in tests.
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
Ivan Tashkinov b40b4bc4e5 [#582] Optimized federation retirement by reducing the number of SQL calls
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
href 7e384a2425 Merge branch 'develop' into 'develop'
6 years ago
Luna e8c7be38fc add tests for nodeinfo 2.0 compat and 2.1's new field
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
Luna c05928dbda use nodeinfo 2.1, add repository field
6 years ago
William Pitcock 3f5b784596 test: rich media: parser: add malformed data regression test
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
Egor Kislitsyn d3677d2b4d Merge remote-tracking branch 'MAIN/develop' into feature/jobs
6 years ago
lain c53b96a024 Fix specs.
6 years ago
kaniini d03a116654 Merge branch 'hj-happiness-improvement' into 'develop'
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
Haelwenn ebb3496386 Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
6 years ago
William Pitcock 61d6715714 rich media: oembed: return data in the same format as the other parsers
6 years ago
Maxim Filippov 3e968f9ef2 Format
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Egor Kislitsyn 55affbca7f add a job queue
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
lain 8e8a1e1ba8 Return new-style config if old-style config is set to false.
6 years ago
lain 1825118fd4 Correctly handle invalid credentials on auth login.
6 years ago
William Pitcock 339c26e12b test: add status posting with OGP link preview test
6 years ago
William Pitcock 6096846f5f API: kill /api/rich_media/parse endpoint
6 years ago
William Pitcock 020b3b29d9 test: update twitterapi tests
6 years ago
William Pitcock 364cf5369b test: update mastodon status view tests
6 years ago
William Pitcock 132d815f1f mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
6 years ago
William Pitcock 1f7843b9b8 mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
6 years ago
Haelwenn (lanodan) Monnier 3f64379b13 Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
6 years ago
Haelwenn (lanodan) Monnier d9f3af477d Move definitions of RichMedia fixtures to test/support/http_request_mock.ex
6 years ago
Haelwenn (lanodan) Monnier 22f2687f17
Web.MastodonAPI.MastodonAPIControllerTest: Update for difference between all and any parameters
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 d8f446f438
Web.MastodonAPI.MastodonAPIControllerTest: Add test against multi-hashtag timeline
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
rinpatch a45a903480 Fix OGP provider tests
6 years ago
rinpatch 3a5b3c5a3a Merge remote-tracking branch 'pl/develop' into oembed_provider
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
kaniini c9b418e547 Merge branch 'develop' into 'oembed_provider'
6 years ago
kaniini 4df71cd88b Merge branch 'classic-flakeids' into 'develop'
6 years ago
Maxim Filippov 9274cabe01 Use correct logic to determine "attentions" list
6 years ago
William Pitcock 13d72826df test: add anti-followbot policy tests
6 years ago
Maxim Filippov 4333fea1dc Send "hide_network" in user_view
6 years ago
lain 2de208817c Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
lain e221c681dc New frontend configuration mechanism.
6 years ago
href 28d77e373c
Flake Ids for Users and Activities
6 years ago
Ivan Tashkinov 34d59e4008 [#502] Fixed User.active_local_user_query to return users with nil or missing `info.deactivated`. Adjusted test.
6 years ago
lain 762fafe738 Fix buggy test.
6 years ago
lambda 69454c8345 Merge branch 'feature/dm-sanity' into 'develop'
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
kaniini 5803672ae5 Merge branch '116-send-delete-event' into 'develop'
6 years ago
lain cf1f35a93a Send delete event over Mastodon streaming api
6 years ago
lambda 501fba33d6 Merge branch 'add-custom-emoji-test' into 'develop'
6 years ago
lain be0fb5dec4 Add a test to ensure #39 is fixed.
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
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
kaniini 42612b1c8d Merge branch 'bugfix/improve-boost-targeting' into 'develop'
6 years ago
Maxim Filippov 0a97badddd Format
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
Maxim Filippov e116e55cab Add actor to recipients
6 years ago
rinpatch 74346a7035 Fix merge conflict
6 years ago
rinpatch 7bc6208b2f Fix ostatus test
6 years ago
Ivan Tashkinov ed8f55ab8e [#477] User: FTS and trigram search results mixing (to handle misspelled requests).
6 years ago
rinpatch 1b1af4798a Use object instead of activity for metadata
6 years ago
rinpatch 64143d8040 Fix object id in OpenGraph test
6 years ago
Ivan Tashkinov 954dc4a4ad [#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
6 years ago
rinpatch 3b18789684 Fix test
6 years ago
rinpatch 293f6a8b71 join us now and share the software~. Also tests
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
lambda 608cc65d43 Merge branch 'feature/improve-microformats' into 'develop'
6 years ago
Ivan Tashkinov 90433b988e [#518] Fixed /api/v1/instance ("domain_count" value) and /api/v1/instance/peers responses.
6 years ago
rinpatch 8cea00e1dc Remove OpenGraph test from Ostatus tests
6 years ago
William Pitcock 85a5be6220 tests: fixup
6 years ago
Ivan Tashkinov fc965f982c [#477] Added FTS index for `users`. Fixed failing test.
6 years ago
kaniini de1da7b3d1 Merge branch 'feature/add-oembed-parser' into 'develop'
6 years ago
kaniini fa0392e49c Merge branch 'activitypub-likes' into 'develop'
6 years ago
Sadposter 98d9ae0718 Add test for mastodon API /favourites endpoint
6 years ago
rinpatch e4dc3f71ae Resolve merge conflict
6 years ago
Maxim Filippov b8a77c5d70 Add OEmbed parser
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
Egor Kislitsyn 728587fdaa typo
6 years ago
Egor Kislitsyn b594a54d0c unpin when deleting a status
6 years ago
kaniini e4afe1359b Merge branch 'activitypub-dereference-activity-id' into 'develop'
6 years ago
Maxim Filippov 1f851a0723 Add Twitter Card parser
6 years ago
kaniini 11d08c6226 Merge branch 'twapi-follower-pagination' into 'develop'
6 years ago
Haelwenn ab4c5f5bf7 Merge branch 'bugfix/markdown-newline-codeblocks' into 'develop'
6 years ago
William Pitcock 490c80bc96 test: common api: add tests for format_input/4
6 years ago
kaniini 7f5efddd6e Merge branch 'feature/pinned-posts' into 'develop'
6 years ago
kaniini d203b0b4d3 Merge branch 'dm-optimizations' into 'develop'
6 years ago
lain a99e156f2c Add integer casts.
6 years ago
lain 7ac152ed38 TwitterAPI: Add follower/following pagination.
6 years ago
lambda 1881680e28 Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'
6 years ago
lain 8df348a3da Add test for summary_html
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
Egor Kislitsyn 6cbe63726d improve tests
6 years ago
Egor Kislitsyn 44a1e69484 Add Twitter API for the pinned statuses
6 years ago
Egor Kislitsyn 1b06e6fdf3 only non-reblogs, self-authored, public statuses can be pinned
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
6 years ago
Egor Kislitsyn 0c750bc432 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 7b6c5f0a9d improve test readability
6 years ago
Egor Kislitsyn db6f4496eb fix test
6 years ago
Egor Kislitsyn e679da4c34 add `pinned` property to `StatusView`
6 years ago
Egor Kislitsyn 63dbd87568 rename `post` to `status`
6 years ago
lain a16b17cc61 Actually put some onformation in the error user, make it actually properly parse
6 years ago
kaniini 74e1093732 Merge branch 'resilient-user-view' into 'develop'
6 years ago
Egor Kislitsyn f24087f96e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
lain 7dcafb4894 MastoAPI: Add test.
6 years ago
lain 7382adf407 Make TwAPI UserView more resilient to issues.
6 years ago
scarlett 52493467ac Twitter API: Add a summary_html field.
6 years ago
kaniini 576368237c Merge branch 'activitypub-tombstone-fix' into 'develop'
6 years ago
scarlett 145d6fe6e9 Merge branch 'emoji-in-summary' into 'develop'
6 years ago
scarlett 57df7d6e1d Add tests for emoji and lack of HTML in summaries.
6 years ago
scarlett 096e121879 Remove redundant comma.
6 years ago
scarlett 6556be344d Resolve some test failures.
6 years ago
sxsdv1 2d7da5f437 Don't crash on AP request for tombstone
6 years ago
kaniini 4258dd8633 Merge branch 'feature/rich-media' into 'develop'
6 years ago
Maxim Filippov 48e81d3d40 Add RichMediaController and tests
6 years ago
sxsdv1 4e1cc2bab6 Implement delete activity
6 years ago
sxsdv1 551c3d9391 Split create activity specifics from update_outbox
6 years ago
Maxim Filippov 2aab4e03c3 Add OGP parser
6 years ago
kaniini 90e157ef80 Merge branch 'features/admin-api-user-views' into 'develop'
6 years ago
kaniini 8e7da98b18 Merge branch 'mr/retry-queue' into 'develop'
6 years ago
Michael Loftis cb286fdeba Improves RetryQueue behavior
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 dd8f2196f6 Merge branch '483_blocks_import_export' into 'develop'
6 years ago
Ivan Tashkinov 67b4297f4d [#483] Refactored blocks and follows import, added tests.
6 years ago
Ivan Tashkinov 6e9a15b181 [#483] Blocked users export for TwitterAPI.
6 years ago
Haelwenn (lanodan) Monnier b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
6 years ago
Vyr Cossont d8cc96cb1f Fix Twitter timelines for private instances
6 years ago
kaniini bee6acd51d Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
6 years ago
kaniini cff0292d4b Merge branch 'reserve-user-names' into 'develop'
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
lain 551d80cc01 Expose restricted names in nodeinfo.
6 years ago
lain 5811e65e67 Add some hard limits on inserted activities.
6 years ago
Maxim Filippov 012b7ab5e6 Add test to check /object/:id does not leak the tombstone itself
6 years ago
Maxim Filippov aeb89bece6 Remove unused test
6 years ago
Maxim Filippov f75f707f6c Revert Activity tombstones, add ObjectTombstone struct
6 years ago
Maxim Filippov 2bbec33c71 Fix failing tests
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 a2bceaf688 tests: twitter api: add test proving that peertube videos are correctly handled
6 years ago
William Pitcock 873938d223 tests: twitter api: activity view test: enable tesla mock
6 years ago
William Pitcock 9f48485f64 tests: mastodon api: add test verifying that peertube videos are correctly rendered
6 years ago
William Pitcock 71f6d9f418 transmogrifier: significantly rework handling of peertube videos, add test
6 years ago
Ivan Tashkinov 851db74f1c [#114] Fixed test.
6 years ago
Ivan Tashkinov 7cab7de9ff [#114] Allowed unconfirmed users to authenticate if :account_activation_required is disabled prior to confirmation.
6 years ago
Ivan Tashkinov f69cbf4755 [#114] Added :user_id component to email confirmation path to improve the security.
6 years ago
Ivan Tashkinov 968d7490b6 [#114] User.Info: renamed `confirmation_update` to `confirmation_changeset`.
6 years ago
Ivan Tashkinov 59fc5d15df [#114] User.Info: renamed `confirmation_update` to `confirmation_change`.
6 years ago
Ivan Tashkinov b096e30cff [#114] Added email confirmation resend action. Added tests
6 years ago
Ivan Tashkinov aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
raeno a300336459 Merge branch 'develop' into oembed_provider
6 years ago
Maksim Pechnikov 92a5133c42 fix text field
6 years ago
lambda 078b8b6d22 Merge branch 'phoenix14' into 'develop'
6 years ago
href b12a904911
Integration tests for mastodon websocket
6 years ago
lambda 567359790e Merge branch 'testfix/webfinger-jrd' into 'develop'
6 years ago
href f672555ad3
Upgrade to Phoenix 1.4
6 years ago
eal 28478a9c4f Merge branch 'fix/masto-put-settings' into 'develop'
6 years ago
eal 4c783e35c0 Mastodon API: Fix PUT /api/web/settings
6 years ago
Haelwenn (lanodan) Monnier cddab5700b
WebFinger: Sends a 400 when resource param is missing, fix XRD typo in test
6 years ago
Haelwenn (lanodan) Monnier 5af91020f8
Web.WebFinger.WebFingerControllerTest: test against XML and JRD webfinger endpoints
6 years ago
href bfe27c1b55 Merge branch '114_email_invites' into 'develop'
6 years ago
Maksim Pechnikov ea72ac549b fix case when tags is invalid
6 years ago
raeno 90b00701ff Merge branch 'develop' into oembed_provider
6 years ago
raeno 9ff61ed793 Fix tests
6 years ago
Maksim Pechnikov d3ec09bb38 fix tags
6 years ago
Ivan Tashkinov 07e93f9940 [#114] Improved tests.
6 years ago
Ivan Tashkinov a89e3b4b60 [#114] Moved email_invite action to AdminAPIController, adjusted tests.
6 years ago
Ivan Tashkinov 3cbf16a5fe [#114] Added UserInviteToken creation, adjusted invitation email link to include it.
6 years ago
Ivan Tashkinov cc83d7ffe7 [#114] Naive implementation of email invitations.
6 years ago
href 30dc81667c Merge branch '114_user_registration_emails' into 'develop'
6 years ago
lambda 262cc6d44b Merge branch 'fix/double-rt-or-fav' into 'develop'
6 years ago
eal 61ad2ce422 TwitterAPI: Include favorited post in json
6 years ago
eal 1ca080c862 Prevent accidental double RTs or favorites
6 years ago
raeno c5c3ad90d0 Fix tests. Remove oembed template
6 years ago
raeno b5de7c4c4d Remove oembed for now, will submit it in another MR. Fix warnings
6 years ago
raeno 8902942128 WIP. Implement oembed route and handle both json/xml for "Note" type activity
6 years ago
Ivan Tashkinov 18b9467d1a [#114] Removed `email_invite` implementation (to be addressed separately).
6 years ago
Ivan Tashkinov 00744c6b03 [#114] Initial implementation of user email invitations.
6 years ago
Ivan Tashkinov 4e7d98922e [#114] Added tests for "POST /api/account/password_reset".
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
lambda 0863ec2737 Merge branch 'fix_empty_bio_crash' into 'develop'
6 years ago
lambda ff10b9927b Merge branch 'support/bugfix_272' into 'develop'
6 years ago
lain c81c74d847 Treat warnings as errors outside of tests.
6 years ago
raeno 9ba4a1c5fe Fixes #415. Properly handle nil and empty string by User.parse_bio
6 years ago
Maksim Pechnikov 9442588ae9 fix hashtags in api response
6 years ago
Ivan Tashkinov 6ed5044c4e [#394] Refactoring (using Ecto.Multi; "untag" route change).
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov abbf347dc7 [#394] View tests fix.
6 years ago
Ivan Tashkinov 22830c8fc9 [#394] Formatting fix.
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
6 years ago
kaniini 48a0315646 Merge branch 'follower-hiding' into 'develop'
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
lain 3ea4476445 MastodonAPI: Show users their own network.
6 years ago
Vald 3c8ffe7ed3 resolved activity view test
6 years ago
Vald 028904c333 lint
6 years ago
Vald 911a877576 resolved api and controller test failures
6 years ago
lain fdac215091 TwitterAPI: Show users their own network.
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Ivan Tashkinov ba345e4c29 [#210] Formatting fix.
6 years ago
Ivan Tashkinov 848151f7cb [#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
6 years ago
Ivan Tashkinov 53797d19c5 [#210] Test update (replaced bang- with non-bang method).
6 years ago
Ivan Tashkinov 44ab3dbe2c [#210] Refactoring.
6 years ago
Ivan Tashkinov 826fc446d5 [#210] TwitterAPI: implemented /api/media/metadata/create
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 7ec64ac33f update test
6 years ago
Maksim Pechnikov 80bfdb4e7d update test
6 years ago