Commit Graph

1209 Commits (69a38644bc20f49390717f06be30cc2874f7b6f7)

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