Commit Graph

1934 Commits (509d8058d99d7455155b6e7fad83fed28f2ae02d)

Author SHA1 Message Date
lain 5d4d51e6dc Add fixes for SPC users.
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
Ivan Tashkinov 65bb9b2fba [#491] Made full nicknames be preserved in user links text only in Bio.
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
Ivan Tashkinov 2bfae25a1f [#491] Made user bio preserve full nicknames (nick@host).
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
lambda da4b670451 Merge branch '518_instance_stats_fix' 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 5b8f9ff8c1 [#477] User search tests. Normalized search rank in User.search.
6 years ago
Ivan Tashkinov fc965f982c [#477] Added FTS index for `users`. Fixed failing test.
6 years ago
Haelwenn (lanodan) Monnier 9fcdca1bdc
Upload: Fix uploading with a : in the filename
6 years ago
Haelwenn (lanodan) Monnier e3eb75bd23
Upload: Fix uploading with a ? in the filename
6 years ago
rinpatch f20bfc9ea5 Merge branch 'media-url-escape' into 'develop'
6 years ago
Shadowfacts dcbe5bd58c
Add attachment escaping test
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
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 f85d108c41 Merge branch 'mass-follow' 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
lain 26938d65fd Add User mass following function.
6 years ago
Egor Kislitsyn 48591aab98 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
6 years ago
kaniini 5c5c8508c2 Merge branch 'hotfix/media-proxy-uri' into 'develop'
6 years ago
William Pitcock 567651fb3f test: user: add tests for visible_for?/2
6 years ago
William Pitcock f2a4f89abe tests: user: add tests for superuser?/1
6 years ago
William Pitcock 74f48beec3 user: remove entirely redundant remote_or_auth_active?/1.
6 years ago
William Pitcock 4124c9aa4a tests: user: add regression test for remote_or_auth_active?/1
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
lain 0fae04c4e3 Add a setting for users to autofollow on sign up.
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
Sadposter 042852ecf3 Add check to prevent multiple follow notifications from the same user
6 years ago
kaniini 8d047c7a72 Merge branch 'fix/user-search-null-name' into 'develop'
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
cascode a81307251c Merge branch 'develop' of git.pleroma.social:cascode/pleroma into fix/user-search-null-name
6 years ago
kaniini 4258dd8633 Merge branch 'feature/rich-media' into 'develop'
6 years ago
kaniini ffea81b84f Merge branch 'activitypub-c2s-delete-activity' into 'develop'
6 years ago
cascode 4c5ee4c62b formatted
6 years ago
cascode ab6ebbae67 added test for #499
6 years ago
rinpatch b73a1a33de Merge branch 'captcha' 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
lambda 33e3a7ba7d Merge branch 'fix/scrubber-cache' into 'develop'
6 years ago
Rin Toshaka 9f5881cbb1 Fix a typo in user_test.ex
6 years ago
kaniini 8e7da98b18 Merge branch 'mr/retry-queue' into 'develop'
6 years ago
rinpatch 05743e2000 Get default scrubbers from config instead of hardcoded
6 years ago
rinpatch 91d5a7e81c Fix test failure
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 242cc9a658 [#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
6 years ago
Ivan Tashkinov 7bd49a3222 [#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
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
lain 91724d160a Reserve a few user names
6 years ago
Maxim Filippov 340dd7a75e Format
6 years ago
Maxim Filippov ab2ee43634 Fix Activity test
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
Ekaterina Vaartis 336e37d98f Make captcha (kocaptcha) stateless
6 years ago
lambda 61a88a6757 Merge branch 'ci-test-fix' into 'develop'
6 years ago
kaniini 2e2030ada8 Merge branch '114_email_confirmation' into 'develop'
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
Maksim f1b93b5be7 [#413] fix parse mentions
6 years ago
href adbb265fc6
daaa8cd6 take two
6 years ago
raeno 7fb3780431 Merge branch 'develop' into oembed_provider
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
kaniini f98ee9402f Merge branch 'userless-admin' into 'develop'
6 years ago
lain f3eb414e28 Add a way to use the admin api without a user.
6 years ago
Rin Toshaka 196d9c0fd0 Fix tests
6 years ago
rinpatch 8a67677d77 Add test
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
href daaa8cd66a
SetUserSessionIdPlugTest: try to fix random ci failures
6 years ago
href b1860fe85a
Instance/Static runtime plug
6 years ago
lambda 7d9254fb4a Merge branch 'fix-test' into 'develop'
6 years ago
lain 52bda3b456 Fix uploads test.
6 years ago
Maksim Pechnikov 92a5133c42 fix text field
6 years ago
lambda 52ac7dce5c Merge branch 'captcha' into 'develop'
6 years ago
lambda c6d5f189d9 Merge branch 'fix-tags' into 'develop'
6 years ago
lambda 98c31deaa9 Merge branch 'test-mix-tasks' into 'develop'
6 years ago
lambda 078b8b6d22 Merge branch 'phoenix14' into 'develop'
6 years ago
lain e4763cd459 Fix tagging problems for existing instances.
6 years ago
Ekaterina Vaartis de981ac5a2 Alias Kocaptcha in the test
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
Ekaterina Vaartis ef6829382a Clean captchas up periodically, not schedule it after theyre created
6 years ago
Ekaterina Vaartis 73576ab64e Fix captcha tests
6 years ago
href f672555ad3
Upgrade to Phoenix 1.4
6 years ago
link0ff 7c235b8874 Add more Mix task tests in relay_test.exs and uploads_test.exs.
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
vaartis 2e72d49e37 Rename captcha_test.ex to exs
6 years ago
link0ff 36f1af232a Add tests for Mix tasks
6 years ago
Ekaterina Vaartis c859cd1d61 Fix style
6 years ago
Ekaterina Vaartis 5f96c2d216 Add a test for kocaptcha
6 years ago
Ekaterina Vaartis e8537208bd Add a captcha mock for tests
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 e74f384b68 Merge branch 'fix/issue_433' into 'develop'
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
Maksim Pechnikov baead4ea4b fix markdown formatting
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
href 7d9ddbe689
Allow underscores in usernames.
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
href bdc8112e40
Media proxy: fix url encoding
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
Vald 743a09132b linting
6 years ago
Vald 812b20d49f resolved formatter_test failures
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Maksim Pechnikov c524c50509 fix/273
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
William Pitcock 0f061bea0c tests: add regression test for bug #408
6 years ago
Maksim Pechnikov a9e3e387c9 add test
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 50e72f6c48 remove httpoison_mock
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
Maksim Pechnikov 6cfdc11e32 update test
6 years ago
Maksim Pechnikov c508d41c34 add http requests mock
6 years ago
Maksim Pechnikov 87109482f3 status_code -> status
6 years ago
Maksim Pechnikov ec34de0c1f WebSub fix test
6 years ago
William Pitcock d6ab701a14 formatting
6 years ago
William Pitcock 419d4bd5e4 tests: add tests for Object.normalize()
6 years ago
William Pitcock f0439617ef tests: some minor cleanups
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 f7e15d3257 tests: fix a lot of the remaining test failures
6 years ago
William Pitcock 4ca4c83871 tests: fix most remaining failures
6 years ago
William Pitcock e8570758f9 twitterapi: fix remaining test failures
6 years ago
William Pitcock 6f5f589f73 test: fix mastodon api test failure
6 years ago
lambda 88b05aeabb Merge branch 'fix/parse-user-bio' into 'develop'
6 years ago
Maxim Filippov 4b70e5eae9 Parse bio for MastodonAPI
6 years ago
Maxim Filippov 8148943368 Format files
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
lain 8c9a4e8b40 TwitterAPI: Implement hide_network.
6 years ago
lain 2a639de9b3 MastodonApi: Implement hide_network.
6 years ago
lain 6be0ab1e55 Hide network in ap.
6 years ago
lain 91065e1968 Fix background updating / handling.
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 93f2dc19d9 TwitterAPI: Fix banner and background update.
6 years ago
lain 347df6421d Fix masto api user updating.
6 years ago
lain c443c9bd72 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 1c67277c80 Fix admin api.
6 years ago
href e9982c521b
Upload filter: anonymize filename
6 years ago
kaniini ca24ad2a2b Merge branch 'feature/reverse-proxy' into 'develop'
6 years ago
href 253da275bd
Pleroma.Config.delete/1
6 years ago
href 65e7307d68
Upload: bring back base_url
6 years ago
href 1d537bc74f
remove eal
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
lain 48b95a9b95 Assorted fixes.
6 years ago
lain d407f662af Fix TwitterApiController.
6 years ago
lain a6812bc9df Remove "most recent notification" endpoint.
6 years ago
lain 6ac5d48575 More fixes
6 years ago
KokaKiwi 87098d1676 Streamer: Don't send unwanted DMs to list streams
6 years ago
lain e002858071 Fix ostatus test.
6 years ago
lain 3c61df6b9e Webfinger fixes.
6 years ago
lain 5bd3b3a215 More and more fixes.
6 years ago
lain badbe2656c More fixes.
6 years ago
lain f983c1d0c6 Fix CommonApi tests.
6 years ago
Haelwenn (lanodan) Monnier cc8952b45f
Web.MastodonApi.MastodonSocketTest: Add test for unauthenticated websocket
6 years ago
kaniini 675653ceb7 Merge branch 'feature/admin-api' into 'develop'
6 years ago
lain 0bea0308f1 Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
William Pitcock 5b3480d896 tests: fix up some more broken mastodon api testcases
6 years ago
Haelwenn c7d08bc1cf Merge branch 'feature/retry-queue' into 'develop'
6 years ago
William Pitcock c196754b4d mastodon api: account view: fix tests
6 years ago
lain 2887f4ff1d Fix formatter tests.
6 years ago
href 7f4c3a1e99
mediaproxy: fix empty url & add some tests
6 years ago
eal 689b46efc8 RetryQueue: tiny refractor, add tests
6 years ago
lain fbb70d25fe Several twitter api fixes.
6 years ago
lain 40d9d2098c Fix user updating from AP.
6 years ago
lain fc3bcf335e Fix following locked users.
6 years ago
lain d5af41b577 Fix note count update.
6 years ago
lain 6f90ceb2ed Fix follower count test.
6 years ago
lain 8e3d8bde04 Fix user deactivation test.
6 years ago
lain 5c8f07f0a8 Fix note counting.
6 years ago
lain 47d883d3ab Fix User deactivation.
6 years ago
William Pitcock f6be980f4f activitypub: object view: avoid leaking private details
6 years ago
William Pitcock 98795172a7 ostatus controller: respond with AS2 objects instead of activities to notice URIs
6 years ago
William Pitcock e10f839e9b tests: federator: fix formatting
6 years ago
William Pitcock dfcfb184b1 activitypub: transmogrifier: make deletes secure
6 years ago
Haelwenn (lanodan) Monnier 52681f7fd0
Web.AdminAPI.AdminAPIControllerTest: New Test
6 years ago
Haelwenn (lanodan) Monnier 76bd80d462
test/plugs/user_is_admin_plug_test: New test
6 years ago
William Pitcock b1a6e8d80d test: add sanity tests for federator handling of AP docs
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 010fcb73d7 test: httpoison mock: add second spoofing activity test
6 years ago
lain f87b315618 TwitterAPI: Fix dm_timeline displaying only half of the conversation.
6 years ago
lambda 2f639ea129 Merge branch 'feature/pleromafe-usersearch' into 'develop'
6 years ago
lain e8d8c84f79 Add better test for user search functionlity.
6 years ago
AkiraFukushima 62944b47fb Reset http security settings to fix plug test
6 years ago
lain 27aa136aac Format.
6 years ago
lain 7b170cd616 Add Pleroma user search api for PleromaFE.
6 years ago
lain ea9a776d7b TwitterApi: Add direct message endpoint
6 years ago
lain 2cf40237ff MastodonAPI: Add pagination to private messages.
6 years ago
scarlett 0ce5623134 Merge branch 'twitter-api-null-display-name' into 'develop'
6 years ago
scarlett db78c72868 Twitter API: Add tests for nil names.
6 years ago
William Pitcock ee5932a504 http security: allow referrer-policy to be configured
6 years ago
William Pitcock fe67665e19 rename CSPPlug to HTTPSecurityPlug.
6 years ago
William Pitcock 54fdce9107 tests: add tests for CSPPlug
6 years ago
William Pitcock 69b8c0e299 tests: add test for internal data stripping
6 years ago
kaniini c9c1f9dee2 Merge branch 'bugfix/ostatus-as2-reflection' into 'develop'
6 years ago
kaniini 99a8ef967e Merge branch 'tests/prismo-url-map' into 'develop'
6 years ago
William Pitcock 1d9fcbf2ba add missing prismo testcase data
6 years ago
William Pitcock c9df011215 tests: add tests for new OStatus.is_representable? function
6 years ago
William Pitcock dfc26d0fdd tests: add testing for new notification behavior
6 years ago
William Pitcock 719a8a1f82 tests: flip testing to/cc for mentions
6 years ago
lambda 59cf7cf235 Merge branch 'small-jsonld-refactor' into 'develop'
6 years ago
lain 34bd411781 Unify json ld header handling.
6 years ago
lain 3b02fd9fb7 Small refactor.
6 years ago
kaniini 4d627a5117 Merge branch 'feature/qvitter-notifications-dismiss' into 'develop'
6 years ago
kaniini b451a92d78 Merge branch 'runtime-config' into 'develop'
6 years ago
William Pitcock d675b8a16f tests: add tests for twitterapi endpoint
6 years ago
William Pitcock 50bf174651 tests: add tests for Notification.set_read_up_to()
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
kaniini 0f3e78addb Merge branch 'runtime-router' into 'develop'
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
href 013f7ba8c1
Add federating plug & public tests
6 years ago
lain 2fedd93931 Fix formatting.
6 years ago
lain 81af7fd02d Test for null-content activities.
6 years ago
lain 7dfe611620 Test for case-insensitive mastodon hashtag timelines.
6 years ago
lain 45ebc8dd9a Check for empty string in_reply_to ids.
6 years ago
Haelwenn (lanodan) Monnier c5f26f3ce2
Test that prismo url-map transforms into a string
6 years ago
Lee Starnes 585b29337c Ensure filters have a filter_id
6 years ago
lain 1e9ced5af4 Test Relay, switch to runtime configuration.
6 years ago
lain 9b77030d3c Add basic configuration management module.
6 years ago
William Pitcock 2b3a40d038 object: split object_cache from user_cache
6 years ago
William Pitcock 2c092ed355 test: fixup test breakage caused by User.delete() harmonization
6 years ago
William Pitcock 21dafa7cd0 tests: add tests for User + cache interactions
6 years ago
William Pitcock f55fc68f76 tests: add tests for object deletion
6 years ago
scarlett b92e38d2d4 Add user reactivation task.
6 years ago
William Pitcock 2ac13061af testsuite: formatting
6 years ago
William Pitcock 0d0c1dcf44 tests: add testsuite for broken thread filter
6 years ago
William Pitcock b1d1f9bc27 tests: add test for user inbox
6 years ago
William Pitcock 6cfba7db8d tests: twitterapi: add additional fields
6 years ago
William Pitcock 9563f3766d tests: update for new in_reply_to_screen_name field
6 years ago
eal 5e9a0e2460 Fix some typos in the list test.
6 years ago
AkiraFukushima a249cbf187 Add a test for List.get_lists_account_belongs
6 years ago
William Pitcock 958c5e02e8 tests: add a testcase for matching osada users in the formatter
6 years ago
Haelwenn (lanodan) Monnier eacab0fb05
Delete Tokens and Authorizations on password change
6 years ago
William Pitcock ebc32045f0 test: add regression test for #316
6 years ago
William Pitcock 497814cbbb test: update test for new html scrub policy
6 years ago
William Pitcock b1be9415ef Revert "Merge branch 'revert-a26d5e6b' into 'develop'"
6 years ago
Haelwenn (lanodan) Monnier a3cffd3566
formatter: Stop using phoenix HTML and format it ourselves
6 years ago
Haelwenn 34b6d444d6 Merge branch 'feature/twitter_api/fields' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a74daabfae
[Pleroma.Web.TwitterAPI.UserViewTest]: Add test for mastodon-fields
6 years ago
Haelwenn (lanodan) Monnier 82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
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 85b59d07b6 test: add smoketests for the scrubbing policies
6 years ago
William Pitcock 56577d8b48 twitter api: add no_rich_text option to userview for account prefs
6 years ago
William Pitcock bd03644ca8 test: add tests for new User.html_filter_policy()
6 years ago
William Pitcock 200ab27e7a test: add test proving that users are refreshed when stale
6 years ago
Haelwenn (lanodan) Monnier a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
6 years ago
Haelwenn (lanodan) Monnier 43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
6 years ago
shadowfacts 85b8590109 Update status_view_test.exs
6 years ago
William Pitcock a4fe14de02 tests: break the cycle using pleroma.factory
6 years ago
William Pitcock fc92bb28b4 tests: try breaking the cycle a different way
6 years ago
William Pitcock 33a5294fad test: user enabled plug tests: fix circular reference
6 years ago
lambda 045953225e Merge branch 'moonman/pleroma-sha512-crypt' into 'develop'
6 years ago
Martin Kühl 619f67768a Mastodon API: Add unsupported attributes to relationship responses
6 years ago
lain d22af29bb4 Fix warning.
6 years ago
lain 44b094908c Update legacy passwords automatically.
6 years ago
Martin Kühl ff38ffd9f8 Fix the tests
6 years ago
lain e601165426 Add UserEnabledPlug.
6 years ago
lain 5ce1ebb179 Add SetUserSessionIdPlug.
6 years ago
Haelwenn 4a3dbd9d4e Merge branch 'fix/sign-in-with-toot' into 'develop'
6 years ago
lain 12bc73dd28 Add EnsureUserKeyPlug, smaller fixes
6 years ago
lain 32465b9939 Simplify AuthenticationPlug
6 years ago
lain 9a96c93be7 Add SessionAuthenticationPlug.
6 years ago
lain a3f54fca4d Add LegacyAuthenticationPlug
6 years ago
lain 3cf17dc402 Add EnsureAuthenticatedPlug
6 years ago
lain faf5347748 Add UserFetcherPlug.
6 years ago
lain 42bd985e66 Add BasicAuthDecoderPlug
6 years ago
Moon Man 1a8bc26e52 auth against sha512-crypt password hashes, upgrade to pbkdf2
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 7ca2a2ddea Merge branch 'nil-bio-emojis' 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
Thurloat a9c0f395cb add nil clause for Formatter.get_emoji/1 to return an empty result
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
William Pitcock 504a25f812 tests: add notification smoketests (ref #265)
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 a8bd120ea6 tests: formatting
6 years ago
William Pitcock 14d1187702 test: add testcase for formatter issue #163
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 183ccd1812 Merge branch 'dev-lanodan-url-regex' into 'develop'
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
kaniini 8dc715b30b Merge branch 'fix/normalize-file-extension' into 'develop'
6 years ago
William Pitcock 8058443674 testsuite: add puckipedia test fixture
6 years ago
William Pitcock b8560e5ed5 testsuite: formatting
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
William Pitcock aea23468c6 test: nickname is no longer a required field
6 years ago
Haelwenn (lanodan) Monnier 32a55e9695
[Pleroma.FormatterTest] Add test for XMPP link
6 years ago
Haelwenn (lanodan) Monnier 1a2255ef7e
[Pleroma.FormatterTest]: .add_links: Add a space before the dot
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
Francis Dinh 082920044a Normalize file extension for uploaded files
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 e9ed7eb963 tests: prove that the block code is properly destroying follow relationships
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
Francis Dinh 0a95b5594b Add missing file extension if file does not have one
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
lambda 3f42806b1b Merge branch 'develop' into 'develop'
6 years ago
lambda 564c73ab24 Merge branch 'feature/list-streaming' into 'develop'
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
Sir_Boops 3f0440ac3c
Dedupe uploads
6 years ago
lambda 0a0c6bf394 Merge branch 'bugfix/webfinger-xml-crash' into 'develop'
6 years ago
William Pitcock 1620ec502c testsuite: update fixture URIs that were http
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
eal 87566b6e2f user.ex: add domain blocks.
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
eal 5d3fdbc082 MastoAPI: Add streaming for lists.
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 745072b2cc Merge branch 'kaniini/pleroma-feature/activitypub-accept-reject-conformance' into develop
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 1d88abf2d4 user: do not allow refollowing somebody who has blocked a user
6 years ago
William Pitcock 8d2ee70da1 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 1cd6194dee More efficient queries.
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
lain df95118c81 Fix linking problem.
6 years ago
William Pitcock 725b05d04a run mix format
6 years ago
William Pitcock 6e8de2faae run mix format
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 694e376954 Update test fixture
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
lambda 6c2903d9a1 Merge branch 'feld-warnings' into 'develop'
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
Mark Felder ab4aa5720a Fix a bunch of unused variable warnings
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
Dashie 9972678a68
Add User.decrease_note_count and call it from ActivityPub.delete
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
lain 114ca9e069 Merge branch 'develop' into fix/note-count-not-updating
7 years ago
lain 0c221943ef Formatter: Use proper escaping for links.
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 60f92e406c Accept port number in urls.
7 years ago
lain 81600c94f4 Handle + in links.
7 years ago
lain 806550c921 Use user url in mention if we have it.
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 0a14d155d6 Fail faster.
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
lain ec83175100 Use connection pools.
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 611ca385de Merge branch 'develop' into feature/activitypub
7 years ago
lain a91adb146e add test file.
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 4d13cc0dc6 Fix specs.
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
Ekaterina Vaartis ec07e087bc Make user bio optional
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 fc9d361d17 Add mock.
7 years ago
lain 81ea359a7c ActivityPub: Handle incoming announces.
7 years ago
lain e3732ea3bc Add test fixtures.
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 ab27c90c9f ActivityPub: Handle attachments.
7 years ago
lain fb7b926be3 Handle black name fields on incoming users.
7 years ago
lain 7b26443a76 ActivityPub: Send out Accept after Follow.
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 5a371892a0 Fix specs.
7 years ago
lain dea29d707c Add post activity fixture.
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 0aa56a853b UserTest: Move insert_or_update test.
7 years ago
lain b331cb449a Merge branch 'develop' into feature/activitypub
7 years ago
lain 1bc34de4df Add missing support file.
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 c1d26751e6 Mocks: Add mastodon user json example.
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
Roger Braun 4501094606 Make specs less breaky.
7 years ago
Roger Braun 1bb3ba02f3 Fix specs.
7 years ago
eal b3e7d7ae6d Fetch external profile in the background.
7 years ago
eal 80f6ac412a Merge branch 'default-pictures' into 'develop'
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal 6e1cb86166 Fix instance test.
7 years ago
Lain Iwakura 2a744cdff8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Lain Iwakura f1f79c0dca Fix timelines in subway tooter.
7 years ago
lambda 29c9812789 Merge branch 'fix/twitterapi-follow-lists' into 'develop'
7 years ago
Lain Iwakura 47887ac848 MastoAPI: Fix always-sensitive bugs.
7 years ago
eal 1969773fb4 Fix follower/following lists.
7 years ago
Lain Iwakura 4a13b84887 Add recipients field to activities.
7 years ago
eal 9223038319 Fix some more tests.
7 years ago
Lain Iwakura e2e6365035 ActivityPub: Add controller tests.
7 years ago
Lain Iwakura da005d3332 ActivityPub: Add Objects View.
7 years ago
eal 79b3397c17 Fix tests.
7 years ago
Roger Braun c3bcafc51b HTTPSig: Add method to validate conn
7 years ago
Roger Braun 30e9b22f96 Merge branch 'develop' into feature/activitypub
7 years ago
Roger Braun d5a13c10ac Merge branch 'feature/user_deletion' into develop
7 years ago
Lain Iwakura bad499b3fd Basic user deletion.
7 years ago
eal a3e68f0233 Allow parentheses in links.
7 years ago
Lain Iwakura 6df6ad0b42 User deletion: Remove relationships.
7 years ago
Lain Iwakura a78ae2a685 Don't follow deactivated users.
7 years ago
Lain Iwakura b727ecc5e7 Add function to deactivate users.
7 years ago
Lain Iwakura 0ec5aeb8a7 Don't log in deactivated users.
7 years ago
Lain Iwakura 66c3813ea6 Add basic queue prioritization.
7 years ago
Lain Iwakura e7c2472abd Fix tests.
7 years ago
Roger Braun d08a34e88b OStatus: Add user bio as summary field
7 years ago
Lain Iwakura 5637d163e6 MastodonAPI: Add proper user count.
7 years ago
Lain Iwakura c680ae581d Return xml notice at /notice path.
7 years ago
eal 1625021a9c Merge branch 'fix/self-follow' into 'develop'
7 years ago
eal 3d29fc5462 Make /api/friends/ids test deterministic.
7 years ago
Roger Braun 747a68a075 Treat internal emoji like external.
7 years ago
eal 8d4e7b32c9 Ensure correct state in self-unfollow.
7 years ago
eal bd921ca5d7 Fix posts being streamed to non-local websocket channels.
7 years ago
eal edc3e5bc30 Make users in tests follow themselves by default.
7 years ago
eal 4db5954786 Don't let the user unfollow their own account.
7 years ago
Roger Braun 40ca379357 Fix flakey test.
7 years ago
lambda ed3403ad8b Merge branch 'formatting-fixes' into 'develop'
7 years ago
eal f53cdabcdf Add #nsfw tag if sensitive content bit is set
7 years ago
eal fb118b2978 Don't insert newlines to generated HTML.
7 years ago
eal 66e78c3ec4 Escape HTML instead of discarding it.
7 years ago
Roger Braun a743940463 MastoAPI: Implement all streaming functions.
7 years ago
Roger Braun ced0d64d75 MastoAPI: Make attachment ids strings.
7 years ago
lambda 1cca544e20 Merge branch 'twitterapi-bitlbee' into 'develop'
7 years ago
eal f9828e578c TwitterAPI: Add /users/show.
7 years ago
eal 3533bf7eac TwitterAPI: Add /friends/ids.
7 years ago
eal 06c3ee3bac Accept 1 as true.
7 years ago
eal c84723b679 MastoAPI: Add media timelines.
7 years ago
Roger Braun 083cd169d2 MastoAPI: Fix repeat api bug.
7 years ago
lambda 08bc316742 Merge branch 'mastodon-notification-endpoints' into 'develop'
7 years ago
lambda efcf54dc02 Merge branch 'mastoapi-update-credentials' into 'develop'
7 years ago
eal fc7483cb3c MastoAPI: Add update credentials endpoint.
7 years ago
Roger Braun a1923d20e8 MastoAPI: Fix reblog emojis.
7 years ago
Roger Braun 1d3d66a841 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun 6e9c22c0af MastoAPI: Use string ids everywhere.
7 years ago
eal e6a78c6ed0 MastoAPI: Add notification get, clear and dismiss.
7 years ago
Roger Braun 1b8ad9f731 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun 266d9c008d MastoAPI: Fetch statuses in search.
7 years ago
lambda 2247d7580e Merge branch 'fix-tootdon-image-uploads' into 'develop'
7 years ago
eal e942e1e552 Correct mimetype on bad uploads.
7 years ago
Roger Braun f1d27a5fbb Add actor column to activities.
7 years ago
Roger Braun 41b8a76e96 Re-fetch user data on salmon decode error.
7 years ago
eal f7fc048aeb TwitterAPI user view: add follows_you.
7 years ago
eal 4656cb9b99 TwitterAPI user view: add blocks.
7 years ago
eal 6c0758e041 TwitterAPI: Add blocks.
7 years ago
lambda d761b1543a Merge branch 'authenticated-profile-fetching' into 'develop'
7 years ago
Roger Braun 7da978f3f5 Linkify fixes.
7 years ago
eal f85566324e Allow profile fetching for authenticated users only.
7 years ago
Roger Braun 7252f6b054 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun 046bee34d3 Fix bug when no posts are in the db.
7 years ago
Roger Braun c6b9b777da MastoAPI: Add list of blocked users.
7 years ago
Roger Braun 5bf92e50be MastoAPI: Add blocking.
7 years ago
Roger Braun 33beb51da4 MastoAPI: Add blocking to AccountView.
7 years ago
Roger Braun 867ac1e4f5 Handle nil cases.
7 years ago
Roger Braun 8ef58a266b Don't return blocked users' activities in contexts.
7 years ago
Roger Braun a47727adde Don't return activities from blocked users.
7 years ago
Roger Braun 632da6c927 Don't create notifications if the user is blocked.
7 years ago
Roger Braun 6a5f087174 Add blocks to User.
7 years ago
Roger Braun 345ad870f7 Clean up user_test.exs.
7 years ago
Roger Braun 9be286a900 Handle empty terms / tags.
7 years ago
Roger Braun 6f05367325 Federate out content warnings.
7 years ago
Roger Braun e014cc6ed8 Allow using cws in mastodon api.
7 years ago
Roger Braun 0c871e5c6e Fix specs.
7 years ago
Roger Braun 44295dd49a MastoAPI: Include CW.
7 years ago
Roger Braun 04217f52c9 TwitterAPI: Display cws.
7 years ago
Roger Braun 4cbf17dac6 Save cws in the activitypub data.
7 years ago
Roger Braun 4dcbb64f19 Avoid potentially slow count queries for user note count.
7 years ago
Roger Braun 968a546d4a MastoAPI: Return id as string instead of integer.
7 years ago
Roger Braun 2f39bb6b43 Typo.
7 years ago
Roger Braun ce7f9f527c MastoAPI: Always return an url for statuses.
7 years ago
Roger Braun 502cb38cd6 Move user search to User module.
7 years ago
eal 71f66bd458 Fix follow test semantics.
7 years ago
eal c56d28f96c Fix return type of /api/v1/follows
7 years ago
eal 8e94936553 Add tests.
7 years ago
Roger Braun 64bc38e009 MastoAPI: Add emoji output.
7 years ago
Roger Braun b4f055b604 Don't reject already accepted subscriptions.
7 years ago
Roger Braun 6268b7e0eb HTTP Signatures: Work with all test vectors.
7 years ago
Roger Braun 9cefbaf016 Start of HTTP Signatures.
7 years ago
Roger Braun 6000f61727 MastoAPI: Add repeats to statusview.
7 years ago
Roger Braun 422d0f324f MastodonAPI: Add user favorites endpoint.
7 years ago
Roger Braun 6d5bd4dcc0 TwitterAPI: Use correct endpoint for tag timeline.
7 years ago
Roger Braun 255a681782 TwitterAPI: Add tag timeline.
7 years ago
Roger Braun 003cb17b16 Add missing fixtures.
7 years ago
Roger Braun 7c82b82197 Make emoji configurable in files.
7 years ago
Roger Braun 959e993c7d Apply incoming custom emoji.
7 years ago
Roger Braun 16b1fcd271 Handle incoming emoji.
7 years ago
Roger Braun 884006a9e9 Federate emoji out.
7 years ago
Roger Braun 79aeb219d8 Small emoji refactor.
7 years ago
Roger Braun 5d1f8dcd1c TwitterAPI: Add search.
7 years ago
Roger Braun 0872f5f394 Add undocumented default user default settings.
7 years ago
Roger Braun c36229c4aa Add remote user fetching to search.
7 years ago
Roger Braun 9f0a2a714b Add basic search.
7 years ago
Roger Braun d659fcc195 MastoAPI: Fix date in account view.
7 years ago
Roger Braun 50409326a8 Refactor posting and make character limit configurable.
7 years ago
Roger Braun 3ca853fb61 MastoAPI: Follower-related changes
7 years ago
Roger Braun fc85c9f086 Add tag timelines.
7 years ago
Roger Braun a8701282d4 MastoAPI: fake out 'application' property.
7 years ago
Roger Braun 6258c6b6b3 MastoAPI: Also return text_url in attachments.
7 years ago
Roger Braun 7f3ce5c1a0 Cleanup.
7 years ago
Roger Braun 641c24cdd4 Add media upload endpoint.
7 years ago
Roger Braun d168ef5a9e MastoAPI: Add accounts getting.
7 years ago
Roger Braun 94be93aad0 Allign datetime format with mastodon.
7 years ago
Roger Braun e6286152b9 Fix logic.
7 years ago
Roger Braun 49929321c7 Add relationships to masto api.
7 years ago
Roger Braun 1bc58230ee Remove milliseconds from mastodon api response.
7 years ago
Roger Braun b58b35bf56 Use hash of attachment url as id.
7 years ago
Roger Braun 44a650235b MastoAPI: Remove domain ending from account name.
7 years ago
Roger Braun 61adf676d5 Add basic mastodon notification support.
7 years ago
Roger Braun 7616b202ea Add user timelines to Masto Api.
7 years ago
Roger Braun fc10875895 Add attachments to mastoapi statuses.
7 years ago
Roger Braun e8975d06be Add header image to masto api.
7 years ago
Roger Braun d625d8db7d Add unfav to Mastodon API.
7 years ago
Roger Braun 454dc18570 Add favoriting to Mastodon API.
7 years ago
Roger Braun 66e4c710d4 Add reblogging to MastodonAPI.
7 years ago
Roger Braun 4dc517a0bb Add deletion to masto api.
7 years ago
Roger Braun be04f725e9 Add more Mastodon API methods.
7 years ago
Roger Braun 2b7efff71b Add Mastodon StatusView.
7 years ago
Roger Braun c6bdc5960c Test for Mastodon AccountView
7 years ago
Roger Braun 95cedd6000 Make auth tokens usable once and expire them.
7 years ago
Roger Braun d1c10ad2fb Fix specs.
7 years ago
Roger Braun 3438a120cc Don't delete new delete activity...
7 years ago
Roger Braun fcf3128a56 Add TwAPI representer for deletes.
7 years ago
Roger Braun 2348b272e0 Create deletes activities for incoming deletes.
7 years ago
Roger Braun 5db535c0b1 Add delete to ActivityPub.
7 years ago
Roger Braun 540dfb4617 Add delete activity representer.
7 years ago
Roger Braun 10e40206c6 Output mastodon-style conversation ids.
7 years ago
Roger Braun 1b1f861bad Handle mastodon conversation ids.
7 years ago
Roger Braun 4b03c43fd7 fix specs.
7 years ago