Commit Graph

1259 Commits (cd019a5927059bb52447add43a9b29893928c416)

Author SHA1 Message Date
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
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